@hhgtech/hhg-components 1.23.93 → 1.23.94
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/{Visible-e705882e.js → Visible-189741de.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-d1fc1ee6.js → core-d885094b.js} +1 -1
- package/build/{dataTransform-74b453d2.js → dataTransform-836713c6.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Visible-4e365275.js → Visible-2dc2bf28.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/core-d1d55eb3.js +1 -0
- package/build/esm/{dataTransform-428f42ca.js → dataTransform-ea17bb0d.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-226beb8a.js +1 -0
- package/build/esm/{getSocialList-33acfda8.js → getSocialList-cd76bb19.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-0b21cda7.js +1 -0
- package/build/esm/{index-dec6c8e3.js → index-0f5b43a9.js} +1 -1
- package/build/esm/{index-66fc4980.js → index-13534de0.js} +1 -1
- package/build/esm/{index-4f0f2fa9.js → index-187e958a.js} +1 -1
- package/build/esm/index-1f391f3d.js +1 -0
- package/build/esm/{index-ba2ba46b.js → index-22b632eb.js} +1 -1
- package/build/esm/{index-be2f80b4.js → index-234d124c.js} +1 -1
- package/build/esm/{index-26610518.js → index-3be43158.js} +1 -1
- package/build/esm/index-3d83a7c9.js +1 -0
- package/build/esm/{index-0d93f8a8.js → index-3f9134a2.js} +1 -1
- package/build/esm/{index-f1a30edd.js → index-4303b886.js} +1 -1
- package/build/esm/{index-6a392db4.js → index-56d7b44e.js} +1 -1
- package/build/esm/index-a1063fff.js +1 -0
- package/build/esm/{index-a09656cf.js → index-a1f53739.js} +1 -1
- package/build/esm/index-ad805d26.js +1 -0
- package/build/esm/{index-675f481f.js → index-aecb3b16.js} +1 -1
- package/build/esm/{index-8ad51b9d.js → index-b416e1de.js} +1 -1
- package/build/esm/{index-ef8e12e2.js → index-c3f18886.js} +1 -1
- package/build/esm/{index-6e6ede41.js → index-d1ce819a.js} +1 -1
- package/build/esm/{index-b897bb01.js → index-d8dc46dc.js} +1 -1
- package/build/esm/{index-f61cc110.js → index-e5adfe40.js} +1 -1
- package/build/esm/{index-0b0183bf.js → index-e76b7528.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-1333e132.js → index.styled-275aa818.js} +1 -1
- package/build/esm/{index.styled-b0626e2c.js → index.styled-6df65b13.js} +1 -1
- package/build/esm/{index.styled-05315188.js → index.styled-725f2c42.js} +1 -1
- package/build/esm/{index.styled-cb2f5b95.js → index.styled-833d8f46.js} +1 -1
- package/build/esm/{index.styled-c62b5094.js → index.styled-887e5c40.js} +1 -1
- package/build/esm/{index.styled-47b6ea52.js → index.styled-b26895f8.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/normalizeLink-260762f5.js +1 -0
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-d7b4433f.js +1 -0
- package/build/esm/{screenSizeContext-efdd6442.js → screenSizeContext-af659fef.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-df400755.js → translationsProvider-21b6e3ce.js} +1 -1
- package/build/esm/{types-9ec159b5.js → types-36c4c594.js} +1 -1
- package/build/esm/{types-1aa1f220.js → types-f77481a9.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-2c19ecaf.js → useFbDataLayer-2f5fefaa.js} +1 -1
- package/build/esm/useHealthToolCache-7b2d16d5.js +1 -0
- package/build/esm/{useTranslations-99ccbbec.js → useTranslations-78e77efa.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-a9f70288.js +1 -0
- package/build/{getSocialList-08c4a902.js → getSocialList-7ff3d3b0.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-49b6ba02.js → index-000fc462.js} +1 -1
- package/build/index-0c29db1a.js +1 -0
- package/build/{index-da4a90bf.js → index-0f7fd483.js} +1 -1
- package/build/{index-fe2c7a57.js → index-11b0ea90.js} +1 -1
- package/build/index-1aee9d8c.js +1 -0
- package/build/{index-7e595cde.js → index-2ab702f7.js} +1 -1
- package/build/{index-be28f6f4.js → index-36d77f38.js} +1 -1
- package/build/{index-f2e5bf8c.js → index-47fe7423.js} +1 -1
- package/build/{index-53bfd611.js → index-4ccacd22.js} +1 -1
- package/build/{index-7900a8e9.js → index-619a0742.js} +1 -1
- package/build/index-64935202.js +1 -0
- package/build/{index-2ee30876.js → index-83b50c90.js} +1 -1
- package/build/index-897b4882.js +1 -0
- package/build/{index-44e8203f.js → index-8c14949f.js} +1 -1
- package/build/{index-066402eb.js → index-a451a219.js} +1 -1
- package/build/{index-1922f41b.js → index-aaf95345.js} +1 -1
- package/build/{index-e68eaa5e.js → index-b756223a.js} +1 -1
- package/build/{index-24cf72dc.js → index-bab637f6.js} +1 -1
- package/build/index-c4ba4e6e.js +1 -0
- package/build/index-c8296b28.js +1 -0
- package/build/{index-786b3961.js → index-ec8eb1e9.js} +1 -1
- package/build/{index-6c0f7f7b.js → index-f48dffb8.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-a457614b.js → index.styled-26705c93.js} +1 -1
- package/build/{index.styled-997e66f3.js → index.styled-5273bf68.js} +1 -1
- package/build/{index.styled-fdad2ea6.js → index.styled-60068a25.js} +1 -1
- package/build/{index.styled-f92bec61.js → index.styled-614f9141.js} +1 -1
- package/build/{index.styled-c5b4f077.js → index.styled-f080f954.js} +1 -1
- package/build/{index.styled-bacc3b39.js → index.styled-ff463609.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/normalizeLink-f8ebd3ff.js +1 -0
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-49308ba6.js → routing-4f410e8e.js} +1 -1
- package/build/{screenSizeContext-f5aa1519.js → screenSizeContext-057704b5.js} +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-509cada4.js → translationsProvider-bd3101db.js} +1 -1
- package/build/{types-4078f74e.js → types-3efcbc3d.js} +1 -1
- package/build/{types-b7bbee79.js → types-e114fecb.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-cb13167b.js → useFbDataLayer-66da6426.js} +1 -1
- package/build/{useHealthToolCache-0bd4886d.js → useHealthToolCache-305fce74.js} +1 -1
- package/build/useTranslations-cae83a66.js +1 -0
- package/package.json +1 -1
- package/build/esm/core-c8ad96a0.js +0 -1
- package/build/esm/getDynamicHealthTool-a52ca37e.js +0 -1
- package/build/esm/index-16202951.js +0 -1
- package/build/esm/index-5a74642e.js +0 -1
- package/build/esm/index-7751f1a4.js +0 -1
- package/build/esm/index-b397d318.js +0 -1
- package/build/esm/index-d8365ac2.js +0 -1
- package/build/esm/routing-8f0243d9.js +0 -1
- package/build/esm/useHealthToolCache-75147130.js +0 -1
- package/build/getDynamicHealthTool-00715757.js +0 -1
- package/build/index-65e9b03a.js +0 -1
- package/build/index-8bfb5a48.js +0 -1
- package/build/index-8c207d72.js +0 -1
- package/build/index-b5874769.js +0 -1
- package/build/index-b7bf23ea.js +0 -1
- package/build/index-eacbaf00.js +0 -1
- package/build/useTranslations-598f03ce.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-09c497c4.js → BMI_BOYS.percentile.monthly-1330c1ce.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-530e4d67.js → BMI_BOYS.percentile.weekly-1c2f5d3c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b339b31d.js → BMI_BOYS.percentile.yearly-f58eab82.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-815f15d0.js → BMI_BOYS.zscore.monthly-01cd2aee.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-c4bae05e.js → BMI_BOYS.zscore.weekly-dc3ceb84.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7cac5ceb.js → BMI_BOYS.zscore.yearly-01e083fa.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-60dd714e.js → BMI_GIRLS.percentile.monthly-bd6a51b9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0af4aa5f.js → BMI_GIRLS.percentile.weekly-3a5a0f23.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-bcd59735.js → BMI_GIRLS.percentile.yearly-0e82aed8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6595beea.js → BMI_GIRLS.zscore.monthly-6cd108ef.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6e6b23a9.js → BMI_GIRLS.zscore.weekly-7f9cbf6e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f24635c2.js → BMI_GIRLS.zscore.yearly-4884479d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-187e2678.js → HEAD CIRCUM_BOYS.percentile.monthly-0731883d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5c104254.js → HEAD CIRCUM_BOYS.percentile.weekly-ebf08bc1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-479aa120.js → HEAD CIRCUM_BOYS.percentile.yearly-77b9f780.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8b439023.js → HEAD CIRCUM_BOYS.zscore.monthly-2ca959ca.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2d2d788b.js → HEAD CIRCUM_BOYS.zscore.weekly-88ad4b93.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d17e26f5.js → HEAD CIRCUM_BOYS.zscore.yearly-da4e53bf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ceffc432.js → HEAD CIRCUM_GIRLS.percentile.monthly-b8e23ca7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-75281fe6.js → HEAD CIRCUM_GIRLS.percentile.weekly-8cedebfe.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c3e8ac13.js → HEAD CIRCUM_GIRLS.percentile.yearly-d05262d9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5e3fcd32.js → HEAD CIRCUM_GIRLS.zscore.monthly-2abb69c9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9ab616f4.js → HEAD CIRCUM_GIRLS.zscore.weekly-84b7d11d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f43cff30.js → HEAD CIRCUM_GIRLS.zscore.yearly-591e718c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-8dc3d93b.js → HEIGHT_BOYS.percentile.monthly-32cc633a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5fb70d5f.js → HEIGHT_BOYS.percentile.weekly-ac9d0de6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-296120bf.js → HEIGHT_BOYS.percentile.yearly-ecab5541.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-cd5dd582.js → HEIGHT_BOYS.zscore.monthly-0f5e9a2f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-013bcf20.js → HEIGHT_BOYS.zscore.weekly-fe1419e9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-330ea598.js → HEIGHT_BOYS.zscore.yearly-fbbf4dbf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-de93e618.js → HEIGHT_GIRLS.percentile.monthly-f15cd20c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a5fe0f38.js → HEIGHT_GIRLS.percentile.weekly-d16b59c9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-bb903956.js → HEIGHT_GIRLS.percentile.yearly-dfdfbb50.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-4ad86587.js → HEIGHT_GIRLS.zscore.monthly-d279a0f9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c91018ca.js → HEIGHT_GIRLS.zscore.weekly-62335cda.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-29bd4a29.js → HEIGHT_GIRLS.zscore.yearly-8b6e339d.js} +0 -0
- /package/build/{Locale-c505c75b.js → Locale-2940efed.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-132457d5.js → WEIGHT_BOYS.percentile.monthly-f2488caf.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-50ab0d84.js → WEIGHT_BOYS.percentile.weekly-f87dad47.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-b303d2c2.js → WEIGHT_BOYS.percentile.yearly-192c23e0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6bd740cc.js → WEIGHT_BOYS.zscore.monthly-c7188f7b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6ffac09a.js → WEIGHT_BOYS.zscore.weekly-1b8131f6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-74c770d5.js → WEIGHT_BOYS.zscore.yearly-715cc043.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-53edb0eb.js → WEIGHT_GIRLS.percentile.monthly-8a0e2759.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3f4144f9.js → WEIGHT_GIRLS.percentile.weekly-e07d288e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-f4ba48a8.js → WEIGHT_GIRLS.percentile.yearly-954a8421.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-da393f35.js → WEIGHT_GIRLS.zscore.monthly-5a487a87.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-bb71add4.js → WEIGHT_GIRLS.zscore.weekly-ae1b0cde.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f03a19bc.js → WEIGHT_GIRLS.zscore.yearly-15b7f213.js} +0 -0
- /package/build/{constants-f7a3fa33.js → constants-32a165e4.js} +0 -0
- /package/build/{cookieHelper-d0f77f13.js → cookieHelper-0156a767.js} +0 -0
- /package/build/{dataTransform-1943c167.js → dataTransform-01d7465a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a62a6e47.js → BMI_BOYS.percentile.monthly-613fa3bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ed2663de.js → BMI_BOYS.percentile.weekly-c491ac45.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-6f2ace66.js → BMI_BOYS.percentile.yearly-d82c47c6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3f306559.js → BMI_BOYS.zscore.monthly-7b78b304.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-7a2a9264.js → BMI_BOYS.zscore.weekly-e6c15c1d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dec90275.js → BMI_BOYS.zscore.yearly-0417fbdd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-127ab670.js → BMI_GIRLS.percentile.monthly-332e2bcf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2d56cb3d.js → BMI_GIRLS.percentile.weekly-43b78d44.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b116f96c.js → BMI_GIRLS.percentile.yearly-89144eff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5f945a02.js → BMI_GIRLS.zscore.monthly-15e80af0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8d5f03a4.js → BMI_GIRLS.zscore.weekly-8e0da361.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e4963364.js → BMI_GIRLS.zscore.yearly-5f54909e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a3e6fe50.js → HEAD CIRCUM_BOYS.percentile.monthly-e7207ab4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-0ce0d344.js → HEAD CIRCUM_BOYS.percentile.weekly-09326821.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6ba801bb.js → HEAD CIRCUM_BOYS.percentile.yearly-14761002.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c6a12f74.js → HEAD CIRCUM_BOYS.zscore.monthly-d275c3ab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-55d76b7d.js → HEAD CIRCUM_BOYS.zscore.weekly-9de30483.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5f7ebe8c.js → HEAD CIRCUM_BOYS.zscore.yearly-7aeb8901.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-3a3734ba.js → HEAD CIRCUM_GIRLS.percentile.monthly-0c360f83.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-555e8701.js → HEAD CIRCUM_GIRLS.percentile.weekly-4b51611d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-299d2051.js → HEAD CIRCUM_GIRLS.percentile.yearly-bdb8ee63.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c07b7aff.js → HEAD CIRCUM_GIRLS.zscore.monthly-acec0938.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f7eb47cf.js → HEAD CIRCUM_GIRLS.zscore.weekly-ac959c5d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e98547ce.js → HEAD CIRCUM_GIRLS.zscore.yearly-29c47333.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c4a6b1c6.js → HEIGHT_BOYS.percentile.monthly-b489bd33.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e1118c5a.js → HEIGHT_BOYS.percentile.weekly-c73c8fd5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c5400c07.js → HEIGHT_BOYS.percentile.yearly-9aa3e930.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4fe21379.js → HEIGHT_BOYS.zscore.monthly-5d81ac05.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0d9298b1.js → HEIGHT_BOYS.zscore.weekly-e25208cc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-eda41e23.js → HEIGHT_BOYS.zscore.yearly-04c46b87.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-54955b42.js → HEIGHT_GIRLS.percentile.monthly-af11d67a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-515d33d5.js → HEIGHT_GIRLS.percentile.weekly-2ddf792b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b0e9f10e.js → HEIGHT_GIRLS.percentile.yearly-01a8720d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8be467a0.js → HEIGHT_GIRLS.zscore.monthly-73515205.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-093956e5.js → HEIGHT_GIRLS.zscore.weekly-da5b86c8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-ed2361ab.js → HEIGHT_GIRLS.zscore.yearly-105dccb1.js} +0 -0
- /package/build/esm/{Locale-92e2d1e5.js → Locale-4d11ca89.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a89b3811.js → WEIGHT_BOYS.percentile.monthly-71d6f05e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d3c36fad.js → WEIGHT_BOYS.percentile.weekly-45bc8cd0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f5253027.js → WEIGHT_BOYS.percentile.yearly-28c0144c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bb585618.js → WEIGHT_BOYS.zscore.monthly-74626540.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-1674843b.js → WEIGHT_BOYS.zscore.weekly-6fa245b9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ca739f2b.js → WEIGHT_BOYS.zscore.yearly-6f40caf7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-aad67484.js → WEIGHT_GIRLS.percentile.monthly-b6106fdf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f0a98419.js → WEIGHT_GIRLS.percentile.weekly-22031832.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-350d265b.js → WEIGHT_GIRLS.percentile.yearly-97294f07.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3fcdca7a.js → WEIGHT_GIRLS.zscore.monthly-9e645550.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-be3d8d20.js → WEIGHT_GIRLS.zscore.weekly-c192c18a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-69b68369.js → WEIGHT_GIRLS.zscore.yearly-f6001f8a.js} +0 -0
- /package/build/esm/{constants-459f2108.js → constants-a82dddbc.js} +0 -0
- /package/build/esm/{cookieHelper-d8c7cdc7.js → cookieHelper-2666c4ca.js} +0 -0
- /package/build/esm/{dataTransform-a4638c64.js → dataTransform-d566eb13.js} +0 -0
- /package/build/esm/{isProduction-4a21a585.js → isProduction-c2c502ee.js} +0 -0
- /package/build/esm/{localizeNumberFormat-770eb527.js → localizeNumberFormat-015de469.js} +0 -0
- /package/build/esm/{theme-d0c262b4.js → theme-53be6047.js} +0 -0
- /package/build/esm/{translationsContext-65a3869d.js → translationsContext-8e67261d.js} +0 -0
- /package/build/esm/{tslib.es6-d79d3ea2.js → tslib.es6-4910580c.js} +0 -0
- /package/build/esm/{types-4c9f507b.js → types-a823485d.js} +0 -0
- /package/build/esm/{useOutsideClick-48bae43b.js → useOutsideClick-c61fc657.js} +0 -0
- /package/build/esm/{useScrollbarSize-a82edd64.js → useScrollbarSize-2c3ec0a4.js} +0 -0
- /package/build/esm/{utils-7a79e838.js → utils-b8e785f3.js} +0 -0
- /package/build/{isProduction-c44fda0a.js → isProduction-de68d1e2.js} +0 -0
- /package/build/{localizeNumberFormat-2c055bb0.js → localizeNumberFormat-2978aa07.js} +0 -0
- /package/build/{theme-899fb199.js → theme-e49f9028.js} +0 -0
- /package/build/{translationsContext-b21dd12f.js → translationsContext-c07ab2d0.js} +0 -0
- /package/build/{tslib.es6-aef5df18.js → tslib.es6-2a8d14d1.js} +0 -0
- /package/build/{types-da005ffb.js → types-647a99c0.js} +0 -0
- /package/build/{useOutsideClick-b920de71.js → useOutsideClick-5c4cb8bd.js} +0 -0
- /package/build/{useScrollbarSize-e85629eb.js → useScrollbarSize-0f183023.js} +0 -0
- /package/build/{utils-a963723b.js → utils-08c70fb2.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,b as t,c as n,d as l}from"./tslib.es6-d79d3ea2.js";import a,{useState as i,useEffect as r,useRef as o,useMemo as c,useContext as s,useCallback as m}from"react";import{g as u}from"./core-c8ad96a0.js";import{CommonGAssets as d}from"./gAssets.js";import{S as h,d as g,e as v,f as p,g as E,h as f,i as y,j as w,k as L,l as C,N as b,m as k,n as M,o as P,p as H,q as N,r as x,s as B,t as A,u as T,v as _,w as R,x as S,y as U,z as Z,A as V,B as F,C as I,E as O,F as D,I as j,J as G,K as z,L as W,M as q,O as K,P as Y,Q,R as J,V as X,W as $,X as ee,Y as te,Z as ne,_ as le,$ as ae,a0 as ie,a1 as re,a2 as oe,a3 as ce,a4 as se,a5 as me,a6 as ue,a7 as de,a8 as he,a9 as ge,aa as ve,ab as pe,ac as Ee,ad as fe,ae as ye,af as we,ag as Le,ah as Ce,ai as be,aj as ke,ak as Me,al as Pe,am as He,an as Ne,ao as xe,ap as Be,aq as Ae}from"./index.styled-b0626e2c.js";import{T as Te}from"./index-0d93f8a8.js";import{d as _e,L as Re,S as Se,U as Ue,C as Ze,T as Ve}from"./index-4f0f2fa9.js";import{d as Fe,b as Ie,c as Oe}from"./routing-8f0243d9.js";import{P as De,b as je,c as Ge}from"./dataTransform-428f42ca.js";import{L as ze}from"./index-ef8e12e2.js";import{u as We}from"./useTranslations-99ccbbec.js";import qe from"lodash/throttle";import{g as Ke}from"./utils-7a79e838.js";import{y as Ye,P as Qe,H as Je}from"./index.styled-47b6ea52.js";import{B as Xe}from"./index-8ad51b9d.js";import{t as $e}from"./theme-d0c262b4.js";import{Portal as et}from"@mantine/core";import{g as tt}from"./cookieHelper-d8c7cdc7.js";import"./index.styled-c62b5094.js";import{C as nt}from"./index-6e6ede41.js";import"./index.styled-cb2f5b95.js";import"./index-a09656cf.js";import{L as lt}from"./constants-459f2108.js";import at from"string-format";import it from"lodash/debounce";var rt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ot=function(t){var n=t.type,l=void 0===n?"square":n,o=t.size,c=t.avatarImg,s=t.avatarUrl,m=t.firstLetter,u=t.backgroundColor,d=t.onClick,h=t.style,g=t.className,v=t.width,p=t.height,E=o?rt[o]:void 0,f=i(!1),y=f[0],w=f[1];r((function(){if(s){var e=document.createElement("img");e.setAttribute("src",s),e.addEventListener("error",(function(){w(!0)}))}}),[s,w]);var L=(!s&&!c||y)&&m;return a.createElement(Ye,{style:e(e({},h),{"--size":E?E+"px":void 0,"--width-prop":v?v+"px":void 0,"--height-prop":p?p+"px":void 0,"--background-color":u}),"data-has-max":!(!v||!p),"data-avatar-type":l,onClick:d,className:g,avatarUrl:s,"data-custom-size":!!o},c,s&&!y&&a.createElement("img",{src:s}),L&&m)},ct=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/cambodiaRound.png"),style:e({borderRadius:"50%"},t.style)},t))},st=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/cambodiaSquare.png")},t))},mt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),a.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),a.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),a.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),a.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),a.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),a.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),a.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),a.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),a.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),a.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),a.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),a.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),a.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),a.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),a.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),a.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),a.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),a.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),a.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),a.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),a.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),a.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),a.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),a.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),a.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),a.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},ut=function(t){return a.createElement("svg",e({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},a.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),a.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),a.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),a.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),a.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),a.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),a.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),a.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),a.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),a.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},dt=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/indiaRound.png"),style:e({borderRadius:"50%"},t.style)},t))},ht=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/indiaSquare.png")},t))},gt=function(n){var l=n.isTesting,i=t(n,["isTesting"]),r=o("id-flag-round-mask-"+(l?1:Math.random()));return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("mask",{id:r.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("g",{mask:"url(#".concat(r.current,")")},a.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),a.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},vt=function(n){var l=n.isTesting,i=t(n,["isTesting"]),r=o("id-flag-clip-"+(l?1:Math.random()));return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("g",{clipPath:"url(#".concat(r.current,")")},a.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),a.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:r.current},a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},pt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),a.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},Et=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),a.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),a.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},ft=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),a.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),a.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},yt=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),a.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),a.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},wt=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/philippineRound.png"),style:e({borderRadius:"50%"},t.style)},t))},Lt=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/philippineSquare.png")},t))},Ct=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),a.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),a.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),a.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),a.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),a.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),a.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),a.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),a.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),a.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),a.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),a.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),a.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),a.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),a.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),a.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},bt=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),a.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),a.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),a.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),a.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),a.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),a.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),a.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),a.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),a.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),a.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),a.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),a.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),a.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),a.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},kt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),a.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},Mt=function(t){return a.createElement("svg",e({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),a.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},Pt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),a.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},Ht=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("g",null,a.createElement("clipPath",null,a.createElement("rect",{width:"24",height:"16",fill:"white"})),a.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),a.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},Nt="pfaLGRK",xt=function(e){var t,n,l=e.country,i=e.language,r=e.rounded,o=e.height,c=e.width,s=e.isTesting;switch(i){case"en":t=a.createElement(ut,null),n=a.createElement(mt,null);break;case"vi":t=a.createElement(Ht,null),n=a.createElement(Pt,null);break;case"id":t=a.createElement(vt,{isTesting:s}),n=a.createElement(gt,{isTesting:s});break;case"th":t=a.createElement(Mt,null),n=a.createElement(kt,null);break;case"km":t=a.createElement(st,null),n=a.createElement(ct,null);break;case"ms":t=a.createElement(Et,null),n=a.createElement(pt,null);break;case"my":t=a.createElement(yt,null),n=a.createElement(ft,null);break;case"tl":t=a.createElement(Lt,null),n=a.createElement(wt,null);break;case"hi":t=a.createElement(ht,null),n=a.createElement(dt,null);break;case"zh":t=a.createElement(bt,null),n=a.createElement(Ct,null)}if(!t&&!n)switch(l){case"VN":t=a.createElement(Ht,null),n=a.createElement(Pt,null);break;case"ID":t=a.createElement(vt,{isTesting:s}),n=a.createElement(gt,{isTesting:s});break;case"TH":t=a.createElement(Mt,null),n=a.createElement(kt,null);break;case"KH":t=a.createElement(st,null),n=a.createElement(ct,null);break;case"MY":t=a.createElement(Et,null),n=a.createElement(pt,null);break;case"MM":t=a.createElement(yt,null),n=a.createElement(ft,null);break;case"PH":t=a.createElement(Lt,null),n=a.createElement(wt,null);break;case"IN":t=a.createElement(ht,null),n=a.createElement(dt,null);break;case"TW":t=a.createElement(bt,null),n=a.createElement(Ct,null)}return a.createElement("div",{className:Nt,style:{"--width":c||20,"--height":o||20}},r?n:t)},Bt=function(e){var t=e.options,n=e.label,l=e.labelRenderer,r=e.selected,o=e.onChange,c=e.showSelected,s=void 0===c||c,m=e.style,u=void 0===m?{}:m,f=e.showIndicator,y=void 0===f||f,w=i(!1),L=w[0],C=w[1];return a.createElement(a.Fragment,null,a.createElement(h,null,a.createElement(g,{onClick:function(){return C((function(e){return!e}))}},n||(null==l?void 0:l(L))||null,a.createElement(v,{"data-is-open":L,style:u,"data-show-indicator":y},t.map((function(e,t){return a.createElement(p,{key:t,"data-selected":s&&r===e.value,onClick:function(t){r!==e.value&&(o(e.value),C((function(e){return!e}))),t.stopPropagation()}},a.createElement(Te,{size:"p3"},e.label),s&&r===e.value&&a.createElement("img",{src:d.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),L&&a.createElement(E,{onClick:function(){return C(!1)}}))},At=function(e){var t,n,l=e.languageOptions,i=e.locale,r=null==l?void 0:l.find((function(e){return e.locale===i}));return(null==l?void 0:l.length)?a.createElement(Bt,{options:l,selected:r.value,label:a.createElement(Tt,{locale:i,label:r.label||(null===(n=null===(t=i.split("-"))||void 0===t?void 0:t[0])||void 0===n?void 0:n.toUpperCase())}),onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Tt=function(e){var t,n,l,i=e.locale,r=e.label,o=e.href;return a.createElement(f,{href:o},a.createElement(xt,{country:null===(n=null===(t=null==i?void 0:i.split("-"))||void 0===t?void 0:t[1])||void 0===n?void 0:n.toUpperCase(),width:16,height:16,rounded:!0,language:null===(l=null==i?void 0:i.split("-"))||void 0===l?void 0:l[0]}),a.createElement("span",null,r))},_t=function(e){var t=e.forceDisplay,n=e.mediaQueryKey,l=e.children,i=e.className,r=e.style,o=c((function(){return Ke(n)}),[n]),s=o[0],m=o[1];return a.createElement(y,{lowerBound:t?0:s,upperBound:t?0:m,className:i,style:r},l)},Rt=function(e){var t=(e||{}).allowBgScroll,n=o();return{containerRef:n,onContainerFocus:function(){t||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){t||(document.documentElement.style.overflow="")},onButtonMouseDown:function(e){n.current&&(document.activeElement===n.current||n.current.contains(document.activeElement))&&(n.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:function(){n.current&&(document.activeElement===n.current||n.current.contains(document.activeElement))&&(n.current.blur(),document.activeElement.blur())}}},St=function(e){var t=e.openLogoutPopup,n=e.onCloseHandler,l=e.onLogoutHandler,i=e.siteType,o=void 0===i?"helloSites":i,c=We().t;return r((function(){document.body.classList.toggle("noscroll",t)}),[t]),a.createElement(et,null,a.createElement(De,{type:"confirm",isOpen:t,closeIcon:a.createElement("img",{src:d.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:n},a.createElement(w,null,"helloSites"===o&&a.createElement("img",{src:d.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),a.createElement("h2",null,c("helloSites"===o?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,c("logout.popup.ask2")),a.createElement(L,{siteType:o},a.createElement(Xe,{className:"logout-button",color:"tertiary",size:"lg",onClick:l},c("logout.popup.button.logout")),a.createElement(Xe,{className:"cancel-button",color:"primary",size:"lg",onClick:n},c("logout.popup.button.cancel"))))))},Ut=function(e){var t,n,l,a;return e?{termId:e.term_id||null,sponsor:e.sponsor?(a=e.sponsor,a?{title:a.title,logo:a.logo,link:a.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return Ut(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(n=e.cat_parent)||void 0===n?void 0:n.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},Zt=function(e){var t,n;if(!e)return{};var l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),a=null===(n=e.link)||void 0===n?void 0:n.startsWith("/fil/"),i=e.link?e.link.startsWith("http")||l?e.link:a?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(e.link.replace("/health-tools/","/")):void 0;return{icon:e.icon,link:i,subtitle:e.subtitle,title:e.title}},Vt=function(e){return e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{}},Ft=function(e){return e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{}},It=function(e){var t,n,l=e.type,a=e.specialtySlug,i=e.locale;return"".concat(null===(t=lt[i])||void 0===t?void 0:t.ALL,"/").concat((null===(n=lt[i])||void 0===n?void 0:n[l])||"doctor","/").concat(null!=a?a:"")},Ot=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},Dt=function(e){var t=new Date;if(null==e?void 0:e.startDate){var n=new Date(e.startDate);if(t.getTime()<n.getTime())return!1}if(null==e?void 0:e.endDate){var l=new Date(e.endDate);if(t.getTime()>l.getTime())return!1}return!0},jt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},Gt={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function zt(e){var t=e.userInfo,n=e.onClickMyProfileButton,l=e.themeName,i=void 0===l?"helloSites":l,r=We().t,o=c((function(){var e=(null==t?void 0:t.name)||(null==t?void 0:t.username);return e&&e.length?e[0].toUpperCase():"A"}),[null==t?void 0:t.username,null==t?void 0:t.name]);return a.createElement("div",{className:Gt.navHeader,onClick:function(){n&&n()}},a.createElement(ot,{className:Gt.navAvatar,type:"rounded",size:"xl",avatarUrl:null==t?void 0:t.avatar,firstLetter:o,backgroundColor:"marryBaby"===i?$e.mbColors.pink:$e.colors.secondaryBase}),a.createElement("div",{className:Gt.navHeaderUserInfos},a.createElement("div",{className:Gt.navHeaderUserName},(null==t?void 0:t.name)||(null==t?void 0:t.username)),a.createElement("div",{className:Gt.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(d.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(d.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},r("userProfile.nav.header.viewProfile"))))}var Wt="gn6HmGG",qt="FCx8FEM",Kt="zMiRxaE",Yt="lZ2Z9MQ",Qt="rwm-agG",Jt="qMOscoq",Xt=function(e){var t=e.themeName,n=e.locale,l=e.onClickItem,r=i(""),o=r[0],s=r[1],m=c((function(){return"marryBaby"===t?[{key:"userProfile.nav.menu.password",icon:d.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:d.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:d.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:d.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[t]);function u(e){e.subMenu?s((function(t){return t?"":e.key})):l&&l(e)}return a.createElement("div",{className:Wt},m.map((function(e){return a.createElement($t,{key:e.key,item:e,openKey:o,onClickItem:u,locale:n})})))},$t=function(e){var t,n=e.item,l=e.openKey,i=e.onClickItem,r=e.locale,o=We().t;return(null===(t=n.disableLocale)||void 0===t?void 0:t.includes(r))?null:a.createElement("div",{className:"".concat(qt," nav-menu-item"),"data-is-open":l===n.key,key:n.key,"data-has-submenu":!!n.subMenu},a.createElement("div",{className:Kt,onClick:function(){return i(n)}},n.icon&&a.createElement("div",{className:Yt,style:{backgroundImage:'url("'.concat(n.icon,'")')}}),o(n.key),n.subMenu&&a.createElement("div",{className:Qt,style:{"--after-bg":"url(".concat(d.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),n.subMenu&&a.createElement("div",{className:Jt},n.subMenu.map((function(e){return a.createElement($t,{key:e.key,item:e,openKey:l,onClickItem:i,locale:r})}))))},en="-AZt1au",tn="IvSIfCI",nn="eahCJov",ln="XIyViFs",an="_4y-O0w3",rn="kO8iNgD",on="a1d4E10",cn="Tdguxxf",sn="-mOxsaU",mn="yPeDBNZ",un={helloSites:{member:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},dn=function(e){var t=e.themeName,n=e.rank,l=void 0===n?"member":n,i=e.numberOfPosts,r=void 0===i?0:i,o=We().t,s=c((function(){var e,n;return(null===(n=null===(e=un[t])||void 0===e?void 0:e[l])||void 0===n?void 0:n.call(e))||""}),[l,t]);return a.createElement("div",{className:an,"data-user-rank":l},a.createElement("div",{className:rn},a.createElement("div",{className:on},a.createElement("div",{className:cn,style:{backgroundImage:'url("'.concat(s,'")')}}),a.createElement("h3",{className:sn},o("userProfile.userRank.".concat(l))),r>0&&a.createElement("p",{className:mn},r," ",o("userProfile.nav.header.count.posts")))))},hn=function(t){var n=t.SSO_URL,l=t.UP_BASEPATH,o=void 0===l?"user":l,s=t.themeName,m=void 0===s?"helloSites":s,u=t.cardUrls,h=void 0===u?jt:u,g=t.enableCare,v=t.enableTogether,p=t.enableEcom,E=t.userInfo,f=t.togetherApiDomain,y=t.userPostsNumber,w=t.onClickNavigationCard,L=t.onClickMyProfileButton,k=t.onClickMenuItem,M=t.onClickLogout,P=t.isUserProfileNavigatorMenuHidden,H=void 0!==P&&P,N=t.isMyHealthEnabled,x=void 0!==N&&N,B=t.locale,A=We().t,T=i(y||0),_=T[0],R=T[1],S="marryBaby"===m;r((function(){if(E&&void 0===y){var t=tt("hhg_user_token");t&&fetch(function(t,n,l,a){return(l||"https://together.hellohealthgroup.com/")+"api/v1/"+at(C.GET_USER_POSTS,e(e({},a),{websiteUrl:n?"https://marrybaby.vn":"https://".concat(_e[t])}))}(B,S,f),{headers:{Authorization:"Bearer ".concat(t)}}).then((function(e){return e.json()})).then((function(e){var t,n,l;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&R((null===(l=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.pagination)||void 0===l?void 0:l.total_items)||0)})).catch((function(e){return console.error("Error fetching post number",e)}))}}),[B,null!==E,y,f,S]);var U=c((function(){return(S?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(e){return"myBooking"===e?g:"myCommunity"===e?v:"myHealth"===e?x:"eCom"!==e||p}))}),[S,x]),Z=c((function(){return"marryBaby"===m?null:a.createElement(Xe,{color:"tertiary",icon:a.createElement("img",{src:d.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:M,className:ln},A("userProfile.nav.menu.logout"))}),[m]),V=function(e){window.location.href="".concat(n).concat(o,"/").concat(e)},F=function(e){var t=h[e];w?w(t):V(t)};return E?a.createElement("div",{className:en,"data-theme":m},a.createElement(zt,{userInfo:E,themeName:m,onClickMyProfileButton:function(){L?L():V("profile")}}),a.createElement(dn,{themeName:m,rank:"member",numberOfPosts:_}),a.createElement("div",{className:tn},U.map((function(e){return a.createElement(b,{className:nn,key:e,themeName:m,type:e,onClick:F})}))),!H&&a.createElement(a.Fragment,null,a.createElement(Xt,{themeName:m,locale:B,onClickItem:function(e){"logout"===e.link&&M?M():e.link&&!e.subMenu&&(k?k(e.link):V(e.link))}}),Z)):null},gn=function(e){var t=e.type,n=void 0===t?"lead":t,l=e.closeIcon,i=e.isOpen,r=void 0===i||i,o=e.onClose,c=e.children,s=e.enableAnimation,m=void 0===s||s,u=e.targetAvatar,d=e.id,h=e.className;return a.createElement(k,{"data-open":r,"data-type":n,"data-animation":m,"data-target":u,id:d,className:h},a.createElement("div",{className:"popup-content"},!!l&&a.createElement("div",{className:"close-button",onClick:o},l),c))},vn=function(e){var t=e.SSO_URL,n=e.UP_BASEPATH,l=e.isOpen,i=e.targetAvatar,r=e.userInfo,o=e.enableCare,c=e.enableTogether,s=e.enableEcom,m=e.closePopup,u=e.siteType,d=void 0===u?"helloSites":u,h=e.dispatchLogout,g=e.userProfileRouterPush,v=e.isUserProfileNavigatorMenuHidden,p=e.isMyHealthEnabled,E=void 0!==p&&p,f=e.togetherApiDomain,y=e.locale,w=function(e){g?g("/".concat(e)):t&&(window.location.href="".concat(t).concat(n,"/").concat(e))},L=function(e){w(e),m()};return a.createElement(gn,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:m},a.createElement(hn,{SSO_URL:t,UP_BASEPATH:n,themeName:d,userInfo:r,enableCare:o,enableTogether:c,enableEcom:s,onClickLogout:function(){h&&(h(),m())},onClickMenuItem:L,onClickNavigationCard:L,onClickMyProfileButton:function(){w("profile"),m()},isUserProfileNavigatorMenuHidden:v,isMyHealthEnabled:E,togetherApiDomain:f,locale:y}))},pn=function(t){var o=t.userInfo,c=t.siteType,s=t.onLoginClick,m=t.SSO_URL,u=t.currentUrl,h=t.isMinifyLogin,g=t.enableCare,v=t.enableTogether,p=t.enableEcom,E=t.isUserProfileNavigatorMenuHidden,f=t.UP_BASEPATH,y=t.isMyHealthEnabled,w=t.togetherApiDomain,L=t.onLogout,C=t.style,b=t.userProfileRouterPush,k=t.isLoading,N=t.locale,x=We().t,B=i(!1),A=B[0],T=B[1],_=(null==o?void 0:o.name)||(null==o?void 0:o.username),R=i(!1),S=R[0],U=R[1];r((function(){U(!0)}),[]);var Z=Rt(),V=Z.containerRef,F=Z.onContainerFocus,I=Z.onContainerBlur,O=Z.onButtonMouseDown,D=Z.onClose;return k?a.createElement(Xe,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?a.createElement(a.Fragment,null,a.createElement(M,{ref:V,style:C,tabIndex:0,onBlur:I,onFocus:F},a.createElement("div",{onMouseDown:O},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(ot,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:_&&_.length?_[0].toUpperCase():"A",backgroundColor:"marryBaby"===c?$e.mbColors.pink:$e.colors.secondaryBase})),a.createElement(vn,{UP_BASEPATH:f,SSO_URL:m,dispatchLogout:function(){D(),T(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:g,enableTogether:v,enableEcom:p,closePopup:D,userInfo:o,siteType:c,isUserProfileNavigatorMenuHidden:E,togetherApiDomain:w,userProfileRouterPush:b,locale:N})),a.createElement(St,{openLogoutPopup:A,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),T(!1)},siteType:c,onLogoutHandler:function(){return n(void 0,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return T(!1),document.body.classList.toggle("noscroll",!1),[4,L()];case 1:return e.sent(),[2]}}))}))}})):a.createElement(P,{style:e({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":u,href:S?void 0:"".concat(m,"?returnUrl=").concat(u),"data-site-type":c},h?a.createElement(H,{onClick:s},a.createElement("img",{src:d.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===c&&a.createElement("img",{className:"mobile-only",src:d.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:s}),"marryBaby"===c&&a.createElement("div",{className:"mobile-only",onClick:s,style:{paddingLeft:16}},a.createElement(Te,{size:"p3",color:$e.mbColors.pink},x("navigation.loginJoin"))),a.createElement(Xe,{className:"login-btn",size:"md",color:"tertiary",onClick:s,icon:a.createElement("img",{src:d.getAssetPath("login.svg"),width:18,height:18}),theme:c},x("navigation.loginJoin"))))},En=function(e){return e.replace(/([^:]\/)\/+/g,"$1")},fn=function(e){return En(function(e){return e.replace(/\/?$/,"/")}(e))},yn="-XmTq5-",wn="V-oxu20",Ln=function(e){var t=e.item,n=e.menu,l=Rt({allowBgScroll:!0}),o=l.containerRef,c=l.onContainerFocus,s=l.onContainerBlur,m=l.onButtonMouseDown,u=l.onClose,d=function(){var e=i(!0),t=e[0],n=e[1];return r((function(){n(!1)}),[]),t}();return!t.popupType&&t.link?a.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(d?"":"menu-handler-".concat(t.id)),tabIndex:0,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link,className:wn},t.name)):a.createElement("div",{ref:o,className:"hhgcomp-navigation-itemnav-headeritem ".concat(d?"":"menu-handler-".concat(t.id)),tabIndex:0,key:t.id,onBlur:s,onFocus:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link,onMouseDown:m,className:wn},t.name,t.popupType&&a.createElement("div",{className:yn},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(n)?a.cloneElement(n,{onClose:u}):null)},Cn=function(){var e=s(N),t=e.locale,n=e.configs.statics,l=e.siteType,i=We().t;return a.createElement(Qe,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===l?i("navigation.search.input.placeholder"):i("home.search",{site:Re[t||"en-PH"]?Re[t||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(e){return"Enter"===e.key&&(window.location.href="".concat(n.HOME_PAGE_URL,"/search/?s=").concat(e.target.value))},type:"search",onFocus:function(e){e.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(x,null))})},bn="eJS8-if",kn="EuQrB-3",Mn="_0JtBh8L",Pn=function(e){var t=e.onClosePopup;return a.createElement("div",{className:"".concat(Mn," close-btn"),onClick:t},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},Hn=function(e){var t=e.onClosePopup,n=e.isDisplay,l=e.children,i=e.isNavMenu,r=e.hideCloseBtn;return a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!n,"data-is-nav-menu":!!i},a.createElement(nt,null,!r&&a.createElement("div",{className:kn},a.createElement(Pn,{onClosePopup:t})),a.createElement(nt,{className:bn},l)))},Nn=function(e){var t=e.hrefViewMore,n=e.titleBtnViewMore,l=e.UrlFE,i=e.onClosePopup,r=e.menuItems,o=e.headingTitle,c=s(N).siteType;return a.createElement(B,null,a.createElement(A,null,a.createElement(Je,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},o)),null==r?void 0:r.slice(0,6).map((function(e,t){var n=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:"".concat(l,"/").concat(null==e?void 0:e.link.split("/").filter(Boolean).join("/"),"/"):"/";return a.createElement(T,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":n,"data-is-heading-category":!1,href:n,"data-theme":c,key:t,onClick:i},a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),a.createElement("p",null,e.name),a.createElement(_,null,a.createElement("img",{src:d.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),n&&a.createElement(R,{"data-theme":c,style:{textDecoration:"none"},href:t,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t},a.createElement(S,{onClick:i,"data-theme":c,"data-is-heading-category":!1},n,a.createElement(U,null,a.createElement("img",{className:"svg",src:"marryBaby"===c?d.getAssetPath("chevronRightPink.svg"):d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},xn=function(e){var t=e.title,n=e.link,l=e.description,i=e.cta,r=e.icon,o=s(N).siteType;return a.createElement(Z,{"data-theme":o},a.createElement(V,null,a.createElement("img",{src:"marryBaby"===o?d.getAssetPath("navMBSpotlightBgNoData.svg"):d.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(F,null,r&&a.createElement("img",{src:r,width:64,height:64}))),a.createElement("div",null,t&&a.createElement(I,null,t),l&&a.createElement(O,null,l),i&&a.createElement("div",null,a.createElement("a",{href:n},a.createElement(Xe,{theme:o,className:"survey-contact-submit",size:"md"},i)))))},Bn=function(e){var t=e.title,n=e.viewMore,l=e.children,i=e.link,r=e.dataEventAction,o=void 0===r?"":r,c=s(N).siteType;return a.createElement(D,null,a.createElement(j,null,a.createElement(Je,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},t),n&&a.createElement(G,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":i,href:i,"data-theme":c},n,a.createElement("img",{src:"marryBaby"===c?d.getAssetPath("chevronRightPink.svg"):d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),l)},An=function(e){var t,n=e.item,l=e.index,i=void 0===l?0:l,r=We().t,o=s(N),c=o.locale,m=o.configs.statics;if(!n)return null;var u="".concat(m.CARE_URL_FE,"/").concat(null===(t=lt[c])||void 0===t?void 0:t.HOSPITAL,"/").concat(n.slug,"-").concat(n.id);return a.createElement(z,{key:n.id,href:u,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(i+1),"data-event-label":u},a.createElement("img",{src:d.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(W,null,a.createElement(q,null,a.createElement("img",{loading:"lazy",alt:n.name,src:n.logo||"/images/avatar.jpg"}))),a.createElement(K,null,a.createElement(Y,null,n.name),a.createElement(Q,null,n.description),a.createElement(J,null,r("home.seeMore"),a.createElement("img",{src:d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Tn=function(e){var t=e.spotlights,n=void 0===t?[]:t,l=e.hrefViewMore,i=We().t;return a.createElement(Bn,{title:i("home.navigator.menu.spotlightHospitals")},0!==n.length?a.createElement(X,null,null==n?void 0:n.slice(0,3).map((function(e,t){return a.createElement(An,{key:t,index:t,item:e})}))):a.createElement(xn,{title:i("home.navigator.menu.care.noDatas.title"),description:i("home.navigator.menu.care.noDatas.description"),link:l,cta:i("home.navigator.menu.care.noDatas.cta"),icon:d.getAssetPath("community.svg")}))},_n=function(e){var t,n=e.careSpecialties,l=void 0===n?[]:n,i=e.isOpen,r=e.onClose,o=e.spotlights,c=void 0===o?[]:o,m=We().t,u=s(N),d=u.locale,h=u.configs.statics,g="".concat(h.CARE_URL_FE,"/").concat(null===(t=lt[d])||void 0===t?void 0:t.SPECIALTIES);return a.createElement(Hn,{onClosePopup:r,isDisplay:i,isNavMenu:!0},a.createElement(Nn,{headingTitle:m("home.navigator.menuItem.specialties"),hrefViewMore:g,UrlFE:h.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:m("home.navigator.menuItem.allSpecialties"),menuItems:(null==l?void 0:l.map((function(e){return e?{name:String(e.name)||"",link:It({type:"DOCTOR",specialtySlug:e.slug,locale:d}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{}})))||[]}),a.createElement(Tn,{spotlights:c,hrefViewMore:g}))},Rn=function(e){var t=e.item,n=e.index,l=void 0===n?0:n;return t?a.createElement($,{key:t.id,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(l+1),"data-event-label":t.link},a.createElement(ee,null,a.createElement("img",{loading:"lazy",alt:t.title,src:t.banner||"/images/notFound-min-small.jpg"})),a.createElement(te,null,t.title)):null},Sn=function(e){var t=e.spotlightsList,n=void 0===t?[]:t,l=e.hrefViewMore,i=We().t,r=s(N).configs.statics;return a.createElement(Bn,{title:i("home.navigator.menu.spotlights"),viewMore:i("home.navigator.menu.spotlights.seeAll"),link:l,dataEventAction:"Spotlight See More Click"},0!==n.length?a.createElement(ne,null,null==n?void 0:n.slice(0,4).map((function(e,t){return a.createElement(Rn,{key:t,index:t,item:{id:e.id,link:r.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})}))):a.createElement(xn,{title:i("home.navigator.menu.category.noDatas.title"),description:i("home.navigator.menu.category.noDatas.description"),link:l,cta:i("home.navigator.menu.category.noDatas.cta"),icon:d.getAssetPath("Spotlight.svg")}))},Un=function(e){var t=e.categories,n=void 0===t?[]:t,l=e.spotlightsList,i=void 0===l?[]:l,r=e.onClose,o=e.isOpen,c=We().t,m=s(N),u=m.locale,d=m.configs.statics;return a.createElement(Hn,{onClosePopup:r,isDisplay:o,isNavMenu:!0},a.createElement(Nn,{hrefViewMore:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===u?"/fil":"","/categories/"),UrlFE:d.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:c("home.navigator.menuItem.allCategories"),menuItems:(null==n?void 0:n.map((function(e){return e?{name:e.displayName||null,link:(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{}})))||[],headingTitle:c("home.navigator.menuItem.healthCategories")}),a.createElement(Sn,{spotlightsList:i,hrefViewMore:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===u?"/fil":"","/spotlight/")}))},Zn=function(e){var t=e.spotlights,n=void 0===t?[]:t,l=s(N).configs.statics,i=We().t;return a.createElement(Bn,{title:i("home.navigator.menu.trendingPosts"),viewMore:i("home.navigator.menu.trendingPosts.seeMore"),link:fn(l.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==n.length?a.createElement(le,null,null==n?void 0:n.slice(0,4).map((function(e,t){return a.createElement(ae,{index:t,post:e,key:e.id})}))):a.createElement(xn,{title:i("home.navigator.menu.together.noPosts.title"),description:i("home.navigator.menu.together.noPosts.description"),link:"".concat(l.HOME_PAGE_URL,"/community/"),cta:i("home.navigator.menu.together.noPosts.cta"),icon:d.getAssetPath("community.svg")}))},Vn=function(e){var t=e.communities,n=void 0===t?[]:t,l=e.onClose,i=e.isOpen,r=e.spotlights,o=void 0===r?[]:r,c=We().t,m=s(N).configs.statics;return a.createElement(Hn,{onClosePopup:l,isDisplay:i,isNavMenu:!0},a.createElement(Nn,{hrefViewMore:fn(m.TOGETHER_URL_FE),UrlFE:En(m.TOGETHER_URL_FE),onClosePopup:l,titleBtnViewMore:c("home.navigator.menuItem.allCommunities"),menuItems:(null==n?void 0:n.map((function(e){return e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{}})))||[],headingTitle:c("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(Zn,{spotlights:o}))},Fn=function(e){var t=e.item,n=e.index,l=void 0===n?0:n,i=We().t,r=s(N).configs.statics;if(!t)return null;var o=t.link?t.link.startsWith("http")?t.link:"".concat(r.HOME_PAGE_URL).concat(t.link):void 0;return a.createElement(ie,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(l+1),"data-event-label":o},a.createElement("img",{src:d.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(re,null,a.createElement(oe,null,t.title),a.createElement(ce,null,t.subtitle),a.createElement(se,null,i("home.seeMore"),a.createElement("img",{src:d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),a.createElement(me,null,a.createElement("img",{loading:"lazy",alt:t.title,src:t.icon||"/images/avatar.jpg"})))},In=function(e){var t=e.item,n=e.index,l=void 0===n?0:n,i=e.color,r=We().t,o=s(N).configs.statics;if(!t)return null;var c=t.link?t.link.startsWith("http")?t.link:"".concat(o.HOME_PAGE_URL).concat(t.link):void 0,m=function(){return a.createElement(he,null,a.createElement("img",{loading:"lazy",alt:t.title,src:t.icon||"/images/avatar.jpg"}))},u=function(){return a.createElement(ge,null,a.createElement(ve,null,a.createElement(pe,null,t.title),a.createElement(Ee,null,t.subtitle)),a.createElement(fe,null,a.createElement("div",{className:"mobile-only"},r("home.seeMore")),a.createElement("img",{src:d.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return a.createElement(ue,{href:c,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(l+1),"data-event-label":c,"data-color":i},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:d.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(de,null,a.createElement("div",{className:"mobile-only"},m()),a.createElement("div",{className:"desktop-only"},u())),a.createElement("div",{className:"mobile-only"},u()),a.createElement("div",{className:"desktop-only"},m()))},On=function(e){var t=e.hrefViewMore,n=e.spotlightHealthTools,l=void 0===n?[]:n,i=We().t,r=["pink","orange","green"],o=s(N).siteType;return a.createElement(Bn,{title:i("home.navigator.menu.spotlightTools")},0!==l.length&&a.createElement(ye,null,null==l?void 0:l.slice(0,3).map((function(e,t){return"marryBaby"===o?a.createElement(In,{key:t,index:t,item:e,color:r[t]}):a.createElement(Fn,{key:t,index:t,item:e})}))),0===l.length&&a.createElement(xn,{title:i("home.navigator.menu.healthTools.noDatas.title"),description:i("home.navigator.menu.healthTools.noDatas.description"),link:t,cta:i("home.navigator.menu.healthTools.noDatas.cta"),icon:d.getAssetPath("community.svg")}))},Dn=function(e){var t,n=e.locale,l=e.onClose,i=e.isOpen,r=e.spotlightHealthTools,o=void 0===r?[]:r,c=e.healthTools,m=void 0===c?[]:c,u=We().t,d=s(N).configs.statics,h="".concat(d.HOME_PAGE_URL).concat("tl-PH"===n?"/fil":"").concat((null===(t=Se[n])||void 0===t?void 0:t.HEALTH_TOOLS)||"");return a.createElement(Hn,{onClosePopup:l,isDisplay:i,isNavMenu:!0},a.createElement(Nn,{hrefViewMore:h,UrlFE:d.HOME_PAGE_URL,onClosePopup:l,headingTitle:u("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:u("home.navigator.menuItem.allHealthTools"),menuItems:m.map((function(e){return{name:e.title,link:e.link?e.link.startsWith("http")?e.link:"".concat(d.HOME_PAGE_URL).concat(e.link):void 0,thumbnail:e.icon}}))}),a.createElement(On,{spotlightHealthTools:o,hrefViewMore:h}))},jn="_6gGCHV-",Gn="YDzfyQU",zn=function(e){var t=e.onCareHeaderClick,n=e.currentUrl,l=e.careUrlFe,i=e.btnName;return t?a.createElement(Xe,{className:jn,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:n,onClick:function(e){return t(e)}},i):a.createElement("a",{href:l,className:"".concat(Gn," care-button no-replace-click")},a.createElement(Xe,{className:jn,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:n},i))};function Wn(e){var t=e.className;return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function qn(e){var t=e.siteType,n=e.type,l=e.enableSearch,i=e.className;return"helloSites"===t?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:l?d.getAssetPath("hamburgerMenuNewWithSearch.svg"):d.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:n,className:i})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var Kn=function(e){var t,n,l=e.closePopup,i=e.menuItems,r=void 0===i?[]:i,o=s(N),c=o.siteType,m=o.ssrMenuContent,u=m.categories,d=m.healthTools,h=m.care,g=m.together,v=o.activeMenuService,p=o.configs,E=p.statics,f=p.enableSearchBar,y=o.locale,w=We().t;return a.createElement(we,{id:"categories-menu"},f?a.createElement(Le,{"data-theme":c,onClick:function(){window.location.href="".concat(E.HOME_PAGE_URL,"/search")}},a.createElement(Cn,null)):null,a.createElement(Ce,null,a.createElement(Nn,{UrlFE:E.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:l}),"categories"===v&&a.createElement(Sn,{spotlightsList:(null==u?void 0:u.spotlights)||[],hrefViewMore:"".concat(E.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"","/spotlight/")}),"tools"===v&&a.createElement(On,{spotlightHealthTools:null==d?void 0:d.spotlights,hrefViewMore:"".concat(E.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"").concat((null===(t=Se[y])||void 0===t?void 0:t.HEALTH_TOOLS)||"")}),"care"===v&&a.createElement(Tn,{spotlights:null==h?void 0:h.spotlights,hrefViewMore:"".concat(E.CARE_URL_FE,"/").concat(null===(n=lt[y])||void 0===n?void 0:n.SPECIALTIES)}),"together"===v&&a.createElement(Zn,{spotlights:null==g?void 0:g.spotlights})))},Yn="IQdn7tn",Qn="_1jX3mGY",Jn="arD755Y",Xn=function(e){var t=e.type,n=void 0===t?"home":t,l=e.menuItems,i=s(N),r=i.siteType,o=i.configs.enableSearchBar,c=Rt(),m=c.containerRef,u=c.onContainerFocus,d=c.onContainerBlur,h=c.onButtonMouseDown,g=c.onClose;return a.createElement(_t,{mediaQueryKey:"mbDown"},a.createElement("header",{className:Yn},a.createElement("div",{className:Qn,ref:m,role:"button",tabIndex:0,onBlur:d,onFocus:u},a.createElement("div",{className:Jn,onMouseDown:h,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(Wn,{className:"mobile-close-icon"}),a.createElement(qn,{siteType:r,type:n,enableSearch:o,className:"mobile-hamburger-icon"})),a.createElement(Kn,{menuItems:l,closePopup:g}))))},$n=function(e){var t,n=e.onTopBarAppears,l=e.type,c=void 0===l?"home":l,u=e.languageMenu,h=e.menuItems,g=e.setSitewideBannerClosed,v=e.sitewideBannerClosed,p=s(N),E=p.siteType,f=p.isMobile,y=void 0!==f&&f,w=p.locale,L=p.sitewideBanner,C=p.sitewideBannerShown,b=void 0===C||C,k=p.sponsorComponent,M=p.onBookingClick,P=p.currentUrl,H=p.onLoginClick,x=p.configs,B=x.statics,A=x.enableNavCareBooking,T=x.enableSearchBar,_=x.enableNavCare,R=x.enableProfileMyHealth,S=x.enableNavTogether,U=x.enableProfileEcom,Z=x.enableProfileNavigatorMenu,V=p.userState.userInfo,F=p.onLogout,I=p.userProfileRouterPush,O=p.isUserLoading,D=We().t,j=B.SSO_URL,G=B.HOME_PAGE_URL,z=!!k,W=i(!1),q=W[0],K=W[1],Y=o(47),Q=o(null),J=o(!1),X="helloSites"===E?null===(t=Re[w])||void 0===t?void 0:t.LOGO_TYPE:E,$="undefined"!=typeof window,ee=m(qe((function(){if("home"===c&&$){if(!Q.current)return;var e=Q.current.getBoundingClientRect();e.top<=0&&window.scrollY>Y.current&&window.scrollY>e.height+20&&!J.current&&(J.current=!0,K(!0)),window.scrollY<Y.current&&J.current&&(J.current=!1,K(!1)),window.scrollY>=0&&(Y.current=window.scrollY)}}),200),[]);r((function(){null==n||n(!q)}),[q]),r((function(){return window.addEventListener("scroll",ee,{passive:!0}),function(){window.removeEventListener("scroll",ee)}}),[]),r((function(){y&&ee()}),[y]);var te=b&&!!L&&!v;return a.createElement(be,{"data-site-type":E,"data-sponsored":z,"data-sitewide-banner-shown":te,"data-header-type":c,"data-collapsed":q,"data-with-search-input":"popup-sub-level"!==c,"data-is-displayed":!0,id:"site-header",ref:Q},L?a.isValidElement(L)?a.cloneElement(L,{isCollapsed:q,setBannerClosed:g,isMobile:y}):L:null,a.createElement(ke,{"data-site-type":E},a.createElement(Me,{"data-site-type":E},a.createElement(Xn,{menuItems:h,type:c}),a.createElement("a",{href:G},a.createElement(Pe,null,a.createElement(ze,{style:{display:"flex"},type:X,badge:"id-ID"===w&&a.createElement("img",{src:d.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===E?a.createElement(tl,{menuItems:h}):T&&a.createElement(el,{siteType:E})),a.createElement(He,{"data-site-type":E},"marryBaby"===E?T&&a.createElement(el,{siteType:E}):a.createElement(tl,{menuItems:h}),a.createElement(Ne,null,A&&a.createElement(_t,{mediaQueryKey:"mbUp"},a.createElement(zn,{careUrlFe:B.CARE_URL_FE,currentUrl:P,btnName:D("login.booking"),onCareHeaderClick:M})),u,a.createElement(pn,{userInfo:V,siteType:E,onLoginClick:H||function(){var e=window.location.href;window.location.href=j?"".concat(j,"?returnUrl=").concat(e):e},SSO_URL:fn(B.SSO_URL),currentUrl:P,onLogout:F,UP_BASEPATH:Ue,isMyHealthEnabled:R,enableCare:_,enableTogether:S,enableEcom:U,togetherApiDomain:fn(B.TOGETHER_API),isUserProfileNavigatorMenuHidden:!Z,userProfileRouterPush:I,isLoading:O,locale:w})))),k?a.isValidElement(k)?a.cloneElement(k,{isCollapsed:q,locale:w,isMobile:y}):k:null)},el=function(e){var t=e.siteType;return a.createElement(_t,{mediaQueryKey:"mbUp",className:"marryBaby"===t?"marry-baby":""},a.createElement(Cn,null))},tl=function(e){var t=e.menuItems,n=s(N),l=n.siteType,i=n.locale,r=n.ssrMenuContent,o=r.categories,c=r.healthTools,m=r.care,u=r.together;return a.createElement(_t,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(xe,{"data-site-type":l},null==t?void 0:t.map((function(e,t){return a.createElement(Ln,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(Un,{categories:null==o?void 0:o.items,spotlightsList:null==o?void 0:o.spotlights}):"tools"===e.popupType?a.createElement(Dn,{locale:i,healthTools:null==c?void 0:c.items,spotlightHealthTools:null==c?void 0:c.spotlights}):"together"===e.popupType?a.createElement(Vn,{communities:null==u?void 0:u.items,spotlights:null==u?void 0:u.spotlights}):"care"===e.popupType?a.createElement(_n,{careSpecialties:null==m?void 0:m.items,spotlights:null==m?void 0:m.spotlights}):null})}))))},nl=function(t){var n,l,u=t.isMobile,h=t.locale,g=t.onTopBarAppears,v=t.languageOptions,p=t.sponsorComponent,E=t.sitewideBanner,f=t.sitewideBannerShown,y=t.className,w=i(!1),L=w[0],C=w[1],b=function(){var e=We().t,t=s(N),n=t.siteType,l=t.locale,a=t.configs,i=a.enableNavCare,r=a.enableNavTogether,o=a.enableNavEcom,m=a.statics,u="marryBaby"===n,h=c((function(){var t,n=[{name:e("home.navigator.menuItem.discover"),id:"categories",link:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===l?"/fil":"","/categories"),niceName:"",thumbnail:u?d.getAssetPath("categories-mb.svg"):d.getAssetPath("discover.png"),popupType:"categories"},{name:e("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===l?"/fil":"").concat((null===(t=Se[l])||void 0===t?void 0:t.HEALTH_TOOLS)||""),thumbnail:u?d.getAssetPath("healthtools-mb.svg"):d.getAssetPath("healthTools.png"),popupType:"tools"}];return i&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:En(m.HOME_PAGE_URL+"/care"),thumbnail:d.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===l?null:"care"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:En(m.TOGETHER_URL_FE+"/"),thumbnail:u?d.getAssetPath("community-mb.svg"):d.getAssetPath("together.png"),popupType:"together"}),o&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:En(m.HOME_PAGE_URL+"/ecom"),thumbnail:d.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),n}),[l,i,r,o]);return h}();!function(){var t=s(N),n=t.isFirstLogin,l=t.userState.userInfo;r((function(){(null==l?void 0:l.id)&&(n?(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:e({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:e({uuid:null==l?void 0:l.id,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:e({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:e({uuid:null==l?void 0:l.id,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})})}),[])}();var k=function(e){var t=e.hasSponsoredBanners,n=e.isSiteWide,l=e.isSponsored,a=e.isShowingSiteWideBanner,s=e.isMobile,u=o(null),d=i(0),h=d[0],g=d[1],v=i(64),p=v[0],E=v[1],f=m(it((function(){var e,t,n,l,a=(null===(e=u.current)||void 0===e?void 0:e.clientHeight)||(null===(n=null===(t=u.current)||void 0===t?void 0:t.children[0])||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=a+200&&(g(a),E((null===(l=u.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||h))}),200),[]);r((function(){return window.addEventListener("resize",f,{passive:!0}),window.addEventListener("scroll",f,{passive:!0}),f(),function(){window.removeEventListener("resize",f),window.removeEventListener("scroll",f)}}),[]),r((function(){f()}),[s,n,a,l,t,u.current]);var y=c((function(){var e=s?64:69;return a&&(e+=64),l&&(e+=40,t&&(e+=57)),e}),[s,a,t,l]);return{defaultHeaderHeight:y,headerHeight:h||y,headerBottom:p,headerRef:u}}({isSiteWide:!!E&&!L,isShowingSiteWideBanner:f&&!!E&&!L,isSponsored:!!p,hasSponsoredBanners:!!(null===(l=null===(n=null==p?void 0:p.props)||void 0===n?void 0:n.sponsoredBy)||void 0===l?void 0:l.length),isMobile:u}),M=k.headerRef,P=k.defaultHeaderHeight,H=k.headerHeight,x=k.headerBottom;return a.createElement(Ae,{id:"navigation-v2",style:{"--default-header-height":P+"px","--header-height":"calc(".concat(H,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":x+"px"},className:y},a.createElement("section",{ref:M},a.createElement($n,{menuItems:b,type:"home",onTopBarAppears:u?function(e){g&&g(e)}:void 0,languageMenu:a.createElement(At,{languageOptions:v,locale:h}),setSitewideBannerClosed:C,sitewideBannerClosed:L})))},ll=function(t){var n=e({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},t);return a.createElement(Be,e({},n),a.createElement(nl,e({},n)))},al=function(e){return n(void 0,void 0,void 0,(function(){var t,n,a,i,r,o,c,s,m,u,d,h,g,v,p,E,f,y,w,L,C,b,k,M,P,H,N,x,B,A,T,_,R,S,U,Z;return l(this,(function(l){switch(l.label){case 0:t={},n="vi-VN_MB"===e,l.label=1;case 1:l.trys.push([1,14,,15]),a="tl-PH"===e?"lang=fil":"",l.label=2;case 2:return l.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(Oe(e),"/wp-json/api/categories").concat(a?"?"+a:"")).then((function(e){return e.json()})),fetch("".concat(Oe(e),"/wp-json/api/spotlights?per_page=10").concat(a?"&"+a:"")).then((function(e){return e.json()})),fetch("".concat(Oe(e),"/wp-json/api/").concat(n?"health-tools":"healthtools").concat(a?"?"+a:"")).then((function(e){return e.json()})),fetch("".concat(Oe(e),"/wp-json/api/").concat(n?"health-tools":"healthtools","/favorites").concat(a?"?"+a:"")).then((function(e){return e.json()}))])];case 3:return i=l.sent(),r=i[0],o=i[1],c=i[2],s=i[3],t.categories={items:(null===(f=null===(E=null==r?void 0:r.data)||void 0===E?void 0:E.map)||void 0===f?void 0:f.call(E,Ut))||[],spotlights:(null===(C=null===(L=null===(w=null===(y=null==o?void 0:o.data)||void 0===y?void 0:y.articles)||void 0===w?void 0:w.map)||void 0===L?void 0:L.call(w,Ot))||void 0===C?void 0:C.filter(Dt))||[]},t.healthTools={items:(null===(k=null===(b=null==c?void 0:c.data)||void 0===b?void 0:b.map)||void 0===k?void 0:k.call(b,Zt))||[],spotlights:(null===(P=null===(M=null==s?void 0:s.data)||void 0===M?void 0:M.map)||void 0===P?void 0:P.call(M,Zt))||[]},[3,5];case 4:return l.sent(),[3,5];case 5:if(!n&&!Ve.includes(e))return[3,9];l.label=6;case 6:return l.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(Ie(),"/api/v1/community?website_url=https://").concat(_e[e])).then((function(e){return e.json()})),fetch("".concat(Ie(),"/api/v1/options?website_url=https://").concat(_e[e],"&meta_key=popular_post")).then((function(e){return e.json()}))])];case 7:return m=l.sent(),u=m[0],d=m[1],t.together={items:(null===(x=null===(N=null===(H=null==u?void 0:u.data)||void 0===H?void 0:H.communities)||void 0===N?void 0:N.map)||void 0===x?void 0:x.call(N,je))||[],spotlights:(null===(T=null===(A=null===(B=null==d?void 0:d.data)||void 0===B?void 0:B.posts)||void 0===A?void 0:A.map)||void 0===T?void 0:T.call(A,Ge))||[]},[3,9];case 8:return l.sent(),[3,9];case 9:if(!Ze.includes(e))return[3,13];l.label=10;case 10:return l.trys.push([10,12,,13]),[4,Promise.all([fetch(Fe()+"/api/specialties?_ishome=1&site=".concat(_e[e])).then((function(e){return e.json()})),fetch(Fe()+"/api/search/?site=".concat(_e[e],"&type=hospital&order_by=total_doctor")).then((function(e){return e.json()}))])];case 11:return h=l.sent(),g=h[0],v=h[1],t.care={items:(null===(S=null===(R=null===(_=null==g?void 0:g._data)||void 0===_?void 0:_.specialties)||void 0===R?void 0:R.map)||void 0===S?void 0:S.call(R,Vt))||[],spotlights:(null===(Z=null===(U=null==v?void 0:v._data.searches)||void 0===U?void 0:U.map)||void 0===Z?void 0:Z.call(U,Ft))||[]},[3,13];case 12:return l.sent(),[3,13];case 13:return[3,15];case 14:return p=l.sent(),console.error(p),[3,15];case 15:return[2,t]}}))}))},il=function(e){return n(void 0,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,u("nav-menu-content",(function(){return al(e||"en-PH")}),(function(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===n?void 0:n.length)}))];case 1:return[2,t.sent()||{}]}}))}))};export{ot as A,xt as F,At as L,ll as N,vn as P,hn as U,il as a,zt as b,dn as c,St as d,pn as e,al as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as r}from"./tslib.es6-d79d3ea2.js";import l from"react";import{L as a}from"./Locale-92e2d1e5.js";import{S as n,a as o,b as t}from"./index.styled-05315188.js";var i=function(i){var s=i.data,m=i.isMobile,c=i.onSlideChange,d=i.pillProps,p=i.locale,u=void 0===p?a.Vietnam:p,b=i.blurFromIndex,f=i.blurLength,h=e(i,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),g={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:b||(m?2:4),blurLength:f||(m?1:3),onSlideChange:c};return l.createElement(n,r({},g,h),(function(e){return s.map((function(a,n){return l.createElement(o,r({key:n,onClick:c},d),l.createElement("div",{className:"centerred-pill-wrapper"},l.createElement(t,{locale:u,name:a.name,icon:a.icon,className:n===e?"selected-week-pill":""})))}))}))};export{i as P};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as t}from"./tslib.es6-d79d3ea2.js";import a from"react";import{S as r,a as o}from"./index.styled-cb2f5b95.js";var l=function(o){var l=o.type,s=o.color,y=o.style,n=e(o,["type","color","style"]);return a.createElement(r,t({type:l,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[l],style:t(t({},s&&{"--text-color":s}),y)},n))},s=function(r){var l=r.type,s=r.color,y=r.style,n=e(r,["type","color","style"]);return a.createElement(o,t({"data-type":l,style:t(t({},y),s&&{"--text-color":s})},n))};export{s as M,l as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{G as r,B as e,a as t,b as a,L as o}from"./Locale-92e2d1e5.js";var n=Object.freeze({__proto__:null,get Gender(){return r},get BabyGrowthChartType(){return e},get BabyGrowthChartDuration(){return t},get BabyGrowthResultTab(){return a},get LOCALE(){return o}});export{n as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t}from"./index-4f0f2fa9.js";import{i as o}from"./isProduction-4a21a585.js";var n=function(n,e){if("undefined"!=typeof window)return window.location.origin;var c="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return c?"http://localhost:3000":"https://".concat(!c&&!o?e?"fe.":"discover.":e?"www.":"").concat(t[e?"vi-VN_MB":n])},e=function(n,e){return process.env.UNIFY_SSO_API||"https://".concat(o?"id.":"staging-id.").concat(t[e?"vi-VN_MB":n])},c=function(){return process.env.UNIFY_TOGETHER_API||"https://".concat(o?"together.":"staging-together.","hellohealthgroup.com")},r=function(n){return process.env.UNIFY_DISCOVER_API||"https://".concat(o?"wp.":"staging.").concat(t[n])},a=function(){return process.env.UNIFY_CARE_API||"https://".concat(o?"health-care.":"service-health-care.","hellohealthgroup.com")};export{e as a,c as b,r as c,a as d,n as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as t,d as r}from"./tslib.es6-d79d3ea2.js";import{useState as n,useEffect as o,useCallback as a}from"react";import{a as e}from"./getDynamicHealthTool-a52ca37e.js";var i=function(i){var l=n([]),s=l[0],u=l[1];o((function(){t(void 0,void 0,void 0,(function(){var t;return r(this,(function(r){switch(r.label){case 0:return[4,e(i)];case 1:return t=r.sent(),u(t),[2]}}))}))}),[e,i]);var c=a((function(t){var r;return(null===(r=s.find((function(r){return r.template===t})))||void 0===r?void 0:r.link)||""}),[s]);return{allTools:s,getHealthToolLink:c}};export{i as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-aef5df18.js"),e=require("./core-d1fc1ee6.js"),n=require("./routing-49308ba6.js"),r=function(t,e){var n,r;if(!t)return{};var i="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(n=t.link)||void 0===n?void 0:n.startsWith("http"))?t.link:"".concat(i,"/health-tools")+(null===(r=t.link)||void 0===r?void 0:r.replace("".concat(i,"/"),"/")),subtitle:t.subtitle,title:t.title}},i=function(e){return t.__awaiter(void 0,void 0,void 0,(function(){var i,o,a,l,u,s,c;return t.__generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(i=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:i=t.sent(),t.label=3;case 3:o="tl-PH"===e?"lang=fil":"",a=[],t.label=4;case 4:return t.trys.push([4,6,,7]),[4,i("".concat(n.getDiscoverApiDomain(e),"/wp-json/api/healthtools?ismenu=0").concat(o?"&"+o:"")).then((function(t){return t.json()}))];case 5:return l=t.sent(),a=(null===(c=null===(s=null==l?void 0:l.data)||void 0===s?void 0:s.map)||void 0===c?void 0:c.call(s,(function(t){return r(t,e)})))||[],[3,7];case 6:return t.sent(),[3,7];case 7:return[2,a];case 8:return u=t.sent(),console.error(u),[3,9];case 9:return[2]}}))}))};exports.formatHealthTool=r,exports.getDynamicHealthTool=i,exports.getDynamicHealthToolWithCache=function(n){return t.__awaiter(void 0,void 0,void 0,(function(){return t.__generator(this,(function(t){switch(t.label){case 0:return[4,e.getDataWithCache("all-health-tools",(function(){return i(n||"en-PH")}),(function(t){return!!(null==t?void 0:t.length)}),6e4)];case 1:return[2,t.sent()||[]]}}))}))};
|
package/build/index-65e9b03a.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-aef5df18.js"),t=require("react"),a=require("./index.styled-fdad2ea6.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(t);exports.MarryBabyHeading=function(t){var r=t.type,l=t.color,n=t.style,i=e.__rest(t,["type","color","style"]);return s.default.createElement(a.StyledHeading,e.__assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:e.__assign(e.__assign({},l&&{"--text-color":l}),n)},i))},exports.MarryBabyText=function(t){var r=t.type,l=t.color,n=t.style,i=e.__rest(t,["type","color","style"]);return s.default.createElement(a.StyledText,e.__assign({"data-type":r,style:e.__assign(e.__assign({},n),l&&{"--text-color":l})},i))};
|
package/build/index-8bfb5a48.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./useTranslations-598f03ce.js"),t=require("./theme-899fb199.js"),r=require("./index-7900a8e9.js"),i=require("./index-6c0f7f7b.js"),l=require("./index-65e9b03a.js"),n=require("./index-b7bf23ea.js"),c=require("./index.styled-bacc3b39.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e);exports.NewBabyProfileRadio=function(e){var o=e.isActive,d=e.onChange,u=e.value,f=void 0===u?"":u,m=e.onInputChange,y=e.siteType,b=a.useTranslations().t,v="marryBaby"===y;return s.default.createElement(c.StyledNewBabyProfileRadio,{onClick:function(){return d("new")},"data-is-mb":v,"data-isActive":v&&o},"marryBaby"===y?s.default.createElement("div",{className:"title"},s.default.createElement(l.MarryBabyText,{type:"bodytext-1",color:t.theme.colors.gray800},b("chooseBaby.new")),s.default.createElement("div",{className:o?"radio active":"radio"},o&&s.default.createElement(r.Icon.CheckActiveMB,{size:26}))):s.default.createElement("div",{className:"title"},s.default.createElement(n.Text,{size:"p2",color:t.theme.colors.gray800},b("chooseBaby.new")),s.default.createElement("div",{className:o?"radio active":"radio"})),s.default.createElement(i.Input,{name:"name",value:f,size:"md",placeholder:b("chooseBaby.placeholder"),type:"text",onChange:m}))};
|
package/build/index-8c207d72.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-aef5df18.js"),l=require("react"),r=require("./Locale-c505c75b.js"),t=require("./index.styled-c5b4f077.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(l);exports.PillCarousel=function(l){var n=l.data,i=l.isMobile,o=l.onSlideChange,u=l.pillProps,s=l.locale,d=void 0===s?r.LOCALE.Vietnam:s,c=l.blurFromIndex,f=l.blurLength,m=e.__rest(l,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:c||(i?2:4),blurLength:f||(i?1:3),onSlideChange:o};return a.default.createElement(t.StyledCarousel,e.__assign({},b,m),(function(l){return n.map((function(r,n){return a.default.createElement(t.StyledSlide,e.__assign({key:n,onClick:o},u),a.default.createElement("div",{className:"centerred-pill-wrapper"},a.default.createElement(t.StyledPill,{locale:d,name:r.name,icon:r.icon,className:n===l?"selected-week-pill":""})))}))}))};
|
package/build/index-b5874769.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-aef5df18.js"),t=require("react"),l=require("./core-d1fc1ee6.js"),a=require("./gAssets.js"),n=require("./index.styled-a457614b.js"),i=require("./index-b7bf23ea.js"),o=require("./index-7e595cde.js"),r=require("./routing-49308ba6.js"),s=require("./dataTransform-74b453d2.js"),u=require("./index-066402eb.js"),c=require("./useTranslations-598f03ce.js"),d=require("lodash/throttle"),m=require("./utils-a963723b.js"),f=require("./index.styled-bacc3b39.js"),h=require("./index-f2e5bf8c.js"),g=require("./theme-899fb199.js"),v=require("@mantine/core"),p=require("./cookieHelper-d0f77f13.js");require("./index.styled-f92bec61.js");var E=require("./index-da4a90bf.js");require("./index.styled-fdad2ea6.js"),require("./index-2ee30876.js");var y=require("./constants-f7a3fa33.js"),C=require("string-format"),w=require("lodash/debounce");function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=L(t),k=L(d),_=L(C),M=L(w),A={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},S=function(l){var a=l.type,n=void 0===a?"square":a,i=l.size,o=l.avatarImg,r=l.avatarUrl,s=l.firstLetter,u=l.backgroundColor,c=l.onClick,d=l.style,m=l.className,h=l.width,g=l.height,v=i?A[i]:void 0,p=t.useState(!1),E=p[0],y=p[1];t.useEffect((function(){if(r){var e=document.createElement("img");e.setAttribute("src",r),e.addEventListener("error",(function(){y(!0)}))}}),[r,y]);var C=(!r&&!o||E)&&s;return b.default.createElement(f.StyledAvatar,{style:e.__assign(e.__assign({},d),{"--size":v?v+"px":void 0,"--width-prop":h?h+"px":void 0,"--height-prop":g?g+"px":void 0,"--background-color":u}),"data-has-max":!(!h||!g),"data-avatar-type":n,onClick:c,className:m,avatarUrl:r,"data-custom-size":!!i},o,r&&!E&&b.default.createElement("img",{src:r}),C&&s)},P=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/cambodiaRound.png"),style:e.__assign({borderRadius:"50%"},t.style)},t))},x=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/cambodiaSquare.png")},t))},N=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),b.default.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),b.default.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),b.default.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),b.default.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),b.default.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),b.default.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),b.default.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),b.default.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),b.default.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),b.default.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),b.default.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),b.default.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),b.default.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),b.default.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),b.default.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),b.default.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),b.default.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),b.default.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),b.default.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),b.default.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),b.default.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),b.default.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},H=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},b.default.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),b.default.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),b.default.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),b.default.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),b.default.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),b.default.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),b.default.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),b.default.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),b.default.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},T=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/indiaRound.png"),style:e.__assign({borderRadius:"50%"},t.style)},t))},B=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/indiaSquare.png")},t))},R=function(l){var a=l.isTesting,n=e.__rest(l,["isTesting"]),i=t.useRef("id-flag-round-mask-"+(a?1:Math.random()));return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.default.createElement("mask",{id:i.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("g",{mask:"url(#".concat(i.current,")")},b.default.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),b.default.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},I=function(l){var a=l.isTesting,n=e.__rest(l,["isTesting"]),i=t.useRef("id-flag-clip-"+(a?1:Math.random()));return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.default.createElement("g",{clipPath:"url(#".concat(i.current,")")},b.default.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),b.default.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),b.default.createElement("defs",null,b.default.createElement("clipPath",{id:i.current},b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},U=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),b.default.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},G=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),b.default.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),b.default.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},Z=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),b.default.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),b.default.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},D=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),b.default.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),b.default.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},V=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/philippineRound.png"),style:e.__assign({borderRadius:"50%"},t.style)},t))},O=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/philippineSquare.png")},t))},F=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),b.default.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),b.default.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),b.default.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),b.default.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),b.default.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),b.default.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),b.default.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),b.default.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),b.default.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),b.default.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),b.default.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),b.default.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),b.default.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),b.default.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),b.default.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},j=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),b.default.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),b.default.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),b.default.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),b.default.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),b.default.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),b.default.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),b.default.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),b.default.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),b.default.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),b.default.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),b.default.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),b.default.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),b.default.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),b.default.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},W=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),b.default.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},q=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),b.default.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},z=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),b.default.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},$=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("g",null,b.default.createElement("clipPath",null,b.default.createElement("rect",{width:"24",height:"16",fill:"white"})),b.default.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),b.default.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},K="pfaLGRK",Q=function(e){var t,l,a=e.country,n=e.language,i=e.rounded,o=e.height,r=e.width,s=e.isTesting;switch(n){case"en":t=b.default.createElement(H,null),l=b.default.createElement(N,null);break;case"vi":t=b.default.createElement($,null),l=b.default.createElement(z,null);break;case"id":t=b.default.createElement(I,{isTesting:s}),l=b.default.createElement(R,{isTesting:s});break;case"th":t=b.default.createElement(q,null),l=b.default.createElement(W,null);break;case"km":t=b.default.createElement(x,null),l=b.default.createElement(P,null);break;case"ms":t=b.default.createElement(G,null),l=b.default.createElement(U,null);break;case"my":t=b.default.createElement(D,null),l=b.default.createElement(Z,null);break;case"tl":t=b.default.createElement(O,null),l=b.default.createElement(V,null);break;case"hi":t=b.default.createElement(B,null),l=b.default.createElement(T,null);break;case"zh":t=b.default.createElement(j,null),l=b.default.createElement(F,null)}if(!t&&!l)switch(a){case"VN":t=b.default.createElement($,null),l=b.default.createElement(z,null);break;case"ID":t=b.default.createElement(I,{isTesting:s}),l=b.default.createElement(R,{isTesting:s});break;case"TH":t=b.default.createElement(q,null),l=b.default.createElement(W,null);break;case"KH":t=b.default.createElement(x,null),l=b.default.createElement(P,null);break;case"MY":t=b.default.createElement(G,null),l=b.default.createElement(U,null);break;case"MM":t=b.default.createElement(D,null),l=b.default.createElement(Z,null);break;case"PH":t=b.default.createElement(O,null),l=b.default.createElement(V,null);break;case"IN":t=b.default.createElement(B,null),l=b.default.createElement(T,null);break;case"TW":t=b.default.createElement(j,null),l=b.default.createElement(F,null)}return b.default.createElement("div",{className:K,style:{"--width":r||20,"--height":o||20}},i?l:t)},Y=function(e){var l=e.options,o=e.label,r=e.labelRenderer,s=e.selected,u=e.onChange,c=e.showSelected,d=void 0===c||c,m=e.style,f=void 0===m?{}:m,h=e.showIndicator,g=void 0===h||h,v=t.useState(!1),p=v[0],E=v[1];return b.default.createElement(b.default.Fragment,null,b.default.createElement(n.StyledSelectionContainer,null,b.default.createElement(n.StyledSelectionLabel,{onClick:function(){return E((function(e){return!e}))}},o||(null==r?void 0:r(p))||null,b.default.createElement(n.StyleSelectionPopup,{"data-is-open":p,style:f,"data-show-indicator":g},l.map((function(e,t){return b.default.createElement(n.StyledOption,{key:t,"data-selected":d&&s===e.value,onClick:function(t){s!==e.value&&(u(e.value),E((function(e){return!e}))),t.stopPropagation()}},b.default.createElement(i.Text,{size:"p3"},e.label),d&&s===e.value&&b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),p&&b.default.createElement(n.StyledPopupBackground,{onClick:function(){return E(!1)}}))},J=function(e){var t,l,a=e.languageOptions,n=e.locale,i=null==a?void 0:a.find((function(e){return e.locale===n}));return(null==a?void 0:a.length)?b.default.createElement(Y,{options:a,selected:i.value,label:b.default.createElement(X,{locale:n,label:i.label||(null===(l=null===(t=n.split("-"))||void 0===t?void 0:t[0])||void 0===l?void 0:l.toUpperCase())}),onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},X=function(e){var t,l,a,i=e.locale,o=e.label,r=e.href;return b.default.createElement(n.StyledLanguageChangeLink,{href:r},b.default.createElement(Q,{country:null===(l=null===(t=null==i?void 0:i.split("-"))||void 0===t?void 0:t[1])||void 0===l?void 0:l.toUpperCase(),width:16,height:16,rounded:!0,language:null===(a=null==i?void 0:i.split("-"))||void 0===a?void 0:a[0]}),b.default.createElement("span",null,o))},ee=function(e){var l=e.forceDisplay,a=e.mediaQueryKey,i=e.children,o=e.className,r=e.style,s=t.useMemo((function(){return m.getBoundariesFromMediaQueryKey(a)}),[a]),u=s[0],c=s[1];return b.default.createElement(n.StyledDisplayWrapper,{lowerBound:l?0:u,upperBound:l?0:c,className:o,style:r},i)},te=function(e){var l=(e||{}).allowBgScroll,a=t.useRef();return{containerRef:a,onContainerFocus:function(){l||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){l||(document.documentElement.style.overflow="")},onButtonMouseDown:function(e){a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:function(){a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},le=function(e){var l=e.openLogoutPopup,i=e.onCloseHandler,o=e.onLogoutHandler,r=e.siteType,u=void 0===r?"helloSites":r,d=c.useTranslations().t;return t.useEffect((function(){document.body.classList.toggle("noscroll",l)}),[l]),b.default.createElement(v.Portal,null,b.default.createElement(s.Popup,{type:"confirm",isOpen:l,closeIcon:b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:i},b.default.createElement(n.StyledPopup,null,"helloSites"===u&&b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),b.default.createElement("h2",null,d("helloSites"===u?"logout.popup.ask1":"logout.popup.ask.mb")),b.default.createElement("p",null,d("logout.popup.ask2")),b.default.createElement(n.StyledButtonGroup,{siteType:u},b.default.createElement(h.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:o},d("logout.popup.button.logout")),b.default.createElement(h.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:i},d("logout.popup.button.cancel"))))))},ae=function(e){var t,l,a,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return ae(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(l=e.cat_parent)||void 0===l?void 0:l.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},ne=function(e){var t,l;if(!e)return{};var a=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(l=e.link)||void 0===l?void 0:l.startsWith("/fil/"),i=e.link?e.link.startsWith("http")||a?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(e.link.replace("/health-tools/","/")):void 0;return{icon:e.icon,link:i,subtitle:e.subtitle,title:e.title}},ie=function(e){return e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{}},oe=function(e){return e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{}},re=function(e){var t,l,a=e.type,n=e.specialtySlug,i=e.locale;return"".concat(null===(t=y.LOCALIZED_SLUGS[i])||void 0===t?void 0:t.ALL,"/").concat((null===(l=y.LOCALIZED_SLUGS[i])||void 0===l?void 0:l[a])||"doctor","/").concat(null!=n?n:"")},se=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},ue=function(e){var t=new Date;if(null==e?void 0:e.startDate){var l=new Date(e.startDate);if(t.getTime()<l.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},ce={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},de={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function me(e){var l=e.userInfo,n=e.onClickMyProfileButton,i=e.themeName,o=void 0===i?"helloSites":i,r=c.useTranslations().t,s=t.useMemo((function(){var e=(null==l?void 0:l.name)||(null==l?void 0:l.username);return e&&e.length?e[0].toUpperCase():"A"}),[null==l?void 0:l.username,null==l?void 0:l.name]);return b.default.createElement("div",{className:de.navHeader,onClick:function(){n&&n()}},b.default.createElement(S,{className:de.navAvatar,type:"rounded",size:"xl",avatarUrl:null==l?void 0:l.avatar,firstLetter:s,backgroundColor:"marryBaby"===o?g.theme.mbColors.pink:g.theme.colors.secondaryBase}),b.default.createElement("div",{className:de.navHeaderUserInfos},b.default.createElement("div",{className:de.navHeaderUserName},(null==l?void 0:l.name)||(null==l?void 0:l.username)),b.default.createElement("div",{className:de.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},r("userProfile.nav.header.viewProfile"))))}var fe="gn6HmGG",he="FCx8FEM",ge="zMiRxaE",ve="lZ2Z9MQ",pe="rwm-agG",Ee="qMOscoq",ye=function(e){var l=e.themeName,n=e.locale,i=e.onClickItem,o=t.useState(""),r=o[0],s=o[1],u=t.useMemo((function(){return"marryBaby"===l?[{key:"userProfile.nav.menu.password",icon:a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[l]);function c(e){e.subMenu?s((function(t){return t?"":e.key})):i&&i(e)}return b.default.createElement("div",{className:fe},u.map((function(e){return b.default.createElement(Ce,{key:e.key,item:e,openKey:r,onClickItem:c,locale:n})})))},Ce=function(e){var t,l=e.item,n=e.openKey,i=e.onClickItem,o=e.locale,r=c.useTranslations().t;return(null===(t=l.disableLocale)||void 0===t?void 0:t.includes(o))?null:b.default.createElement("div",{className:"".concat(he," nav-menu-item"),"data-is-open":n===l.key,key:l.key,"data-has-submenu":!!l.subMenu},b.default.createElement("div",{className:ge,onClick:function(){return i(l)}},l.icon&&b.default.createElement("div",{className:ve,style:{backgroundImage:'url("'.concat(l.icon,'")')}}),r(l.key),l.subMenu&&b.default.createElement("div",{className:pe,style:{"--after-bg":"url(".concat(a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),l.subMenu&&b.default.createElement("div",{className:Ee},l.subMenu.map((function(e){return b.default.createElement(Ce,{key:e.key,item:e,openKey:n,onClickItem:i,locale:o})}))))},we="-AZt1au",Le="IvSIfCI",be="eahCJov",ke="XIyViFs",_e="_4y-O0w3",Me="kO8iNgD",Ae="a1d4E10",Se="Tdguxxf",Pe="-mOxsaU",xe="yPeDBNZ",Ne={helloSites:{member:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},He=function(e){var l=e.themeName,a=e.rank,n=void 0===a?"member":a,i=e.numberOfPosts,o=void 0===i?0:i,r=c.useTranslations().t,s=t.useMemo((function(){var e,t;return(null===(t=null===(e=Ne[l])||void 0===e?void 0:e[n])||void 0===t?void 0:t.call(e))||""}),[n,l]);return b.default.createElement("div",{className:_e,"data-user-rank":n},b.default.createElement("div",{className:Me},b.default.createElement("div",{className:Ae},b.default.createElement("div",{className:Se,style:{backgroundImage:'url("'.concat(s,'")')}}),b.default.createElement("h3",{className:Pe},r("userProfile.userRank.".concat(n))),o>0&&b.default.createElement("p",{className:xe},o," ",r("userProfile.nav.header.count.posts")))))},Te=function(l){var i=l.SSO_URL,r=l.UP_BASEPATH,s=void 0===r?"user":r,u=l.themeName,d=void 0===u?"helloSites":u,m=l.cardUrls,f=void 0===m?ce:m,g=l.enableCare,v=l.enableTogether,E=l.enableEcom,y=l.userInfo,C=l.togetherApiDomain,w=l.userPostsNumber,L=l.onClickNavigationCard,k=l.onClickMyProfileButton,M=l.onClickMenuItem,A=l.onClickLogout,S=l.isUserProfileNavigatorMenuHidden,P=void 0!==S&&S,x=l.isMyHealthEnabled,N=void 0!==x&&x,H=l.locale,T=c.useTranslations().t,B=t.useState(w||0),R=B[0],I=B[1],U="marryBaby"===d;t.useEffect((function(){if(y&&void 0===w){var t=p.getCookie("hhg_user_token");t&&fetch(function(t,l,a,i){return(a||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(n.TOGETHER_PATHS.GET_USER_POSTS,e.__assign(e.__assign({},i),{websiteUrl:l?"https://marrybaby.vn":"https://".concat(o.domainLocales[t])}))}(H,U,C),{headers:{Authorization:"Bearer ".concat(t)}}).then((function(e){return e.json()})).then((function(e){var t,l,a;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&I((null===(a=null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.pagination)||void 0===a?void 0:a.total_items)||0)})).catch((function(e){return console.error("Error fetching post number",e)}))}}),[H,null!==y,w,C,U]);var G=t.useMemo((function(){return(U?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(e){return"myBooking"===e?g:"myCommunity"===e?v:"myHealth"===e?N:"eCom"!==e||E}))}),[U,N]),Z=t.useMemo((function(){return"marryBaby"===d?null:b.default.createElement(h.Button,{color:"tertiary",icon:b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:A,className:ke},T("userProfile.nav.menu.logout"))}),[d]),D=function(e){window.location.href="".concat(i).concat(s,"/").concat(e)},V=function(e){var t=f[e];L?L(t):D(t)};return y?b.default.createElement("div",{className:we,"data-theme":d},b.default.createElement(me,{userInfo:y,themeName:d,onClickMyProfileButton:function(){k?k():D("profile")}}),b.default.createElement(He,{themeName:d,rank:"member",numberOfPosts:R}),b.default.createElement("div",{className:Le},G.map((function(e){return b.default.createElement(n.NavigationCard,{className:be,key:e,themeName:d,type:e,onClick:V})}))),!P&&b.default.createElement(b.default.Fragment,null,b.default.createElement(ye,{themeName:d,locale:H,onClickItem:function(e){"logout"===e.link&&A?A():e.link&&!e.subMenu&&(M?M(e.link):D(e.link))}}),Z)):null},Be=function(e){var t=e.type,l=void 0===t?"lead":t,a=e.closeIcon,i=e.isOpen,o=void 0===i||i,r=e.onClose,s=e.children,u=e.enableAnimation,c=void 0===u||u,d=e.targetAvatar,m=e.id,f=e.className;return b.default.createElement(n.StyledPopup$1,{"data-open":o,"data-type":l,"data-animation":c,"data-target":d,id:m,className:f},b.default.createElement("div",{className:"popup-content"},!!a&&b.default.createElement("div",{className:"close-button",onClick:r},a),s))},Re=function(e){var t=e.SSO_URL,l=e.UP_BASEPATH,a=e.isOpen,n=e.targetAvatar,i=e.userInfo,o=e.enableCare,r=e.enableTogether,s=e.enableEcom,u=e.closePopup,c=e.siteType,d=void 0===c?"helloSites":c,m=e.dispatchLogout,f=e.userProfileRouterPush,h=e.isUserProfileNavigatorMenuHidden,g=e.isMyHealthEnabled,v=void 0!==g&&g,p=e.togetherApiDomain,E=e.locale,y=function(e){f?f("/".concat(e)):t&&(window.location.href="".concat(t).concat(l,"/").concat(e))},C=function(e){y(e),u()};return b.default.createElement(Be,{isOpen:a,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:u},b.default.createElement(Te,{SSO_URL:t,UP_BASEPATH:l,themeName:d,userInfo:i,enableCare:o,enableTogether:r,enableEcom:s,onClickLogout:function(){m&&(m(),u())},onClickMenuItem:C,onClickNavigationCard:C,onClickMyProfileButton:function(){y("profile"),u()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v,togetherApiDomain:p,locale:E}))},Ie=function(l){var o=l.userInfo,r=l.siteType,s=l.onLoginClick,u=l.SSO_URL,d=l.currentUrl,m=l.isMinifyLogin,f=l.enableCare,v=l.enableTogether,p=l.enableEcom,E=l.isUserProfileNavigatorMenuHidden,y=l.UP_BASEPATH,C=l.isMyHealthEnabled,w=l.togetherApiDomain,L=l.onLogout,k=l.style,_=l.userProfileRouterPush,M=l.isLoading,A=l.locale,P=c.useTranslations().t,x=t.useState(!1),N=x[0],H=x[1],T=(null==o?void 0:o.name)||(null==o?void 0:o.username),B=t.useState(!1),R=B[0],I=B[1];t.useEffect((function(){I(!0)}),[]);var U=te(),G=U.containerRef,Z=U.onContainerFocus,D=U.onContainerBlur,V=U.onButtonMouseDown,O=U.onClose;return M?b.default.createElement(h.Button,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?b.default.createElement(b.default.Fragment,null,b.default.createElement(n.StyledImageWrapper,{ref:G,style:k,tabIndex:0,onBlur:D,onFocus:Z},b.default.createElement("div",{onMouseDown:V},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),b.default.createElement(S,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:T&&T.length?T[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?g.theme.mbColors.pink:g.theme.colors.secondaryBase})),b.default.createElement(Re,{UP_BASEPATH:y,SSO_URL:u,dispatchLogout:function(){O(),H(!0)},isOpen:!1,isMyHealthEnabled:C,enableCare:f,enableTogether:v,enableEcom:p,closePopup:O,userInfo:o,siteType:r,isUserProfileNavigatorMenuHidden:E,togetherApiDomain:w,userProfileRouterPush:_,locale:A})),b.default.createElement(le,{openLogoutPopup:N,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),H(!1)},siteType:r,onLogoutHandler:function(){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return H(!1),document.body.classList.toggle("noscroll",!1),[4,L()];case 1:return e.sent(),[2]}}))}))}})):b.default.createElement(n.StyledLoggedOutAnchor,{style:e.__assign({textDecoration:"none"},k),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":d,href:R?void 0:"".concat(u,"?returnUrl=").concat(d),"data-site-type":r},m?b.default.createElement(n.StyledAvatar,{onClick:s},b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):b.default.createElement(b.default.Fragment,null,"helloSites"===r&&b.default.createElement("img",{className:"mobile-only",src:a.CommonGAssets.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:s}),"marryBaby"===r&&b.default.createElement("div",{className:"mobile-only",onClick:s,style:{paddingLeft:16}},b.default.createElement(i.Text,{size:"p3",color:g.theme.mbColors.pink},P("navigation.loginJoin"))),b.default.createElement(h.Button,{className:"login-btn",size:"md",color:"tertiary",onClick:s,icon:b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("login.svg"),width:18,height:18}),theme:r},P("navigation.loginJoin"))))},Ue=function(e){return e.replace(/([^:]\/)\/+/g,"$1")},Ge=function(e){return Ue(function(e){return e.replace(/\/?$/,"/")}(e))},Ze="-XmTq5-",De="V-oxu20",Ve=function(e){var l=e.item,a=e.menu,n=te({allowBgScroll:!0}),i=n.containerRef,o=n.onContainerFocus,r=n.onContainerBlur,s=n.onButtonMouseDown,u=n.onClose,c=function(){var e=t.useState(!0),l=e[0],a=e[1];return t.useEffect((function(){a(!1)}),[]),l}();return!l.popupType&&l.link?b.default.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(c?"":"menu-handler-".concat(l.id)),tabIndex:0,href:l.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link},b.default.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link,className:De},l.name)):b.default.createElement("div",{ref:i,className:"hhgcomp-navigation-itemnav-headeritem ".concat(c?"":"menu-handler-".concat(l.id)),tabIndex:0,key:l.id,onBlur:r,onFocus:o,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link},b.default.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link,onMouseDown:s,className:De},l.name,l.popupType&&b.default.createElement("div",{className:Ze},b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),b.default.isValidElement(a)?b.default.cloneElement(a,{onClose:u}):null)},Oe=function(){var e=t.useContext(n.NavigationContext),l=e.locale,a=e.configs.statics,i=e.siteType,r=c.useTranslations().t;return b.default.createElement(f.PureInput,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?r("navigation.search.input.placeholder"):r("home.search",{site:o.LOCALE_SPECS[l||"en-PH"]?o.LOCALE_SPECS[l||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(e){return"Enter"===e.key&&(window.location.href="".concat(a.HOME_PAGE_URL,"/search/?s=").concat(e.target.value))},type:"search",onFocus:function(e){e.preventDefault()},displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},b.default.createElement(n.SearchIcon,null))})},Fe="eJS8-if",je="EuQrB-3",We="_0JtBh8L",qe=function(e){var t=e.onClosePopup;return b.default.createElement("div",{className:"".concat(We," close-btn"),onClick:t},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},ze=function(e){var t=e.onClosePopup,l=e.isDisplay,a=e.children,n=e.isNavMenu,i=e.hideCloseBtn;return b.default.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!l,"data-is-nav-menu":!!n},b.default.createElement(E.Container,null,!i&&b.default.createElement("div",{className:je},b.default.createElement(qe,{onClosePopup:t})),b.default.createElement(E.Container,{className:Fe},a)))},$e=function(e){var l=e.hrefViewMore,i=e.titleBtnViewMore,o=e.UrlFE,r=e.onClosePopup,s=e.menuItems,u=e.headingTitle,c=t.useContext(n.NavigationContext).siteType;return b.default.createElement(n.StyledItemGridLeft,null,b.default.createElement(n.StyledHeading,null,b.default.createElement(f.Heading,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},u)),null==s?void 0:s.slice(0,6).map((function(e,t){var l=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:"".concat(o,"/").concat(null==e?void 0:e.link.split("/").filter(Boolean).join("/"),"/"):"/";return b.default.createElement(n.StyledItem,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l,"data-is-heading-category":!1,href:l,"data-theme":c,key:t,onClick:r},b.default.createElement("div",{className:"icon"},b.default.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),b.default.createElement("p",null,e.name),b.default.createElement(n.StyledIconNav,null,b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),i&&b.default.createElement(n.StyledViewMore,{"data-theme":c,style:{textDecoration:"none"},href:l,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l},b.default.createElement(n.StyledItemAll,{onClick:r,"data-theme":c,"data-is-heading-category":!1},i,b.default.createElement(n.StyledImageWrapper$1,null,b.default.createElement("img",{className:"svg",src:"marryBaby"===c?a.CommonGAssets.getAssetPath("chevronRightPink.svg"):a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Ke=function(e){var l=e.title,i=e.link,o=e.description,r=e.cta,s=e.icon,u=t.useContext(n.NavigationContext).siteType;return b.default.createElement(n.StyledContainerNoPosts,{"data-theme":u},b.default.createElement(n.StyledLeft,null,b.default.createElement("img",{src:"marryBaby"===u?a.CommonGAssets.getAssetPath("navMBSpotlightBgNoData.svg"):a.CommonGAssets.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),b.default.createElement(n.StyledContentLeft,null,s&&b.default.createElement("img",{src:s,width:64,height:64}))),b.default.createElement("div",null,l&&b.default.createElement(n.StyledTitle,null,l),o&&b.default.createElement(n.StyledDescription,null,o),r&&b.default.createElement("div",null,b.default.createElement("a",{href:i},b.default.createElement(h.Button,{theme:u,className:"survey-contact-submit",size:"md"},r)))))},Qe=function(e){var l=e.title,i=e.viewMore,o=e.children,r=e.link,s=e.dataEventAction,u=void 0===s?"":s,c=t.useContext(n.NavigationContext).siteType;return b.default.createElement(n.StyledItemGridRight,null,b.default.createElement(n.StyledHeading$1,null,b.default.createElement(f.Heading,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},l),i&&b.default.createElement(n.StyledViewMore$1,{"data-event-category":"Hamburger Navigation","data-event-action":u,"data-event-label":r,href:r,"data-theme":c},i,b.default.createElement("img",{src:"marryBaby"===c?a.CommonGAssets.getAssetPath("chevronRightPink.svg"):a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),o)},Ye=function(e){var l,i=e.item,o=e.index,r=void 0===o?0:o,s=c.useTranslations().t,u=t.useContext(n.NavigationContext),d=u.locale,m=u.configs.statics;if(!i)return null;var f="".concat(m.CARE_URL_FE,"/").concat(null===(l=y.LOCALIZED_SLUGS[d])||void 0===l?void 0:l.HOSPITAL,"/").concat(i.slug,"-").concat(i.id);return b.default.createElement(n.StyledItem$1,{key:i.id,href:f,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(r+1),"data-event-label":f},b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),b.default.createElement(n.StyledImageCard,null,b.default.createElement(n.StyledImageCardInner,null,b.default.createElement("img",{loading:"lazy",alt:i.name,src:i.logo||"/images/avatar.jpg"}))),b.default.createElement(n.StyledContentWrapper,null,b.default.createElement(n.StyledTitle$1,null,i.name),b.default.createElement(n.StyledDes,null,i.description),b.default.createElement(n.StyledBtnView,null,s("home.seeMore"),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Je=function(e){var t=e.spotlights,l=void 0===t?[]:t,i=e.hrefViewMore,o=c.useTranslations().t;return b.default.createElement(Qe,{title:o("home.navigator.menu.spotlightHospitals")},0!==l.length?b.default.createElement(n.StyledContainerItems,null,null==l?void 0:l.slice(0,3).map((function(e,t){return b.default.createElement(Ye,{key:t,index:t,item:e})}))):b.default.createElement(Ke,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:i,cta:o("home.navigator.menu.care.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},Xe=function(e){var l,a=e.careSpecialties,i=void 0===a?[]:a,o=e.isOpen,r=e.onClose,s=e.spotlights,u=void 0===s?[]:s,d=c.useTranslations().t,m=t.useContext(n.NavigationContext),f=m.locale,h=m.configs.statics,g="".concat(h.CARE_URL_FE,"/").concat(null===(l=y.LOCALIZED_SLUGS[f])||void 0===l?void 0:l.SPECIALTIES);return b.default.createElement(ze,{onClosePopup:r,isDisplay:o,isNavMenu:!0},b.default.createElement($e,{headingTitle:d("home.navigator.menuItem.specialties"),hrefViewMore:g,UrlFE:h.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:d("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(e){return e?{name:String(e.name)||"",link:re({type:"DOCTOR",specialtySlug:e.slug,locale:f}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{}})))||[]}),b.default.createElement(Je,{spotlights:u,hrefViewMore:g}))},et=function(e){var t=e.item,l=e.index,a=void 0===l?0:l;return t?b.default.createElement(n.StyledItem$2,{key:t.id,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(a+1),"data-event-label":t.link},b.default.createElement(n.StyledImageCard$1,null,b.default.createElement("img",{loading:"lazy",alt:t.title,src:t.banner||"/images/notFound-min-small.jpg"})),b.default.createElement(n.StyledTitle$2,null,t.title)):null},tt=function(e){var l=e.spotlightsList,i=void 0===l?[]:l,o=e.hrefViewMore,r=c.useTranslations().t,s=t.useContext(n.NavigationContext).configs.statics;return b.default.createElement(Qe,{title:r("home.navigator.menu.spotlights"),viewMore:r("home.navigator.menu.spotlights.seeAll"),link:o,dataEventAction:"Spotlight See More Click"},0!==i.length?b.default.createElement(n.StyledContainerItems$1,null,null==i?void 0:i.slice(0,4).map((function(e,t){return b.default.createElement(et,{key:t,index:t,item:{id:e.id,link:s.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})}))):b.default.createElement(Ke,{title:r("home.navigator.menu.category.noDatas.title"),description:r("home.navigator.menu.category.noDatas.description"),link:o,cta:r("home.navigator.menu.category.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("Spotlight.svg")}))},lt=function(e){var l=e.categories,a=void 0===l?[]:l,i=e.spotlightsList,o=void 0===i?[]:i,r=e.onClose,s=e.isOpen,u=c.useTranslations().t,d=t.useContext(n.NavigationContext),m=d.locale,f=d.configs.statics;return b.default.createElement(ze,{onClosePopup:r,isDisplay:s,isNavMenu:!0},b.default.createElement($e,{hrefViewMore:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===m?"/fil":"","/categories/"),UrlFE:f.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:u("home.navigator.menuItem.allCategories"),menuItems:(null==a?void 0:a.map((function(e){return e?{name:e.displayName||null,link:(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{}})))||[],headingTitle:u("home.navigator.menuItem.healthCategories")}),b.default.createElement(tt,{spotlightsList:o,hrefViewMore:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===m?"/fil":"","/spotlight/")}))},at=function(e){var l=e.spotlights,i=void 0===l?[]:l,o=t.useContext(n.NavigationContext).configs.statics,r=c.useTranslations().t;return b.default.createElement(Qe,{title:r("home.navigator.menu.trendingPosts"),viewMore:r("home.navigator.menu.trendingPosts.seeMore"),link:Ge(o.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==i.length?b.default.createElement(n.StyledContainerItems$2,null,null==i?void 0:i.slice(0,4).map((function(e,t){return b.default.createElement(n.Item,{index:t,post:e,key:e.id})}))):b.default.createElement(Ke,{title:r("home.navigator.menu.together.noPosts.title"),description:r("home.navigator.menu.together.noPosts.description"),link:"".concat(o.HOME_PAGE_URL,"/community/"),cta:r("home.navigator.menu.together.noPosts.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},nt=function(e){var l=e.communities,a=void 0===l?[]:l,i=e.onClose,o=e.isOpen,r=e.spotlights,s=void 0===r?[]:r,u=c.useTranslations().t,d=t.useContext(n.NavigationContext).configs.statics;return b.default.createElement(ze,{onClosePopup:i,isDisplay:o,isNavMenu:!0},b.default.createElement($e,{hrefViewMore:Ge(d.TOGETHER_URL_FE),UrlFE:Ue(d.TOGETHER_URL_FE),onClosePopup:i,titleBtnViewMore:u("home.navigator.menuItem.allCommunities"),menuItems:(null==a?void 0:a.map((function(e){return e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{}})))||[],headingTitle:u("home.navigator.menuItem.allCommunitiesheadingTitle")}),b.default.createElement(at,{spotlights:s}))},it=function(e){var l=e.item,i=e.index,o=void 0===i?0:i,r=c.useTranslations().t,s=t.useContext(n.NavigationContext).configs.statics;if(!l)return null;var u=l.link?l.link.startsWith("http")?l.link:"".concat(s.HOME_PAGE_URL).concat(l.link):void 0;return b.default.createElement(n.StyledItem$3,{href:u,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(o+1),"data-event-label":u},b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),b.default.createElement(n.StyledContentWrapper$1,null,b.default.createElement(n.StyledTitle$3,null,l.title),b.default.createElement(n.StyledDes$1,null,l.subtitle),b.default.createElement(n.StyledBtnView$1,null,r("home.seeMore"),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),b.default.createElement(n.StyledImageCard$2,null,b.default.createElement("img",{loading:"lazy",alt:l.title,src:l.icon||"/images/avatar.jpg"})))},ot=function(e){var l=e.item,i=e.index,o=void 0===i?0:i,r=e.color,s=c.useTranslations().t,u=t.useContext(n.NavigationContext).configs.statics;if(!l)return null;var d=l.link?l.link.startsWith("http")?l.link:"".concat(u.HOME_PAGE_URL).concat(l.link):void 0,m=function(){return b.default.createElement(n.StyledImageCard$3,null,b.default.createElement("img",{loading:"lazy",alt:l.title,src:l.icon||"/images/avatar.jpg"}))},f=function(){return b.default.createElement(n.StyledWrapName,null,b.default.createElement(n.StyledContent,null,b.default.createElement(n.StyledTitle$4,null,l.title),b.default.createElement(n.StyledDes$2,null,l.subtitle)),b.default.createElement(n.StyledBtnView$2,null,b.default.createElement("div",{className:"mobile-only"},s("home.seeMore")),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return b.default.createElement(n.StyledItem$4,{href:d,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(o+1),"data-event-label":d,"data-color":r},b.default.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),b.default.createElement(n.StyledContentWrapper$2,null,b.default.createElement("div",{className:"mobile-only"},m()),b.default.createElement("div",{className:"desktop-only"},f())),b.default.createElement("div",{className:"mobile-only"},f()),b.default.createElement("div",{className:"desktop-only"},m()))},rt=function(e){var l=e.hrefViewMore,i=e.spotlightHealthTools,o=void 0===i?[]:i,r=c.useTranslations().t,s=["pink","orange","green"],u=t.useContext(n.NavigationContext).siteType;return b.default.createElement(Qe,{title:r("home.navigator.menu.spotlightTools")},0!==o.length&&b.default.createElement(n.StyledContainerItems$3,null,null==o?void 0:o.slice(0,3).map((function(e,t){return"marryBaby"===u?b.default.createElement(ot,{key:t,index:t,item:e,color:s[t]}):b.default.createElement(it,{key:t,index:t,item:e})}))),0===o.length&&b.default.createElement(Ke,{title:r("home.navigator.menu.healthTools.noDatas.title"),description:r("home.navigator.menu.healthTools.noDatas.description"),link:l,cta:r("home.navigator.menu.healthTools.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},st=function(e){var l,a=e.locale,i=e.onClose,r=e.isOpen,s=e.spotlightHealthTools,u=void 0===s?[]:s,d=e.healthTools,m=void 0===d?[]:d,f=c.useTranslations().t,h=t.useContext(n.NavigationContext).configs.statics,g="".concat(h.HOME_PAGE_URL).concat("tl-PH"===a?"/fil":"").concat((null===(l=o.STATIC_PAGES[a])||void 0===l?void 0:l.HEALTH_TOOLS)||"");return b.default.createElement(ze,{onClosePopup:i,isDisplay:r,isNavMenu:!0},b.default.createElement($e,{hrefViewMore:g,UrlFE:h.HOME_PAGE_URL,onClosePopup:i,headingTitle:f("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:f("home.navigator.menuItem.allHealthTools"),menuItems:m.map((function(e){return{name:e.title,link:e.link?e.link.startsWith("http")?e.link:"".concat(h.HOME_PAGE_URL).concat(e.link):void 0,thumbnail:e.icon}}))}),b.default.createElement(rt,{spotlightHealthTools:u,hrefViewMore:g}))},ut="_6gGCHV-",ct="YDzfyQU",dt=function(e){var t=e.onCareHeaderClick,l=e.currentUrl,a=e.careUrlFe,n=e.btnName;return t?b.default.createElement(h.Button,{className:ut,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:l,onClick:function(e){return t(e)}},n):b.default.createElement("a",{href:a,className:"".concat(ct," care-button no-replace-click")},b.default.createElement(h.Button,{className:ut,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:l},n))};function mt(e){var t=e.className;return b.default.createElement("div",null,b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function ft(e){var t=e.siteType,l=e.type,n=e.enableSearch,i=e.className;return"helloSites"===t?b.default.createElement("div",null,b.default.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:n?a.CommonGAssets.getAssetPath("hamburgerMenuNewWithSearch.svg"):a.CommonGAssets.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:l,className:i})):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var ht=function(e){var l,a,i=e.closePopup,r=e.menuItems,s=void 0===r?[]:r,u=t.useContext(n.NavigationContext),d=u.siteType,m=u.ssrMenuContent,f=m.categories,h=m.healthTools,g=m.care,v=m.together,p=u.activeMenuService,E=u.configs,C=E.statics,w=E.enableSearchBar,L=u.locale,k=c.useTranslations().t;return b.default.createElement(n.StyledMasterMenuContainer,{id:"categories-menu"},w?b.default.createElement(n.StyledServiceListMenuSearchInputWrapper,{"data-theme":d,onClick:function(){window.location.href="".concat(C.HOME_PAGE_URL,"/search")}},b.default.createElement(Oe,null)):null,b.default.createElement(n.StyledWrapper,null,b.default.createElement($e,{UrlFE:C.HOME_PAGE_URL,titleBtnViewMore:k("home.navigator.menuItem.allCategories"),menuItems:s,headingTitle:k("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===p&&b.default.createElement(tt,{spotlightsList:(null==f?void 0:f.spotlights)||[],hrefViewMore:"".concat(C.HOME_PAGE_URL).concat("tl-PH"===L?"/fil":"","/spotlight/")}),"tools"===p&&b.default.createElement(rt,{spotlightHealthTools:null==h?void 0:h.spotlights,hrefViewMore:"".concat(C.HOME_PAGE_URL).concat("tl-PH"===L?"/fil":"").concat((null===(l=o.STATIC_PAGES[L])||void 0===l?void 0:l.HEALTH_TOOLS)||"")}),"care"===p&&b.default.createElement(Je,{spotlights:null==g?void 0:g.spotlights,hrefViewMore:"".concat(C.CARE_URL_FE,"/").concat(null===(a=y.LOCALIZED_SLUGS[L])||void 0===a?void 0:a.SPECIALTIES)}),"together"===p&&b.default.createElement(at,{spotlights:null==v?void 0:v.spotlights})))},gt="IQdn7tn",vt="_1jX3mGY",pt="arD755Y",Et=function(e){var l=e.type,a=void 0===l?"home":l,i=e.menuItems,o=t.useContext(n.NavigationContext),r=o.siteType,s=o.configs.enableSearchBar,u=te(),c=u.containerRef,d=u.onContainerFocus,m=u.onContainerBlur,f=u.onButtonMouseDown,h=u.onClose;return b.default.createElement(ee,{mediaQueryKey:"mbDown"},b.default.createElement("header",{className:gt},b.default.createElement("div",{className:vt,ref:c,role:"button",tabIndex:0,onBlur:m,onFocus:d},b.default.createElement("div",{className:pt,onMouseDown:f,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},b.default.createElement(mt,{className:"mobile-close-icon"}),b.default.createElement(ft,{siteType:r,type:a,enableSearch:s,className:"mobile-hamburger-icon"})),b.default.createElement(ht,{menuItems:i,closePopup:h}))))},yt=function(e){var l,i=e.onTopBarAppears,r=e.type,s=void 0===r?"home":r,d=e.languageMenu,m=e.menuItems,f=e.setSitewideBannerClosed,h=e.sitewideBannerClosed,g=t.useContext(n.NavigationContext),v=g.siteType,p=g.isMobile,E=void 0!==p&&p,y=g.locale,C=g.sitewideBanner,w=g.sitewideBannerShown,L=void 0===w||w,_=g.sponsorComponent,M=g.onBookingClick,A=g.currentUrl,S=g.onLoginClick,P=g.configs,x=P.statics,N=P.enableNavCareBooking,H=P.enableSearchBar,T=P.enableNavCare,B=P.enableProfileMyHealth,R=P.enableNavTogether,I=P.enableProfileEcom,U=P.enableProfileNavigatorMenu,G=g.userState.userInfo,Z=g.onLogout,D=g.userProfileRouterPush,V=g.isUserLoading,O=c.useTranslations().t,F=x.SSO_URL,j=x.HOME_PAGE_URL,W=!!_,q=t.useState(!1),z=q[0],$=q[1],K=t.useRef(47),Q=t.useRef(null),Y=t.useRef(!1),J="helloSites"===v?null===(l=o.LOCALE_SPECS[y])||void 0===l?void 0:l.LOGO_TYPE:v,X="undefined"!=typeof window,te=t.useCallback(k.default((function(){if("home"===s&&X){if(!Q.current)return;var e=Q.current.getBoundingClientRect();e.top<=0&&window.scrollY>K.current&&window.scrollY>e.height+20&&!Y.current&&(Y.current=!0,$(!0)),window.scrollY<K.current&&Y.current&&(Y.current=!1,$(!1)),window.scrollY>=0&&(K.current=window.scrollY)}}),200),[]);t.useEffect((function(){null==i||i(!z)}),[z]),t.useEffect((function(){return window.addEventListener("scroll",te,{passive:!0}),function(){window.removeEventListener("scroll",te)}}),[]),t.useEffect((function(){E&&te()}),[E]);var le=L&&!!C&&!h;return b.default.createElement(n.StyledHeaderWrapper,{"data-site-type":v,"data-sponsored":W,"data-sitewide-banner-shown":le,"data-header-type":s,"data-collapsed":z,"data-with-search-input":"popup-sub-level"!==s,"data-is-displayed":!0,id:"site-header",ref:Q},C?b.default.isValidElement(C)?b.default.cloneElement(C,{isCollapsed:z,setBannerClosed:f,isMobile:E}):C:null,b.default.createElement(n.StyledHeader,{"data-site-type":v},b.default.createElement(n.StyledLeftGroup,{"data-site-type":v},b.default.createElement(Et,{menuItems:m,type:s}),b.default.createElement("a",{href:j},b.default.createElement(n.StyledLogoWrapper,null,b.default.createElement(u.Logo,{style:{display:"flex"},type:J,badge:"id-ID"===y&&b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:y,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===v?b.default.createElement(wt,{menuItems:m}):H&&b.default.createElement(Ct,{siteType:v})),b.default.createElement(n.StyledRightGroup,{"data-site-type":v},"marryBaby"===v?H&&b.default.createElement(Ct,{siteType:v}):b.default.createElement(wt,{menuItems:m}),b.default.createElement(n.StyledProfileNavGroup,null,N&&b.default.createElement(ee,{mediaQueryKey:"mbUp"},b.default.createElement(dt,{careUrlFe:x.CARE_URL_FE,currentUrl:A,btnName:O("login.booking"),onCareHeaderClick:M})),d,b.default.createElement(Ie,{userInfo:G,siteType:v,onLoginClick:S||function(){var e=window.location.href;window.location.href=F?"".concat(F,"?returnUrl=").concat(e):e},SSO_URL:Ge(x.SSO_URL),currentUrl:A,onLogout:Z,UP_BASEPATH:o.UP_BASEPATH,isMyHealthEnabled:B,enableCare:T,enableTogether:R,enableEcom:I,togetherApiDomain:Ge(x.TOGETHER_API),isUserProfileNavigatorMenuHidden:!U,userProfileRouterPush:D,isLoading:V,locale:y})))),_?b.default.isValidElement(_)?b.default.cloneElement(_,{isCollapsed:z,locale:y,isMobile:E}):_:null)},Ct=function(e){var t=e.siteType;return b.default.createElement(ee,{mediaQueryKey:"mbUp",className:"marryBaby"===t?"marry-baby":""},b.default.createElement(Oe,null))},wt=function(e){var l=e.menuItems,a=t.useContext(n.NavigationContext),i=a.siteType,o=a.locale,r=a.ssrMenuContent,s=r.categories,u=r.healthTools,c=r.care,d=r.together;return b.default.createElement(ee,{mediaQueryKey:"mbUp",style:{height:"100%"}},b.default.createElement(n.StyledWrapMenuItems,{"data-site-type":i},null==l?void 0:l.map((function(e,t){return b.default.createElement(Ve,{key:t,item:e,menu:"categories"===e.popupType?b.default.createElement(lt,{categories:null==s?void 0:s.items,spotlightsList:null==s?void 0:s.spotlights}):"tools"===e.popupType?b.default.createElement(st,{locale:o,healthTools:null==u?void 0:u.items,spotlightHealthTools:null==u?void 0:u.spotlights}):"together"===e.popupType?b.default.createElement(nt,{communities:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):"care"===e.popupType?b.default.createElement(Xe,{careSpecialties:null==c?void 0:c.items,spotlights:null==c?void 0:c.spotlights}):null})}))))},Lt=function(l){var i,r,s=l.isMobile,u=l.locale,d=l.onTopBarAppears,m=l.languageOptions,f=l.sponsorComponent,h=l.sitewideBanner,g=l.sitewideBannerShown,v=l.className,p=t.useState(!1),E=p[0],y=p[1],C=function(){var e=c.useTranslations().t,l=t.useContext(n.NavigationContext),i=l.siteType,r=l.locale,s=l.configs,u=s.enableNavCare,d=s.enableNavTogether,m=s.enableNavEcom,f=s.statics,h="marryBaby"===i,g=t.useMemo((function(){var t,l=[{name:e("home.navigator.menuItem.discover"),id:"categories",link:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===r?"/fil":"","/categories"),niceName:"",thumbnail:h?a.CommonGAssets.getAssetPath("categories-mb.svg"):a.CommonGAssets.getAssetPath("discover.png"),popupType:"categories"},{name:e("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===r?"/fil":"").concat((null===(t=o.STATIC_PAGES[r])||void 0===t?void 0:t.HEALTH_TOOLS)||""),thumbnail:h?a.CommonGAssets.getAssetPath("healthtools-mb.svg"):a.CommonGAssets.getAssetPath("healthTools.png"),popupType:"tools"}];return u&&l.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:Ue(f.HOME_PAGE_URL+"/care"),thumbnail:a.CommonGAssets.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===r?null:"care"}),d&&l.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:Ue(f.TOGETHER_URL_FE+"/"),thumbnail:h?a.CommonGAssets.getAssetPath("community-mb.svg"):a.CommonGAssets.getAssetPath("together.png"),popupType:"together"}),m&&l.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:Ue(f.HOME_PAGE_URL+"/ecom"),thumbnail:a.CommonGAssets.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),l}),[r,u,d,m]);return g}();!function(){var l=t.useContext(n.NavigationContext),a=l.isFirstLogin,i=l.userState.userInfo;t.useEffect((function(){(null==i?void 0:i.id)&&(a?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e.__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:e.__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:e.__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:e.__assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var w=function(e){var l=e.hasSponsoredBanners,a=e.isSiteWide,n=e.isSponsored,i=e.isShowingSiteWideBanner,o=e.isMobile,r=t.useRef(null),s=t.useState(0),u=s[0],c=s[1],d=t.useState(64),m=d[0],f=d[1],h=t.useCallback(M.default((function(){var e,t,l,a,n=(null===(e=r.current)||void 0===e?void 0:e.clientHeight)||(null===(l=null===(t=r.current)||void 0===t?void 0:t.children[0])||void 0===l?void 0:l.clientHeight)||0;window.scrollY<=n+200&&(c(n),f((null===(a=r.current)||void 0===a?void 0:a.getBoundingClientRect().bottom)||u))}),200),[]);t.useEffect((function(){return window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),function(){window.removeEventListener("resize",h),window.removeEventListener("scroll",h)}}),[]),t.useEffect((function(){h()}),[o,a,i,n,l,r.current]);var g=t.useMemo((function(){var e=o?64:69;return i&&(e+=64),n&&(e+=40,l&&(e+=57)),e}),[o,i,l,n]);return{defaultHeaderHeight:g,headerHeight:u||g,headerBottom:m,headerRef:r}}({isSiteWide:!!h&&!E,isShowingSiteWideBanner:g&&!!h&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(r=null===(i=null==f?void 0:f.props)||void 0===i?void 0:i.sponsoredBy)||void 0===r?void 0:r.length),isMobile:s}),L=w.headerRef,k=w.defaultHeaderHeight,_=w.headerHeight,A=w.headerBottom;return b.default.createElement(n.StyledContainer,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":"calc(".concat(_,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":A+"px"},className:v},b.default.createElement("section",{ref:L},b.default.createElement(yt,{menuItems:C,type:"home",onTopBarAppears:s?function(e){d&&d(e)}:void 0,languageMenu:b.default.createElement(J,{languageOptions:m,locale:u}),setSitewideBannerClosed:y,sitewideBannerClosed:E})))},bt=function(t){return e.__awaiter(void 0,void 0,void 0,(function(){var l,a,n,i,u,c,d,m,f,h,g,v,p,E,y,C,w,L,b,k,_,M,A,S,P,x,N,H,T,B,R,I,U,G,Z,D;return e.__generator(this,(function(e){switch(e.label){case 0:l={},a="vi-VN_MB"===t,e.label=1;case 1:e.trys.push([1,14,,15]),n="tl-PH"===t?"lang=fil":"",e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/categories").concat(n?"?"+n:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/spotlights?per_page=10").concat(n?"&"+n:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/").concat(a?"health-tools":"healthtools").concat(n?"?"+n:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/").concat(a?"health-tools":"healthtools","/favorites").concat(n?"?"+n:"")).then((function(e){return e.json()}))])];case 3:return i=e.sent(),u=i[0],c=i[1],d=i[2],m=i[3],l.categories={items:(null===(w=null===(C=null==u?void 0:u.data)||void 0===C?void 0:C.map)||void 0===w?void 0:w.call(C,ae))||[],spotlights:(null===(_=null===(k=null===(b=null===(L=null==c?void 0:c.data)||void 0===L?void 0:L.articles)||void 0===b?void 0:b.map)||void 0===k?void 0:k.call(b,se))||void 0===_?void 0:_.filter(ue))||[]},l.healthTools={items:(null===(A=null===(M=null==d?void 0:d.data)||void 0===M?void 0:M.map)||void 0===A?void 0:A.call(M,ne))||[],spotlights:(null===(P=null===(S=null==m?void 0:m.data)||void 0===S?void 0:S.map)||void 0===P?void 0:P.call(S,ne))||[]},[3,5];case 4:return e.sent(),[3,5];case 5:if(!a&&!o.TOGETHER_LOCALES.includes(t))return[3,9];e.label=6;case 6:return e.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(r.getTogetherApiDomain(),"/api/v1/community?website_url=https://").concat(o.domainLocales[t])).then((function(e){return e.json()})),fetch("".concat(r.getTogetherApiDomain(),"/api/v1/options?website_url=https://").concat(o.domainLocales[t],"&meta_key=popular_post")).then((function(e){return e.json()}))])];case 7:return f=e.sent(),h=f[0],g=f[1],l.together={items:(null===(H=null===(N=null===(x=null==h?void 0:h.data)||void 0===x?void 0:x.communities)||void 0===N?void 0:N.map)||void 0===H?void 0:H.call(N,s.formatCommunity))||[],spotlights:(null===(R=null===(B=null===(T=null==g?void 0:g.data)||void 0===T?void 0:T.posts)||void 0===B?void 0:B.map)||void 0===R?void 0:R.call(B,s.formatPost))||[]},[3,9];case 8:return e.sent(),[3,9];case 9:if(!o.CARE_LOCALES.includes(t))return[3,13];e.label=10;case 10:return e.trys.push([10,12,,13]),[4,Promise.all([fetch(r.getCareApiDomain()+"/api/specialties?_ishome=1&site=".concat(o.domainLocales[t])).then((function(e){return e.json()})),fetch(r.getCareApiDomain()+"/api/search/?site=".concat(o.domainLocales[t],"&type=hospital&order_by=total_doctor")).then((function(e){return e.json()}))])];case 11:return v=e.sent(),p=v[0],E=v[1],l.care={items:(null===(G=null===(U=null===(I=null==p?void 0:p._data)||void 0===I?void 0:I.specialties)||void 0===U?void 0:U.map)||void 0===G?void 0:G.call(U,ie))||[],spotlights:(null===(D=null===(Z=null==E?void 0:E._data.searches)||void 0===Z?void 0:Z.map)||void 0===D?void 0:D.call(Z,oe))||[]},[3,13];case 12:return e.sent(),[3,13];case 13:return[3,15];case 14:return y=e.sent(),console.error(y),[3,15];case 15:return[2,l]}}))}))};exports.Avatar=S,exports.Flag=Q,exports.LanguageSwitcher=J,exports.NavHeader=me,exports.NavigationLogoutPopup=le,exports.NavigationProfileButton=Ie,exports.NavigationV2=function(t){var l=e.__assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},t);return b.default.createElement(n.NavigationProvider,e.__assign({},l),b.default.createElement(Lt,e.__assign({},l)))},exports.ProfilePopup=Re,exports.UserProfileNavigation=Te,exports.UserStats=He,exports.getNavMenuContent=bt,exports.getNavMenuContentWithCache=function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,l.getDataWithCache("nav-menu-content",(function(){return bt(t||"en-PH")}),(function(e){var t,l;return!!(null===(l=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===l?void 0:l.length)}))];case 1:return[2,e.sent()||{}]}}))}))};
|
package/build/index-b7bf23ea.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var a=require("./tslib.es6-aef5df18.js");function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(require("react")),r="wIj6fkD";exports.Text=function(e){var s=e.size,n=void 0===s?"base":s,o=e.type,c=void 0===o?"regular":o,d=e.className,i=e.style,l=e.children,v=e.color,p=e.dataEventCategory,u=e.dataEventAction,y=e.dataEventLabel,f=e.as,_=void 0===f?"p":f,g=e.wordWrap,E=e.isUppercase,b=a.__rest(e,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]),m=_;return t.default.createElement(m,a.__assign({"data-size":n,"data-type":c,style:a.__assign(a.__assign({},i),v?{"--custom-color":v}:void 0),className:"".concat(r," ").concat(d||""),"data-event-category":p,"data-event-action":u,"data-event-label":y,"data-word-wrap":g,"data-is-uppercase":E},b),l)};
|
package/build/index-eacbaf00.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-aef5df18.js"),t=require("react"),l=require("./gAssets.js"),a=require("./index-49b6ba02.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t);exports.Modal=function(t){var r=t.title,s=e.__rest(t,["title"]);return n.default.createElement(n.default.Fragment,null,n.default.createElement(a.StyledModal,e.__assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},s,{withCloseButton:!1,title:s.withCloseButton&&n.default.createElement(n.default.Fragment,null,r,n.default.createElement("img",{className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:function(){var e;return null===(e=s.onClose)||void 0===e?void 0:e.call(s)}}))})))};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./translationsContext-b21dd12f.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(require("string-format"));exports.useTranslations=function(){var n=e.useContext(t.TranslationsContext)||{locale:"en-PH"},r=n.values,o=n.locale;return e.useMemo((function(){return{t:function(e,n){return r?r[e]?n?a.default(r[e]||e,n):r[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(o)),n?a.default(t.defaultTranslations[e]||e,n):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:o}}),[r,o])};
|
/package/build/{BMI_BOYS.percentile.monthly-09c497c4.js → BMI_BOYS.percentile.monthly-1330c1ce.js}
RENAMED
|
File without changes
|
/package/build/{BMI_BOYS.percentile.weekly-530e4d67.js → BMI_BOYS.percentile.weekly-1c2f5d3c.js}
RENAMED
|
File without changes
|
/package/build/{BMI_BOYS.percentile.yearly-b339b31d.js → BMI_BOYS.percentile.yearly-f58eab82.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.monthly-60dd714e.js → BMI_GIRLS.percentile.monthly-bd6a51b9.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.weekly-0af4aa5f.js → BMI_GIRLS.percentile.weekly-3a5a0f23.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.yearly-bcd59735.js → BMI_GIRLS.percentile.yearly-0e82aed8.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.zscore.monthly-6595beea.js → BMI_GIRLS.zscore.monthly-6cd108ef.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{HEIGHT_BOYS.zscore.monthly-cd5dd582.js → HEIGHT_BOYS.zscore.monthly-0f5e9a2f.js}
RENAMED
|
File without changes
|
/package/build/{HEIGHT_BOYS.zscore.weekly-013bcf20.js → HEIGHT_BOYS.zscore.weekly-fe1419e9.js}
RENAMED
|
File without changes
|