@hhgtech/hhg-components 1.23.23 → 1.23.24
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/{FullScreen-af3578f1.js → FullScreen-40e2775f.js} +1 -1
- package/build/{Vietnam-866d2e1d.js → Vietnam-34468594.js} +1 -1
- package/build/{Visible-23ba0ad2.js → Visible-5d9ca704.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/organisms/onboardingModal/components/otpForm/index.d.ts +2 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-da7e59a3.js → core-aa43e709.js} +1 -1
- package/build/{defaultClassWrapper-e4239a2d.js → defaultClassWrapper-9301cc5c.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{FullScreen-a23e7093.js → FullScreen-bcfc12ed.js} +1 -1
- package/build/esm/{Vietnam-cc9fc991.js → Vietnam-8b43aa87.js} +1 -1
- package/build/esm/{Visible-fb26ddb3.js → Visible-6036ccfc.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-2959acca.js +1 -0
- package/build/esm/defaultClassWrapper-94f751a8.js +1 -0
- 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-3df0b48b.js → getDynamicHealthTool-939d2ec3.js} +1 -1
- package/build/esm/{getSocialList-e9aa7d54.js → getSocialList-594a42e5.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-9e4233eb.js → index-134618c4.js} +1 -1
- package/build/esm/{index-88cd6ed6.js → index-19d6e67e.js} +1 -1
- package/build/esm/{index-a4eddbc8.js → index-3902253b.js} +1 -1
- package/build/esm/index-3b8acd5d.js +1 -0
- package/build/esm/{index-679d6116.js → index-474a3814.js} +1 -1
- package/build/esm/{index-1f7190ea.js → index-48a9ffd2.js} +1 -1
- package/build/esm/{index-e0623589.js → index-4c57ec9a.js} +1 -1
- package/build/esm/{index-70d25fbc.js → index-4cd03d06.js} +1 -1
- package/build/esm/{index-9d203e64.js → index-59c7cee8.js} +1 -1
- package/build/esm/{index-14d6f456.js → index-86b1d8db.js} +1 -1
- package/build/esm/{index-4751cb4f.js → index-8ecf3e87.js} +1 -1
- package/build/esm/{index-db3aa42b.js → index-91d0e505.js} +1 -1
- package/build/esm/{index-fdc505f7.js → index-9462d376.js} +1 -1
- package/build/esm/{index-8b89f4e8.js → index-9f44ea55.js} +1 -1
- package/build/esm/{index-f321d238.js → index-b9827017.js} +1 -1
- package/build/esm/{index-202990cf.js → index-d52829dd.js} +1 -1
- package/build/esm/{index-863cb3a4.js → index-e17a9ac9.js} +1 -1
- package/build/esm/{index-b55c636c.js → index-e3050446.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-8f6fb944.js → index.styled-7207c736.js} +1 -1
- package/build/esm/{index.styled-7c207cad.js → index.styled-77eb8a31.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/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-aec29263.js +1 -0
- package/build/esm/{screenSizeContext-1f45f34c.js → screenSizeContext-42f29084.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-c4460d72.js → translationsProvider-6c7455e4.js} +1 -1
- package/build/esm/{types-3bd9c9a8.js → types-08109d14.js} +1 -1
- package/build/esm/{types-8c6cd493.js → types-342c8160.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useFbDataLayer-381a8190.js +1 -0
- package/build/esm/useHealthToolCache-eb1c35f0.js +1 -0
- package/build/esm/{useTranslations-bd24e8ca.js → useTranslations-17a895c2.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-da9c7805.js → getDynamicHealthTool-85d175aa.js} +1 -1
- package/build/{getSocialList-544460f0.js → getSocialList-b1e85219.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-d33b484f.js → index-0ceafc1a.js} +1 -1
- package/build/{index-5b218eec.js → index-11dedc5f.js} +1 -1
- package/build/{index-9282a2e5.js → index-2d373c5f.js} +1 -1
- package/build/{index-f51d1e17.js → index-2fd9e463.js} +1 -1
- package/build/{index-b408f8cc.js → index-4434373b.js} +1 -1
- package/build/{index-f999cc6f.js → index-4f0ab525.js} +1 -1
- package/build/{index-d6e6f24f.js → index-601fbae2.js} +1 -1
- package/build/{index-5e8fdb8c.js → index-7031fcb4.js} +1 -1
- package/build/{index-5984f6c8.js → index-7ba29d1a.js} +1 -1
- package/build/index-831670da.js +1 -0
- package/build/{index-4c257d10.js → index-9381fe38.js} +1 -1
- package/build/{index-e4bf6895.js → index-9e92e114.js} +1 -1
- package/build/{index-039e2e04.js → index-a51e2a7c.js} +1 -1
- package/build/{index-49412bd0.js → index-a5d77390.js} +1 -1
- package/build/{index-c4ef490e.js → index-badeb0b9.js} +1 -1
- package/build/{index-d2242c71.js → index-c1577133.js} +1 -1
- package/build/{index-90c98de4.js → index-e189f444.js} +1 -1
- package/build/{index-9a082a5a.js → index-f1f57b37.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-1d34e031.js → index.styled-32c835e1.js} +1 -1
- package/build/{index.styled-6073f7d0.js → index.styled-ebe13774.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-cbcc6172.js → routing-5c4636d0.js} +1 -1
- package/build/{screenSizeContext-1a45c4d1.js → screenSizeContext-5e13d321.js} +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-1a6556f5.js → translationsProvider-e6e548d6.js} +1 -1
- package/build/{types-18812cf2.js → types-5f2b5040.js} +1 -1
- package/build/{types-944d07d0.js → types-fd8b0f33.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-13f8caa2.js → useFbDataLayer-153e6393.js} +1 -1
- package/build/{useHealthToolCache-63315f92.js → useHealthToolCache-e15a8d29.js} +1 -1
- package/build/useTranslations-dddf11c6.js +1 -0
- package/package.json +1 -1
- package/build/esm/core-67e84f58.js +0 -1
- package/build/esm/defaultClassWrapper-ee7db805.js +0 -1
- package/build/esm/index-cb373429.js +0 -1
- package/build/esm/routing-ddba9d0e.js +0 -1
- package/build/esm/useFbDataLayer-5aa0d958.js +0 -1
- package/build/esm/useHealthToolCache-d72e2061.js +0 -1
- package/build/index-7161e4fd.js +0 -1
- package/build/useTranslations-c4da302b.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-96da0f0c.js → BMI_BOYS.percentile.monthly-6da902ee.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-42abc80c.js → BMI_BOYS.percentile.weekly-41a60f18.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8d265625.js → BMI_BOYS.percentile.yearly-41bf34d7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-dcb06d0b.js → BMI_BOYS.zscore.monthly-7c2ac698.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-428613c7.js → BMI_BOYS.zscore.weekly-18b85070.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-52008234.js → BMI_BOYS.zscore.yearly-5ddb49ed.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-89666c18.js → BMI_GIRLS.percentile.monthly-b77617b4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-bdde3707.js → BMI_GIRLS.percentile.weekly-af7eec59.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-70d8f6c7.js → BMI_GIRLS.percentile.yearly-405ef3a0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1a633b9c.js → BMI_GIRLS.zscore.monthly-15c80963.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-c867632a.js → BMI_GIRLS.zscore.weekly-1a2fd80d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a4300910.js → BMI_GIRLS.zscore.yearly-13da13e1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0bb7ba39.js → HEAD CIRCUM_BOYS.percentile.monthly-aa26b95e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-bd76b553.js → HEAD CIRCUM_BOYS.percentile.weekly-a8851901.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-af867b98.js → HEAD CIRCUM_BOYS.percentile.yearly-2cce083b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f420c799.js → HEAD CIRCUM_BOYS.zscore.monthly-b4a5e12d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8553b7d6.js → HEAD CIRCUM_BOYS.zscore.weekly-8eb34106.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-f37a525d.js → HEAD CIRCUM_BOYS.zscore.yearly-b324875b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-446abb70.js → HEAD CIRCUM_GIRLS.percentile.monthly-f718faa8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-30a38cdd.js → HEAD CIRCUM_GIRLS.percentile.weekly-aff692fd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-85c6fd0b.js → HEAD CIRCUM_GIRLS.percentile.yearly-2e7502d5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-550d21b3.js → HEAD CIRCUM_GIRLS.zscore.monthly-854e31a6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d8897f74.js → HEAD CIRCUM_GIRLS.zscore.weekly-bc2dcb2d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e71b9c2f.js → HEAD CIRCUM_GIRLS.zscore.yearly-cf5b7a4b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-62312d10.js → HEIGHT_BOYS.percentile.monthly-c7aab7e0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-08e403b3.js → HEIGHT_BOYS.percentile.weekly-317598ab.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-584c2c24.js → HEIGHT_BOYS.percentile.yearly-47d616e5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b74d639d.js → HEIGHT_BOYS.zscore.monthly-bcde206e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b44f1294.js → HEIGHT_BOYS.zscore.weekly-794251b2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-329667c0.js → HEIGHT_BOYS.zscore.yearly-4c98c5a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-914e60b6.js → HEIGHT_GIRLS.percentile.monthly-33237514.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-093b2b0a.js → HEIGHT_GIRLS.percentile.weekly-06cf789d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-e9f162ad.js → HEIGHT_GIRLS.percentile.yearly-727e6f70.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-fb739108.js → HEIGHT_GIRLS.zscore.monthly-4a9490b3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-f4926fc7.js → HEIGHT_GIRLS.zscore.weekly-497c1169.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-db989388.js → HEIGHT_GIRLS.zscore.yearly-f1542dd1.js} +0 -0
- /package/build/{Locale-b309f5a3.js → Locale-618709e0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-44bd48c9.js → WEIGHT_BOYS.percentile.monthly-0266251c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e51ddb9b.js → WEIGHT_BOYS.percentile.weekly-a36ebf31.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9e4b9860.js → WEIGHT_BOYS.percentile.yearly-2a29391e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-96633b74.js → WEIGHT_BOYS.zscore.monthly-6df181f1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-f50994c5.js → WEIGHT_BOYS.zscore.weekly-f3be6af7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-db2992ed.js → WEIGHT_BOYS.zscore.yearly-db2bdee3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-785e757b.js → WEIGHT_GIRLS.percentile.monthly-651b9183.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-003f6a1f.js → WEIGHT_GIRLS.percentile.weekly-aeb2968d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9166c87e.js → WEIGHT_GIRLS.percentile.yearly-b4a979f7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a528f4b7.js → WEIGHT_GIRLS.zscore.monthly-5b260273.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-3f0a907c.js → WEIGHT_GIRLS.zscore.weekly-e7bea339.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-dceb8767.js → WEIGHT_GIRLS.zscore.yearly-d1a2382d.js} +0 -0
- /package/build/{constants-2ae424e3.js → constants-ef14ba12.js} +0 -0
- /package/build/{cookieHelper-2e9fad0c.js → cookieHelper-4f58c18a.js} +0 -0
- /package/build/{dataTransform-f514ed3d.js → dataTransform-41fbd278.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-568c1af9.js → BMI_BOYS.percentile.monthly-c2df69e9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-141f4b14.js → BMI_BOYS.percentile.weekly-32110751.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-3776f167.js → BMI_BOYS.percentile.yearly-fa65fe46.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-016dbc21.js → BMI_BOYS.zscore.monthly-d986d210.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6a3284e6.js → BMI_BOYS.zscore.weekly-fa72f41a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-65379ff1.js → BMI_BOYS.zscore.yearly-6b186635.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d5222638.js → BMI_GIRLS.percentile.monthly-b5f78cbe.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-1d1da65e.js → BMI_GIRLS.percentile.weekly-6b9f3283.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-50658b29.js → BMI_GIRLS.percentile.yearly-eb098b59.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-29ae1a6b.js → BMI_GIRLS.zscore.monthly-2465f79f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cae1da2a.js → BMI_GIRLS.zscore.weekly-33923a8a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-492223a9.js → BMI_GIRLS.zscore.yearly-92346a1b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-3fc79ec9.js → HEAD CIRCUM_BOYS.percentile.monthly-dacfd26b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1d153dc9.js → HEAD CIRCUM_BOYS.percentile.weekly-2c9160f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-cd5cd21a.js → HEAD CIRCUM_BOYS.percentile.yearly-8feb2886.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-8de7ace0.js → HEAD CIRCUM_BOYS.zscore.monthly-ed231544.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-09bee588.js → HEAD CIRCUM_BOYS.zscore.weekly-726de6fb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2f61b632.js → HEAD CIRCUM_BOYS.zscore.yearly-a015aaf5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-35385d87.js → HEAD CIRCUM_GIRLS.percentile.monthly-cb542e20.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6318f238.js → HEAD CIRCUM_GIRLS.percentile.weekly-34a5b3ab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1ce22f89.js → HEAD CIRCUM_GIRLS.percentile.yearly-d9f2040b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-f01dc374.js → HEAD CIRCUM_GIRLS.zscore.monthly-9db28f75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6fd09142.js → HEAD CIRCUM_GIRLS.zscore.weekly-ac02c43d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bcfecef8.js → HEAD CIRCUM_GIRLS.zscore.yearly-c82ea8a6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1440b8a4.js → HEIGHT_BOYS.percentile.monthly-8b844778.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8a106cb5.js → HEIGHT_BOYS.percentile.weekly-50a30698.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7bf69f57.js → HEIGHT_BOYS.percentile.yearly-0b15419a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b5147b5b.js → HEIGHT_BOYS.zscore.monthly-ab8081ee.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1f4fed12.js → HEIGHT_BOYS.zscore.weekly-aaae0704.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-17913038.js → HEIGHT_BOYS.zscore.yearly-838d5bae.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5e9fe245.js → HEIGHT_GIRLS.percentile.monthly-dcf4319f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-85d7798b.js → HEIGHT_GIRLS.percentile.weekly-1cb84092.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-50098866.js → HEIGHT_GIRLS.percentile.yearly-61cfee0c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6f4592d3.js → HEIGHT_GIRLS.zscore.monthly-d411290a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4b4b0584.js → HEIGHT_GIRLS.zscore.weekly-0fa367df.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6219efe6.js → HEIGHT_GIRLS.zscore.yearly-3e4b0115.js} +0 -0
- /package/build/esm/{Locale-f1e4033d.js → Locale-fe7c2629.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8bb5c933.js → WEIGHT_BOYS.percentile.monthly-763b50b5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e30f2e38.js → WEIGHT_BOYS.percentile.weekly-ca81d50a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f0ca38e2.js → WEIGHT_BOYS.percentile.yearly-6e06a06a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8501b93b.js → WEIGHT_BOYS.zscore.monthly-42531c2b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e67f39fd.js → WEIGHT_BOYS.zscore.weekly-cf773da8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a9b3fdf2.js → WEIGHT_BOYS.zscore.yearly-8d5b20a7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7289aeb2.js → WEIGHT_GIRLS.percentile.monthly-62720df9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-30cbe932.js → WEIGHT_GIRLS.percentile.weekly-d35aee86.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1159437d.js → WEIGHT_GIRLS.percentile.yearly-e316076a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5b3bfb22.js → WEIGHT_GIRLS.zscore.monthly-219ba8c0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-fb0aaad0.js → WEIGHT_GIRLS.zscore.weekly-099ac8a9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-cd146d84.js → WEIGHT_GIRLS.zscore.yearly-b339037f.js} +0 -0
- /package/build/esm/{constants-3ec20d63.js → constants-a01e963e.js} +0 -0
- /package/build/esm/{cookieHelper-901b5956.js → cookieHelper-f27a9e7f.js} +0 -0
- /package/build/esm/{dataTransform-12f732ec.js → dataTransform-40faee04.js} +0 -0
- /package/build/esm/{isProduction-121d3848.js → isProduction-4995daa8.js} +0 -0
- /package/build/esm/{lazyLoad-f89c70f0.js → lazyLoad-35d23dac.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a6183d0a.js → localizeNumberFormat-890c9c1e.js} +0 -0
- /package/build/esm/{theme-2029076f.js → theme-bd6754e7.js} +0 -0
- /package/build/esm/{translationsContext-586038bb.js → translationsContext-c395bf3d.js} +0 -0
- /package/build/esm/{tslib.es6-59626cd2.js → tslib.es6-a51a6cfe.js} +0 -0
- /package/build/esm/{types-116369e9.js → types-3cb3987f.js} +0 -0
- /package/build/esm/{useOutsideClick-ff56192d.js → useOutsideClick-9a74333e.js} +0 -0
- /package/build/esm/{useScrollbarSize-a72fff82.js → useScrollbarSize-bb6139fa.js} +0 -0
- /package/build/esm/{utils-9ba41394.js → utils-9d881895.js} +0 -0
- /package/build/{isProduction-97d47a49.js → isProduction-743f22a4.js} +0 -0
- /package/build/{lazyLoad-625d1408.js → lazyLoad-e4ea2eb0.js} +0 -0
- /package/build/{localizeNumberFormat-d5826666.js → localizeNumberFormat-70f33eea.js} +0 -0
- /package/build/{theme-e91320dd.js → theme-0a806c7b.js} +0 -0
- /package/build/{translationsContext-b3b0a042.js → translationsContext-7d1f9b81.js} +0 -0
- /package/build/{tslib.es6-1e749b6b.js → tslib.es6-065dc13e.js} +0 -0
- /package/build/{types-42d52a5c.js → types-f2f9c91b.js} +0 -0
- /package/build/{useOutsideClick-8b04a3d6.js → useOutsideClick-d7f8297c.js} +0 -0
- /package/build/{useScrollbarSize-8dcb9cd2.js → useScrollbarSize-15141adc.js} +0 -0
- /package/build/{utils-b261a10a.js → utils-06294eba.js} +0 -0
package/build/esm/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE}from"./Locale-
|
|
1
|
+
export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE}from"./Locale-fe7c2629.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as e,e as n}from"./tslib.es6-a51a6cfe.js";import{useRef as t,useEffect as r}from"react";import{g as i}from"./cookieHelper-f27a9e7f.js";function a(e){var n=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",n).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}var o=function(o){var l=t("");r((function(){return e(void 0,void 0,void 0,(function(){var e,t,r,c,u,s,f,d,p,m,h,v,b,g,y;return n(this,(function(n){switch(n.label){case 0:return l.current?[3,4]:[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(e=n.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:e=n.sent(),n.label=3;case 3:l.current=e,n.label=4;case 4:return null===(v=null===(h=window.localStorage)||void 0===h?void 0:h.setItem)||void 0===v||v.call(h,"fbClientIp",JSON.stringify({client_ip_address:(null===(b=l.current)||void 0===b?void 0:b.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),(null==o?void 0:o.id)?[4,Promise.all([o.email?a(o.email):null,o.phone?a(o.phone):null,o.birthday?a(o.birthday.split("-").join("")):null,o.gender?"m":"f",o.city_name?a(o.city_name).then((function(e){return e.replace(/\s/g,"")})):null,o.name?a(o.name):null])]:[3,6];case 5:t=n.sent(),r=t[0],c=t[1],u=t[2],s=t[3],f=t[4],d=t[5],p={fbc:i("_fbc")||"",fbp:i("_fbp")||""},m={user_id:o.id},d&&(m.fn=d),r&&(p.em=r,m.em=r),c&&(p.ph=c,m.ph=c),u&&(p.db=u,m.db=u),s&&(p.ge=s,m.ge=s),f&&(p.ct=f,m.ct=f),null===(y=null===(g=window.localStorage)||void 0===g?void 0:g.setItem)||void 0===y||y.call(g,"fbDataLayer_userInfo",JSON.stringify(m)),n.label=6;case 6:return[2]}}))})),function(){}}),[o])};export{o as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t,e as r}from"./tslib.es6-a51a6cfe.js";import{useState as n,useEffect as o,useCallback as e}from"react";import{a}from"./getDynamicHealthTool-939d2ec3.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,a(i)];case 1:return t=r.sent(),u(t),[2]}}))}))}),[a,i]);var c=e((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 +1 @@
|
|
|
1
|
-
import{useContext as o,useMemo as a}from"react";import{T as n,d as r}from"./translationsContext-
|
|
1
|
+
import{useContext as o,useMemo as a}from"react";import{T as n,d as r}from"./translationsContext-c395bf3d.js";import t from"string-format";function e(){var e=o(n)||{locale:"en-PH"},s=e.values,l=e.locale;return a((function(){return{t:function(o,a){return s?s[o]?a?t(s[o]||o,a):s[o]||o:(console.warn("[useTranslations] Missing translation for key ".concat(o," and locale ").concat(l)),a?t(r[o]||o,a):r[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o)},locale:l}}),[s,l])}export{e as u};
|
package/build/footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-f999cc6f.js"),a=require("./index-4c257d10.js"),l=require("./index-7161e4fd.js"),n=require("./index-5b218eec.js"),o=require("./theme-e91320dd.js"),r=require("./useTranslations-c4da302b.js"),i=require("./index-d6e6f24f.js"),c=require("./index-e4bf6895.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-1e749b6b.js"),require("./utils-b261a10a.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-97d47a49.js"),require("./Locale-b309f5a3.js"),require("./translationsContext-b3b0a042.js"),require("string-format");var u=d(e),s="Lj0qoTD",m="OO-qFWT",v=function(e){var t=e.url,a=e.isMobile,l=e.dataEventCategory,n=e.dataEventAction,o=e.dataEventLabel,r=e.isAmp;return u.default.createElement("div",{className:m,"data-is-mobile":a},r?u.default.createElement("amp-img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o}):u.default.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o}))},f=function(e){var i,c,d,m,f,g,y,E,p,b,h,N,k,F,x,T,z,C,L,q,M,j,w,A,B,_,S,H,I,D,G=e.className,O=e.type,P=void 0===O?"main":O,J=e.footerInfo,K=e.isMobile,U=e.locale,V=e.isAmp,W=r.useTranslations().t,Q=null==J?void 0:J.menu,R=(null===(c=null===(i=null==J?void 0:J.general)||void 0===i?void 0:i.verified)||void 0===c?void 0:c.filter(Boolean))||[],X=V&&"mini"===P?"div":"footer";return u.default.createElement(X,{className:"".concat(s," ").concat(G||""),style:"mini"===P?{backgroundColor:o.theme.colors.neutral50}:{},"next-page-hide":!0},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"inner","data-type":P,"next-page-hide":""},"main"===P?u.default.createElement(u.default.Fragment,null,u.default.createElement("a",{href:"/"},V?(null===(m=null==J?void 0:J.general)||void 0===m?void 0:m.logo)?u.default.createElement("amp-img",{src:null===(f=null==J?void 0:J.general)||void 0===f?void 0:f.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:u.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(d=null==J?void 0:J.general)||void 0===d?void 0:d.logo,alt:"Logo","data-is-sehat":"id-ID"===U})),u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"newsletter"},u.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==J?void 0:J.general)||void 0===g?void 0:g.content),u.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(y=null==J?void 0:J.social)||void 0===y?void 0:y.title),u.default.createElement("div",{className:"icons"},null===(p=null===(E=null==J?void 0:J.social)||void 0===E?void 0:E.socials)||void 0===p?void 0:p.map((function(e,t){return u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},V?u.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):u.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),u.default.createElement("hr",{className:"hrMobile"}))),u.default.createElement("div",null,Q&&u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:"biglinks"},null===(h=null===(b=Q[0])||void 0===b?void 0:b.items)||void 0===h?void 0:h.map((function(e,t){return u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(n.domainLocales[U]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(N=Q[1])||void 0===N?void 0:N.menu_title),null===(F=null===(k=Q[1])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map((function(e,t){return u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(n.domainLocales[U]).concat(e.url),className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(n.domainLocales[U]).concat(e.url)},e.title))}))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=Q[2])||void 0===x?void 0:x.menu_title),null===(z=null===(T=Q[2])||void 0===T?void 0:T.items)||void 0===z?void 0:z.map((function(e,t){return e.url&&u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!V&&u.default.createElement(u.default.Fragment,null,u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"otherSites"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==J?void 0:J.branch)||void 0===C?void 0:C.title),u.default.createElement("div",{className:"flags"},null===(q=null===(L=null==J?void 0:J.branch)||void 0===L?void 0:L.branch)||void 0===q?void 0:q.map((function(e,t){return u.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},u.default.createElement(v,{url:e.flag,isMobile:K,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url,isAmp:V}))}))))))),u.default.createElement("hr",null),u.default.createElement("div",{className:"copyright","data-is-amp":V||void 0},u.default.createElement("div",{className:"copyright-image-wrapper"},R.length?R.map((function(e,t){return u.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},V?u.default.createElement("amp-img",{src:e.image,alt:"DMCA Icon",width:"100",height:"36"}):u.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"}))})):null),u.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==J?void 0:J.general)||void 0===M?void 0:M.copyright)),"vi-VN"===U&&u.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):u.default.createElement(u.default.Fragment,null,(null==J?void 0:J.menu)&&u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(j=null==J?void 0:J.menu[1])||void 0===j?void 0:j.menu_title),null===(A=null===(w=null==J?void 0:J.menu[1])||void 0===w?void 0:w.items)||void 0===A?void 0:A.map((function(e){return u.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(n.domainLocales[U]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(n.domainLocales[U]).concat(e.url)},u.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(n.domainLocales[U]).concat(e.url),size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))}))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==J?void 0:J.menu[2])||void 0===B?void 0:B.menu_title),null===(S=null===(_=null==J?void 0:J.menu[2])||void 0===_?void 0:_.items)||void 0===S?void 0:S.map((function(e,t){return u.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},u.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!V&&"mini"!==P&&u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"newsletter"},u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(H=null==J?void 0:J.social)||void 0===H?void 0:H.title),u.default.createElement("div",{className:"icons"},null===(D=null===(I=null==J?void 0:J.social)||void 0===I?void 0:I.socials)||void 0===D?void 0:D.map((function(e,t){return u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},V?u.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):u.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},g="B6-KmWK",y="GS-7mbG",E="qc5bEb3",p="CQGVeuT",b="_6JMoel-",h="_8eUT8Jr",N="cjDwoLi",k=function(e){var t,l=e.logoType,n=void 0===l?"marryBaby":l,r=e.footerMenu,d=e.background;if(!r)return null;var s=r.general,m=r.menu,v=r.socials;return u.default.createElement("footer",{className:g,style:{backgroundColor:d||"none"}},u.default.createElement("div",{className:N},u.default.createElement(a.Container,null,u.default.createElement("div",{className:y},null==m?void 0:m.map((function(e,t){var a=e.menu_title,l=e.items;return u.default.createElement("div",{className:E,key:"mbf".concat(t)},u.default.createElement(c.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},a),null==l?void 0:l.map((function(e,t){var a=e.title,l=e.url;return u.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(t)},u.default.createElement("div",{className:p,key:"mbitem".concat(t)},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},a)))})))})))),u.default.createElement(a.Container,null,u.default.createElement("div",{className:b},u.default.createElement(i.Logo,{className:"logo",type:n}),u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==s?void 0:s.content)),u.default.createElement("div",{className:"social-link"},null==v?void 0:v.map((function(e,t){var a=e.icon,l=e.name,n=e.url;return u.default.createElement("a",{key:"social".concat(t),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(l),"data-content-label":l,href:n},u.default.createElement("img",{loading:"lazy",src:a,alt:l}))}))))),u.default.createElement("div",{className:h},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==s?void 0:s.copyright),u.default.createElement("div",{className:"verify"},null===(t=null==s?void 0:s.verified)||void 0===t?void 0:t.map((function(e,t){var a=e.image,l=e.url;return u.default.createElement("img",{loading:"lazy",key:"imgMbFt".concat(t),src:a,alt:l})}))))))))};exports.Footer=function(e){var t=e.type,a=e.isMobile,l=void 0===a||a,n=e.locale,o=e.footerInfo,r=e.isAmp,i=e.siteType,c=e.background;return"helloSites"===i?u.default.createElement(f,{isAmp:r,isMobile:l,type:t,locale:n,footerInfo:o||{}}):u.default.createElement(k,{footerMenu:o,background:c})};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-4f0ab525.js"),a=require("./index-9381fe38.js"),l=require("./index-831670da.js"),n=require("./index-11dedc5f.js"),o=require("./theme-0a806c7b.js"),r=require("./useTranslations-dddf11c6.js"),i=require("./index-601fbae2.js"),c=require("./index-9e92e114.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-065dc13e.js"),require("./utils-06294eba.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-743f22a4.js"),require("./Locale-618709e0.js"),require("./translationsContext-7d1f9b81.js"),require("string-format");var u=d(e),s="Lj0qoTD",m="OO-qFWT",v=function(e){var t=e.url,a=e.isMobile,l=e.dataEventCategory,n=e.dataEventAction,o=e.dataEventLabel,r=e.isAmp;return u.default.createElement("div",{className:m,"data-is-mobile":a},r?u.default.createElement("amp-img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o}):u.default.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o}))},f=function(e){var i,c,d,m,f,g,y,E,p,b,h,N,k,F,x,T,z,C,L,q,M,j,w,A,B,_,S,H,I,D,G=e.className,O=e.type,P=void 0===O?"main":O,J=e.footerInfo,K=e.isMobile,U=e.locale,V=e.isAmp,W=r.useTranslations().t,Q=null==J?void 0:J.menu,R=(null===(c=null===(i=null==J?void 0:J.general)||void 0===i?void 0:i.verified)||void 0===c?void 0:c.filter(Boolean))||[],X=V&&"mini"===P?"div":"footer";return u.default.createElement(X,{className:"".concat(s," ").concat(G||""),style:"mini"===P?{backgroundColor:o.theme.colors.neutral50}:{},"next-page-hide":!0},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"inner","data-type":P,"next-page-hide":""},"main"===P?u.default.createElement(u.default.Fragment,null,u.default.createElement("a",{href:"/"},V?(null===(m=null==J?void 0:J.general)||void 0===m?void 0:m.logo)?u.default.createElement("amp-img",{src:null===(f=null==J?void 0:J.general)||void 0===f?void 0:f.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:u.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(d=null==J?void 0:J.general)||void 0===d?void 0:d.logo,alt:"Logo","data-is-sehat":"id-ID"===U})),u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"newsletter"},u.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==J?void 0:J.general)||void 0===g?void 0:g.content),u.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(y=null==J?void 0:J.social)||void 0===y?void 0:y.title),u.default.createElement("div",{className:"icons"},null===(p=null===(E=null==J?void 0:J.social)||void 0===E?void 0:E.socials)||void 0===p?void 0:p.map((function(e,t){return u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},V?u.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):u.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),u.default.createElement("hr",{className:"hrMobile"}))),u.default.createElement("div",null,Q&&u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:"biglinks"},null===(h=null===(b=Q[0])||void 0===b?void 0:b.items)||void 0===h?void 0:h.map((function(e,t){return u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(n.domainLocales[U]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(N=Q[1])||void 0===N?void 0:N.menu_title),null===(F=null===(k=Q[1])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map((function(e,t){return u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(n.domainLocales[U]).concat(e.url),className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(n.domainLocales[U]).concat(e.url)},e.title))}))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=Q[2])||void 0===x?void 0:x.menu_title),null===(z=null===(T=Q[2])||void 0===T?void 0:T.items)||void 0===z?void 0:z.map((function(e,t){return e.url&&u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!V&&u.default.createElement(u.default.Fragment,null,u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"otherSites"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==J?void 0:J.branch)||void 0===C?void 0:C.title),u.default.createElement("div",{className:"flags"},null===(q=null===(L=null==J?void 0:J.branch)||void 0===L?void 0:L.branch)||void 0===q?void 0:q.map((function(e,t){return u.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},u.default.createElement(v,{url:e.flag,isMobile:K,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url,isAmp:V}))}))))))),u.default.createElement("hr",null),u.default.createElement("div",{className:"copyright","data-is-amp":V||void 0},u.default.createElement("div",{className:"copyright-image-wrapper"},R.length?R.map((function(e,t){return u.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},V?u.default.createElement("amp-img",{src:e.image,alt:"DMCA Icon",width:"100",height:"36"}):u.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"}))})):null),u.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==J?void 0:J.general)||void 0===M?void 0:M.copyright)),"vi-VN"===U&&u.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):u.default.createElement(u.default.Fragment,null,(null==J?void 0:J.menu)&&u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(j=null==J?void 0:J.menu[1])||void 0===j?void 0:j.menu_title),null===(A=null===(w=null==J?void 0:J.menu[1])||void 0===w?void 0:w.items)||void 0===A?void 0:A.map((function(e){return u.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(n.domainLocales[U]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(n.domainLocales[U]).concat(e.url)},u.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(n.domainLocales[U]).concat(e.url),size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))}))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==J?void 0:J.menu[2])||void 0===B?void 0:B.menu_title),null===(S=null===(_=null==J?void 0:J.menu[2])||void 0===_?void 0:_.items)||void 0===S?void 0:S.map((function(e,t){return u.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},u.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!V&&"mini"!==P&&u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"newsletter"},u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(H=null==J?void 0:J.social)||void 0===H?void 0:H.title),u.default.createElement("div",{className:"icons"},null===(D=null===(I=null==J?void 0:J.social)||void 0===I?void 0:I.socials)||void 0===D?void 0:D.map((function(e,t){return u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},V?u.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):u.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},g="B6-KmWK",y="GS-7mbG",E="qc5bEb3",p="CQGVeuT",b="_6JMoel-",h="_8eUT8Jr",N="cjDwoLi",k=function(e){var t,l=e.logoType,n=void 0===l?"marryBaby":l,r=e.footerMenu,d=e.background;if(!r)return null;var s=r.general,m=r.menu,v=r.socials;return u.default.createElement("footer",{className:g,style:{backgroundColor:d||"none"}},u.default.createElement("div",{className:N},u.default.createElement(a.Container,null,u.default.createElement("div",{className:y},null==m?void 0:m.map((function(e,t){var a=e.menu_title,l=e.items;return u.default.createElement("div",{className:E,key:"mbf".concat(t)},u.default.createElement(c.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},a),null==l?void 0:l.map((function(e,t){var a=e.title,l=e.url;return u.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(l),className:"link",href:l,key:"footer-links-".concat(t)},u.default.createElement("div",{className:p,key:"mbitem".concat(t)},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},a)))})))})))),u.default.createElement(a.Container,null,u.default.createElement("div",{className:b},u.default.createElement(i.Logo,{className:"logo",type:n}),u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==s?void 0:s.content)),u.default.createElement("div",{className:"social-link"},null==v?void 0:v.map((function(e,t){var a=e.icon,l=e.name,n=e.url;return u.default.createElement("a",{key:"social".concat(t),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(l),"data-content-label":l,href:n},u.default.createElement("img",{loading:"lazy",src:a,alt:l}))}))))),u.default.createElement("div",{className:h},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==s?void 0:s.copyright),u.default.createElement("div",{className:"verify"},null===(t=null==s?void 0:s.verified)||void 0===t?void 0:t.map((function(e,t){var a=e.image,l=e.url;return u.default.createElement("img",{loading:"lazy",key:"imgMbFt".concat(t),src:a,alt:l})}))))))))};exports.Footer=function(e){var t=e.type,a=e.isMobile,l=void 0===a||a,n=e.locale,o=e.footerInfo,r=e.isAmp,i=e.siteType,c=e.background;return"helloSites"===i?u.default.createElement(f,{isAmp:r,isMobile:l,type:t,locale:n,footerInfo:o||{}}):u.default.createElement(k,{footerMenu:o,background:c})};
|
package/build/gAssets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-11dedc5f.js"),o=require("./isProduction-743f22a4.js");require("./Locale-618709e0.js");var s="hellosehat.com",t=function(){function t(){var e=this;this.baseDomain="",this.subPath="",this.getAssetPath=function(s,t,n){var i="https://hhg-common."+[t||e.getBaseDomain(),n||e.subPath,s].join("/");return o.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}return t.prototype.getBaseDomain=function(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){var o=window.location.host,t=o.split("."),n=e.domainLocales[Object.keys(e.domainLocales).find((function(s){return o.includes(e.domainLocales[s])}))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((function(e){return o=e,!isNaN(parseFloat(o))&&isFinite(o);var o}))||!n?s:n}return s},t}(),n=new t;n.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(n.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=n,exports.GAssets=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-065dc13e.js"),e=require("./core-aa43e709.js"),n=require("./routing-5c4636d0.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()||[]]}}))}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./Locale-b309f5a3.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=function(e){return[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(e)},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(e),allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(e)},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(e)},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(e)},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:"http://line.me/R/msg/text/?".concat(e),allowedLocales:[t.LOCALE.Taiwan]}]};
|
|
1
|
+
"use strict";var e=require("react"),t=require("./Locale-618709e0.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=function(e){return[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(e)},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(e),allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(e)},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(e)},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(e)},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:"http://line.me/R/msg/text/?".concat(e),allowedLocales:[t.LOCALE.Taiwan]}]};
|
package/build/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-dddf11c6.js"),r=require("./useScrollbarSize-15141adc.js"),s=require("./useFbDataLayer-153e6393.js"),a=require("./useHealthToolCache-e15a8d29.js");require("react"),require("./translationsContext-7d1f9b81.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-065dc13e.js"),require("./cookieHelper-4f58c18a.js"),require("./getDynamicHealthTool-85d175aa.js"),require("./core-aa43e709.js"),require("./isProduction-743f22a4.js"),require("./routing-5c4636d0.js"),require("./index-11dedc5f.js"),require("./Locale-618709e0.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=r.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=r.useScrollbarSize,exports.useFbDataLayer=s.useFbDataLayer,exports.useHealthToolsCache=a.useHealthToolsCache;
|
package/build/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsProvider-e6e548d6.js"),r=require("./translationsContext-7d1f9b81.js");require("./tslib.es6-065dc13e.js"),require("react"),exports.TranslationsProvider=e.TranslationsProvider,exports.translationsMap=e.translationsMap,exports.TranslationsContext=r.TranslationsContext,exports.defaultTranslations=r.defaultTranslations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-1e749b6b.js"),n=require("react"),t=require("react-phone-number-input"),r=require("./Vietnam-866d2e1d.js"),a=require("./index-5b218eec.js"),o=require("@mantine/core"),i=require("./gAssets.js"),l=require("@mantine/dates"),c=require("styled-components");require("dayjs"),require("./screenSizeContext-1a45c4d1.js"),require("./lazyLoad-625d1408.js");var u=require("./theme-e91320dd.js");require("./utils-b261a10a.js"),require("./isProduction-97d47a49.js");var s=require("./Locale-b309f5a3.js"),d=require("@mantine/carousel"),f=require("./defaultClassWrapper-e4239a2d.js"),m=require("./index-f51d1e17.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),n.default=e,Object.freeze(n)}var h,b,v,C,x=p(n),y=p(t),k=g(t),_=p(c),w=m.createCommonjsModule((function(e){!function(){var n={}.hasOwnProperty;function t(){for(var e=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&e.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var l in a)n.call(a,l)&&a[l]&&e.push(l)}}}return e.join(" ")}e.exports?(t.default=t,e.exports=t):window.classNames=t}()})),A=Object.values(a.siteOptions).reduce((function(e,n){var t=n.phoneCountry;return e.includes(t)||e.push(t),e}),[]),E={PH:r.Phillipines,KH:r.Cambodia,ID:r.India,IN:r.Indonesia,MM:r.Myanmar,MY:r.Malaysia,TH:r.Thailand,TW:r.Taiwan,VN:r.Vietnam},S={phoneInput:"i-9Ibox",error:"YDWHh9b"},j=n.forwardRef((function(t,a){var o,i=t.isError,l=t.defaultCountry,c=t.countries,u=void 0===c?A:c,s=t.countryCallingCodeEditable,d=void 0!==s&&s,f=t.defaultValue,m=t.value,p=t.onChange,g=e.__rest(t,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange"]),h=n.useState(f||m),b=h[0],v=h[1];return n.useEffect((function(){v(m)}),[m]),x.default.createElement(y.default,e.__assign({ref:a,value:b,onChange:function(e){v(e),null==p||p(e)},countries:u,defaultCountry:l,countryCallingCodeEditable:d,className:w(S.phoneInput,(o={isError:i},o[S.error]=i,o)),flagUrl:void 0,flagComponent:function(n){var t=n.country,r=n.countryName;n.flagUrl;var a=e.__rest(n,["country","countryName","flagUrl"]),o=E[t],i=t?"(+".concat(k.getCountryCallingCode(t),")"):"";return o?x.default.createElement(x.default.Fragment,null,x.default.createElement(o,e.__assign({title:r},a)),x.default.createElement("span",{className:w(S.callingCode,"PhoneInputCountryIconCallingCode")},i)):x.default.createElement(x.default.Fragment,null)},countrySelectProps:{arrowComponent:function(){return x.default.createElement("div",{className:w(S.arrowSelect,"PhoneInputArrowContainer")},x.default.createElement(r.CaretDown,null))}}},g))})),O=_.default(l.DatePicker)(b||(b=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&c.css(h||(h=e.__makeTemplateObject(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),I=_.default(l.DateRangePicker)(C||(C=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&c.css(v||(v=e.__makeTemplateObject(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),L=function(n){return x.default.createElement(O,e.__assign({size:"md",clearable:!1,fullWidth:!0,rightSection:x.default.createElement(o.Image,{src:i.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};L.Range=function(n){return x.default.createElement(I,e.__assign({size:"md",clearable:!1,fullWidth:!0,rightSection:x.default.createElement(o.Image,{src:i.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var M,P,T,D=_.default(o.Textarea)(M||(M=e.__makeTemplateObject(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),u.theme.colors.gray200),q=_.default(o.Modal)(P||(P=e.__makeTemplateObject(["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"],["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"])),u.theme.colors.neutral100),R=_.default(o.Accordion)(T||(T=e.__makeTemplateObject(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(e){return e.closeChevron||i.CommonGAssets.getAssetPath("plus-icon.svg")}),(function(e){return e.openChevron||i.CommonGAssets.getAssetPath("minus-icon.svg")})),N=function(n){var t=n.children,r=e.__rest(n,["children"]);return x.default.createElement(R,e.__assign({chevron:x.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),t)};N.Control=o.Accordion.Control,N.Item=o.Accordion.Item,N.Panel=o.Accordion.Panel;var z=i.CommonGAssets.getAssetPath("avatar.jpg"),F=function(n){var t=n.slidesToShow,r=void 0===t?1:t,a=n.children,o=e.__rest(n,["slidesToShow","children"]);return x.default.createElement(d.Carousel,e.__assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},o),a)};F.Slide=d.Carousel.Slide;var G=function(n){return x.default.createElement(o.Checkbox,e.__assign({},n))};G.Group=o.Checkbox.Group;var B,W,V,H=_.default(o.Slider)(B||(B=e.__makeTemplateObject(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(e){return e.color||e.theme.colors.primaryBase})),U="hhgcomp-mantine-slider-slider",Y=f.getDefaultClassWrapper(H,U),K=_.default.div(W||(W=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),U),Q=_.default(o.Radio)(V||(V=e.__makeTemplateObject(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(e){return e.color||u.theme.colors.primaryBase})),J=function(n){return x.default.createElement(Q,e.__assign({size:"sm"},n))};J.Group=o.Radio.Group;var X,Z,$=_.default(o.Switch)(X||(X=e.__makeTemplateObject(["\n .mantine-Switch-track {\n }\n"],["\n .mantine-Switch-track {\n }\n"]))),ee=((Z={})[s.LOCALE.Vietnam]="vi",Z[s.LOCALE.Cambodia]="km",Z[s.LOCALE.India]="hi",Z[s.LOCALE.Indonesia]="id",Z[s.LOCALE.Malaysia]="ms",Z[s.LOCALE.Thailand]="th",Z[s.LOCALE.Taiwan]="zh-tw",Z[s.LOCALE.PhilippinesTagalog]="tl-ph",Z[s.LOCALE.PhilippinesEnglish]="en",Z[s.LOCALE.Myanmar]="my",Z),ne={"&:hover":{borderColor:"".concat(u.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(u.theme.colors.blue200)}};function te(e,n){void 0===n&&(n=6);var t=new Array(n).fill("");if(e){var r=e.toString().split("");t.map((function(e,n){r[n]&&(t[n]=r[n]||"")}))}return t}function re(e){return e.join("")}var ae="_2iQs0sk",oe="Ia6IojY",ie=n.forwardRef((function(n,t){var r=n.maxLength,a=void 0===r?1:r,o=n.placeholder,i=n.className,l=e.__rest(n,["maxLength","placeholder","className"]);return x.default.createElement("input",e.__assign({maxLength:a,className:w(oe,"otpInput",i),placeholder:o},l,{ref:t}))})),le=n.forwardRef((function(e,t){var r=e.valueLength,a=void 0===r?6:r,i=e.type,l=void 0===i?"text":i,c=e.value,u=e.defaultValue,s=e.onChange,d=e.onBlur,f=n.useRef(new Array(a).fill(null)),m=n.useState(u||c),p=m[0],g=m[1],h=n.useState(-1),b=h[0],v=h[1],C=n.useState((function(){return te(p,a)})),y=C[0],k=C[1],_=n.useCallback((function(){if(-1!==b){var e=f.current[b];if(e){e.value="";var n=y;n[b]="",k(n),g((function(){return re(n)})),null==s||s(re(n))}}}),[b,s,y]),A=n.useCallback((function(){if(0!==b){var e=f.current[b];e&&e.blur();var n=f.current[b-1];n&&n.focus()}}),[b]),E=n.useCallback((function(){if(b!==a-1){var e=f.current[b];e&&e.blur();var n=f.current[b+1];n&&n.focus()}}),[b,a]),S=n.useCallback((function(e){var n=e.target,t=n.value.toString().slice(0,1),r=f.current.findIndex((function(e){return e===n}));if(-1!==r){var a=y;a[r]=t,k(a),g((function(){return re(a)})),null==s||s(re(a))}E()}),[E,s,y]),j=n.useCallback((function(e){var n=e.target,t=f.current.findIndex((function(e){return e===n}));n.setSelectionRange(0,n.value.length,"backward"),-1!==t&&v(t)}),[]),O=n.useCallback((function(e){var n=te(e.clipboardData.getData("text/plain"),a),t=re(n);k(n),g(t),null==s||s(t)}),[s,l,a]),I=n.useCallback((function(e){8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),_(),A()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),_()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),A()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),E()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[_,E,A]);return n.useImperativeHandle(t,(function(){return f.current[0]}),[]),n.useEffect((function(){k((function(){return te(c,a)})),g(c)}),[a,c]),x.default.createElement(o.Flex,{justify:"center",columnGap:8,className:w(ae,"otpContainer")},y.map((function(e,n){return x.default.createElement(ie,{ref:function(e){f.current[n]=e},key:""+n,value:e,type:l,onChange:S,onFocus:j,onKeyDown:I,onPaste:O,onBlur:d})})))}));exports.Accordion=N,exports.Avatar=function(n){var t=n.withIndicator,r=void 0!==t&&t,a=n.indicatorConfig,i=void 0===a?null:a,l=n.size,c=void 0===l?56:l,u=n.children,s=e.__rest(n,["withIndicator","indicatorConfig","size","children"]),d=function(){return x.default.createElement(o.Avatar,e.__assign({size:c,radius:"xl"},s),u||x.default.createElement("img",{src:z,width:c}))};return r?x.default.createElement(o.Indicator,e.__assign({inline:!0,position:"bottom-end",offset:9},i,{styles:{indicator:{backgroundColor:x.default.isValidElement(i.label)&&"transparent",zIndex:1}}}),d()):d()},exports.Carousel=F,exports.Checkbox=G,exports.DatePicker=L,exports.MAPPED_LOCALE=ee,exports.Modal=function(n){var t=n.title,r=e.__rest(n,["title"]);return x.default.createElement(x.default.Fragment,null,x.default.createElement(q,e.__assign({centered:!0},r,{withCloseButton:!1,title:r.withCloseButton&&x.default.createElement(x.default.Fragment,null,t,x.default.createElement("img",{className:"mantine-Modal-close",src:i.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:function(){var e;return null===(e=r.onClose)||void 0===e?void 0:e.call(r)}}))})))},exports.OTP=le,exports.Phone=j,exports.Radio=J,exports.StyledSlider=Y,exports.StyledSliderWrapper=K,exports.StyledTextArea=D,exports.Switch=$,exports.getMantineThemeOverride=function(n){return{datesLocale:ee[n],dateFormat:m.ISO_FORMAT[n].dateFormat,fontFamily:n===s.LOCALE.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.5rem"}}},NumberInput:{defaultProps:{decimalSeparator:m.ISO_FORMAT[n].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(u.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(u.theme.colors.blue200)}},rightSection:{pointerEvents:"none",cursor:"default"},invalid:{color:"#000"}}},Checkbox:{styles:{input:ne}},Radio:{styles:{radio:e.__assign(e.__assign({backgroundColor:"#ffffff"},ne),{"&:checked":{backgroundColor:"#ffffff"}})}}}}},exports.useMantineLocale=function(e){n.useEffect((function(){ee[e]&&require("dayjs/locale/".concat(ee[e],".js"))}),[e])};
|
|
1
|
+
"use strict";var e=require("./tslib.es6-065dc13e.js"),n=require("react"),t=require("react-phone-number-input"),r=require("./Vietnam-34468594.js"),a=require("./index-11dedc5f.js"),o=require("@mantine/core"),i=require("./gAssets.js"),l=require("@mantine/dates"),c=require("styled-components");require("dayjs"),require("./screenSizeContext-5e13d321.js"),require("./lazyLoad-e4ea2eb0.js");var u=require("./theme-0a806c7b.js");require("./utils-06294eba.js"),require("./isProduction-743f22a4.js");var s=require("./Locale-618709e0.js"),d=require("@mantine/carousel"),f=require("./defaultClassWrapper-9301cc5c.js"),m=require("./index-2fd9e463.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),n.default=e,Object.freeze(n)}var h,b,v,C,x=p(n),y=p(t),k=g(t),_=p(c),w=m.createCommonjsModule((function(e){!function(){var n={}.hasOwnProperty;function t(){for(var e=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&e.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var l in a)n.call(a,l)&&a[l]&&e.push(l)}}}return e.join(" ")}e.exports?(t.default=t,e.exports=t):window.classNames=t}()})),A=Object.values(a.siteOptions).reduce((function(e,n){var t=n.phoneCountry;return e.includes(t)||e.push(t),e}),[]),E={PH:r.Phillipines,KH:r.Cambodia,ID:r.India,IN:r.Indonesia,MM:r.Myanmar,MY:r.Malaysia,TH:r.Thailand,TW:r.Taiwan,VN:r.Vietnam},S={phoneInput:"i-9Ibox",error:"YDWHh9b"},j=n.forwardRef((function(t,a){var o,i=t.isError,l=t.defaultCountry,c=t.countries,u=void 0===c?A:c,s=t.countryCallingCodeEditable,d=void 0!==s&&s,f=t.defaultValue,m=t.value,p=t.onChange,g=e.__rest(t,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange"]),h=n.useState(f||m),b=h[0],v=h[1];return n.useEffect((function(){v(m)}),[m]),x.default.createElement(y.default,e.__assign({ref:a,value:b,onChange:function(e){v(e),null==p||p(e)},countries:u,defaultCountry:l,countryCallingCodeEditable:d,className:w(S.phoneInput,(o={isError:i},o[S.error]=i,o)),flagUrl:void 0,flagComponent:function(n){var t=n.country,r=n.countryName;n.flagUrl;var a=e.__rest(n,["country","countryName","flagUrl"]),o=E[t],i=t?"(+".concat(k.getCountryCallingCode(t),")"):"";return o?x.default.createElement(x.default.Fragment,null,x.default.createElement(o,e.__assign({title:r},a)),x.default.createElement("span",{className:w(S.callingCode,"PhoneInputCountryIconCallingCode")},i)):x.default.createElement(x.default.Fragment,null)},countrySelectProps:{arrowComponent:function(){return x.default.createElement("div",{className:w(S.arrowSelect,"PhoneInputArrowContainer")},x.default.createElement(r.CaretDown,null))}}},g))})),O=_.default(l.DatePicker)(b||(b=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&c.css(h||(h=e.__makeTemplateObject(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),I=_.default(l.DateRangePicker)(C||(C=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(n){return n.fullWidth&&c.css(v||(v=e.__makeTemplateObject(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),L=function(n){return x.default.createElement(O,e.__assign({size:"md",clearable:!1,fullWidth:!0,rightSection:x.default.createElement(o.Image,{src:i.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};L.Range=function(n){return x.default.createElement(I,e.__assign({size:"md",clearable:!1,fullWidth:!0,rightSection:x.default.createElement(o.Image,{src:i.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var M,P,T,D=_.default(o.Textarea)(M||(M=e.__makeTemplateObject(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),u.theme.colors.gray200),q=_.default(o.Modal)(P||(P=e.__makeTemplateObject(["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"],["\n .mantine-Modal-inner {\n border-radius: 6px;\n }\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n .mantine-Modal-body {\n padding: 40px;\n }\n"])),u.theme.colors.neutral100),R=_.default(o.Accordion)(T||(T=e.__makeTemplateObject(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(e){return e.closeChevron||i.CommonGAssets.getAssetPath("plus-icon.svg")}),(function(e){return e.openChevron||i.CommonGAssets.getAssetPath("minus-icon.svg")})),N=function(n){var t=n.children,r=e.__rest(n,["children"]);return x.default.createElement(R,e.__assign({chevron:x.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),t)};N.Control=o.Accordion.Control,N.Item=o.Accordion.Item,N.Panel=o.Accordion.Panel;var z=i.CommonGAssets.getAssetPath("avatar.jpg"),F=function(n){var t=n.slidesToShow,r=void 0===t?1:t,a=n.children,o=e.__rest(n,["slidesToShow","children"]);return x.default.createElement(d.Carousel,e.__assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},o),a)};F.Slide=d.Carousel.Slide;var G=function(n){return x.default.createElement(o.Checkbox,e.__assign({},n))};G.Group=o.Checkbox.Group;var B,W,V,H=_.default(o.Slider)(B||(B=e.__makeTemplateObject(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(e){return e.color||e.theme.colors.primaryBase})),U="hhgcomp-mantine-slider-slider",Y=f.getDefaultClassWrapper(H,U),K=_.default.div(W||(W=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),U),Q=_.default(o.Radio)(V||(V=e.__makeTemplateObject(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(e){return e.color||u.theme.colors.primaryBase})),J=function(n){return x.default.createElement(Q,e.__assign({size:"sm"},n))};J.Group=o.Radio.Group;var X,Z,$=_.default(o.Switch)(X||(X=e.__makeTemplateObject(["\n .mantine-Switch-track {\n }\n"],["\n .mantine-Switch-track {\n }\n"]))),ee=((Z={})[s.LOCALE.Vietnam]="vi",Z[s.LOCALE.Cambodia]="km",Z[s.LOCALE.India]="hi",Z[s.LOCALE.Indonesia]="id",Z[s.LOCALE.Malaysia]="ms",Z[s.LOCALE.Thailand]="th",Z[s.LOCALE.Taiwan]="zh-tw",Z[s.LOCALE.PhilippinesTagalog]="tl-ph",Z[s.LOCALE.PhilippinesEnglish]="en",Z[s.LOCALE.Myanmar]="my",Z),ne={"&:hover":{borderColor:"".concat(u.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(u.theme.colors.blue200)}};function te(e,n){void 0===n&&(n=6);var t=new Array(n).fill("");if(e){var r=e.toString().split("");t.map((function(e,n){r[n]&&(t[n]=r[n]||"")}))}return t}function re(e){return e.join("")}var ae="_2iQs0sk",oe="Ia6IojY",ie=n.forwardRef((function(n,t){var r=n.maxLength,a=void 0===r?1:r,o=n.placeholder,i=n.className,l=e.__rest(n,["maxLength","placeholder","className"]);return x.default.createElement("input",e.__assign({maxLength:a,className:w(oe,"otpInput",i),placeholder:o},l,{ref:t}))})),le=n.forwardRef((function(e,t){var r=e.valueLength,a=void 0===r?6:r,i=e.type,l=void 0===i?"text":i,c=e.value,u=e.defaultValue,s=e.onChange,d=e.onBlur,f=n.useRef(new Array(a).fill(null)),m=n.useState(u||c),p=m[0],g=m[1],h=n.useState(-1),b=h[0],v=h[1],C=n.useState((function(){return te(p,a)})),y=C[0],k=C[1],_=n.useCallback((function(){if(-1!==b){var e=f.current[b];if(e){e.value="";var n=y;n[b]="",k(n),g((function(){return re(n)})),null==s||s(re(n))}}}),[b,s,y]),A=n.useCallback((function(){if(0!==b){var e=f.current[b];e&&e.blur();var n=f.current[b-1];n&&n.focus()}}),[b]),E=n.useCallback((function(){if(b!==a-1){var e=f.current[b];e&&e.blur();var n=f.current[b+1];n&&n.focus()}}),[b,a]),S=n.useCallback((function(e){var n=e.target,t=n.value.toString().slice(0,1),r=f.current.findIndex((function(e){return e===n}));if(-1!==r){var a=y;a[r]=t,k(a),g((function(){return re(a)})),null==s||s(re(a))}E()}),[E,s,y]),j=n.useCallback((function(e){var n=e.target,t=f.current.findIndex((function(e){return e===n}));n.setSelectionRange(0,n.value.length,"backward"),-1!==t&&v(t)}),[]),O=n.useCallback((function(e){var n=te(e.clipboardData.getData("text/plain"),a),t=re(n);k(n),g(t),null==s||s(t)}),[s,l,a]),I=n.useCallback((function(e){8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),_(),A()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),_()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),A()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),E()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[_,E,A]);return n.useImperativeHandle(t,(function(){return f.current[0]}),[]),n.useEffect((function(){k((function(){return te(c,a)})),g(c)}),[a,c]),x.default.createElement(o.Flex,{justify:"center",columnGap:8,className:w(ae,"otpContainer")},y.map((function(e,n){return x.default.createElement(ie,{ref:function(e){f.current[n]=e},key:""+n,value:e,type:l,onChange:S,onFocus:j,onKeyDown:I,onPaste:O,onBlur:d})})))}));exports.Accordion=N,exports.Avatar=function(n){var t=n.withIndicator,r=void 0!==t&&t,a=n.indicatorConfig,i=void 0===a?null:a,l=n.size,c=void 0===l?56:l,u=n.children,s=e.__rest(n,["withIndicator","indicatorConfig","size","children"]),d=function(){return x.default.createElement(o.Avatar,e.__assign({size:c,radius:"xl"},s),u||x.default.createElement("img",{src:z,width:c}))};return r?x.default.createElement(o.Indicator,e.__assign({inline:!0,position:"bottom-end",offset:9},i,{styles:{indicator:{backgroundColor:x.default.isValidElement(i.label)&&"transparent",zIndex:1}}}),d()):d()},exports.Carousel=F,exports.Checkbox=G,exports.DatePicker=L,exports.MAPPED_LOCALE=ee,exports.Modal=function(n){var t=n.title,r=e.__rest(n,["title"]);return x.default.createElement(x.default.Fragment,null,x.default.createElement(q,e.__assign({centered:!0},r,{withCloseButton:!1,title:r.withCloseButton&&x.default.createElement(x.default.Fragment,null,t,x.default.createElement("img",{className:"mantine-Modal-close",src:i.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:function(){var e;return null===(e=r.onClose)||void 0===e?void 0:e.call(r)}}))})))},exports.OTP=le,exports.Phone=j,exports.Radio=J,exports.StyledSlider=Y,exports.StyledSliderWrapper=K,exports.StyledTextArea=D,exports.Switch=$,exports.getMantineThemeOverride=function(n){return{datesLocale:ee[n],dateFormat:m.ISO_FORMAT[n].dateFormat,fontFamily:n===s.LOCALE.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.5rem"}}},NumberInput:{defaultProps:{decimalSeparator:m.ISO_FORMAT[n].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(u.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(u.theme.colors.blue200)}},rightSection:{pointerEvents:"none",cursor:"default"},invalid:{color:"#000"}}},Checkbox:{styles:{input:ne}},Radio:{styles:{radio:e.__assign(e.__assign({backgroundColor:"#ffffff"},ne),{"&:checked":{backgroundColor:"#ffffff"}})}}}}},exports.useMantineLocale=function(e){n.useEffect((function(){ee[e]&&require("dayjs/locale/".concat(ee[e],".js"))}),[e])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,o=require("./Locale-b309f5a3.js"),l=require("./isProduction-97d47a49.js"),i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",site_id:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",site_id:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",site_id:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",site_id:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",site_id:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",site_id:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",site_id:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",site_id:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",site_id:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",site_id:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",site_id:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",site_id:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},c="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],h=["vi-VN","id-ID"],I={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};exports.QUERY_HEALTH_TOOL=void 0,(e=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",e.gender="gndr",e.age="ge",e.slug="slug",e.resultId="resultId",e.bmr="mr",e.height="gt",e.weight="wght",e.source="surc",e.type="tp",e.startDate="sd",e.additional="tnl",e.week="wk",e.twins="twn",e.weightBefore="wb",e.yourself="yrslf",e.intensity="sy",e.rate="rt",e.method="mthd",e.day="dy",e.pwg="pwg",e.cycle="le",e.period="prd",e.access_token="tkn",e.name="nm",e.id="id";var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:c,TOGETHER_LOCALES:O,CARE_LOCALES:T,CARE_BOOKING_LOCALES:h,FAVICONS:I,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=T,exports.FAVICONS=I,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=p,exports.siteHost=i,exports.siteOptions=n;
|
|
1
|
+
"use strict";var e,o=require("./Locale-618709e0.js"),l=require("./isProduction-743f22a4.js"),i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",site_id:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",site_id:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",site_id:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",site_id:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",site_id:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",site_id:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",site_id:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",site_id:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",site_id:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",site_id:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",site_id:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",site_id:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},c="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],h=["vi-VN","id-ID"],I={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};exports.QUERY_HEALTH_TOOL=void 0,(e=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",e.gender="gndr",e.age="ge",e.slug="slug",e.resultId="resultId",e.bmr="mr",e.height="gt",e.weight="wght",e.source="surc",e.type="tp",e.startDate="sd",e.additional="tnl",e.week="wk",e.twins="twn",e.weightBefore="wb",e.yourself="yrslf",e.intensity="sy",e.rate="rt",e.method="mthd",e.day="dy",e.pwg="pwg",e.cycle="le",e.period="prd",e.access_token="tkn",e.name="nm",e.id="id";var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:c,TOGETHER_LOCALES:O,CARE_LOCALES:T,CARE_BOOKING_LOCALES:h,FAVICONS:I,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=T,exports.FAVICONS=I,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=p,exports.siteHost=i,exports.siteOptions=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-065dc13e.js"),n=require("react"),t=require("@mantine/carousel"),r=require("@mantine/hooks"),l=require("styled-components");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u,o=i(n),c=i(l).default(t.Carousel.Slide)(u||(u=e.__makeTemplateObject([""],[""]))),a=n.createContext({}),d=function(e,n){return e>=n?e-n:e},s=function(l){var i=l.children,u=l.blurFromCenter,c=l.blurFromIndex,s=l.blurLength,f=void 0===s?3:s,v=l.maxBlurOpacity,p=void 0===v?.5:v,h=l.onSlideChange,x=l.selectSlideWhenClick,m=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),S=r.useResizeObserver(),g=S[0],b=S[1],C=n.useRef(null),y=n.useState(0),k=y[0],_=y[1],E=function(){var e,n,t,r=null===(e=null==C?void 0:C.current)||void 0===e?void 0:e.selectedScrollSnap();_(r);var l=(null===(n=null==C?void 0:C.current)||void 0===n?void 0:n.slideNodes())||[],i=l.length,o=(null===(t=null==C?void 0:C.current)||void 0===t?void 0:t.slidesInView()).length,a=Math.floor(o/2),s=u?c+f-1:a,v=r+s,h=v===i?0:v>i?v-i:v,x=r-s,m=x<0?i+x:x>0?r-s:0,S=Array(2*s+1).fill("").map((function(e,n){return d(m+n,i)}));l.map((function(e,n){if(n===r?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var t=p/f,l=0;l<f;l++){if(n===d(m+l,i)||n===(o=i,(u=h-l)<0?o+u:u)){e.style.opacity=String((l+1)*t);break}e.style.opacity="1"}else e.style.opacity="0";var u,o}))},q={getEmblaApi:function(e){C.current=e},onSlideChange:function(e){E(),null==h||h(e)}};return n.useEffect((function(){(null==C?void 0:C.current)&&E()}),[b]),o.default.createElement(a.Provider,{value:{slider:null==C?void 0:C.current,centerSlide:k,selectSlideWhenClick:x}},o.default.createElement(t.Carousel,e.__assign({ref:g,slideSize:"auto",containScroll:"trimSnaps"},q,m,{loop:!0}),"function"==typeof i?i(k):i))};s.Slide=function(t){var r=t.children,l=t.onClick,i=e.__rest(t,["children","onClick"]),u=n.useContext(a),d=u.slider,s=u.selectSlideWhenClick,f=n.useRef(),v=n.useRef(""),p=n.useState(0),h=p[0],x=p[1];n.useEffect((function(){v.current=String(Math.round(1e4*Math.random()))}),[]),n.useEffect((function(){var e=(null==d?void 0:d.slideNodes())||[];x(e.findIndex((function(e){return e.dataset.key===v.current})))}),[d]);var m={ref:f,"data-key":v.current,"data-index":h,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return o.default.createElement(c,e.__assign({},m,i),o.default.createElement("div",{onClick:function(){s&&(null==d||d.scrollTo(h)),null==l||l(h)}},r))},exports.CentralCarousel=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-065dc13e.js"),t=require("react"),a=require("@mantine/core"),n=require("@mantine/hooks"),r=require("./Locale-618709e0.js"),o=require("./gAssets.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,u=s(t),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var d=a.createEmotionCache({key:"mantine",prepend:!1}),c=((i={})[r.LOCALE.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},i[r.LOCALE.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},i[r.LOCALE.India]={dateFormat:"DD/MM/YYYY",separator:"."},i[r.LOCALE.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},i[r.LOCALE.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},i[r.LOCALE.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},i[r.LOCALE.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},i[r.LOCALE.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},i[r.LOCALE.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},i[r.LOCALE.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},i),m=o.CommonGAssets.getAssetPath("EyeVisible.svg"),f=o.CommonGAssets.getAssetPath("EyeHidden.svg"),p=t.forwardRef((function(t,n){var r=t.size,o=void 0===r?"md":r,s=t.visibilityToggleIcon,i=t.styles,l=e.__rest(t,["size","visibilityToggleIcon","styles"]),d=s||function(e){var t=e.reveal,a=e.size;return t?u.default.createElement("img",{src:m,width:a}):u.default.createElement("img",{src:f,width:a})};return u.default.createElement(a.PasswordInput,e.__assign({ref:n,size:o,visibilityToggleIcon:d,styles:e.__assign({rightSection:{pointerEvents:"initial"}},i)},l,{className:"input-control ".concat((null==l?void 0:l.className)||"")}))})),Y=function(r){var o=r.value,s=r.onChange,i=e.__rest(r,["value","onChange"]),l=t.useState(o||""),d=l[0],c=l[1],m=n.useDebouncedValue(d,300)[0];return t.useEffect((function(){null==s||s(m)}),[m]),t.useEffect((function(){c(o)}),[o]),u.default.createElement(a.TextInput,e.__assign({size:"md",onChange:function(e){return c(e.currentTarget.value)},value:d},i,{className:"input-control ".concat((null==i?void 0:i.className)||"")}))};Y.File=function(t){return u.default.createElement(a.FileInput,e.__assign({size:"md"},t))},Y.Password=p,Y.Number=function(r){var o=r.value,s=r.onChange,i=e.__rest(r,["value","onChange"]),l=t.useState(o||0),d=l[0],c=l[1],m=n.useDebouncedValue(d,300)[0];return t.useEffect((function(){null==s||s(m)}),[m]),t.useEffect((function(){c(o)}),[o]),u.default.createElement(a.NumberInput,e.__assign({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:c,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?"":e||""},removeTrailingZeros:!0,value:d},i))},exports.DEBOUNCED_TIME=300,exports.ISO_FORMAT=c,exports.Input=Y,exports.PasswordInput=p,exports.commonjsGlobal=l,exports.createCommonjsModule=function(e){var t={exports:{}};return e(t,t.exports),t.exports},exports.emotionCache=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("./Locale-
|
|
1
|
+
"use strict";var r=require("./Locale-618709e0.js"),e=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE}});exports.index=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var a=require("./tslib.es6-
|
|
1
|
+
"use strict";var a=require("./tslib.es6-065dc13e.js");function t(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var e=t(require("react")),d="P03rcnV",r="LsvykAk",c="S2kaD9B",o="fAwTdkg",n="ITgol3T",i="cD-HMFz",s="oAG2-aJ",l="Y9fGCaj";exports.Button=function(t){var u=t.size,C=t.color,v=void 0===C?"primary":C,p=t.theme,m=void 0===p?"helloSites":p,h=t.isDisabled,g=t.isBlock,k=t.title,f=t.className,P=t.onClick,E=t.icon,y=t.children,b=t.isLoading,N=void 0!==b&&b,w=t.loadingText,L=t.dataEventCategory,A=t.dataEventAction,B=t.dataEventLabel,x=t.dataProductChannel,T=t.dataProductSku,z=t.dataProductBrand,D=t.dataProductName,S=t.dataProductPrice,_=t.dataProductCategory,j=t.dataProductPosition,F=t.isAmp,M=t.on,V=t.dataVarsTracking,q=t.type,G=a.__rest(t,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","isAmp","on","dataVarsTracking","type"]),W=F?{"data-vars-event-category":L,"data-vars-event-action":A,"data-vars-event-label":B,"data-vars-product-channel":x,"data-vars-product-sku":T,"data-vars-product-brand":z,"data-vars-product-name":D,"data-vars-product-price":S,"data-vars-product-category":_,"data-vars-product-position":j,"data-vars-tracking":V,on:M}:{"data-event-category":L,"data-event-action":A,"data-event-label":B,"data-product-channel":x,"data-product-sku":T,"data-product-brand":z,"data-product-name":D,"data-product-price":S,"data-product-category":_,"data-product-position":j},Z=e.default.createElement("span",{className:r},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:l,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:s,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"})));return e.default.createElement("button",a.__assign({},W,{className:"".concat(n," ").concat(f||""),"data-size":u,"data-color":v,"data-block":g,"data-has-icon":!!E||void 0,"data-theme":m,disabled:h,onClick:function(a){!N&&!h&&P&&P(a)},title:k,"data-is-loading":N,type:q},G),e.default.createElement("span",{className:o},(E||N)&&e.default.createElement("span",{className:i},N?Z:E," "),y&&e.default.createElement("span",{className:c},N&&w||y)))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-9381fe38.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(e);exports.Logo=function(s){var o=s.type,n=s.className,r=s.style,i=s.isLightLogo,m=s.customSize,g=s.badge,u=s.locale,c=s.dateForSeasonal,d=s.isPro,f=e.useMemo((function(){if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return l.default.createElement(t.StyledLogo,{className:n,style:r,"data-logo-is-light":i||void 0,"data-has-badge":!!g,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,l.default.createElement(t.LogoIcon,{type:o,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?l.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,g)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-065dc13e.js"),n=require("react"),r=require("./Locale-618709e0.js"),t=require("./gAssets.js"),i=require("./theme-0a806c7b.js"),l=require("./index-831670da.js"),o=require("styled-components"),a=require("./index-2d373c5f.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s,d,u,p,m,x=c(n),g=c(o),b=g.default.div(s||(s=e.__makeTemplateObject(["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"],["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.backgroundColor||i.theme.colors.white}),(function(e){return e.borderRadius||"50%"}),(function(e){return e.iconSize}),(function(e){return e.iconSize})),f=g.default.div(d||(d=e.__makeTemplateObject(["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.pink100})),h=[r.LOCALE.Myanmar,r.LOCALE.Taiwan],k=g.default((function(r){var o=r.icon,a=r.name,c=r.className,s=r.locale,d=void 0===s?"en-PH":s,u=r.onSelect,p=e.__rest(r,["icon","name","className","locale","onSelect"]),m=n.useMemo((function(){return null==c?void 0:c.includes("selected-week-pill")}),[c]);return x.default.createElement(f,e.__assign({onClick:u,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child"},p),x.default.createElement(b,{size:64,iconSize:40,backgroundColor:i.theme.colors.white},x.default.createElement("img",{src:o||t.CommonGAssets.getAssetPath("week_default.png"),alt:""})),m?x.default.createElement(l.Text,e.__assign({type:"semiBold",size:"n1",color:i.theme.colors.gray800},h.includes(d)&&{style:{fontSize:"10px"}}),a):x.default.createElement(l.Text,e.__assign({size:"n1",color:i.theme.colors.gray600},h.includes(d)&&{style:{fontSize:"10px"}}),a))}))(u||(u=e.__makeTemplateObject(["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"],["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"]))),_=g.default(a.CentralCarousel.Slide)(p||(p=e.__makeTemplateObject([""],[""]))),w=g.default(a.CentralCarousel)(m||(m=e.__makeTemplateObject(["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"],["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"])));exports.PillCarousel=function(n){var t=n.data,i=n.isMobile,l=n.onSlideChange,o=n.pillProps,a=n.locale,c=void 0===a?r.LOCALE.Vietnam:a,s=n.blurFromIndex,d=n.blurLength,u=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),p={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:s||(i?2:4),blurLength:d||(i?1:3),onSlideChange:l};return x.default.createElement(w,e.__assign({},p,u),(function(n){return t.map((function(r,t){return x.default.createElement(_,e.__assign({key:t,onClick:l},o),x.default.createElement("div",{className:"centerred-pill-wrapper"},x.default.createElement(k,{locale:c,name:r.name,icon:r.icon,className:t===n?"selected-week-pill":""})))}))}))};
|