@hhgtech/hhg-components 1.27.51 → 1.27.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +8 -8
- package/build/cache.js +1 -1
- package/build/care/api/paths.d.ts +3 -0
- package/build/care.js +1 -1
- package/build/components/atoms/bookingBtn/index.d.ts +11 -0
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/ui/cardAuthor/element/index.d.ts +1 -1
- package/build/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-a080c3f5.js → core-43a074ed.js} +1 -1
- package/build/{dataTransform-e9217ba1.js → dataTransform-15adba5b.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +7 -7
- package/build/esm/cache.js +1 -1
- package/build/esm/care/api/paths.d.ts +3 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/bookingBtn/index.d.ts +11 -0
- package/build/esm/components/atoms/index.d.ts +2 -0
- package/build/esm/components/ui/cardAuthor/element/index.d.ts +1 -1
- package/build/esm/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-1e2cf190.js → core-d815f08a.js} +1 -1
- package/build/esm/{dataTransform-1ab28a84.js → dataTransform-32d92304.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-c790da45.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-05592076.js +1 -0
- package/build/esm/{getSocialList-2cc006ed.js → getSocialList-316f63d9.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-2efb49e7.js → index-05baeb78.js} +33 -33
- package/build/esm/index-299bf66d.js +1 -0
- package/build/esm/{index-fb3e361d.js → index-301c2369.js} +1 -1
- package/build/esm/{index-6eb3deeb.js → index-461b0cae.js} +1 -1
- package/build/esm/index-5df3a6dc.js +177 -0
- package/build/esm/index-613bf6dd.js +1 -0
- package/build/esm/index-7e706ea2.js +1 -0
- package/build/esm/{index-5b673a65.js → index-8e4a4391.js} +3 -3
- package/build/esm/index-9153e272.js +1 -0
- package/build/esm/index-9407cc2b.js +1 -0
- package/build/esm/{index-3ca0026e.js → index-9efc85fc.js} +1 -1
- package/build/esm/index-a5e056f0.js +1 -0
- package/build/esm/index-c1dfe9e5.js +75 -0
- package/build/esm/index-c1fceba7.js +1 -0
- package/build/esm/index-c3ae4cb2.js +1 -0
- package/build/esm/{index-f2896d8a.js → index-c476d01d.js} +1 -1
- package/build/esm/index-c73bd94c.js +1 -0
- package/build/esm/index-cbc910b7.js +1 -0
- package/build/esm/index-d144811e.js +1 -0
- package/build/esm/index-d42fb136.js +1 -0
- package/build/esm/{index-75dafc2b.js → index-ef612812.js} +1 -1
- package/build/esm/{index-fb3a5e3b.js → index-f94bd6ec.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-162aa4ec.js → index.styled-14b8d9f3.js} +3 -3
- package/build/esm/{index.styled-2ba38432.js → index.styled-28e1a576.js} +90 -96
- package/build/esm/index.styled-9f8e530d.js +50 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +7 -7
- package/build/esm/paths-4967ea36.js +1 -0
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-ea95fb08.js → routing-6ad68cdf.js} +1 -1
- package/build/esm/{screenSizeContext-c2ed7030.js → screenSizeContext-814791d7.js} +1 -1
- package/build/esm/together/components/molecules/cardAuthor/index.d.ts +5 -6
- package/build/esm/together.js +1 -1
- package/build/esm/{types-5b50bda3.js → types-3dd5ccb2.js} +129 -129
- package/build/esm/{types-271f7977.js → types-f2356d16.js} +47 -47
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-d1e9ec95.js +1 -0
- package/build/esm/{useRafState-11b352ea.js → useRafState-d9b5a7b5.js} +1 -1
- package/build/esm/useTranslations-d55b34ca.js +1 -0
- package/build/esm/{utils-5f84bd41.js → utils-202633d1.js} +1 -1
- package/build/esm/utils-9303f951.js +1433 -0
- package/build/esm/vaccination.js +49 -49
- package/build/fixedBottomAdBlock-a3eb8fdb.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-28eda129.js → getDynamicHealthTool-885e516b.js} +1 -1
- package/build/{getSocialList-beb42358.js → getSocialList-ddafd859.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-7819a608.js → index-030c517e.js} +1 -1
- package/build/{index-432e4ea7.js → index-0e23b5c8.js} +1 -1
- package/build/{index-b49b8edc.js → index-0f7473a3.js} +1 -1
- package/build/{index-c1486690.js → index-1edee1e5.js} +181 -181
- package/build/index-2ecdb356.js +1 -0
- package/build/{index-88834c76.js → index-3186b4c2.js} +1 -1
- package/build/index-35024e12.js +53 -0
- package/build/{index-21e446b4.js → index-38dd49fe.js} +1 -1
- package/build/{index-db923ea5.js → index-432890af.js} +1 -1
- package/build/index-43a0c8cb.js +1 -0
- package/build/{index-81cd72ab.js → index-4d09020c.js} +1 -1
- package/build/{index-f304fcb4.js → index-513477b0.js} +1 -1
- package/build/{index-88f85e81.js → index-5b3e0182.js} +1 -1
- package/build/index-7106b9da.js +75 -0
- package/build/{index-685f0b8b.js → index-772e6d28.js} +1 -1
- package/build/index-87cd21dc.js +1 -0
- package/build/{index-cc62c5ed.js → index-9133d78b.js} +1 -1
- package/build/{index-db075795.js → index-bfaf26cf.js} +1 -1
- package/build/index-ddf9a6a7.js +1 -0
- package/build/index-e2f3db73.js +1 -0
- package/build/{index-ec63fd34.js → index-eaa40717.js} +1 -1
- package/build/index-f5809050.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-0cdae0c8.js +50 -0
- package/build/{index.styled-78285edc.js → index.styled-a1114294.js} +3 -3
- package/build/index.styled-fce8e2f7.js +1866 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +30 -30
- package/build/paths-bb2c80ec.js +1 -0
- package/build/pwg.js +3 -3
- package/build/{routing-f69ebc84.js → routing-7ba54726.js} +1 -1
- package/build/{screenSizeContext-77407c1c.js → screenSizeContext-01da8252.js} +1 -1
- package/build/together/components/molecules/cardAuthor/index.d.ts +5 -6
- package/build/together.js +1 -1
- package/build/{types-3a4fdd2e.js → types-be7180f3.js} +119 -119
- package/build/{types-db5d67ca.js → types-e8b2fa8d.js} +38 -38
- package/build/types.js +1 -1
- package/build/useHealthToolCache-030fcde3.js +1 -0
- package/build/{useRafState-10876db1.js → useRafState-e17ab4ed.js} +1 -1
- package/build/{useTranslations-a7dd2521.js → useTranslations-1f9f0574.js} +1 -1
- package/build/{utils-816885bf.js → utils-a6015bf8.js} +1 -1
- package/build/utils-c3a382bb.js +1433 -0
- package/build/vaccination.js +12 -12
- package/package.json +1 -1
- package/build/esm/fixedBottomAdBlock-88ba4859.js +0 -1
- package/build/esm/getDynamicHealthTool-7a0bbb92.js +0 -1
- package/build/esm/index-1e098216.js +0 -1
- package/build/esm/index-3010eec4.js +0 -1
- package/build/esm/index-443a59e3.js +0 -1
- package/build/esm/index-4ae6e14c.js +0 -75
- package/build/esm/index-63eaa91f.js +0 -1
- package/build/esm/index-68a1a3d3.js +0 -1
- package/build/esm/index-6fa718b6.js +0 -1
- package/build/esm/index-6fd40676.js +0 -1
- package/build/esm/index-75f1170e.js +0 -1
- package/build/esm/index-7d03b433.js +0 -1315
- package/build/esm/index-947c28da.js +0 -1
- package/build/esm/index-a2b9c431.js +0 -1
- package/build/esm/index-a608c251.js +0 -1
- package/build/esm/index-afd54e9d.js +0 -177
- package/build/esm/index-bcc744a0.js +0 -1
- package/build/esm/index-c6c16576.js +0 -1
- package/build/esm/index-e0aea4a9.js +0 -112
- package/build/esm/index.styled-0dc664e5.js +0 -50
- package/build/esm/useHealthToolCache-c42a8f09.js +0 -1
- package/build/esm/useTranslations-9270a4f5.js +0 -1
- package/build/fixedBottomAdBlock-f7367f04.js +0 -1
- package/build/index-05d74ee2.js +0 -1
- package/build/index-42d5c429.js +0 -53
- package/build/index-5437f777.js +0 -1
- package/build/index-5b766c16.js +0 -1
- package/build/index-7862f62a.js +0 -1
- package/build/index-8772a07a.js +0 -1
- package/build/index-a001a614.js +0 -112
- package/build/index-ba0b0558.js +0 -1
- package/build/index-d893e51c.js +0 -1315
- package/build/index-e8bc19cb.js +0 -75
- package/build/index-f4e94475.js +0 -1
- package/build/index.styled-4251f349.js +0 -1872
- package/build/index.styled-93bb9bd1.js +0 -50
- package/build/useHealthToolCache-6e4094b8.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-a6fbe256.js → BMI_BOYS.percentile.monthly-022dcc0f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a8997b9e.js → BMI_BOYS.percentile.weekly-f29ea650.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-3099bfe5.js → BMI_BOYS.percentile.yearly-93cedf40.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7cb9845e.js → BMI_BOYS.zscore.monthly-41f99977.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-327a7643.js → BMI_BOYS.zscore.weekly-787cd444.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-987a2965.js → BMI_BOYS.zscore.yearly-0b362dce.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5a46382e.js → BMI_GIRLS.percentile.monthly-55bbbe4c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-f8160e2b.js → BMI_GIRLS.percentile.weekly-5aeb3f7f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-28c6939a.js → BMI_GIRLS.percentile.yearly-a6e9394f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-204c44ee.js → BMI_GIRLS.zscore.monthly-6eb2d1eb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-0b41d222.js → BMI_GIRLS.zscore.weekly-a078109a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-37b3d433.js → BMI_GIRLS.zscore.yearly-f651558b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8e7d64bc.js → HEAD CIRCUM_BOYS.percentile.monthly-ad1453af.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-faea3c73.js → HEAD CIRCUM_BOYS.percentile.weekly-7c10679b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e0c75eaf.js → HEAD CIRCUM_BOYS.percentile.yearly-6c595d89.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-96b85c7e.js → HEAD CIRCUM_BOYS.zscore.monthly-2d9dc4d0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9833706f.js → HEAD CIRCUM_BOYS.zscore.weekly-f2b39380.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e697ecab.js → HEAD CIRCUM_BOYS.zscore.yearly-9c40e964.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6c765f49.js → HEAD CIRCUM_GIRLS.percentile.monthly-7c9d1aff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-cec02857.js → HEAD CIRCUM_GIRLS.percentile.weekly-1ef90aa8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-612b17e9.js → HEAD CIRCUM_GIRLS.percentile.yearly-5788ea6b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-40906b56.js → HEAD CIRCUM_GIRLS.zscore.monthly-aa366018.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3d2c45d1.js → HEAD CIRCUM_GIRLS.zscore.weekly-1c4710d9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-fd7ae6d7.js → HEAD CIRCUM_GIRLS.zscore.yearly-692f0943.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-568b7a8f.js → HEIGHT_BOYS.percentile.monthly-72d8eaf2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-00eaabe1.js → HEIGHT_BOYS.percentile.weekly-af39a4d2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c62a6b7d.js → HEIGHT_BOYS.percentile.yearly-50383571.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-0a2a2a3c.js → HEIGHT_BOYS.zscore.monthly-d01130b7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ebf9b792.js → HEIGHT_BOYS.zscore.weekly-bf32324a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-bf3b65c8.js → HEIGHT_BOYS.zscore.yearly-efdcd6d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-17bdcb94.js → HEIGHT_GIRLS.percentile.monthly-ebd6eb7e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7005e611.js → HEIGHT_GIRLS.percentile.weekly-47e25433.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-14030373.js → HEIGHT_GIRLS.percentile.yearly-232743ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-142cb4eb.js → HEIGHT_GIRLS.zscore.monthly-18eed153.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-3bb31053.js → HEIGHT_GIRLS.zscore.weekly-b8485b1f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-ee50d11d.js → HEIGHT_GIRLS.zscore.yearly-f3eb47f4.js} +0 -0
- /package/build/{Onboarding-da807ea9.js → Onboarding-882daaf4.js} +0 -0
- /package/build/{Visible-e44dea91.js → Visible-994227de.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2c24897c.js → WEIGHT_BOYS.percentile.monthly-41cbf014.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d9a3caa9.js → WEIGHT_BOYS.percentile.weekly-04e22fec.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e5ded742.js → WEIGHT_BOYS.percentile.yearly-fe7a528f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3a7ea669.js → WEIGHT_BOYS.zscore.monthly-577cf78d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-02988aaf.js → WEIGHT_BOYS.zscore.weekly-f37e6906.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-4f93b408.js → WEIGHT_BOYS.zscore.yearly-06808cf6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c2f25ea1.js → WEIGHT_GIRLS.percentile.monthly-3b5e1451.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-4c9db180.js → WEIGHT_GIRLS.percentile.weekly-73753918.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-c95eec3c.js → WEIGHT_GIRLS.percentile.yearly-2af663ed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f407bed3.js → WEIGHT_GIRLS.zscore.monthly-f876f3dd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-18c1f565.js → WEIGHT_GIRLS.zscore.weekly-d129915c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-d1b920ed.js → WEIGHT_GIRLS.zscore.yearly-9c5e3ed7.js} +0 -0
- /package/build/{constants-0151f8c0.js → constants-c7034fd7.js} +0 -0
- /package/build/{cookieHelper-04eec6b1.js → cookieHelper-75bc00af.js} +0 -0
- /package/build/{dataTransform-e55d0c95.js → dataTransform-1319f542.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-fdfa8acc.js → BMI_BOYS.percentile.monthly-07860692.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-27e48e2f.js → BMI_BOYS.percentile.weekly-14b4de20.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a3a05b35.js → BMI_BOYS.percentile.yearly-9d5fbfa6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c97bbc7a.js → BMI_BOYS.zscore.monthly-bbfe9cef.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ee99872c.js → BMI_BOYS.zscore.weekly-7c5dbf0f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a4610645.js → BMI_BOYS.zscore.yearly-50f55f62.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-7379b0b9.js → BMI_GIRLS.percentile.monthly-9856356b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c811f865.js → BMI_GIRLS.percentile.weekly-e7abc17a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-89ec3539.js → BMI_GIRLS.percentile.yearly-22fb201e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d390af5f.js → BMI_GIRLS.zscore.monthly-a13cafc4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-46e2313b.js → BMI_GIRLS.zscore.weekly-34a1d1f4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b1b135cf.js → BMI_GIRLS.zscore.yearly-7b5c36d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f68165d3.js → HEAD CIRCUM_BOYS.percentile.monthly-6477cca5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b101c351.js → HEAD CIRCUM_BOYS.percentile.weekly-27c2d1af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d0d8f1ac.js → HEAD CIRCUM_BOYS.percentile.yearly-8ca780c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-2301d6ba.js → HEAD CIRCUM_BOYS.zscore.monthly-982f3004.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b9dda7fc.js → HEAD CIRCUM_BOYS.zscore.weekly-d693e3d4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b02325c9.js → HEAD CIRCUM_BOYS.zscore.yearly-18152314.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-3fca5b9d.js → HEAD CIRCUM_GIRLS.percentile.monthly-4962431c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d715096e.js → HEAD CIRCUM_GIRLS.percentile.weekly-15dfb0f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-582833d2.js → HEAD CIRCUM_GIRLS.percentile.yearly-d2418e09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d8726947.js → HEAD CIRCUM_GIRLS.zscore.monthly-836dbfcd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9b934d72.js → HEAD CIRCUM_GIRLS.zscore.weekly-9a14cdec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ef193e60.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b98b42f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-7b655069.js → HEIGHT_BOYS.percentile.monthly-eab89f46.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-cf606f43.js → HEIGHT_BOYS.percentile.weekly-8462a03c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-00cc5d93.js → HEIGHT_BOYS.percentile.yearly-71880888.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6fb22f21.js → HEIGHT_BOYS.zscore.monthly-8751db5a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-876a04e4.js → HEIGHT_BOYS.zscore.weekly-23f11635.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-43b58284.js → HEIGHT_BOYS.zscore.yearly-03cc033f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-99d0b324.js → HEIGHT_GIRLS.percentile.monthly-73f1bb63.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d981fe73.js → HEIGHT_GIRLS.percentile.weekly-9144b832.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-934db8ae.js → HEIGHT_GIRLS.percentile.yearly-e28a966c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-87187e06.js → HEIGHT_GIRLS.zscore.monthly-2dfcf882.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-27756abd.js → HEIGHT_GIRLS.zscore.weekly-128db0bf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-766ff628.js → HEIGHT_GIRLS.zscore.yearly-108f1bcf.js} +0 -0
- /package/build/esm/{Onboarding-0293eeb7.js → Onboarding-2891aea6.js} +0 -0
- /package/build/esm/{Visible-e89f330d.js → Visible-303b70eb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e49b85b5.js → WEIGHT_BOYS.percentile.monthly-79e6d964.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d8611e6e.js → WEIGHT_BOYS.percentile.weekly-fb63286d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-af649608.js → WEIGHT_BOYS.percentile.yearly-9a853631.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-898d6c87.js → WEIGHT_BOYS.zscore.monthly-f6c09849.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2bc60660.js → WEIGHT_BOYS.zscore.weekly-7e124abe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-42afe62e.js → WEIGHT_BOYS.zscore.yearly-6fc394d8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-76b9f570.js → WEIGHT_GIRLS.percentile.monthly-8a105b20.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9c9f56fd.js → WEIGHT_GIRLS.percentile.weekly-092e711a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-bf213876.js → WEIGHT_GIRLS.percentile.yearly-929c84fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-da25ca07.js → WEIGHT_GIRLS.zscore.monthly-9b96ddb0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-6a658594.js → WEIGHT_GIRLS.zscore.weekly-a7aea7a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-988c106e.js → WEIGHT_GIRLS.zscore.yearly-ee514f8c.js} +0 -0
- /package/build/esm/{constants-30ff96aa.js → constants-52e7c5a1.js} +0 -0
- /package/build/esm/{cookieHelper-4efc52b0.js → cookieHelper-8e2d3e89.js} +0 -0
- /package/build/esm/{dataTransform-a08cfe1a.js → dataTransform-23bb2f75.js} +0 -0
- /package/build/esm/{index-5b08c9b8.js → index-642272ad.js} +0 -0
- /package/build/esm/{isProduction-60fd79cc.js → isProduction-382e134a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-fa1ef119.js → localizeNumberFormat-93b69e17.js} +0 -0
- /package/build/esm/{normalizeLink-798cff53.js → normalizeLink-31fc90ab.js} +0 -0
- /package/build/esm/{theme-6bee4117.js → theme-f836e461.js} +0 -0
- /package/build/esm/{translationsContext-0da37d6b.js → translationsContext-fcee0ae6.js} +0 -0
- /package/build/esm/{tslib.es6-51eea9b7.js → tslib.es6-c405de5e.js} +0 -0
- /package/build/esm/{types-6189bbf4.js → types-030542d3.js} +0 -0
- /package/build/esm/{useIsInit-09bb7a97.js → useIsInit-dd3e0d5a.js} +0 -0
- /package/build/esm/{useOutsideClick-e0d0043c.js → useOutsideClick-348963f5.js} +0 -0
- /package/build/esm/{useScrollbarSize-5324ebfa.js → useScrollbarSize-21588734.js} +0 -0
- /package/build/esm/{useUniqueId-21ad4390.js → useUniqueId-dac8de59.js} +0 -0
- /package/build/esm/{utils-1cba7368.js → utils-ce604344.js} +0 -0
- /package/build/{index-a67e4e65.js → index-2abe345d.js} +0 -0
- /package/build/{isProduction-30ccf571.js → isProduction-6f046dc2.js} +0 -0
- /package/build/{localizeNumberFormat-15c6313a.js → localizeNumberFormat-bdddbe5b.js} +0 -0
- /package/build/{normalizeLink-326ca206.js → normalizeLink-12494d60.js} +0 -0
- /package/build/{theme-98cbae45.js → theme-007b209f.js} +0 -0
- /package/build/{translationsContext-10e41ca8.js → translationsContext-5bbe301a.js} +0 -0
- /package/build/{tslib.es6-4b1d378e.js → tslib.es6-6ee1dc31.js} +0 -0
- /package/build/{types-35c512a3.js → types-94fc41fc.js} +0 -0
- /package/build/{useIsInit-f50cdeca.js → useIsInit-b4d4f4a1.js} +0 -0
- /package/build/{useOutsideClick-b87c96ce.js → useOutsideClick-c7d73ad8.js} +0 -0
- /package/build/{useScrollbarSize-c1cf4ac5.js → useScrollbarSize-74481873.js} +0 -0
- /package/build/{useUniqueId-0fce0399.js → useUniqueId-08ead9f0.js} +0 -0
- /package/build/{utils-0919603b.js → utils-7af126d6.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-01da8252.js"),require("styled-components");var s=require("./theme-007b209f.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-3186b4c2.js"),require("./utils-7af126d6.js"),require("./isProduction-6f046dc2.js"),require("./Onboarding-882daaf4.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-da807ea9.js"),l=require("./isProduction-30ccf571.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
|
|
1
|
+
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-882daaf4.js"),l=require("./isProduction-6f046dc2.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),r=require("react"),t=require("@mantine/core"),i=require("./utils-c3a382bb.js");require("@mantine/hooks"),require("./gAssets.js"),require("@mantine/dates");var n=require("./index-3186b4c2.js");require("./Onboarding-882daaf4.js"),require("dayjs"),require("./screenSizeContext-01da8252.js");var o=require("styled-components"),a=require("./theme-007b209f.js"),s=require("./utils-7af126d6.js");require("./isProduction-6f046dc2.js"),require("./translationsContext-5bbe301a.js"),require("string-format"),require("./index-7106b9da.js");var d=require("@mantine/form");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(r),m=c(o);const u=r.createContext({}),[p,g,x]=d.createFormContext(),f=m.default.div`
|
|
2
|
+
margin-top: 70px;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
&.similac {
|
|
8
|
+
margin-top: 16px;
|
|
9
|
+
}
|
|
10
|
+
`,h=m.default(t.Container)`
|
|
11
|
+
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 100%;
|
|
17
|
+
max-width: 520px;
|
|
18
|
+
}
|
|
19
|
+
.header {
|
|
20
|
+
margin-bottom: 32px;
|
|
21
|
+
text-align: center;
|
|
22
|
+
${s.MediaQueries.mbDown} {
|
|
23
|
+
margin-bottom: 16px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.input-control {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
.radio-group,
|
|
31
|
+
.input-control {
|
|
32
|
+
margin-bottom: 16px;
|
|
33
|
+
}
|
|
34
|
+
.form {
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* .form-error {
|
|
39
|
+
margin-top: 32px;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.field-error {
|
|
44
|
+
margin-top: 10px;
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
} */
|
|
47
|
+
|
|
48
|
+
.form-button {
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
`,b=m.default.img`
|
|
52
|
+
margin-bottom: 38px;
|
|
53
|
+
`;exports.FormProvider=p,exports.Onboarding=o=>{var s,{heading:d,description:c,children:m,className:p,imgSrc:g,hiddenLogo:x=!1}=o,q=e.__rest(o,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:j,siteType:v}=r.useContext(u);return l.default.createElement(h,Object.assign({},q,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),!x&&l.default.createElement(i.LogoIcon,{type:j?v:(null===(s=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===s?void 0:s.LOGO_TYPE)||"hellobacsi"}),l.default.createElement(f,{className:x?"similac":""},g&&l.default.createElement(b,{src:g,loading:"lazy"}),(d||c)&&l.default.createElement("div",{className:"header"},d&&l.default.createElement(t.Title,{order:3},d),c&&l.default.createElement(i.Text,{size:"p3",mt:8,color:a.theme.colors.gray600},c)),m))},exports.OnboardingContext=u,exports.useForm=x,exports.useFormContext=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),n=require("@mantine/core"),a=require("@mantine/hooks"),l=require("./gAssets.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);const c=t=>{var{value:r,defaultValue:c,onChange:s,clearable:u}=t,i=e.__rest(t,["value","defaultValue","onChange","clearable"]);const[C,d]=a.useUncontrolled({value:r,defaultValue:c,onChange:s});return o.default.createElement(n.Autocomplete,Object.assign({rightSection:o.default.createElement(n.Image,{src:l.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>d(e),value:C},i,u&&(null==C?void 0:C.length)>0?{rightSection:o.default.createElement(n.ActionIcon,{onClick:()=>{d("")},sx:{cursor:"pointer"}},o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))},s=t=>{var{searchValue:r,onSearchChange:c}=t,s=e.__rest(t,["searchValue","onSearchChange"]);const[u,i]=a.useUncontrolled({defaultValue:"",value:r,onChange:c});return o.default.createElement(n.Select,Object.assign({rightSection:o.default.createElement(n.Image,{src:l.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onSearchChange:e=>i(e),searchValue:u},s,s.clearable&&(null==u?void 0:u.length)>0?{rightSection:o.default.createElement(n.ActionIcon,{onClick:()=>{i("")},sx:{cursor:"pointer"}},o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))};exports.Select=t=>{var{keepSearch:n=!1}=t,a=e.__rest(t,["keepSearch"]);return n?o.default.createElement(c,Object.assign({},a)):o.default.createElement(s,Object.assign({},a))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),r=require("@mantine/core"),s=require("@mantine/dates"),a=require("./index-3186b4c2.js"),i=require("./Onboarding-882daaf4.js"),n=require("./gAssets.js"),l=require("./utils-c3a382bb.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(s.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||i.LOCALE.Vietnam],valueFormat:null===(o=a.ISO_FORMAT[process.env.UNIFY_LOCALE||i.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./utils-c3a382bb.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);exports.Modal=t=>{var{title:n,styles:o}=t,u=e.__rest(t,["title","styles"]);const{classes:i}=a.useStyles$1(void 0,{name:"Modal",styles:o});return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,Object.assign({centered:!0,classNames:i},u,{withCloseButton:!1,title:u.withCloseButton&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},n),r.default.createElement(s.CloseButton,Object.assign({},u.closeButtonProps,{onClick:()=>{var e;return null===(e=u.onClose)||void 0===e?void 0:e.call(u)},sx:{":focus":{outline:0}}}),r.default.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-
|
|
1
|
+
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-7af126d6.js"),l=require("./utils-c3a382bb.js"),o=require("./index-5b3e0182.js"),r=require("styled-components"),i=require("./useTranslations-1f9f0574.js"),n=require("./Onboarding-882daaf4.js"),d=require("./index-772e6d28.js"),s=require("./theme-007b209f.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(e),m=c(r);const p=({open:e=!1,onClickOutside:t})=>u.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),h=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:c,siteType:m})=>{const[p,h]=e.useState(t),f="marryBaby"===m;return u.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>u.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":c,key:a,onClick:()=>{var t;t=e.value,c||(h(t),n&&n(t))}},u.default.createElement("div",null,e.content,e.label&&u.default.createElement(u.default.Fragment,null,f?u.default.createElement(d.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?s.theme.mbColors.dark:s.theme.mbColors.midGray},e.label):u.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},f=m.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
z-index: 200;
|
|
4
4
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./
|
|
1
|
+
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./utils-c3a382bb.js"),s=require("./index-7106b9da.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:g,customSize:m,badge:i,locale:u,dateForSeasonal:c,isPro:d})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":g||void 0,"data-has-badge":!!i,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(require("react")),s="wIj6fkD";exports.Text=a=>{var{size:r="base",type:c="regular",className:n,style:d,children:o,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:u="p",wordWrap:y,isUppercase:b}=a,g=e.__rest(a,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=u;return t.default.createElement(E,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${s} ${n||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),o)};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),l=require("styled-components"),n=require("@mantine/carousel"),r=require("@mantine/core"),i=require("@mantine/hooks");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(t),s=a(l);const d=s.default.img`
|
|
2
|
+
&[data-has-placeholder='true'] {
|
|
3
|
+
background-position: center;
|
|
4
|
+
background-repeat: no-repeat;
|
|
5
|
+
background-size: cover;
|
|
6
|
+
}
|
|
7
|
+
`,c=s.default((t=>{var{type:l}=t,n=e.__rest(t,["type"]);return o.default.createElement(l,n)}))`
|
|
8
|
+
color: var(--text-color, ${e=>e.theme.mbColors.dark});
|
|
9
|
+
font-family: Krub;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
letter-spacing: -0.2px;
|
|
12
|
+
|
|
13
|
+
&[data-type='headline-1'] {
|
|
14
|
+
font-size: 40px;
|
|
15
|
+
line-height: 60px;
|
|
16
|
+
}
|
|
17
|
+
&[data-type='headline-2'] {
|
|
18
|
+
font-size: 32px;
|
|
19
|
+
line-height: 48px;
|
|
20
|
+
}
|
|
21
|
+
&[data-type='headline-3'] {
|
|
22
|
+
font-size: 24px;
|
|
23
|
+
line-height: 40px;
|
|
24
|
+
}
|
|
25
|
+
&[data-type='headline-4'] {
|
|
26
|
+
font-size: 18px;
|
|
27
|
+
line-height: 32px;
|
|
28
|
+
}
|
|
29
|
+
`,u=s.default.p`
|
|
30
|
+
color: var(--text-color, ${e=>e.theme.mbColors.dark});
|
|
31
|
+
letter-spacing: -0.2px;
|
|
32
|
+
|
|
33
|
+
&[data-type='subtitle-1'] {
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
line-height: 26px;
|
|
37
|
+
}
|
|
38
|
+
&[data-type='subtitle-2'] {
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
line-height: 24px;
|
|
42
|
+
}
|
|
43
|
+
&[data-type='subtitle-3'] {
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
line-height: 20px;
|
|
47
|
+
}
|
|
48
|
+
&[data-type='bodytext-1'] {
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
font-weight: 400;
|
|
51
|
+
line-height: 28px;
|
|
52
|
+
}
|
|
53
|
+
&[data-type='bodytext-2'] {
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
line-height: 24px;
|
|
57
|
+
}
|
|
58
|
+
&[data-type='bodytext-3'] {
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
line-height: 20px;
|
|
62
|
+
}
|
|
63
|
+
&[data-type='caption-1'] {
|
|
64
|
+
font-size: 10px;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
letter-spacing: -0.1px;
|
|
67
|
+
line-height: 14px;
|
|
68
|
+
}
|
|
69
|
+
&[data-type='caption-2'] {
|
|
70
|
+
font-size: 10px;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
letter-spacing: -0.1px;
|
|
73
|
+
line-height: 14px;
|
|
74
|
+
}
|
|
75
|
+
`,p=t.forwardRef((function(e,t){return o.default.createElement("circle",Object.assign({},e,{ref:t}),o.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})),h=n.Carousel.Slide,f=t.createContext({}),g=(e,t)=>e>=t?e-t:e,x=l=>{var{children:a,blurFromCenter:s,blurFromIndex:d,blurLength:c=3,maxBlurOpacity:u=.5,onSlideChange:p,selectSlideWhenClick:h}=l,x=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:v}=i.useViewportSize(),[y]=i.useResizeObserver(),m=t.useRef(null),[b,S]=t.useState(0),C=()=>{var e,t,l,n,r;const i=(null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==m?void 0:m.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(l=null==m?void 0:m.current)||void 0===l?void 0:l.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const a=null===(n=null==m?void 0:m.current)||void 0===n?void 0:n.selectedScrollSnap();S(a);const o=i.length,p=(null===(r=null==m?void 0:m.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(p/2),f=s?d+c-1:h,x=a+f,v=x===o?0:x>o?x-o:x,y=a-f,b=y<0?o+y:y>0?a-f:0,C=[...new Set(Array(2*f+1).fill("").map(((e,t)=>g(b+t,o))))];i.map(((e,t)=>{if(t===a?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==C.indexOf(t)){const r=u/c;for(let i=0;i<c;i++){if(t===g(b+i,o)||t===(n=o,(l=v-i)<0?n+l:l)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var l,n}))},k={getEmblaApi:e=>{m.current=e},onSlideChange:e=>{C(),null==p||p(e)}};t.useEffect((()=>{(null==m?void 0:m.current)&&C()}),[v]);const z=r.createStyles((()=>{var e,t;return{control:Object.assign({},(null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==m?void 0:m.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:w}=z();return o.default.createElement(f.Provider,{value:{slider:null==m?void 0:m.current,centerSlide:b,selectSlideWhenClick:h}},o.default.createElement(n.Carousel,Object.assign({classNames:{control:w.control},ref:y,slideSize:"auto",containScroll:"trimSnaps"},k,x,{loop:!0}),"function"==typeof a?a(b):a))};x.Slide=l=>{var{children:n,onClick:r,innerSlideProps:i}=l,a=e.__rest(l,["children","onClick","innerSlideProps"]);const{slider:s,selectSlideWhenClick:d}=t.useContext(f),c=t.useRef(),u=t.useRef(""),[p,g]=t.useState(0);t.useEffect((()=>{u.current=String(Math.round(1e4*Math.random()))}),[]),t.useEffect((()=>{const e=(null==s?void 0:s.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===u.current)))}),[s]);const x={ref:c,"data-key":u.current,"data-index":p};return o.default.createElement(h,Object.assign({},x,a),o.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{d&&(null==s||s.scrollTo(p)),null==r||r(p)}},i),n))},exports.CentralCarousel=x,exports.CustomReferenceDot=p,exports.ImageWrap=l=>{var{alt:n,backupSrc:r,src:i,placeholderSrc:a,style:s,ref:c}=l,u=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=t.useState(!1);return o.default.createElement(d,Object.assign({loading:"lazy",alt:n,onError:()=>!p&&h(!0),src:p?r||i:i||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},u))},exports.StyledHeading=c,exports.StyledText=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),r=require("./index-7106b9da.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,i=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},i))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,i=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},i))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),a=require("./utils-c3a382bb.js"),t=require("./tslib.es6-6ee1dc31.js"),o=require("./useTranslations-1f9f0574.js"),i=require("./paths-bb2c80ec.js"),l=require("./constants-c7034fd7.js");require("@mantine/core"),require("@mantine/hooks"),require("./gAssets.js"),require("@mantine/dates");var r=require("./index-3186b4c2.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./Onboarding-882daaf4.js"),require("dayjs"),require("./screenSizeContext-01da8252.js"),require("styled-components"),require("./theme-007b209f.js"),require("./utils-7af126d6.js"),require("./isProduction-6f046dc2.js"),require("./index-7106b9da.js"),require("lodash/debounce");var n=d(e);const s={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:i,role:l,title:r,styles:d,className:u}=e,c=t.__rest(e,["siteType","role","title","styles","className"]);const{t:v}=o.useTranslations(),m=l?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(l):"",{classes:g,cx:b}=a.useStyles(void 0,{name:"AuthorBadge",styles:d});return m&&s[m]?n.default.createElement("div",Object.assign({className:b(g.root,u),"data-label-type":m,"data-is-marrybaby":"marryBaby"===i},c),r||v(s[m])):null},exports.BookingBtn=d=>{var{label:s,bookingId:u,bookingType:c="doctor",locale:v="vi-VN"}=d,m=t.__rest(d,["label","bookingId","bookingType","locale"]);const{t:g}=o.useTranslations(),[b,y]=e.useState(!1),p=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]),f=e.useCallback((()=>t.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,d,n,s,m,g,b,p,f,E,A,h,S;const _="doctor"===c?i.PATHS.GET_DOCTOR_DETAIL:"hospital"===c?i.PATHS.GET_HOSPITAL_DETAIL:"service"===c?i.PATHS.GET_SERVICE_DETAIL:"";try{y(!0);const i=yield a.callApi(a.getCarePath(_,{id:u,site:r.domainLocales[v]}),"get");if(1===(null==i?void 0:i._status)){const a="doctor"===c?{id:null===(t=null===(e=null==i?void 0:i._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(d=null===(o=null==i?void 0:i._data)||void 0===o?void 0:o.doctor)||void 0===d?void 0:d.slug,localSlug:null===(n=l.LOCALIZED_SLUGS[v])||void 0===n?void 0:n.DOCTOR}:"hospital"===c?{id:null===(m=null===(s=null==i?void 0:i._data)||void 0===s?void 0:s.branch)||void 0===m?void 0:m.id,slug:null===(b=null===(g=null==i?void 0:i._data)||void 0===g?void 0:g.branch)||void 0===b?void 0:b.slug,localSlug:null===(p=l.LOCALIZED_SLUGS[v])||void 0===p?void 0:p.HOSPITAL}:{id:null===(E=null===(f=null==i?void 0:i._data)||void 0===f?void 0:f.service)||void 0===E?void 0:E.id,slug:null===(h=null===(A=null==i?void 0:i._data)||void 0===A?void 0:A.service)||void 0===h?void 0:h.slug,localSlug:null===(S=l.LOCALIZED_SLUGS[v])||void 0===S?void 0:S.SERVICE};window.location.href=`/care/${a.localSlug}/${a.slug}-${a.id}/`}else y(!1)}catch(e){console.log(e),y(!1)}}))),[]);return u&&c?n.default.createElement(a.Button,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:p,onClick:f,loading:b},m),s||g("careBooking.bookAnAppointment")):null},exports.BtnChoice=({value:t,choices:o,onChange:i})=>{const[l,r]=e.useState(t);return e.useEffect((()=>{r(t)}),[t]),n.default.createElement("div",{className:u},o.map(((e,t)=>n.default.createElement(a.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===l?"primary":"tertiary",key:t,onClick:()=>{r(e.value),null==i||i(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:t,style:o})=>n.default.createElement(a.StyledDivider,{style:o,className:t,"data-diver-type":e,dividerType:e});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-eaa40717.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:g,size:f,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},g||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),l=require("./Onboarding-882daaf4.js"),a=require("./index.styled-0cdae0c8.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[C,f]=t.useState("");return t.useEffect((()=>{f(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-030c517e.js"),l=require("./utils-c3a382bb.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);exports.Slider=r=>{var{color:s,withControl:i,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=r,w=e.__rest(r,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,l.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(l.StyledSliderWrapper,{className:f,style:g},i&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(l.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:s,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),i&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-6ee1dc31.js"),t=require("react"),r=require("@mantine/core"),s=require("./index-38dd49fe.js");require("@mantine/dates");var a=require("./index-3186b4c2.js"),i=require("./Onboarding-882daaf4.js");require("./gAssets.js");var n=require("./utils-c3a382bb.js");require("dayjs"),require("./screenSizeContext-01da8252.js"),require("styled-components"),require("./theme-007b209f.js"),require("./utils-7af126d6.js"),require("./isProduction-6f046dc2.js");var c=require("./useTranslations-1f9f0574.js");require("./index-7106b9da.js"),require("@mantine/hooks"),require("lodash/debounce");var d=require("./utils-a6015bf8.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);const u={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},p=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},v=({provinces:r})=>{const[s,n]=t.useReducer(p,u),{provinceByName:c,provinces:l,districts:o,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:h}=s,[j,y]=t.useState();t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,s,c;try{const l=yield fetch((c=process.env.UNIFY_LOCALE||i.LOCALE.Vietnam,`${a.CDN_ADDRESS}/cities-data-${d.MAPPED_LOCALE[c]}.json`)).then((e=>e.json()));y(l);const{list:o}=l,u=r?((e,t)=>{const r={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(r[t]=e)}const s={};return e.map((e=>{s[e.name]=r[e.id]})),s})(r,o):o,p=Object.keys(u),v=Object.keys((null===(e=o[p[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(s=null===(t=o[p[0]])||void 0===t?void 0:t[v[0]])||void 0===s?void 0:s.list)||{});n({type:"SET_DATA",payload:{provinceByName:u,provinces:p,districts:v,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:l,districts:o,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:h,handleProvinceChange:e=>{var t;const r=Object.keys((null===(t=c[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:r}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,r;const s=Object.keys((null===(r=null===(t=c[b])||void 0===t?void 0:t.list[e])||void 0===r?void 0:r.list)||{});n({type:"SET_WARDS",payload:s}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}};exports.AddressInput=a=>{var{error:i,provinces:d,placeholder:l}=a,u=e.__rest(a,["error","provinces","placeholder"]);const{t:p}=c.useTranslations(),{provinces:b,districts:E,wards:h,selectedProvince:j,selectedDistrict:y,selectedWard:g,handleProvinceChange:S,handleDistrictChange:f,handleWardChange:C}=v({provinces:d}),[O,m]=t.useState("");return t.useEffect((()=>{j&&y&&g&&O?u.onChange({selectedProvince:j,selectedDistrict:y,selectedWard:g,extraInfo:O}):u.onChange(null)}),[j,y,g,O]),o.default.createElement(n.Input.Wrapper,Object.assign({withAsterisk:!0},u),o.default.createElement(r.Stack,null,o.default.createElement(s.Select,{placeholder:(null==l?void 0:l.province)||p("onboarding.similac.input.city"),data:d?b:b.sort(),searchable:!0,onChange:S,value:j}),o.default.createElement(s.Select,{placeholder:(null==l?void 0:l.district)||p("onboarding.similac.input.district"),data:E.sort(),searchable:!0,onChange:f,value:y,disabled:!j}),o.default.createElement(s.Select,{placeholder:(null==l?void 0:l.ward)||p("onboarding.similac.input.ward"),searchable:!0,data:h.sort(),value:g,onChange:C,disabled:!j||!y}),o.default.createElement(n.Input,{placeholder:(null==l?void 0:l.address)||p("onboarding.similac.input.no"),disabled:!j||!y||!g,value:O,onChange:m,style:{marginBottom:0}})),o.default.createElement(r.Input.Error,{size:"md"},i))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./utils-
|
|
1
|
+
"use strict";var e=require("./utils-7af126d6.js"),t=require("styled-components"),i=require("react");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(t),r=o(i);const s=a.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
|