@hhgtech/hhg-components 1.28.13 → 1.28.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBarV2/index.styled.d.ts +1 -0
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.styled.d.ts +2 -0
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-87844a04.js → constants-3df50439.js} +1 -1
- package/build/{constants-ac7b324c.js → constants-c1d867f0.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-d0ac3081.js → core-31d24a3c.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +8 -8
- package/build/esm/cache.js +1 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.styled.d.ts +1 -0
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.styled.d.ts +2 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-652884dc.js → constants-1915d26d.js} +1 -1
- package/build/esm/{constants-51ed637e.js → constants-e8d8ee70.js} +2 -2
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-1f02fa3f.js → core-505cacac.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-ed282de2.js +1 -0
- package/build/esm/{getSocialList-db17f887.js → getSocialList-b105e54e.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-4a15e888.js → index-0c525956.js} +1 -1
- package/build/esm/{index-173d55ad.js → index-1a701fed.js} +1 -1
- package/build/esm/{index-73c486ff.js → index-3446bc63.js} +2 -2
- package/build/esm/{index-119c41f4.js → index-3f47b6a2.js} +1 -1
- package/build/esm/index-3f806159.js +1 -0
- package/build/esm/{index-943ca1cf.js → index-4295f6a6.js} +1 -1
- package/build/esm/{index-cdbe6c4c.js → index-5d54537d.js} +1 -1
- package/build/esm/{index-f1545b5e.js → index-617c168e.js} +1 -1
- package/build/esm/{index-2705764b.js → index-64228a69.js} +1 -1
- package/build/esm/{index-15680032.js → index-678d8e01.js} +1 -1
- package/build/esm/{index-8f706fe7.js → index-692fd73a.js} +6 -6
- package/build/esm/{index-d109577b.js → index-6b76f6cd.js} +1 -1
- package/build/esm/index-750aae05.js +1 -0
- package/build/esm/{index-78672f29.js → index-8cbe5ec1.js} +1 -1
- package/build/esm/{index-8a6bd3c6.js → index-8eae4245.js} +1 -1
- package/build/esm/{index-d88622d3.js → index-973f12a8.js} +4 -4
- package/build/esm/{index-0637cee6.js → index-9e60bcce.js} +1 -1
- package/build/esm/{index-356cb691.js → index-bf17872a.js} +1 -1
- package/build/esm/{index-6930eed6.js → index-eee12031.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-b5668217.js → index.styled-5e1daf64.js} +1 -1
- package/build/esm/{index.styled-e52d30c1.js → index.styled-ac1407fd.js} +1 -1
- package/build/esm/{index.styles-ff1f0cb2.js → index.styles-02cba8ec.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +9 -9
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-7e4b79ca.js → routing-48875335.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-941a4fce.js → types-59f61e5b.js} +1 -1
- package/build/esm/{types-7d91609d.js → types-ba6fb39e.js} +89 -80
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-d2c9557c.js → useCategory-0adcaa80.js} +1 -1
- package/build/esm/useHealthToolCache-9c95916f.js +1 -0
- package/build/esm/{useRafState-7a846534.js → useRafState-6ce8638d.js} +1 -1
- package/build/esm/{useTranslations-c5b785c2.js → useTranslations-4d59be7a.js} +1 -1
- package/build/esm/{utils-042aabdd.js → utils-1d5837af.js} +1 -1
- package/build/esm/{utils-b1470773.js → utils-64d66291.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-373632d4.js +1 -0
- package/build/{getSocialList-0cc97bdf.js → getSocialList-61a2bc5c.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-7f01cbc0.js → index-0ea5e11d.js} +1 -1
- package/build/{index-eb981c1a.js → index-130fa143.js} +1 -1
- package/build/{index-99bff8c2.js → index-1ff6c69c.js} +1 -1
- package/build/{index-15fc9646.js → index-248bc61c.js} +1 -1
- package/build/{index-88063689.js → index-3a93d891.js} +1 -1
- package/build/{index-1917b114.js → index-3f8d2940.js} +1 -1
- package/build/{index-a1282af2.js → index-4b68be11.js} +1 -1
- package/build/{index-290bea02.js → index-51b52a93.js} +1 -1
- package/build/{index-d8b4344c.js → index-557628ee.js} +2 -2
- package/build/{index-54b444c0.js → index-70b37cc2.js} +1 -1
- package/build/{index-5164e4de.js → index-745b4a88.js} +2 -2
- package/build/{index-b2d46829.js → index-81341650.js} +1 -1
- package/build/index-97616c39.js +1 -0
- package/build/{index-4e2010f1.js → index-9f812476.js} +1 -1
- package/build/index-acd49cc8.js +1 -0
- package/build/{index-8dec03ce.js → index-c60d02b9.js} +1 -1
- package/build/{index-be7328b1.js → index-cfeecd83.js} +1 -1
- package/build/{index-002e0e05.js → index-d276bf07.js} +1 -1
- package/build/{index-ac45b3ca.js → index-d5949d3b.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-33d6653c.js → index.styled-6ffa2a33.js} +1 -1
- package/build/{index.styled-a535a0cf.js → index.styled-9eecc8cf.js} +1 -1
- package/build/{index.styles-4a40e685.js → index.styles-357aa677.js} +5 -5
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +2 -2
- package/build/{routing-a3152618.js → routing-54bc9433.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-26e7dae0.js → types-1b2b90d0.js} +42 -33
- package/build/{types-b224bfa9.js → types-6ac94b7d.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-5270d6b5.js → useCategory-e1a958e0.js} +1 -1
- package/build/useHealthToolCache-45ec4eb7.js +1 -0
- package/build/{useRafState-806e4e4a.js → useRafState-f9983c7d.js} +1 -1
- package/build/{useTranslations-787d5e03.js → useTranslations-28eb43a9.js} +1 -1
- package/build/{utils-3a823fcb.js → utils-aa9dd49a.js} +1 -1
- package/build/utils-b081a007.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-60a7a241.js +0 -1
- package/build/esm/index-83b86fb9.js +0 -1
- package/build/esm/index-f6ea512b.js +0 -1
- package/build/esm/useHealthToolCache-a5011f0b.js +0 -1
- package/build/getDynamicHealthTool-f7ed2409.js +0 -1
- package/build/index-5e043a70.js +0 -1
- package/build/index-8027a0a6.js +0 -1
- package/build/useHealthToolCache-04b17115.js +0 -1
- package/build/utils-f1fc229e.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-0a78fcba.js → BMI_BOYS.percentile.monthly-88ec58f2.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4a79d9d9.js → BMI_BOYS.percentile.weekly-79451c79.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-dbc43776.js → BMI_BOYS.percentile.yearly-44fa6b53.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a478ce5a.js → BMI_BOYS.zscore.monthly-cf6e3e8c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-50acdfbc.js → BMI_BOYS.zscore.weekly-d5ce03be.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-849bd03c.js → BMI_BOYS.zscore.yearly-2ee22109.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-94f7ae56.js → BMI_GIRLS.percentile.monthly-a7b81c14.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-88adef48.js → BMI_GIRLS.percentile.weekly-0d5ebb6c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3254a12c.js → BMI_GIRLS.percentile.yearly-5b52dbf5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-70933c11.js → BMI_GIRLS.zscore.monthly-d2a952e8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-de904e6c.js → BMI_GIRLS.zscore.weekly-3984b6a9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-3a86e344.js → BMI_GIRLS.zscore.yearly-3eb34b99.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b4369817.js → HEAD CIRCUM_BOYS.percentile.monthly-f46c6d94.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-890a4e6c.js → HEAD CIRCUM_BOYS.percentile.weekly-9c72db1e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e184a8c0.js → HEAD CIRCUM_BOYS.percentile.yearly-1ce6fab9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8a21e7c4.js → HEAD CIRCUM_BOYS.zscore.monthly-bfed0c21.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e7659a88.js → HEAD CIRCUM_BOYS.zscore.weekly-9997651f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-7eb1b8a8.js → HEAD CIRCUM_BOYS.zscore.yearly-4f0bae4d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-bdacc82e.js → HEAD CIRCUM_GIRLS.percentile.monthly-638b6f8e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4ed5396c.js → HEAD CIRCUM_GIRLS.percentile.weekly-45ff8254.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e8dbdba9.js → HEAD CIRCUM_GIRLS.percentile.yearly-b61850ee.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-892ea368.js → HEAD CIRCUM_GIRLS.zscore.monthly-005eaf1e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-ee19f46a.js → HEAD CIRCUM_GIRLS.zscore.weekly-a8a67fc6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3e9be0bf.js → HEAD CIRCUM_GIRLS.zscore.yearly-acefeb87.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-9e5712cf.js → HEIGHT_BOYS.percentile.monthly-bc4ba926.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-6bca911d.js → HEIGHT_BOYS.percentile.weekly-b6c603fd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0d51a725.js → HEIGHT_BOYS.percentile.yearly-12c827ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-9f4bc81f.js → HEIGHT_BOYS.zscore.monthly-2b53d4d2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-c1ff2736.js → HEIGHT_BOYS.zscore.weekly-8218045c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-64fbc7b5.js → HEIGHT_BOYS.zscore.yearly-81b4561b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4b8724d3.js → HEIGHT_GIRLS.percentile.monthly-a7f23879.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-78b9e775.js → HEIGHT_GIRLS.percentile.weekly-d0450a68.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-22aba8da.js → HEIGHT_GIRLS.percentile.yearly-1b863647.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-403ccbf3.js → HEIGHT_GIRLS.zscore.monthly-a84b8012.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8e95ced7.js → HEIGHT_GIRLS.zscore.weekly-dc35f26e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a7a6a169.js → HEIGHT_GIRLS.zscore.yearly-9e36b307.js} +0 -0
- /package/build/{Onboarding-48739c1f.js → Onboarding-e65ac398.js} +0 -0
- /package/build/{Visible-be5bc36c.js → Visible-78f1f61f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3f727fc8.js → WEIGHT_BOYS.percentile.monthly-e1836a25.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-b616fcf1.js → WEIGHT_BOYS.percentile.weekly-b8a87197.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-ad8ce1c9.js → WEIGHT_BOYS.percentile.yearly-da66be48.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-eb422b8d.js → WEIGHT_BOYS.zscore.monthly-411be7df.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9f3aeea7.js → WEIGHT_BOYS.zscore.weekly-07155812.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0d67f576.js → WEIGHT_BOYS.zscore.yearly-7ac903e9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5fa745b4.js → WEIGHT_GIRLS.percentile.monthly-bd4859fb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-42594871.js → WEIGHT_GIRLS.percentile.weekly-9523ab0e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-8ad0c80a.js → WEIGHT_GIRLS.percentile.yearly-3723c99a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-81de4699.js → WEIGHT_GIRLS.zscore.monthly-57c4bcd9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-f025743e.js → WEIGHT_GIRLS.zscore.weekly-7e0aea6b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-33b29188.js → WEIGHT_GIRLS.zscore.yearly-a02e4436.js} +0 -0
- /package/build/{cookieHelper-600a5796.js → cookieHelper-b0cc5b00.js} +0 -0
- /package/build/{dataTransform-0a6bf3e6.js → dataTransform-fd9d7b16.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d0f21e02.js → BMI_BOYS.percentile.monthly-2a05f789.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-1472e9a4.js → BMI_BOYS.percentile.weekly-9bd0bb55.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-6596ce6d.js → BMI_BOYS.percentile.yearly-4590a0ba.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d57199bf.js → BMI_BOYS.zscore.monthly-92319e2a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d1115c53.js → BMI_BOYS.zscore.weekly-0d6968af.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-3ff3fde8.js → BMI_BOYS.zscore.yearly-61466c0e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-84b072ae.js → BMI_GIRLS.percentile.monthly-7201a640.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2503fa80.js → BMI_GIRLS.percentile.weekly-ac19f0e9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b7440889.js → BMI_GIRLS.percentile.yearly-79ae87f3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-2e7f477b.js → BMI_GIRLS.zscore.monthly-93fa27db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-5b916186.js → BMI_GIRLS.zscore.weekly-49110415.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-6565beba.js → BMI_GIRLS.zscore.yearly-7a4e258c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-2565c31a.js → HEAD CIRCUM_BOYS.percentile.monthly-486e1e13.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-dbdd50d4.js → HEAD CIRCUM_BOYS.percentile.weekly-e1076ab7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-0542fe16.js → HEAD CIRCUM_BOYS.percentile.yearly-61246588.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e242b3bb.js → HEAD CIRCUM_BOYS.zscore.monthly-2098114e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-03853d35.js → HEAD CIRCUM_BOYS.zscore.weekly-0e2c88cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e421aac2.js → HEAD CIRCUM_BOYS.zscore.yearly-3ecd35fb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-3ef7c79c.js → HEAD CIRCUM_GIRLS.percentile.monthly-018d4b80.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5f278110.js → HEAD CIRCUM_GIRLS.percentile.weekly-68e0a57c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1fad226a.js → HEAD CIRCUM_GIRLS.percentile.yearly-05da800f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e7a28695.js → HEAD CIRCUM_GIRLS.zscore.monthly-e58d16eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-eaf76d2f.js → HEAD CIRCUM_GIRLS.zscore.weekly-28603aa2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-998b774f.js → HEAD CIRCUM_GIRLS.zscore.yearly-c2ba1a07.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c0c32190.js → HEIGHT_BOYS.percentile.monthly-fc1bf056.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-69ec680d.js → HEIGHT_BOYS.percentile.weekly-ca22d90e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c662b438.js → HEIGHT_BOYS.percentile.yearly-e978974d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5aaf33e7.js → HEIGHT_BOYS.zscore.monthly-b89df7bb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e3b77573.js → HEIGHT_BOYS.zscore.weekly-fffd075c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f2c44640.js → HEIGHT_BOYS.zscore.yearly-2e7d8bbb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8a79a946.js → HEIGHT_GIRLS.percentile.monthly-4a68353f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f1e1d3a2.js → HEIGHT_GIRLS.percentile.weekly-202b37b8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-7215d2c6.js → HEIGHT_GIRLS.percentile.yearly-c74b27ce.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-10f3fa0b.js → HEIGHT_GIRLS.zscore.monthly-e6ce4bf9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2a15403c.js → HEIGHT_GIRLS.zscore.weekly-2a82a45d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-db10e5af.js → HEIGHT_GIRLS.zscore.yearly-5ec28ac9.js} +0 -0
- /package/build/esm/{Onboarding-272cd967.js → Onboarding-12663c74.js} +0 -0
- /package/build/esm/{Visible-b4ad4384.js → Visible-1a6495a3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-067b8675.js → WEIGHT_BOYS.percentile.monthly-ad7f6b31.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-75cf07c4.js → WEIGHT_BOYS.percentile.weekly-69989bd9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-be8fdba8.js → WEIGHT_BOYS.percentile.yearly-0eb7f704.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0148bb1d.js → WEIGHT_BOYS.zscore.monthly-75071432.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-30380687.js → WEIGHT_BOYS.zscore.weekly-e626342f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7e87a3f7.js → WEIGHT_BOYS.zscore.yearly-2321e5f0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d3fb1e52.js → WEIGHT_GIRLS.percentile.monthly-29576306.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f56210cd.js → WEIGHT_GIRLS.percentile.weekly-32356bf5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-d0dc190c.js → WEIGHT_GIRLS.percentile.yearly-d4c9daaf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9a35231f.js → WEIGHT_GIRLS.zscore.monthly-f243700c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-832c735b.js → WEIGHT_GIRLS.zscore.weekly-8d097b9f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-07374dc5.js → WEIGHT_GIRLS.zscore.yearly-2c5219b0.js} +0 -0
- /package/build/esm/{cookieHelper-164be52d.js → cookieHelper-6892c4b6.js} +0 -0
- /package/build/esm/{dataTransform-2a6ed39e.js → dataTransform-645afc9a.js} +0 -0
- /package/build/esm/{index-8983fc14.js → index-53fb77ff.js} +0 -0
- /package/build/esm/{index-c0619327.js → index-9d78cf7b.js} +0 -0
- /package/build/esm/{index-e87f2fe4.js → index-de7d2c55.js} +0 -0
- /package/build/esm/{isProduction-eea76777.js → isProduction-8dc8b36c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ad0a92dd.js → localizeNumberFormat-d278d6aa.js} +0 -0
- /package/build/esm/{normalizeLink-79d50705.js → normalizeLink-4348ba6c.js} +0 -0
- /package/build/esm/{number-86553751.js → number-bf54ded2.js} +0 -0
- /package/build/esm/{paths-51710b33.js → paths-01424776.js} +0 -0
- /package/build/esm/{screenSizeContext-f37fe312.js → screenSizeContext-f88ac4dd.js} +0 -0
- /package/build/esm/{theme-d92be740.js → theme-a3990cfc.js} +0 -0
- /package/build/esm/{translationsContext-522117bb.js → translationsContext-39c4be42.js} +0 -0
- /package/build/esm/{tslib.es6-8b2c89d4.js → tslib.es6-817a97f1.js} +0 -0
- /package/build/esm/{types-457814df.js → types-d92e5654.js} +0 -0
- /package/build/esm/{useIsInit-571964b2.js → useIsInit-d67ec759.js} +0 -0
- /package/build/esm/{useOutsideClick-0ade7837.js → useOutsideClick-c10988a4.js} +0 -0
- /package/build/esm/{useScrollbarSize-0b028825.js → useScrollbarSize-5aa2e7bd.js} +0 -0
- /package/build/{index-c62c9e94.js → index-402de2b5.js} +0 -0
- /package/build/{index-fa77075e.js → index-43cbf509.js} +0 -0
- /package/build/{index-81280a31.js → index-e8adec60.js} +0 -0
- /package/build/{isProduction-f442c956.js → isProduction-61ee0f75.js} +0 -0
- /package/build/{localizeNumberFormat-2059a198.js → localizeNumberFormat-9f35f0b4.js} +0 -0
- /package/build/{normalizeLink-42bbc5f4.js → normalizeLink-4aebbef8.js} +0 -0
- /package/build/{number-fdd928b5.js → number-89dff689.js} +0 -0
- /package/build/{paths-6e57680b.js → paths-73f7e0c6.js} +0 -0
- /package/build/{screenSizeContext-868a3c7a.js → screenSizeContext-eeaf29a7.js} +0 -0
- /package/build/{theme-aafce547.js → theme-4c3065bc.js} +0 -0
- /package/build/{translationsContext-317bc783.js → translationsContext-755cfa14.js} +0 -0
- /package/build/{tslib.es6-3737b9d7.js → tslib.es6-34a14e3c.js} +0 -0
- /package/build/{types-0885e4af.js → types-274a4812.js} +0 -0
- /package/build/{useIsInit-98d1130f.js → useIsInit-c9a157b0.js} +0 -0
- /package/build/{useOutsideClick-239f0bc2.js → useOutsideClick-560280a4.js} +0 -0
- /package/build/{useScrollbarSize-ffb8ebb0.js → useScrollbarSize-572f7ca7.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),l=require("@mantine/core"),a=require("@mantine/hooks"),r=require("./theme-4c3065bc.js"),n=require("./gAssets.js"),i=require("dayjs"),o=require("./Onboarding-e65ac398.js"),s=require("./screenSizeContext-eeaf29a7.js"),c=require("styled-components"),d=require("@mantine/carousel"),u=require("./index-0ea5e11d.js"),f=require("./index-70b37cc2.js");require("./isProduction-61ee0f75.js");var h=require("classnames"),m=require("./useTranslations-28eb43a9.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(l){if("default"!==l){var a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:function(){return e[l]}})}})),t.default=e,Object.freeze(t)}var E=p(t),C=g(t),b=p(i),v=p(c),L=p(h);const y=l=>{var{alt:a,backupSrc:r,src:n,placeholderSrc:i,style:o,ref:s}=l,c=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[d,u]=t.useState(!1);return E.default.createElement(w,Object.assign({loading:"lazy",alt:a,onError:()=>!d&&u(!0),src:d?r||n:n||r,style:Object.assign(Object.assign({},i?{backgroundImage:`url(${i})`}:{}),o),"data-has-placeholder":!!i,ref:s},c))},w=v.default.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-34a14e3c.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:P,onClick:g,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,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":L,"data-event-label":B,"data-product-channel":w,"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"},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} ${P||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&g&&g(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))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),a=require("react"),t=require("@mantine/core"),n=require("./constants-c1d867f0.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./screenSizeContext-
|
|
1
|
+
"use strict";var e=require("react"),i=require("./screenSizeContext-eeaf29a7.js"),t=require("styled-components"),o=require("./tslib.es6-34a14e3c.js"),l=require("./index.styles-357aa677.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),r=n(t);const d=r.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -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-aa9dd49a.js"),s=require("./index-248bc61c.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:m,customSize:g,badge:i,locale:d,dateForSeasonal:c,isPro:u})=>{const h=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(d)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e),isRamadan:t.isRamadan(e)}}),[d,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":m||void 0,"data-has-badge":!!i,"data-seasonal":h.isRamadan?"ramadan":h.isChristmas?"christmas":h.isLunarNewYear?"lunar-new-year":h.isNewYear?"new-year":void 0,"data-type":l},h.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"})):h.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"})):h.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"})):h.isRamadan&&"hellosehat"===l?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):h.isRamadan&&"hellodoktor"===l?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==g?void 0:g.width,height:null==g?void 0:g.height}),u?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),a=require("./core-31d24a3c.js"),i=require("./index-248bc61c.js"),l=require("styled-components"),o=require("./index-0ea5e11d.js"),n=require("./gAssets.js"),r=require("./index-70b37cc2.js"),s=require("./normalizeLink-4aebbef8.js"),d=require("./routing-54bc9433.js"),u=require("./index-4b68be11.js"),m=require("./index-51b52a93.js"),c=require("./useTranslations-28eb43a9.js"),p=require("lodash/throttle"),g=require("./screenSizeContext-eeaf29a7.js"),h=require("./Onboarding-e65ac398.js"),f=require("./theme-4c3065bc.js"),v=require("./index.styles-357aa677.js"),y=require("./constants-3df50439.js"),b=require("./cookieHelper-b0cc5b00.js"),x=require("@mantine/core"),E=require("./index-3a93d891.js"),C=require("./constants-c1d867f0.js");require("./utils-aa9dd49a.js"),require("@mantine/dates");var w=require("dayjs");require("./isProduction-61ee0f75.js"),require("@mantine/hooks"),require("./index.styled-9eecc8cf.js"),require("./index-e8adec60.js");var k=require("lodash/debounce");require("./useCategory-e1a958e0.js");var $=require("string-format"),A=require("./index-acd49cc8.js"),M=require("./useIsInit-c9a157b0.js"),P=require("dayjs/plugin/relativeTime"),N=require("./index-43cbf509.js");function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=L(t),S=L(l),B=L(p),T=L(w),z=L(k),D=L($),H=L(P);const U={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},j=({type:e="square",size:a,avatarImg:l,avatarUrl:o,firstLetter:n,backgroundColor:r,onClick:s,style:d,className:u,width:m,height:c,alt:p})=>{const g=a?U[a]:void 0,[h,f]=t.useState(!1);t.useEffect((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{f(!0)}))}}),[o,f]);const y=(!o&&!l||h)&&n;return _.default.createElement(v.StyledAvatar,{style:Object.assign(Object.assign({},d),{"--size":g?g+"px":void 0,"--width-prop":m?m+"px":void 0,"--height-prop":c?c+"px":void 0,"--background-color":r}),"data-has-max":!(!m||!c),"data-avatar-type":e,onClick:s,className:u,avatarUrl:o,"data-custom-size":!!a},l,o&&!h&&_.default.createElement(i.ImageWrap,{src:o,alt:p||"avatar"}),y&&n)},O=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],R=(e="")=>O.some((t=>new URL(e).origin.endsWith(t))),G=S.default.a`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
flex-direction: row;
|
|
@@ -1750,4 +1750,4 @@
|
|
|
1750
1750
|
font-weight: 700;
|
|
1751
1751
|
line-height: 22px;
|
|
1752
1752
|
text-decoration: none;
|
|
1753
|
-
`;const si=e=>{var a,i;const{isMobile:l,locale:o,onTopBarAppears:d,languageOptions:u,sponsorComponent:m,sitewideBanner:p,sitewideBannerShown:g,className:h}=e,f=(()=>{const{t:e}=c.useTranslations(),{siteType:a,locale:i,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:d,enableNavTogether:u,enableNavEcom:m,statics:p}}=t.useContext(ct),g="marryBaby"===a;return t.useMemo((()=>{var t;const a=[];return l&&a.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}/categories`,niceName:"",thumbnail:g?n.CommonGAssets.getAssetPath("categories-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&a.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}${(null===(t=r.STATIC_PAGES[i])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:g?n.CommonGAssets.getAssetPath("healthtools-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),u&&a.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:s.normalizeLinkSlash(p.TOGETHER_URL_FE+"/"),thumbnail:g?n.CommonGAssets.getAssetPath("community-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/community.svg"),popupType:"together"}),m&&a.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:s.normalizeLinkSlash(p.HOME_PAGE_URL+"/shop"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/shop.svg"),popupType:null}),d&&a.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:"ms-MY"===i?s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care/current-location/hospital/"):s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/care.svg"),popupType:null}),a}),[i,d,u,m])})();(()=>{const{isFirstLogin:e,userState:a}=t.useContext(ct),{userInfo:i}=a;t.useEffect((()=>{(null==i?void 0:i.id)&&(e?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])})();const v=g&&!!p,y=!!m,b=!!(null===(i=null===(a=null==m?void 0:m.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),{headerRef:x,defaultHeaderHeight:E,headerHeight:C,headerBottom:w}=(({hasSponsoredBanners:e,isSponsored:a,isShowingSiteWideBanner:i,isMobile:l})=>{const o=t.useRef(null),[n,r]=t.useState(0),[s,d]=t.useState(64),u=t.useCallback(z.default((()=>{var e,t,a,i;const l=(null===(e=o.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=o.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=l+200&&(r(l),d((null===(i=o.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||n))}),200),[]);t.useEffect((()=>(window.addEventListener("resize",u,{passive:!0}),window.addEventListener("scroll",u,{passive:!0}),u(),()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)})),[]),t.useEffect((()=>{u()}),[l,i,a,e,o.current]);const m=t.useMemo((()=>{let t=56;return i&&(t+=64),a&&(t+=40,e&&(t+=57)),t}),[l,i,e,a]);return{defaultHeaderHeight:m,headerHeight:n||m,headerBottom:s,headerRef:o}})({isShowingSiteWideBanner:v,isSponsored:y,hasSponsoredBanners:b,isMobile:l});return _.default.createElement(ri,{id:"navigation-v2",style:{"--default-header-height":E+"px","--header-height":`calc(${C}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":w+"px"},className:h},_.default.createElement("section",{ref:x},_.default.createElement(li,{menuItems:f,type:"home",onTopBarAppears:d,languageMenu:_.default.createElement(Z,{languageOptions:u,locale:o})})))},di=t=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,a,i,l,o,n,m,c,p,g,h,f,v,y,b,x,E,C,w,k,$,A,M;const P={},N="vi-VN_MB"===t;try{const L="tl-PH"===t?"lang=fil":"";try{const[r,u,h,f]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/categories${L?"?"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${L?"&"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${N?"health-tools":"healthtools"}${L?"?"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${N?"health-tools":"healthtools"}/favorites${L?"?"+L:""}`)).then((e=>e.json()))]);P.categories={items:(null===(a=null===(e=null==r?void 0:r.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,qe))||[],spotlights:(null===(n=null===(o=null===(l=null===(i=null==u?void 0:u.data)||void 0===i?void 0:i.articles)||void 0===l?void 0:l.map)||void 0===o?void 0:o.call(l,Je))||void 0===n?void 0:n.filter(Xe))||[]},P.healthTools={items:(null===(c=null===(m=null==h?void 0:h.data)||void 0===m?void 0:m.map)||void 0===c?void 0:c.call(m,We))||[],spotlights:(null===(g=null===(p=null==f?void 0:f.data)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,We))||[]}}catch(e){}if(N||r.TOGETHER_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/community?website_url=https://${r.domainLocales[t]}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/options?website_url=https://${r.domainLocales[t]}&meta_key=popular_post`)).then((e=>e.json()))]);P.together={items:(null===(v=null===(f=null===(h=null==e?void 0:e.data)||void 0===h?void 0:h.communities)||void 0===f?void 0:f.map)||void 0===v?void 0:v.call(f,u.formatCommunity))||[],spotlights:(null===(x=null===(b=null===(y=null==a?void 0:a.data)||void 0===y?void 0:y.posts)||void 0===b?void 0:b.map)||void 0===x?void 0:x.call(b,u.formatPost))||[]}}catch(e){}if(r.CARE_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=0`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=1`)).then((e=>e.json()))]);P.care={items:(null===(k=null===(w=null===(C=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.setting_menu)||void 0===C?void 0:C.menu_specialty)||void 0===w?void 0:w.map)||void 0===k?void 0:k.call(w,Ze))||[],spotlights:(null===(M=null===(A=null===($=null==a?void 0:a._data.setting_menu)||void 0===$?void 0:$.menu_hospital)||void 0===A?void 0:A.map)||void 0===M?void 0:M.call(A,Ye))||[]}}catch(e){}}catch(e){console.error(e)}return P}));exports.Avatar=j,exports.LanguageSwitcher=Z,exports.NavHeader=he,exports.NavigationLogoutPopup=lt,exports.NavigationProfileButton=ot,exports.NavigationV2=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return _.default.createElement(pt,Object.assign({},t),_.default.createElement(si,Object.assign({},t)))},exports.ProfilePopup=tt,exports.UserProfileNavigation=et,exports.UserStats=Re,exports.getNavMenuContent=di,exports.getNavMenuContentWithCache=t=>e.__awaiter(void 0,void 0,void 0,(function*(){return(yield a.getDataWithCache("nav-menu-content",(()=>di(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}})),exports.isInternalLink=R;
|
|
1753
|
+
`;const si=e=>{var a,i;const{isMobile:l,locale:o,onTopBarAppears:d,languageOptions:u,sponsorComponent:m,sitewideBanner:p,sitewideBannerShown:g,className:h}=e,f=(()=>{const{t:e}=c.useTranslations(),{siteType:a,locale:i,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:d,enableNavTogether:u,enableNavEcom:m,statics:p}}=t.useContext(ct),g="marryBaby"===a;return t.useMemo((()=>{var t;const a=[];return l&&a.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}/categories`,niceName:"",thumbnail:g?n.CommonGAssets.getAssetPath("categories-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&a.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}${(null===(t=r.STATIC_PAGES[i])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:g?n.CommonGAssets.getAssetPath("healthtools-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),u&&a.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:s.normalizeLinkSlash(p.TOGETHER_URL_FE+"/"),thumbnail:g?n.CommonGAssets.getAssetPath("community-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/community.svg"),popupType:"together"}),m&&a.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:s.normalizeLinkSlash(p.HOME_PAGE_URL+"/shop"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/shop.svg"),popupType:null}),d&&a.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:"ms-MY"===i?s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care/current-location/hospital/"):s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/care.svg"),popupType:"id-ID"===i?"care":null}),a}),[i,d,u,m])})();(()=>{const{isFirstLogin:e,userState:a}=t.useContext(ct),{userInfo:i}=a;t.useEffect((()=>{(null==i?void 0:i.id)&&(e?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])})();const v=g&&!!p,y=!!m,b=!!(null===(i=null===(a=null==m?void 0:m.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),{headerRef:x,defaultHeaderHeight:E,headerHeight:C,headerBottom:w}=(({hasSponsoredBanners:e,isSponsored:a,isShowingSiteWideBanner:i,isMobile:l})=>{const o=t.useRef(null),[n,r]=t.useState(0),[s,d]=t.useState(64),u=t.useCallback(z.default((()=>{var e,t,a,i;const l=(null===(e=o.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=o.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=l+200&&(r(l),d((null===(i=o.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||n))}),200),[]);t.useEffect((()=>(window.addEventListener("resize",u,{passive:!0}),window.addEventListener("scroll",u,{passive:!0}),u(),()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)})),[]),t.useEffect((()=>{u()}),[l,i,a,e,o.current]);const m=t.useMemo((()=>{let t=56;return i&&(t+=64),a&&(t+=40,e&&(t+=57)),t}),[l,i,e,a]);return{defaultHeaderHeight:m,headerHeight:n||m,headerBottom:s,headerRef:o}})({isShowingSiteWideBanner:v,isSponsored:y,hasSponsoredBanners:b,isMobile:l});return _.default.createElement(ri,{id:"navigation-v2",style:{"--default-header-height":E+"px","--header-height":`calc(${C}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":w+"px"},className:h},_.default.createElement("section",{ref:x},_.default.createElement(li,{menuItems:f,type:"home",onTopBarAppears:d,languageMenu:_.default.createElement(Z,{languageOptions:u,locale:o})})))},di=t=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,a,i,l,o,n,m,c,p,g,h,f,v,y,b,x,E,C,w,k,$,A,M;const P={},N="vi-VN_MB"===t;try{const L="tl-PH"===t?"lang=fil":"";try{const[r,u,h,f]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/categories${L?"?"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${L?"&"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${N?"health-tools":"healthtools"}${L?"?"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${N?"health-tools":"healthtools"}/favorites${L?"?"+L:""}`)).then((e=>e.json()))]);P.categories={items:(null===(a=null===(e=null==r?void 0:r.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,qe))||[],spotlights:(null===(n=null===(o=null===(l=null===(i=null==u?void 0:u.data)||void 0===i?void 0:i.articles)||void 0===l?void 0:l.map)||void 0===o?void 0:o.call(l,Je))||void 0===n?void 0:n.filter(Xe))||[]},P.healthTools={items:(null===(c=null===(m=null==h?void 0:h.data)||void 0===m?void 0:m.map)||void 0===c?void 0:c.call(m,We))||[],spotlights:(null===(g=null===(p=null==f?void 0:f.data)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,We))||[]}}catch(e){}if(N||r.TOGETHER_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/community?website_url=https://${r.domainLocales[t]}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/options?website_url=https://${r.domainLocales[t]}&meta_key=popular_post`)).then((e=>e.json()))]);P.together={items:(null===(v=null===(f=null===(h=null==e?void 0:e.data)||void 0===h?void 0:h.communities)||void 0===f?void 0:f.map)||void 0===v?void 0:v.call(f,u.formatCommunity))||[],spotlights:(null===(x=null===(b=null===(y=null==a?void 0:a.data)||void 0===y?void 0:y.posts)||void 0===b?void 0:b.map)||void 0===x?void 0:x.call(b,u.formatPost))||[]}}catch(e){}if(r.CARE_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=0`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=1`)).then((e=>e.json()))]);P.care={items:(null===(k=null===(w=null===(C=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.setting_menu)||void 0===C?void 0:C.menu_specialty)||void 0===w?void 0:w.map)||void 0===k?void 0:k.call(w,Ze))||[],spotlights:(null===(M=null===(A=null===($=null==a?void 0:a._data.setting_menu)||void 0===$?void 0:$.menu_hospital)||void 0===A?void 0:A.map)||void 0===M?void 0:M.call(A,Ye))||[]}}catch(e){}}catch(e){console.error(e)}return P}));exports.Avatar=j,exports.LanguageSwitcher=Z,exports.NavHeader=he,exports.NavigationLogoutPopup=lt,exports.NavigationProfileButton=ot,exports.NavigationV2=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return _.default.createElement(pt,Object.assign({},t),_.default.createElement(si,Object.assign({},t)))},exports.ProfilePopup=tt,exports.UserProfileNavigation=et,exports.UserStats=Re,exports.getNavMenuContent=di,exports.getNavMenuContentWithCache=t=>e.__awaiter(void 0,void 0,void 0,(function*(){return(yield a.getDataWithCache("nav-menu-content",(()=>di(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}})),exports.isInternalLink=R;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-48739c1f.js"),l=require("./isProduction-f442c956.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}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const t={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="userGeoLocationCoordinates",s={"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"},E={"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"}},O={"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"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],r=["vi-VN"],h=["vi-VN","id-ID"],T=["vi-VN","id-ID"],p={"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 _;exports.QUERY_HEALTH_TOOL=void 0,(_=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",_.gender="gndr",_.age="ge",_.slug="slug",_.resultId="resultId",_.bmr="mr",_.height="gt",_.weight="wght",_.source="surc",_.type="tp",_.startDate="sd",_.additional="tnl",_.week="wk",_.twins="twn",_.weightBefore="wb",_.yourself="yrslf",_.intensity="sy",_.rate="rt",_.method="mthd",_.day="dy",_.pwg="pwg",_.cycle="le",_.period="prd",_.access_token="tkn",_.name="nm",_.id="id";const A={[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:","}},m="hhg_user_token",C={[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 S=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,ECOM_LOCALES:r,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:p,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:A,BEARER_TOKEN_COOKIE:m,DATE_FNS_LOCALE:C,CDN_ADDRESS:L,GA_TOKEN_COOKIE:"_ga",siteHost:i,siteOptions:n,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:t,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=m,exports.CARE_BOOKING_LOCALES=T,exports.CARE_LOCALES=h,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=C,exports.ECOM_LOCALES=r,exports.FAVICONS=p,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=A,exports.LOCALE_SPECS=E,exports.RISK_SCREENER_SLUG=t,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=S,exports.siteHost=i,exports.siteOptions=n;
|
|
1
|
+
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-e65ac398.js"),l=require("./isProduction-61ee0f75.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}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const t={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="userGeoLocationCoordinates",s={"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"},E={"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"}},O={"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"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],r=["vi-VN"],h=["vi-VN","id-ID"],T=["vi-VN","id-ID"],p={"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 _;exports.QUERY_HEALTH_TOOL=void 0,(_=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",_.gender="gndr",_.age="ge",_.slug="slug",_.resultId="resultId",_.bmr="mr",_.height="gt",_.weight="wght",_.source="surc",_.type="tp",_.startDate="sd",_.additional="tnl",_.week="wk",_.twins="twn",_.weightBefore="wb",_.yourself="yrslf",_.intensity="sy",_.rate="rt",_.method="mthd",_.day="dy",_.pwg="pwg",_.cycle="le",_.period="prd",_.access_token="tkn",_.name="nm",_.id="id";const A={[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:","}},m="hhg_user_token",C={[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 S=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,ECOM_LOCALES:r,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:p,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:A,BEARER_TOKEN_COOKIE:m,DATE_FNS_LOCALE:C,CDN_ADDRESS:L,GA_TOKEN_COOKIE:"_ga",siteHost:i,siteOptions:n,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:t,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=m,exports.CARE_BOOKING_LOCALES=T,exports.CARE_LOCALES=h,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=C,exports.ECOM_LOCALES=r,exports.FAVICONS=p,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=A,exports.LOCALE_SPECS=E,exports.RISK_SCREENER_SLUG=t,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=S,exports.siteHost=i,exports.siteOptions=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./screenSizeContext-
|
|
1
|
+
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./screenSizeContext-eeaf29a7.js"),l=require("./index.styles-357aa677.js"),o=require("./index-0ea5e11d.js"),d=require("./useScrollbarSize-572f7ca7.js"),r=require("react-dom"),n=require("styled-components"),i=require("./useTranslations-28eb43a9.js"),s=require("./Onboarding-e65ac398.js"),c=require("./index-cfeecd83.js"),u=require("./theme-4c3065bc.js"),m=require("./index-97616c39.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(e),f=h(n);const g=({open:e=!1,onClickOutside:t})=>p.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),y=({value:t,options:a,className:o,direction:d="horizontal",onChange:r,isDisabled:n,siteType:i})=>{const[s,h]=e.useState(t),f="marryBaby"===i;return p.default.createElement(l.StyledRadioImageGroup,{className:o,"data-direction":d},a.map(((e,a)=>p.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||s)===e.value,"data-is-mb":f,"data-disabled":n,key:a,onClick:()=>{var t;t=e.value,n||(h(t),r&&r(t))}},p.default.createElement("div",null,e.content,e.label&&p.default.createElement(p.default.Fragment,null,f?p.default.createElement(c.MarryBabyText,{type:"subtitle-2",color:(t||s)===e.value?u.theme.mbColors.dark:u.theme.mbColors.midGray},e.label):p.default.createElement(m.Text,{type:"bold",color:(t||s)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},b=f.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
z-index: 200;
|
|
4
4
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -174,4 +174,4 @@
|
|
|
174
174
|
.radio-group-item-heading {
|
|
175
175
|
margin-top: 0;
|
|
176
176
|
}
|
|
177
|
-
`;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=i.useTranslations(),
|
|
177
|
+
`;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=i.useTranslations(),d="marryBaby"==a;return p.default.createElement(S,{"data-is-marryBaby":d},d?p.default.createElement(c.MarryBabyHeading,{type:"h4",color:u.theme.mbColors.dark},l("tools.selectBabyGender")):p.default.createElement(o.Text,{size:"label2",weight:"bold",style:{marginBottom:"0.5rem"}},l("tools.selectBabyGender")),p.default.createElement(_,{siteType:a,options:[{value:s.Gender.Boy,label:l("gender.male"),content:d?p.default.createElement(o.Icon.BabyBoyMB,null):p.default.createElement(o.Icon.GenderChooseBoy,null)},{value:s.Gender.Girl,label:l("gender.female"),content:d?p.default.createElement(o.Icon.BabyGirlMB,null):p.default.createElement(o.Icon.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:d,title:r,onClose:n,open:i=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:u=!0,className:m})=>{const h=e.useRef();e.useEffect((()=>(a.toggleNoScroll(i),()=>a.toggleNoScroll(!1))),[i]);const f=()=>{h.current.classList.add("slideOut"),setTimeout((()=>{n()}),800)};return!i&&c?null:p.default.createElement(t.Portal,null,p.default.createElement(l.StyledDrawer,{className:m,open:i},p.default.createElement(g,{open:i,onClickOutside:f}),p.default.createElement(l.StyledDrawerPanel,{open:i,placement:s,ref:h,hasTitle:Boolean(r)},p.default.createElement("div",{className:"title"},r&&p.default.createElement(o.Text,{size:"s2",weight:"semiBold"},r),p.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},p.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),p.default.createElement(l.StyledDrawerContent,{onClick:e=>{u&&e.stopPropagation()}},d&&(p.default.isValidElement(d)?d:"function"==typeof d?d({internalClose:f}):null)))))},exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:o,children:n,className:i="",animationType:s="slideTop",isStaticBackdrop:c=!1,siteType:u})=>{const[m,h]=e.useState(!1),f=e.useRef(null),{width:g}=d.useScrollbarSize();if(!f.current&&m&&(f.current=document.createElement("div")),e.useEffect((()=>(h(!0),()=>{h(!1),B(),k()})),[]),e.useEffect((()=>{if(m){const e=(()=>{let e=document.getElementById(w);return e||(e=document.createElement("div"),e.setAttribute("id",w),document.body.append(e)),e})();return e.appendChild(f.current),()=>{e.removeChild(f.current)}}}),[m]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):B()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):k()}),[l,g]),!m)return null;const y=["hhg-modal__wrapper",i,s].filter((e=>e)).join(" ");return r.createPortal(p.default.createElement(C,{className:y,"data-open":l,"data-type":t},!c&&p.default.createElement(E,{"data-open":l,onClick:o,"data-type":t}),!c&&"video"===t&&!!a&&p.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),p.default.createElement(v,{className:"hhg-modal","data-open":l,"data-site-type":u},p.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&p.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),n))),f.current)},exports.RadioImageGroup=y;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-3a93d891.js"),r=require("./index-248bc61c.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:E}=l,g=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[k,v]=t.useState(c||d||0),[S]=n.useDebouncedValue(k,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(S)}),[S]),t.useEffect((()=>{v(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:E},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{v((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:k,onChange:h?()=>null:v,min:d,max:m},g,{className:"hhg-mantine-slider "+(g.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{v((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),r=require("react");require("./index-248bc61c.js"),require("@mantine/core"),require("@mantine/dates"),require("./index-70b37cc2.js"),require("./Onboarding-e65ac398.js"),require("./gAssets.js");var t=require("./index-0ea5e11d.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("dayjs"),require("./screenSizeContext-eeaf29a7.js"),require("styled-components"),require("./theme-4c3065bc.js"),require("./isProduction-61ee0f75.js"),require("./translationsContext-755cfa14.js"),require("string-format"),require("@mantine/hooks");var s=i(r);exports.Text=r=>{var{size:i="base",type:a="regular"}=r,n=e.__rest(r,["size","type"]);return s.default.createElement(t.Text,Object.assign({size:i,weight:"caption"===a?"bold":a},n))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./index-7f01cbc0.js"),a=require("./index.styles-4a40e685.js"),l=require("./screenSizeContext-868a3c7a.js"),n=require("./index-15fc9646.js"),i=require("./index-8027a0a6.js"),r=require("./useTranslations-787d5e03.js");require("lodash/debounce");var o=require("./isProduction-f442c956.js"),s=require("./index-54b444c0.js");require("./useCategory-5270d6b5.js");var d=require("./gAssets.js"),c=require("./theme-aafce547.js"),u=require("./tslib.es6-3737b9d7.js"),m=require("@mantine/core"),p=require("innertext");require("@mantine/dates");var g=require("./Onboarding-48739c1f.js"),h=require("dayjs"),f=require("styled-components");require("./translationsContext-317bc783.js"),require("string-format");var b=require("@mantine/hooks"),v=require("./index-d8b4344c.js"),y=require("lodash/throttle"),x=require("./index-290bea02.js"),E=require("./index-88063689.js"),w=require("./index-1917b114.js"),C=require("html-react-parser"),k=require("date-fns");require("./utils-3a823fcb.js"),require("./index.styled-a535a0cf.js"),require("./index-81280a31.js");var B=require("./constants-ac7b324c.js"),T=require("./types-0885e4af.js"),D=require("./index-b2d46829.js"),S=require("./index-be7328b1.js"),N=require("./index.styled-33d6653c.js"),M=require("./index-fa77075e.js"),A=require("react-hook-form"),$=require("./useHealthToolCache-04b17115.js"),z=require("@hookform/resolvers/yup"),P=require("./index-5164e4de.js"),L=require("./index-a1282af2.js"),I=require("react-day-picker/DayPickerInput"),_=require("./useOutsideClick-239f0bc2.js"),O=require("date-fns/locale/en-US"),j=require("date-fns/locale/id"),F=require("date-fns/locale/vi"),R=require("date-fns/locale/zh-TW"),H=require("./getSocialList-0cc97bdf.js"),G=require("uuid"),U=require("./routing-a3152618.js"),W=require("@mantine/form"),V=require("./index-8dec03ce.js"),Q=require("js-cookie"),q=require("lodash/flatten");require("react-contenteditable"),require("react-dom");var Z=require("lodash/uniqBy");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K=Y(e),X=Y(p),J=Y(h),ee=Y(f),te=Y(y),ae=Y(C),le=Y(I),ne=Y(O),ie=Y(j),re=Y(F),oe=Y(R),se=Y(Q),de=Y(q),ce=Y(Z),ue="CHw-fZZ",me="_03U6VRS",pe="EO828Vv";const ge=()=>K.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),he=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},K.default.createElement("defs",null,K.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},K.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),K.default.createElement("title",null,"File"),K.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),fe=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"download"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),be=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"upload"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),ve=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:r,href:o,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),K.default.createElement(e.Fragment,null,n>4&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},o?K.default.createElement("a",{href:o,onClick:r},1):1),K.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>K.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,e,s),onClick:r},e):e))),n<d.length-3&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,null,"..."),K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,d.length,s),onClick:r},d.length):d.length)))},ye=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:r,value:o,isRectangle:s,inputDataTestId:d,siteType:c})=>K.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},K.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>r(o,!l),disabled:i,value:o,id:`${t}-${o}`,"data-label-text":e,"data-testid":d}),!s&&K.default.createElement("label",{htmlFor:`${t}-${o}`},e)),xe=e=>K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Ee=e=>K.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),we=e=>{const t=r.useUniqueId();return K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),K.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),K.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},K.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),K.default.createElement("g",{mask:`url(#${t})`},K.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ce=l=>{var{label:n,availableValue:i,styles:o,isBaby:s,genderValue:c={male:"male",female:"female"}}=l,p=u.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=r.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[b,v]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:c.male,label:g(s?"gender.boy":"gender.male"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:c.female,label:g(s?"gender.girl":"gender.female"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{v(i)}),[i]),K.default.createElement(m.Box,{ref:y,className:h.root},K.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:K.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(s?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),K.default.createElement(m.Flex,{className:f(h.wrapper)},x.map((e=>K.default.createElement(m.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},b&&e.value!==b&&{disabled:!0},{label:K.default.createElement(m.Flex,{gap:m.rem(8),align:"center",justify:"center",sx:{zIndex:0}},K.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),K.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var ke="tliWyii";var Be="PiqKaXk",Te="HgbW6-m",De="_6lkfLYy",Se="j7c-onH";const Ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"avatar","data-size":i},e),K.default.createElement("div",{className:"poster","data-is-disabled-url":!l},K.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},K.default.createElement("a",{href:l},K.default.createElement("span",{className:"name"},a),"•"," "),K.default.createElement("span",null,n))))),Me=({isMobile:e,avatarImg:l,name:n,link:i,size:r="lg",specialty:o})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"expert-avatar","data-size":r},l),K.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n))):K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement("h6",{color:c.theme.colors.gray600,className:`${Be} expert__name`},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p4",className:"specialty"},o)))))),Ae=e.memo((()=>K.default.createElement("div",{className:"shoppable"},K.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},K.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),K.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},K.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ze=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},K.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),Pe=e=>{var a,l,i,{article:r,author:o,authorAvatar:s,badge:d="",hideDescription:c=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,b=u.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=n.useScreenSize();return console.log({article:r}),K.default.createElement(m.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},b),K.default.createElement(m.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},K.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&K.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},X.default(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:d,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},o," • ",h))))};var Le=m.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ie=648/440,_e=1.5,Oe=a=>{var l,i,r,{article:o,author:s,authorAvatar:d,badge:c="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:b,tracking:v,classNames:y,styles:x,unstyled:E,className:w}=a,C=u.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=Le({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),D=e.useMemo((()=>g?_e:Ie),[g]);return K.default.createElement(m.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),K.default.createElement(m.Card.Section,{className:T(B.image,"pointer")},K.default.createElement(n.AspectRatio,Object.assign({ratio:D},p),K.default.createElement("img",{src:(k?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!g&&K.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},X.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{className:B.author,gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:d,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",b))))},je=ee.default.a`
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index-0ea5e11d.js"),a=require("./index.styles-357aa677.js"),l=require("./screenSizeContext-eeaf29a7.js"),n=require("./index-248bc61c.js"),i=require("./index-97616c39.js"),r=require("./useTranslations-28eb43a9.js");require("lodash/debounce");var o=require("./isProduction-61ee0f75.js"),s=require("./index-70b37cc2.js");require("./useCategory-e1a958e0.js");var d=require("./gAssets.js"),c=require("./theme-4c3065bc.js"),u=require("./tslib.es6-34a14e3c.js"),m=require("@mantine/core"),p=require("innertext");require("@mantine/dates");var g=require("./Onboarding-e65ac398.js"),h=require("dayjs"),f=require("styled-components");require("./translationsContext-755cfa14.js"),require("string-format");var b=require("@mantine/hooks"),v=require("./index-557628ee.js"),y=require("lodash/throttle"),x=require("./index-51b52a93.js"),E=require("./index-3a93d891.js"),w=require("./index-3f8d2940.js"),C=require("html-react-parser"),k=require("date-fns");require("./utils-aa9dd49a.js"),require("./index.styled-9eecc8cf.js"),require("./index-e8adec60.js");var B=require("./constants-c1d867f0.js"),T=require("./types-274a4812.js"),D=require("./index-81341650.js"),S=require("./index-cfeecd83.js"),N=require("./index.styled-6ffa2a33.js"),M=require("./index-43cbf509.js"),A=require("react-hook-form"),$=require("./useHealthToolCache-45ec4eb7.js"),z=require("@hookform/resolvers/yup"),P=require("./index-745b4a88.js"),L=require("./index-4b68be11.js"),I=require("react-day-picker/DayPickerInput"),_=require("./useOutsideClick-560280a4.js"),O=require("date-fns/locale/en-US"),j=require("date-fns/locale/id"),F=require("date-fns/locale/vi"),R=require("date-fns/locale/zh-TW"),H=require("./getSocialList-61a2bc5c.js"),G=require("uuid"),U=require("./routing-54bc9433.js"),W=require("@mantine/form"),V=require("./index-c60d02b9.js"),Q=require("js-cookie"),q=require("lodash/flatten");require("react-contenteditable"),require("react-dom");var Z=require("lodash/uniqBy");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K=Y(e),X=Y(p),J=Y(h),ee=Y(f),te=Y(y),ae=Y(C),le=Y(I),ne=Y(O),ie=Y(j),re=Y(F),oe=Y(R),se=Y(Q),de=Y(q),ce=Y(Z),ue="CHw-fZZ",me="_03U6VRS",pe="EO828Vv";const ge=()=>K.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),he=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},K.default.createElement("defs",null,K.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},K.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),K.default.createElement("title",null,"File"),K.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),fe=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"download"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),be=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"upload"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),ve=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:r,href:o,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),K.default.createElement(e.Fragment,null,n>4&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},o?K.default.createElement("a",{href:o,onClick:r},1):1),K.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>K.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,e,s),onClick:r},e):e))),n<d.length-3&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,null,"..."),K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,d.length,s),onClick:r},d.length):d.length)))},ye=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:r,value:o,isRectangle:s,inputDataTestId:d,siteType:c})=>K.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},K.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>r(o,!l),disabled:i,value:o,id:`${t}-${o}`,"data-label-text":e,"data-testid":d}),!s&&K.default.createElement("label",{htmlFor:`${t}-${o}`},e)),xe=e=>K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Ee=e=>K.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),we=e=>{const t=r.useUniqueId();return K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),K.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),K.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},K.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),K.default.createElement("g",{mask:`url(#${t})`},K.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ce=l=>{var{label:n,availableValue:i,styles:o,isBaby:s,genderValue:c={male:"male",female:"female"}}=l,p=u.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=r.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[b,v]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:c.male,label:g(s?"gender.boy":"gender.male"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:c.female,label:g(s?"gender.girl":"gender.female"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{v(i)}),[i]),K.default.createElement(m.Box,{ref:y,className:h.root},K.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:K.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(s?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),K.default.createElement(m.Flex,{className:f(h.wrapper)},x.map((e=>K.default.createElement(m.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},b&&e.value!==b&&{disabled:!0},{label:K.default.createElement(m.Flex,{gap:m.rem(8),align:"center",justify:"center",sx:{zIndex:0}},K.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),K.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var ke="tliWyii";var Be="PiqKaXk",Te="HgbW6-m",De="_6lkfLYy",Se="j7c-onH";const Ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"avatar","data-size":i},e),K.default.createElement("div",{className:"poster","data-is-disabled-url":!l},K.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},K.default.createElement("a",{href:l},K.default.createElement("span",{className:"name"},a),"•"," "),K.default.createElement("span",null,n))))),Me=({isMobile:e,avatarImg:l,name:n,link:i,size:r="lg",specialty:o})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"expert-avatar","data-size":r},l),K.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n))):K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement("h6",{color:c.theme.colors.gray600,className:`${Be} expert__name`},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p4",className:"specialty"},o)))))),Ae=e.memo((()=>K.default.createElement("div",{className:"shoppable"},K.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},K.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),K.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},K.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ze=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},K.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),Pe=e=>{var a,l,i,{article:r,author:o,authorAvatar:s,badge:d="",hideDescription:c=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,b=u.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=n.useScreenSize();return console.log({article:r}),K.default.createElement(m.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},b),K.default.createElement(m.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},K.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&K.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},X.default(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:d,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},o," • ",h))))};var Le=m.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ie=648/440,_e=1.5,Oe=a=>{var l,i,r,{article:o,author:s,authorAvatar:d,badge:c="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:b,tracking:v,classNames:y,styles:x,unstyled:E,className:w}=a,C=u.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=Le({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),D=e.useMemo((()=>g?_e:Ie),[g]);return K.default.createElement(m.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),K.default.createElement(m.Card.Section,{className:T(B.image,"pointer")},K.default.createElement(n.AspectRatio,Object.assign({ratio:D},p),K.default.createElement("img",{src:(k?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!g&&K.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},X.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{className:B.author,gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:d,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",b))))},je=ee.default.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-eeaf29a7.js"),require("styled-components");var s=require("./theme-4c3065bc.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-70b37cc2.js"),require("./isProduction-61ee0f75.js"),require("./Onboarding-e65ac398.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,c=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},c))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./index-248bc61c.js"),n=require("./index-0ea5e11d.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);exports.Modal=t=>{var{title:r,styles:i}=t,u=e.__rest(t,["title","styles"]);const{classes:c}=a.useStyles(void 0,{name:"Modal",styles:i});return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Modal,Object.assign({centered:!0,classNames:c},u,{withCloseButton:!1,title:u.withCloseButton&&o.default.createElement(o.default.Fragment,null,o.default.createElement(n.Text,{size:"s2",weight:"semiBold",as:"span"},r),o.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}}}),o.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("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),r=require("./index.styled-9eecc8cf.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:c}=t,n=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}),c)},n))},exports.MarryBabyText=t=>{var{type:a,color:l,style:c}=t,n=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},c),l&&{"--text-color":l})},n))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-70b37cc2.js"),a=require("./Onboarding-e65ac398.js"),n=require("./gAssets.js"),l=require("./index-248bc61c.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=o(t);exports.DatePicker=t=>{var o,{value:u,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return c.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.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:c.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:u},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-34a14e3c.js"),t=require("react"),r=require("@mantine/core"),s=require("./index-248bc61c.js");require("@mantine/dates");var a=require("./index-70b37cc2.js"),i=require("./Onboarding-e65ac398.js");require("./gAssets.js"),require("./index-0ea5e11d.js"),require("dayjs"),require("./screenSizeContext-eeaf29a7.js"),require("styled-components"),require("./theme-4c3065bc.js"),require("./isProduction-61ee0f75.js");var n=require("./useTranslations-28eb43a9.js");require("@mantine/hooks"),require("lodash/debounce"),require("./useCategory-e1a958e0.js");var c=require("./utils-b081a007.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:r})=>{const[s,n]=t.useReducer(u,o),{provinceByName:d,provinces:l,districts:p,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:y}=s,[h,j]=t.useState();t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,s,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=r?((e,t)=>{const r={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(r[t]=e)}const s={};return e.map((e=>{s[e.name]=r[e.id]})),s})(r,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===(s=null===(t=o[p[0]])||void 0===t?void 0:t[v[0]])||void 0===s?void 0:s.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:y,handleProvinceChange:e=>{var t;const r=Object.keys((null===(t=d[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:r}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,r;const s=Object.keys((null===(r=null===(t=d[b])||void 0===t?void 0:t.list[e])||void 0===r?void 0:r.list)||{});n({type:"SET_WARDS",payload:s}),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:y,selectedDistrict:h,selectedWard:j,handleProvinceChange:g,handleDistrictChange:C,handleWardChange:S}=p({provinces:c}),[O,m]=t.useState("");return t.useEffect((()=>{y&&h&&j&&O?o.onChange({selectedProvince:y,selectedDistrict:h,selectedWard:j,extraInfo:O}):o.onChange(null)}),[y,h,j,O]),l.default.createElement(s.Input.Wrapper,Object.assign({withAsterisk:!0},o),l.default.createElement(r.Stack,null,l.default.createElement(s.Select,{placeholder:(null==d?void 0:d.province)||u("onboarding.similac.input.city"),data:c?v:v.sort(),searchable:!0,onChange:g,value:y}),l.default.createElement(s.Select,{placeholder:(null==d?void 0:d.district)||u("onboarding.similac.input.district"),data:b.sort(),searchable:!0,onChange:C,value:h,disabled:!y}),l.default.createElement(s.Select,{placeholder:(null==d?void 0:d.ward)||u("onboarding.similac.input.ward"),searchable:!0,data:E.sort(),value:j,onChange:S,disabled:!y||!h}),l.default.createElement(s.Input,{placeholder:(null==d?void 0:d.address)||u("onboarding.similac.input.no"),disabled:!y||!h||!j,value:O,onChange:m,style:{marginBottom:0}})),l.default.createElement(r.Input.Error,{size:"md"},i))};
|