@hhgtech/hhg-components 1.27.159 → 1.27.161
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/README.md +60 -8
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care/index.d.ts +1 -0
- package/build/care.js +1 -1
- package/build/components/atoms/index.d.ts +0 -1
- package/build/components.js +1 -1
- package/build/{constants-75aadffb.js → constants-530a0ecf.js} +1 -1
- package/build/{constants-31450bc5.js → constants-729267f0.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-9c7a3bbf.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care/index.d.ts +1 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/index.d.ts +0 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-531169d2.js → constants-4e77772b.js} +1 -1
- package/build/esm/{constants-b08eda13.js → constants-55308a13.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-8a9cbd2a.js → core-54fe1600.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-dc735430.js +1 -0
- package/build/esm/{getSocialList-bcc967f8.js → getSocialList-2c08720a.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-754ac192.js → index-13075213.js} +1 -1
- package/build/esm/index-2778bd37.js +1 -0
- package/build/esm/{index-fa41ceed.js → index-29398213.js} +1 -1
- package/build/esm/index-405d59b7.js +3533 -0
- package/build/esm/{index-97b10ada.js → index-47fa9ddc.js} +1 -1
- package/build/esm/{index-3112b8d2.js → index-502d83d4.js} +4 -4
- package/build/esm/{index-34a8408b.js → index-50a78483.js} +1 -1
- package/build/esm/{index-485d0140.js → index-68a6626d.js} +1 -1
- package/build/esm/index-6a6071e2.js +1 -0
- package/build/esm/{index-c2bcdb0a.js → index-882b7df3.js} +1 -1
- package/build/esm/{index-26c4b35f.js → index-9753cb26.js} +1 -1
- package/build/esm/{index-46237665.js → index-99818d57.js} +1 -1
- package/build/esm/{index-79917dbf.js → index-9fce504e.js} +1 -1
- package/build/esm/{index-5c537ab4.js → index-bb5d98ca.js} +1 -1
- package/build/esm/{index-31afc7f3.js → index-c7bc059b.js} +7 -12
- package/build/esm/index-c9986dbd.js +1 -0
- package/build/esm/{index-59ecbd4b.js → index-d0c43f4c.js} +2 -2
- package/build/esm/{index-5fd57ab2.js → index-f41ce453.js} +1 -1
- package/build/esm/index-fb2f22d1.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-44862bae.js → index.styled-9ca20e58.js} +1 -1
- package/build/esm/{index.styled-83088fd6.js → index.styled-e131ec51.js} +1 -1
- package/build/esm/{index.styles-5dfe0c2d.js → index.styles-0c995338.js} +45 -64
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-7d005a49.js → routing-1b159c4a.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-d3f309d9.js → types-6c860ae9.js} +28 -9
- package/build/esm/{types-988ffdb6.js → types-b2ec6aab.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-075626af.js → useCategory-c0a62126.js} +1 -1
- package/build/esm/useHealthToolCache-110c732c.js +1 -0
- package/build/esm/{useRafState-ceea7492.js → useRafState-e60b168e.js} +1 -1
- package/build/esm/{useTranslations-d23e5957.js → useTranslations-8e7471e9.js} +1 -1
- package/build/esm/{utils-fe965c4d.js → utils-33596d98.js} +1 -1
- package/build/esm/{utils-19423dc2.js → utils-923bed56.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-6139d439.js +1 -0
- package/build/{getSocialList-345abcd6.js → getSocialList-40644b05.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-6c3faa7e.js → index-2505994e.js} +1 -1
- package/build/index-309e60ab.js +1 -0
- package/build/index-40f68767.js +1 -0
- package/build/{index-7d8725b3.js → index-4a12c2a8.js} +1 -1
- package/build/{index-c6ad09b1.js → index-4d038478.js} +1 -1
- package/build/index-69fb3903.js +1 -0
- package/build/{index-b7a1b3cb.js → index-76e24325.js} +1 -1
- package/build/{index-b1e5dddc.js → index-7a8b14d4.js} +1 -1
- package/build/{index-db80ba0c.js → index-8232502b.js} +1 -1
- package/build/{index-b99ae263.js → index-9df81ed9.js} +1 -1
- package/build/{index-75d9ef50.js → index-a37938a5.js} +1 -1
- package/build/index-b5c78d4d.js +3533 -0
- package/build/index-c084e8e0.js +113 -0
- package/build/{index-4772af05.js → index-d31e5a7a.js} +1 -1
- package/build/{index-420aa9de.js → index-e2e5c0d6.js} +1 -1
- package/build/{index-55def889.js → index-f03402aa.js} +1 -1
- package/build/{index-8537defc.js → index-f2c966a4.js} +1 -1
- package/build/{index-6ad602c5.js → index-f51aa89f.js} +1 -1
- package/build/{index-48216d9e.js → index-fa36dcfc.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-01b8561c.js → index.styled-572bd083.js} +1 -1
- package/build/{index.styled-4bfae288.js → index.styled-fb6a5c77.js} +1 -1
- package/build/{index.styles-7b879f73.js → index.styles-99d90a47.js} +47 -66
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +5 -5
- package/build/pwg.js +2 -2
- package/build/{routing-b783336f.js → routing-2be6c855.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-e3fd1da1.js → types-f14e51e2.js} +1 -1
- package/build/{types-de3c0549.js → types-f71ec22e.js} +21 -2
- package/build/types.js +1 -1
- package/build/{useCategory-a6ac1b1f.js → useCategory-e02bbab5.js} +1 -1
- package/build/{useHealthToolCache-0d190518.js → useHealthToolCache-89d5706e.js} +1 -1
- package/build/{useRafState-18243d6c.js → useRafState-51c4ff7e.js} +1 -1
- package/build/{useTranslations-fec480df.js → useTranslations-d57cfa60.js} +1 -1
- package/build/utils-21b70e2b.js +1 -0
- package/build/{utils-a7094a26.js → utils-3f62b2db.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +4 -3
- package/build/core-b7f657e8.js +0 -1
- package/build/esm/getDynamicHealthTool-ebb00e98.js +0 -1
- package/build/esm/index-313f49bc.js +0 -1
- package/build/esm/index-6b5561fb.js +0 -1
- package/build/esm/index-6d051f86.js +0 -1
- package/build/esm/index-98346b8c.js +0 -1
- package/build/esm/index-d3087357.js +0 -3533
- package/build/esm/misc/callApi/helpers.d.ts +0 -4
- package/build/esm/misc/callApi/index.d.ts +0 -24
- package/build/esm/misc/callApi/instance.d.ts +0 -11
- package/build/esm/misc/callApi/interceptors.d.ts +0 -6
- package/build/esm/useHealthToolCache-5227ddbe.js +0 -1
- package/build/getDynamicHealthTool-24c62518.js +0 -1
- package/build/index-03a10f01.js +0 -1
- package/build/index-916461f6.js +0 -1
- package/build/index-9a389e50.js +0 -3533
- package/build/index-a42027c8.js +0 -118
- package/build/index-f6a8c60a.js +0 -1
- package/build/misc/callApi/helpers.d.ts +0 -4
- package/build/misc/callApi/index.d.ts +0 -24
- package/build/misc/callApi/instance.d.ts +0 -11
- package/build/misc/callApi/interceptors.d.ts +0 -6
- package/build/utils-e78a1e03.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-86fc92b6.js → BMI_BOYS.percentile.monthly-0fe75dc6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-9c7691d5.js → BMI_BOYS.percentile.weekly-d32a6320.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e2e09c55.js → BMI_BOYS.percentile.yearly-4783dc1f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-71eef063.js → BMI_BOYS.zscore.monthly-44c85e86.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-35341733.js → BMI_BOYS.zscore.weekly-ba69577e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-733eaec2.js → BMI_BOYS.zscore.yearly-4b4836cc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-75d28c94.js → BMI_GIRLS.percentile.monthly-6140cd94.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-7e151197.js → BMI_GIRLS.percentile.weekly-fe6dfa19.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-4a5e10be.js → BMI_GIRLS.percentile.yearly-6286e1d1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-8b8dd2f6.js → BMI_GIRLS.zscore.monthly-aa81719b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b353db3c.js → BMI_GIRLS.zscore.weekly-c8c0fcc0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4a9ebd64.js → BMI_GIRLS.zscore.yearly-983def3f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-e229b6f6.js → HEAD CIRCUM_BOYS.percentile.monthly-7c1c8703.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-d3634bd9.js → HEAD CIRCUM_BOYS.percentile.weekly-0b870250.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-82f68209.js → HEAD CIRCUM_BOYS.percentile.yearly-1ccbc81d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3996efc6.js → HEAD CIRCUM_BOYS.zscore.monthly-f640d4d0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-be4ebfbd.js → HEAD CIRCUM_BOYS.zscore.weekly-5482f634.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e72242b9.js → HEAD CIRCUM_BOYS.zscore.yearly-e29b3fd9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-10e7794e.js → HEAD CIRCUM_GIRLS.percentile.monthly-287252fa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-da0137ff.js → HEAD CIRCUM_GIRLS.percentile.weekly-2ea52420.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c9612d3b.js → HEAD CIRCUM_GIRLS.percentile.yearly-d5265be0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3e5cb09b.js → HEAD CIRCUM_GIRLS.zscore.monthly-64a05054.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9ccd7ef0.js → HEAD CIRCUM_GIRLS.zscore.weekly-5dab5bf0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5e552c88.js → HEAD CIRCUM_GIRLS.zscore.yearly-8dc20701.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-393957a1.js → HEIGHT_BOYS.percentile.monthly-b783cf1a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-daccba5b.js → HEIGHT_BOYS.percentile.weekly-ec990b80.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f23d36d8.js → HEIGHT_BOYS.percentile.yearly-614a1951.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d2062b80.js → HEIGHT_BOYS.zscore.monthly-495a0b9b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2c68b327.js → HEIGHT_BOYS.zscore.weekly-02c6ce54.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-2f6bb842.js → HEIGHT_BOYS.zscore.yearly-3ae47f90.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-47c1a524.js → HEIGHT_GIRLS.percentile.monthly-bef2e359.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e3e274fd.js → HEIGHT_GIRLS.percentile.weekly-b56f489e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-aea4d47d.js → HEIGHT_GIRLS.percentile.yearly-fd44e47b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-1108062c.js → HEIGHT_GIRLS.zscore.monthly-6326e54b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-867bf1d8.js → HEIGHT_GIRLS.zscore.weekly-7a825114.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-6c430c89.js → HEIGHT_GIRLS.zscore.yearly-407d276d.js} +0 -0
- /package/build/{Onboarding-7fe4d4db.js → Onboarding-06a9b342.js} +0 -0
- /package/build/{Visible-89723a09.js → Visible-e848ad3b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-d8c6b2bb.js → WEIGHT_BOYS.percentile.monthly-a5f13251.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-add05ea0.js → WEIGHT_BOYS.percentile.weekly-891ce70e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9b35d955.js → WEIGHT_BOYS.percentile.yearly-0c8b23da.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2ccfe61f.js → WEIGHT_BOYS.zscore.monthly-26f7b120.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-f6b0aad9.js → WEIGHT_BOYS.zscore.weekly-6362ab5d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b3f6f2fe.js → WEIGHT_BOYS.zscore.yearly-1bb66ec7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1caa8605.js → WEIGHT_GIRLS.percentile.monthly-18e18c37.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6e0fce65.js → WEIGHT_GIRLS.percentile.weekly-f357be7b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ab90c630.js → WEIGHT_GIRLS.percentile.yearly-baec8082.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a90d8080.js → WEIGHT_GIRLS.zscore.monthly-b3094d86.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-be79d16b.js → WEIGHT_GIRLS.zscore.weekly-5a94465d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-3b28ae66.js → WEIGHT_GIRLS.zscore.yearly-e0a3c64a.js} +0 -0
- /package/build/{components → care/components}/atoms/textDivider/index.d.ts +0 -0
- /package/build/{cookieHelper-851ec602.js → cookieHelper-5109a4f2.js} +0 -0
- /package/build/{dataTransform-86066740.js → dataTransform-b61a062d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-12cf3653.js → BMI_BOYS.percentile.monthly-a923fb18.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-cd5c4f2a.js → BMI_BOYS.percentile.weekly-e23d100f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f7cb8621.js → BMI_BOYS.percentile.yearly-9e23931d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3f321a88.js → BMI_BOYS.zscore.monthly-9ce5f05c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b1ccb020.js → BMI_BOYS.zscore.weekly-d570818b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-e1442373.js → BMI_BOYS.zscore.yearly-7684e153.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-3e3dd1a0.js → BMI_GIRLS.percentile.monthly-b8ca45dd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-72195163.js → BMI_GIRLS.percentile.weekly-451e30f2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b75f3aa1.js → BMI_GIRLS.percentile.yearly-96f009cc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-448c9a07.js → BMI_GIRLS.zscore.monthly-ec53a919.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f1184bc5.js → BMI_GIRLS.zscore.weekly-01f847e4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3b0c0841.js → BMI_GIRLS.zscore.yearly-40b42515.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-adae309b.js → HEAD CIRCUM_BOYS.percentile.monthly-cc05ce46.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4abc16d0.js → HEAD CIRCUM_BOYS.percentile.weekly-184b46b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2b27de3c.js → HEAD CIRCUM_BOYS.percentile.yearly-3fa81fa5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-928048d0.js → HEAD CIRCUM_BOYS.zscore.monthly-2b936c65.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ee08b060.js → HEAD CIRCUM_BOYS.zscore.weekly-9819fbfe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e2ddf196.js → HEAD CIRCUM_BOYS.zscore.yearly-8775cb4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b97261c0.js → HEAD CIRCUM_GIRLS.percentile.monthly-a79e2170.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1e7b10b0.js → HEAD CIRCUM_GIRLS.percentile.weekly-8abdec4f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-001aa75b.js → HEAD CIRCUM_GIRLS.percentile.yearly-31bd302c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-fc98dcac.js → HEAD CIRCUM_GIRLS.zscore.monthly-d0c8a30b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-acb2c226.js → HEAD CIRCUM_GIRLS.zscore.weekly-78546079.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-842a2867.js → HEAD CIRCUM_GIRLS.zscore.yearly-8451b740.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-025c8110.js → HEIGHT_BOYS.percentile.monthly-9104bf98.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-598512e3.js → HEIGHT_BOYS.percentile.weekly-c4e8cdbb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-2b82a8c8.js → HEIGHT_BOYS.percentile.yearly-fbba72e6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e0c2db06.js → HEIGHT_BOYS.zscore.monthly-f8bd1d11.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f38a3fab.js → HEIGHT_BOYS.zscore.weekly-843af1e6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-510e0fc3.js → HEIGHT_BOYS.zscore.yearly-6e022214.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ebd61dd4.js → HEIGHT_GIRLS.percentile.monthly-832c4534.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-70651097.js → HEIGHT_GIRLS.percentile.weekly-f8b45685.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-e78a2253.js → HEIGHT_GIRLS.percentile.yearly-b2c3e937.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-293036dc.js → HEIGHT_GIRLS.zscore.monthly-bf6a523e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3aefb675.js → HEIGHT_GIRLS.zscore.weekly-aec1bc6d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b4f1d366.js → HEIGHT_GIRLS.zscore.yearly-a2085013.js} +0 -0
- /package/build/esm/{Onboarding-a5085557.js → Onboarding-5af7aa41.js} +0 -0
- /package/build/esm/{Visible-244eee23.js → Visible-6fd031d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b2b0aad1.js → WEIGHT_BOYS.percentile.monthly-83d2c114.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-44824457.js → WEIGHT_BOYS.percentile.weekly-e0133883.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b2d29cea.js → WEIGHT_BOYS.percentile.yearly-734253da.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9033a5a4.js → WEIGHT_BOYS.zscore.monthly-b6ac5265.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b893d59b.js → WEIGHT_BOYS.zscore.weekly-f166956c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-82c340a3.js → WEIGHT_BOYS.zscore.yearly-19007035.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-26e4a0c2.js → WEIGHT_GIRLS.percentile.monthly-903cb147.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-18f825e1.js → WEIGHT_GIRLS.percentile.weekly-e141924c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-19c9e245.js → WEIGHT_GIRLS.percentile.yearly-61057460.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d6cd03de.js → WEIGHT_GIRLS.zscore.monthly-beb59acc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-b5887d90.js → WEIGHT_GIRLS.zscore.weekly-d8e3e406.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-a86cf86b.js → WEIGHT_GIRLS.zscore.yearly-8a3bb4b8.js} +0 -0
- /package/build/esm/{components → care/components}/atoms/textDivider/index.d.ts +0 -0
- /package/build/esm/{cookieHelper-87efe0d2.js → cookieHelper-0382f1df.js} +0 -0
- /package/build/esm/{dataTransform-be97b21f.js → dataTransform-e257cd3d.js} +0 -0
- /package/build/esm/{index-d9fbb64d.js → index-47ab4704.js} +0 -0
- /package/build/esm/{index-dde18580.js → index-5e2209df.js} +0 -0
- /package/build/esm/{index-6798950d.js → index-ad39e5b2.js} +0 -0
- /package/build/esm/{index-2a0d9999.js → index-f8c1d9d6.js} +0 -0
- /package/build/esm/{isProduction-c4e701af.js → isProduction-1597e8ed.js} +0 -0
- /package/build/esm/{localizeNumberFormat-33083aa3.js → localizeNumberFormat-face9bb0.js} +0 -0
- /package/build/esm/{normalizeLink-1ac7cfcc.js → normalizeLink-5d28acbf.js} +0 -0
- /package/build/esm/{number-9b135fc2.js → number-a402108e.js} +0 -0
- /package/build/esm/{paths-00f55271.js → paths-e83a7594.js} +0 -0
- /package/build/esm/{screenSizeContext-e2052d31.js → screenSizeContext-662f92d9.js} +0 -0
- /package/build/esm/{theme-fd087af5.js → theme-fff94356.js} +0 -0
- /package/build/esm/{translationsContext-959b75ab.js → translationsContext-3e91995c.js} +0 -0
- /package/build/esm/{tslib.es6-15a12e4d.js → tslib.es6-d8ba5e0e.js} +0 -0
- /package/build/esm/{types-4cea16bd.js → types-5a01ab34.js} +0 -0
- /package/build/esm/{useIsInit-001e7017.js → useIsInit-e13c4b5b.js} +0 -0
- /package/build/esm/{useOutsideClick-dd2aced6.js → useOutsideClick-554f17ac.js} +0 -0
- /package/build/esm/{useScrollbarSize-83b7328b.js → useScrollbarSize-9c6ef5a1.js} +0 -0
- /package/build/{index-3ddaf646.js → index-11991307.js} +0 -0
- /package/build/{index-1b6775f7.js → index-3d525ada.js} +0 -0
- /package/build/{index-b9ebc729.js → index-7c081df1.js} +0 -0
- /package/build/{index-90515a25.js → index-de379d7d.js} +0 -0
- /package/build/{isProduction-93520986.js → isProduction-19fdda9c.js} +0 -0
- /package/build/{localizeNumberFormat-fe02153f.js → localizeNumberFormat-53cbaaf1.js} +0 -0
- /package/build/{normalizeLink-8e0bf6f7.js → normalizeLink-c3885bca.js} +0 -0
- /package/build/{number-96da5bf3.js → number-dc4d0b00.js} +0 -0
- /package/build/{paths-1394796b.js → paths-79805462.js} +0 -0
- /package/build/{screenSizeContext-fb7c716d.js → screenSizeContext-eb66c071.js} +0 -0
- /package/build/{theme-d7f6b2e4.js → theme-6b7baadc.js} +0 -0
- /package/build/{translationsContext-cb208449.js → translationsContext-20478eec.js} +0 -0
- /package/build/{tslib.es6-4b9d0a36.js → tslib.es6-15853eea.js} +0 -0
- /package/build/{types-b8882b86.js → types-2a73c8cf.js} +0 -0
- /package/build/{useIsInit-887a3738.js → useIsInit-af1d4b28.js} +0 -0
- /package/build/{useOutsideClick-86f33f79.js → useOutsideClick-4b5a27d8.js} +0 -0
- /package/build/{useScrollbarSize-6c49566b.js → useScrollbarSize-55ae5aec.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("./theme-
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("./theme-6b7baadc.js"),r=require("./screenSizeContext-eb66c071.js"),o=require("./tslib.es6-15853eea.js"),a=require("react"),i=require("@mantine/core"),n=require("./constants-729267f0.js"),l=require("react-keyed-flatten-children"),s=require("./cookieHelper-5109a4f2.js"),d=require("slugify");require("./index-fa36dcfc.js");var c=require("string-format"),p=require("./isProduction-19fdda9c.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=u(e),m=u(a),g=u(l),b=u(d),_=u(c);const x=h.default.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
object-fit: cover;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,f=h.default.div`
|
|
58
58
|
position: relative;
|
|
59
59
|
|
|
60
60
|
> div {
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
justify-content: center;
|
|
69
69
|
align-items: center;
|
|
70
70
|
|
|
71
|
-
${e=>((e,r,o,a)=>{let i="";if("numeric"===e)switch(r){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let l
|
|
71
|
+
${e=>((e,r,o,a)=>{let i="";if("numeric"===e)switch(r){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let n,l="";o&&(l="\n position: absolute;\n top: 0;\n left: 75%;\n "),o&&(n=`\n left: 70%;\n\n ${"large"===r?"\n top: -7px;\n ":"medium"===r?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let s="";switch(a){case"primary":s=`\n background: ${t.theme.colors.primary50};\n color: ${t.theme.colors.primary600}; \n `;break;case"error":s=`\n background: ${t.theme.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${l}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${s}\n `;case"numeric":return`\n ${l}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${n}\n ${s}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
|
|
75
|
-
`,
|
|
75
|
+
`,E=h.default.h4`
|
|
76
76
|
position: relative;
|
|
77
77
|
line-height: 18px;
|
|
78
78
|
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
font-size: 16px;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`,
|
|
120
|
+
`,v=h.default.hr`
|
|
121
121
|
border-width: 1px;
|
|
122
122
|
border-color: ${e=>e.theme.colors.neutral200};
|
|
123
123
|
border-style: ${e=>e.dividerType};
|
|
124
|
-
`,
|
|
124
|
+
`,w=h.default.div`
|
|
125
125
|
position: relative;
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
box-shadow: 0 0 2px 2px
|
|
173
173
|
${e=>e.theme.colors.primary200};
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
175
|
+
`,y=h.default.div`
|
|
176
176
|
padding: 12px 18px 12px 16px;
|
|
177
177
|
cursor: pointer;
|
|
178
178
|
&[data-dropdown-open] {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
height: 16px;
|
|
188
188
|
width: 16px;
|
|
189
189
|
}
|
|
190
|
-
`,
|
|
190
|
+
`,T=h.default.ul`
|
|
191
191
|
position: absolute;
|
|
192
192
|
top: 100%;
|
|
193
193
|
right: 0;
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
207
207
|
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
|
|
208
208
|
}
|
|
209
|
-
`,
|
|
209
|
+
`,O=h.default.li`
|
|
210
210
|
margin: 8px;
|
|
211
211
|
padding: 12px 18px 12px 16px;
|
|
212
212
|
border-radius: ${e=>e.theme.borderRadius};
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
:active {
|
|
216
216
|
background: ${e=>e.theme.colors.gray100};
|
|
217
217
|
}
|
|
218
|
-
`,
|
|
218
|
+
`,A=h.default.div`
|
|
219
219
|
display: flex;
|
|
220
220
|
align-items: center;
|
|
221
221
|
margin-right: 8px;
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
height: 16px;
|
|
225
225
|
width: 16px;
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
227
|
+
`,I=h.default.div`
|
|
228
228
|
--columns-count: ${e=>e.theme.columns};
|
|
229
229
|
--columns-count-desktop: ${e=>e.theme.columnsDesktop};
|
|
230
230
|
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
> * {
|
|
251
251
|
justify-self: var(--justify-children);
|
|
252
252
|
}
|
|
253
|
-
`;var
|
|
253
|
+
`;var S="xzO2I0N";const L=i.createStyles((()=>({root:{}}))),R=h.default.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
align-items: center;
|
|
256
256
|
justify-content: space-between;
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
color: ${e=>e.theme.colors.white};
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
`,
|
|
269
|
+
`,k=h.default.div`
|
|
270
270
|
display: flex;
|
|
271
271
|
width: 32px;
|
|
272
272
|
height: 32px;
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
|
|
296
|
+
`,$=h.default.li`
|
|
297
297
|
display: flex;
|
|
298
298
|
width: 32px;
|
|
299
299
|
height: 32px;
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
line-height: 32px;
|
|
316
316
|
text-align: center;
|
|
317
317
|
}
|
|
318
|
-
`,
|
|
318
|
+
`,D=h.default.div`
|
|
319
319
|
position: relative;
|
|
320
320
|
width: 100%;
|
|
321
321
|
|
|
@@ -405,29 +405,29 @@
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
`;
|
|
408
|
+
`;h.default.label`
|
|
409
409
|
display: inline-block;
|
|
410
410
|
margin-bottom: 4px;
|
|
411
411
|
color: ${e=>e.theme.colors.gray600};
|
|
412
412
|
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
413
|
-
`;const
|
|
413
|
+
`;const C=h.default.label`
|
|
414
414
|
color: ${e=>e.theme.colors.red700};
|
|
415
415
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
416
|
-
`,
|
|
416
|
+
`,P=h.default.div`
|
|
417
417
|
position: absolute;
|
|
418
418
|
top: 50%;
|
|
419
419
|
right: 16px;
|
|
420
420
|
display: inline-flex;
|
|
421
421
|
cursor: pointer;
|
|
422
422
|
transform: translateY(-50%);
|
|
423
|
-
`,
|
|
423
|
+
`,G=h.default.div`
|
|
424
424
|
position: absolute;
|
|
425
425
|
top: 50%;
|
|
426
426
|
left: 16px;
|
|
427
427
|
display: inline-flex;
|
|
428
428
|
cursor: default;
|
|
429
429
|
transform: translateY(-50%);
|
|
430
|
-
`,
|
|
430
|
+
`,N=m.default.forwardRef(((e,t)=>{var{name:r,errorMessage:i,autoComplete:l="off",defaultValue:s,actionIcon:d,displayIcon:c,isDeleteAction:p,onActionClick:u,label:h,placeholder:g,className:b,onChange:_,onKeyPress:x,isDisabled:f,CustomInput:E,size:v,style:w,autoFocus:y,type:T="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:S}=e,L=o.__rest(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[R,k]=a.useState(s);return m.default.createElement(D,{"data-size":v,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!c||void 0,"data-has-error":i&&i.length>0||void 0,style:w},h&&m.default.createElement(n.Label,{size:"label2",htmlFor:r,className:"inputLabel"},h),m.default.createElement("div",{style:{position:"relative"}},E||m.default.createElement("input",Object.assign({id:r,name:r,placeholder:g,onChange:null!=S?S:e=>{return t=e.target.value,k(t),void _(t);var t},onKeyPress:x,type:T,"aria-label":T,disabled:f,value:R,autoComplete:l,ref:t,autoFocus:y,inputMode:O||"number"===T?"numeric":T,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},L)),c&&m.default.createElement(G,{className:"displayIcon"},c),d&&m.default.createElement(P,{className:"actionIcon",onClick:()=>{var e;p&&(k(""),null===(e=t.current)||void 0===e||e.focus()),u&&u()}},d)),i&&i.length>0&&m.default.createElement(C,{className:"errorLabel"},i))}));N.displayName="PureInput";const M=h.default.div`
|
|
431
431
|
--padding-horizontal: 8px;
|
|
432
432
|
--pading-vertical: 2px;
|
|
433
433
|
display: flex;
|
|
@@ -456,11 +456,11 @@
|
|
|
456
456
|
&:active {
|
|
457
457
|
background: ${e=>e.theme.colors.primary50};
|
|
458
458
|
}
|
|
459
|
-
`,
|
|
459
|
+
`,U=(e,t)=>a.forwardRef(((r,a)=>{var{className:i}=r,n=o.__rest(r,["className"]);return m.default.createElement(e,Object.assign({ref:a,className:`${t} ${i||""}`},n))})),B="24px",H="hhgcomp-toggle-icon",z=U(h.default.span`
|
|
460
460
|
position: relative;
|
|
461
461
|
display: block;
|
|
462
462
|
width: 40px;
|
|
463
|
-
height: ${
|
|
463
|
+
height: ${B};
|
|
464
464
|
background: #c3cbd4;
|
|
465
465
|
border-radius: 100px;
|
|
466
466
|
cursor: pointer;
|
|
@@ -476,10 +476,10 @@
|
|
|
476
476
|
content: '';
|
|
477
477
|
transition: 0.3s;
|
|
478
478
|
}
|
|
479
|
-
`,
|
|
479
|
+
`,H),j=h.default.span`
|
|
480
480
|
padding-left: 15px;
|
|
481
|
-
`,
|
|
482
|
-
height: ${
|
|
481
|
+
`,F=h.default.div`
|
|
482
|
+
height: ${B};
|
|
483
483
|
|
|
484
484
|
input[type='checkbox'] {
|
|
485
485
|
width: 0;
|
|
@@ -493,14 +493,14 @@
|
|
|
493
493
|
color: ${e=>e.theme.colors.gray600};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
input:checked + label .${
|
|
496
|
+
input:checked + label .${H} {
|
|
497
497
|
background: ${e=>e.theme.colors.primaryBase};
|
|
498
498
|
&:after {
|
|
499
499
|
left: calc(100% - 2px);
|
|
500
500
|
transform: translateX(-100%);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
`,
|
|
503
|
+
`,K=h.default.div`
|
|
504
504
|
textarea {
|
|
505
505
|
width: 100%;
|
|
506
506
|
height: var(--textarea-height, 116px);
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
cursor: not-allowed;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
`,
|
|
527
|
+
`,V=m.default.forwardRef((({height:e,placeholder:t,labelText:r,labelColor:o,id:a,name:i,onChange:l,value:s,className:d,onKeyPress:c,disabled:p=!1},u)=>m.default.createElement(K,{className:d,style:{"--textarea-height":e||"116px"}},r&&m.default.createElement(n.Label,{size:"label2",style:{color:o||"#595959"},htmlFor:a},r),m.default.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>l&&l(e.target.value),onKeyPress:e=>c&&c(e),value:s,disabled:p})))),Y=h.default.div`
|
|
528
528
|
display: flex;
|
|
529
529
|
cursor: pointer;
|
|
530
530
|
|
|
@@ -651,26 +651,7 @@
|
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
|
-
`,
|
|
655
|
-
background-color: var(--neutral50);
|
|
656
|
-
padding: 12px 0;
|
|
657
|
-
box-shadow: inset 0px 1px 0px #e4e8ec;
|
|
658
|
-
|
|
659
|
-
> * {
|
|
660
|
-
display: grid;
|
|
661
|
-
grid-template-columns: 32px 1fr;
|
|
662
|
-
align-content: center;
|
|
663
|
-
|
|
664
|
-
p {
|
|
665
|
-
font-weight: 600;
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.icon-wrapper {
|
|
670
|
-
display: flex;
|
|
671
|
-
align-items: center;
|
|
672
|
-
}
|
|
673
|
-
`,Q=g.default.div`
|
|
654
|
+
`,W=h.default.div`
|
|
674
655
|
display: inline-flex;
|
|
675
656
|
|
|
676
657
|
gap: calc(var(--gap) * 1px);
|
|
@@ -684,12 +665,12 @@
|
|
|
684
665
|
cursor: pointer;
|
|
685
666
|
}
|
|
686
667
|
}
|
|
687
|
-
`,
|
|
668
|
+
`,q="600ms",X=h.default.div`
|
|
688
669
|
position: fixed;
|
|
689
670
|
inset: 0;
|
|
690
671
|
z-index: ${t.theme.zIndexes.drawer};
|
|
691
672
|
pointer-events: ${e=>e.open?"auto":"none"};
|
|
692
|
-
`,
|
|
673
|
+
`,Q=h.default.div`
|
|
693
674
|
position: fixed;
|
|
694
675
|
z-index: 300;
|
|
695
676
|
background: #ffffff;
|
|
@@ -716,11 +697,11 @@
|
|
|
716
697
|
width: 100%;
|
|
717
698
|
border-radius: 0px 0px 6px 6px;
|
|
718
699
|
${o?e.css`
|
|
719
|
-
animation: ${r.slideInDown} ${
|
|
700
|
+
animation: ${r.slideInDown} ${q} ease-in-out forwards;
|
|
720
701
|
`:null}
|
|
721
702
|
|
|
722
703
|
&.slideOut {
|
|
723
|
-
animation: ${r.slideOutUp} ${
|
|
704
|
+
animation: ${r.slideOutUp} ${q} ease-in-out forwards;
|
|
724
705
|
}
|
|
725
706
|
`;case"right":return e.css`
|
|
726
707
|
right: 0;
|
|
@@ -729,22 +710,22 @@
|
|
|
729
710
|
border-radius: 6px 0px 0px 6px;
|
|
730
711
|
|
|
731
712
|
${o?e.css`
|
|
732
|
-
animation: ${r.slideInRight} ${
|
|
713
|
+
animation: ${r.slideInRight} ${q} ease-in-out forwards;
|
|
733
714
|
`:null}
|
|
734
715
|
|
|
735
716
|
&.slideOut {
|
|
736
|
-
animation: ${r.slideOutRight} ${
|
|
717
|
+
animation: ${r.slideOutRight} ${q} ease-in-out forwards;
|
|
737
718
|
}
|
|
738
719
|
`;case"bottom":return e.css`
|
|
739
720
|
bottom: 0;
|
|
740
721
|
width: 100%;
|
|
741
722
|
border-radius: 6px 6px 0px 0px;
|
|
742
723
|
${o?e.css`
|
|
743
|
-
animation: ${r.slideInUp} ${
|
|
724
|
+
animation: ${r.slideInUp} ${q} ease-in-out forwards;
|
|
744
725
|
`:null}
|
|
745
726
|
|
|
746
727
|
&.slideOut {
|
|
747
|
-
animation: ${r.slideOutDown} ${
|
|
728
|
+
animation: ${r.slideOutDown} ${q} ease-in-out forwards;
|
|
748
729
|
}
|
|
749
730
|
`;case"left":return e.css`
|
|
750
731
|
left: 0;
|
|
@@ -753,11 +734,11 @@
|
|
|
753
734
|
border-radius: 0px 6px 6px 0px;
|
|
754
735
|
|
|
755
736
|
${o?e.css`
|
|
756
|
-
animation: ${r.slideInLeft} ${
|
|
737
|
+
animation: ${r.slideInLeft} ${q} ease-in-out forwards;
|
|
757
738
|
`:null}
|
|
758
739
|
|
|
759
740
|
&.slideOut {
|
|
760
|
-
animation: ${r.slideOutLeft} ${
|
|
741
|
+
animation: ${r.slideOutLeft} ${q} ease-in-out forwards;
|
|
761
742
|
}
|
|
762
743
|
`;default:return e.css`
|
|
763
744
|
left: 0;
|
|
@@ -766,18 +747,18 @@
|
|
|
766
747
|
border-radius: 0px 6px 6px 0px;
|
|
767
748
|
|
|
768
749
|
${o?e.css`
|
|
769
|
-
animation: ${r.slideInUp} ${
|
|
750
|
+
animation: ${r.slideInUp} ${q} ease-in-out forwards;
|
|
770
751
|
`:null}
|
|
771
752
|
|
|
772
753
|
&.slideOut {
|
|
773
|
-
animation: ${r.slideOutDown} ${
|
|
754
|
+
animation: ${r.slideOutDown} ${q} ease-in-out forwards;
|
|
774
755
|
}
|
|
775
756
|
`}})(t.placement,t.open)}
|
|
776
|
-
`,
|
|
757
|
+
`,Z=h.default.div`
|
|
777
758
|
min-height: 200px;
|
|
778
759
|
padding: 16px;
|
|
779
760
|
overflow-y: auto;
|
|
780
|
-
`,
|
|
761
|
+
`,J=h.default.div`
|
|
781
762
|
position: fixed;
|
|
782
763
|
inset: 0;
|
|
783
764
|
display: flex;
|
|
@@ -798,7 +779,7 @@
|
|
|
798
779
|
visibility: visible;
|
|
799
780
|
pointer-events: auto;
|
|
800
781
|
}
|
|
801
|
-
`,
|
|
782
|
+
`,ee=h.default.div`
|
|
802
783
|
display: flex;
|
|
803
784
|
width: 100%;
|
|
804
785
|
|
|
@@ -809,7 +790,7 @@
|
|
|
809
790
|
&[data-direction='horizontal'] {
|
|
810
791
|
flex-wrap: wrap;
|
|
811
792
|
}
|
|
812
|
-
`,
|
|
793
|
+
`,te=h.default.div`
|
|
813
794
|
display: flex;
|
|
814
795
|
|
|
815
796
|
padding: 8px;
|
|
@@ -869,11 +850,11 @@
|
|
|
869
850
|
height: 40px;
|
|
870
851
|
}
|
|
871
852
|
}
|
|
872
|
-
`;var
|
|
853
|
+
`;var re=i.createStyles((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const oe=a.createContext({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1});
|
|
873
854
|
/*!
|
|
874
855
|
* cookie
|
|
875
856
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
876
857
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
877
858
|
* MIT Licensed
|
|
878
859
|
*/
|
|
879
|
-
var ne=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=(t||{}).decode||pe,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<i){a=e.lastIndexOf(";",i-1)+1;continue}var n=e.slice(a,i).trim();if(void 0===r[n]){var s=e.slice(i+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),r[n]=he(s,o)}a=l+1}return r},se=function(e,t,r){var o=r||{},a=o.encode||ue;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ce.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ce.test(i))throw new TypeError("argument val is invalid");var l=e+"="+i;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ce.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ce.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===de.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},de=Object.prototype.toString,ce=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function pe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ue(e){return encodeURIComponent(e)}function he(e,t){try{return t(e)}catch(t){return e}}var me={parse:ne,serialize:se};const ge={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},be={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},_e=a.createContext({data:be,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=be;const xe="DD/MM/YYYY",fe="/images/avatar.jpg",Ee="/images/default-image.jpg",ve={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},we={"id-ID":{"kalkulator-bmi":ve.BMI,"kebutuhan-kalori":ve.BMR,"kalkulator-hari-perkiraan-lahir":ve.DUE_DATE,"kalkulator-masa-subur-2":ve.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":ve.PWG,"kalkulator-detak-jantung-saat-olahraga":ve.THR},"ms-MY":{"kalkulator-bmi":ve.BMI,"kalkulator-bmr":ve.BMR,"kalkulator-tarikh-bersalin":ve.DUE_DATE,"kalkulator-kesuburan":ve.OVULATION,"kalkulator-tambah-berat-badan-hamil":ve.PWG,"target-heart-rate-calculator":ve.THR},"vi-VN":{"cach-tinh-chi-so-bmi":ve.BMI,"tinh-chi-so-bmr":ve.BMR,"cong-cu-tinh-ngay-du-sinh":ve.DUE_DATE,"tinh-ngay-rung-trung":ve.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":ve.PWG,"cong-cu-do-nhip-tim":ve.THR},"zh-TW":{"bmi-calculator":ve.BMI,"bmr-calculator":ve.BMR,"due-date-calculator":ve.DUE_DATE,"ovulation-calculator":ve.OVULATION,"pregnancy-weight-gain-calculator":ve.PWG,"target-heart-rate-calculator":ve.THR},"en-PH":{"bmi-calculator":ve.BMI,"bmr-calculator":ve.BMR,"due-date-calculator":ve.DUE_DATE,"ovulation-calculator":ve.OVULATION,"pregnancy-weight-gain-calculator":ve.PWG,"target-heart-rate-calculator":ve.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":ve.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":ve.BMR,"เครื่องมือคำนวณกำหนดคลอด":ve.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":ve.OVULATION,"เครื่องคำนวณน้ำหนักตัว":ve.PWG,"เครื่องวัดอัตราการเต้น":ve.THR},"hi-IN":{"bmi-calculator-en":ve.BMI,"bmi-calculator":ve.BMI,"bmr-calculator":ve.BMR,"delivery-date-calculator":ve.DUE_DATE,"ovulation-calculator":ve.OVULATION,"pregnancy-weight-gain-calculator":ve.PWG,"target-heart-rate-calculator":ve.THR},"km-KH":{"គណនា-bmi":ve.BMI,"គណនា-bmr":ve.BMR,"គណនាថ្ងៃសម្រាលកូន":ve.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":ve.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":ve.PWG,"គណនារកចង្វាក់បេះដូងល្អ":ve.THR},"my-MM":{"bmi-calculator":ve.BMI,"bmr-calculator":ve.BMR,"due-date-calendar":ve.DUE_DATE,"ovulation-calculator":ve.OVULATION,"pregnaancy-weight-calculator":ve.PWG,"target-heartrate":ve.THR,"pregnancy-weight-calculator":ve.PWG,"target-heart-rate":ve.THR}},ye="hhg_user_token",Te="together_admin_token",Oe={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Ae={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Ie={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Se=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:xe,DEFAULT_AVATAR_IMG:fe,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Ee,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:ve,LOCALE_HEALTH_TOOLS:we,BEARER_TOKEN_COOKIE:ye,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Te,Z_INDEX:Oe,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:Ae,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Ie});const Le={"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"},Re={"vi-VN":"marrybaby.vn"},ke=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",$e=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?Re[e]:Le[e]}`},De=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ce=(e,t,r)=>{let o="";r&&(o=Object.keys(r).map((e=>e+"="+r[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let i=f.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:$e(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${o}`,a+"api/v1/"+De(i)},Pe=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Ge=(e,t,r,a=!1)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,l,n;try{const o=yield fetch(a?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Pe(r)),{headers:Object.assign({},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}catch(t){return console.log(t),console.log({url:e,status:null===(o=null==t?void 0:t.response)||void 0===o?void 0:o.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Ne=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=me.parse(a||""),i=o[ye]||c.getCookie(ye);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Pe(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Me(e,t,r){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+a+t+"="+r}const Ue=(e,t,r,o)=>r&&t?`${r}-${t}`:`${x.default(e||"",{lower:!0,locale:o||ke})}-${t}`;var Be=i.createStyles((e=>({root:{},wrapper:{gap:i.rem(8)},groupErr:{fontSize:i.rem(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${i.rem(6)} ${i.rem(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:i.rem(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:i.rem(26)}},itemInner:{display:"none"}})));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=ye,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=fe,exports.DEFAULT_IMG=Ee,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=xe,exports.DefaultComponentGlobalContextData=be,exports.HEALTH_TOOL_TYPE=ve,exports.Heading=e=>{var t,{as:r,tag:a,className:i,children:l,title:n,color:s,style:d,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:h}=e,m=o.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const g=r||a,{theme:_}=k(void 0,{name:"Heading"});return b.default.createElement(g,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},d),"data-tag":a,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":h,className:`${R} ${i||""}`},m),l)},exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=ge,exports.PureInput=U,exports.REPORT_REASON_MAP=Ae,exports.StepRenderer=({children:e,onStepChange:t})=>{const[r,o]=a.useState(0),[i,l]=a.useState(0),n=b.default.Children.count(e);a.useEffect((()=>{l(n-1)}),[n]),a.useEffect((()=>{null==t||t(r)}),[r]);return b.default.createElement(le.Provider,{value:{currentStep:r,setCurrentStep:o,setMaxStep:l,nextStep:()=>r+1<=i&&o(r+1),prevStep:()=>r-1>=0&&o(r-1)}},_.default(e).map(((e,t)=>{const o=t===r;return b.default.createElement(a.Fragment,{key:t},b.default.isValidElement(e)?e.props.alwaysRender||o?b.default.cloneElement(e,{isActive:t===r,stepIndex:t}):null:o?e:null)})))},exports.StepRendererContext=le,exports.StyledAvatar=E,exports.StyledBackdrop=re,exports.StyledBadge=v,exports.StyledBorderHeading=w,exports.StyledCheckbox=q,exports.StyledDivider=y,exports.StyledDrawer=J,exports.StyledDrawerContent=te,exports.StyledDrawerPanel=ee,exports.StyledDropdown=T,exports.StyledDropdownList=A,exports.StyledDropdownName=O,exports.StyledDropdownOption=I,exports.StyledGrid=L,exports.StyledIcon=S,exports.StyledPageBlock=D,exports.StyledPagination=$,exports.StyledPaginationBlock=C,exports.StyledRadioImageGroup=oe,exports.StyledRadioImageItem=ae,exports.StyledRateStars=Q,exports.StyledTag=B,exports.StyledToggle=V,exports.StyledToggleIcon=F,exports.StyledToggleLabel=K,exports.TextArea=W,exports.TextDivider=({children:e,icon:t,className:r,style:o})=>b.default.createElement(X,{style:o,className:r},b.default.createElement(n.Container,null,b.default.createElement("div",{className:"icon-wrapper"},t),b.default.createElement(s.Text,{size:"c1",color:"var(--neutral800)"},e))),exports.TogetherComponentGlobalContext=_e,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:r,router:o,env:i={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:r,locale:e,togetherUserId:s,router:o,env:i},a.useEffect((()=>{(null==r?void 0:r.id)&&Ne(Ce(ge.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),b.default.createElement(_e.Provider,{value:{data:{userInfo:r,locale:e,togetherUserId:s,router:o,env:i},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.Z_INDEX=Oe,exports.callApi=Ge,exports.callApiWithAdminAuth=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=me.parse(a||""),i=o[Te]||c.getCookie(Te);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Pe(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Ne,exports.callApiWithOptionalAuth=(e,t="GET",r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,l,n,s,d;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,d=me.parse(a||""),p=d[ye]||c.getCookie(ye);if(!p||!p.length)return Ge(s||n,t,r);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Pe(r)),{headers:Object.assign({Authorization:"Bearer "+p},null==r?void 0:r.headers)})).then((e=>e.json()));if(null===(o=null==e?void 0:e.messages)||void 0===o?void 0:o.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Ge(s||n,t,r);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Ge(s||n,t,r)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),exports.constants=Se,exports.domainLocales=Le,exports.domainLocalesMarryBaby=Re,exports.getApiPath=Ce,exports.getCareDoctorUrl=({name:e,id:t,locale:r})=>{var o;return`/care/${null===(o=Ie[r||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Ue(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:r,locale:o})=>{var a;return`/care/${null===(a=Ie[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Ue(e,t,r)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://service-health-care.hellohealthgroup.com/")+De(f.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const r="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${r?t?"fe.":"discover.":t?"www.":""}${Le[e]}`},exports.getDefaultClassWrapper=H,exports.getDiscoverApiPath=(e,t,r)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!h.isProduction&&r?a:o)+"wp-json/api/"+De(f.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,r)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r&&!h.isProduction?a:o)+"wp-json/api/"+De(f.default(e,Object.assign({},t)))},exports.getPremiumApiPath=(e,t)=>{const{premiumBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://premium-content-stag.hellohealthgroup.com/")+De(f.default(e,Object.assign({},t)))},exports.getSsoApiPath=(e,t)=>{const{publicSSO:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://staging-id.hellobacsi.com/")+"api/"+De(f.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,r="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:r}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Me(o,e,t[e])})),Me(o,"source","communities"),r?`${r}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${r}/on-boarding?return=${encodeURIComponent(o)}`,t)},exports.getWebsiteUrlApi=$e,exports.useStyles=Be,exports.useStyles$1=ie;
|
|
860
|
+
var ae=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=(t||{}).decode||se,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var l=e.slice(a,i).trim();if(void 0===r[l]){var s=e.slice(i+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),r[l]=ce(s,o)}a=n+1}return r},ie=function(e,t,r){var o=r||{},a=o.encode||de;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!le.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!le.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!le.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!le.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===ne.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},ne=Object.prototype.toString,le=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function se(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function de(e){return encodeURIComponent(e)}function ce(e,t){try{return t(e)}catch(t){return e}}var pe={parse:ae,serialize:ie};const ue={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},he={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},me=a.createContext({data:he,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=he;const ge="DD/MM/YYYY",be="/images/avatar.jpg",_e="/images/default-image.jpg",xe={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},fe={"id-ID":{"kalkulator-bmi":xe.BMI,"kebutuhan-kalori":xe.BMR,"kalkulator-hari-perkiraan-lahir":xe.DUE_DATE,"kalkulator-masa-subur-2":xe.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":xe.PWG,"kalkulator-detak-jantung-saat-olahraga":xe.THR},"ms-MY":{"kalkulator-bmi":xe.BMI,"kalkulator-bmr":xe.BMR,"kalkulator-tarikh-bersalin":xe.DUE_DATE,"kalkulator-kesuburan":xe.OVULATION,"kalkulator-tambah-berat-badan-hamil":xe.PWG,"target-heart-rate-calculator":xe.THR},"vi-VN":{"cach-tinh-chi-so-bmi":xe.BMI,"tinh-chi-so-bmr":xe.BMR,"cong-cu-tinh-ngay-du-sinh":xe.DUE_DATE,"tinh-ngay-rung-trung":xe.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":xe.PWG,"cong-cu-do-nhip-tim":xe.THR},"zh-TW":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"en-PH":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":xe.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":xe.BMR,"เครื่องมือคำนวณกำหนดคลอด":xe.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":xe.OVULATION,"เครื่องคำนวณน้ำหนักตัว":xe.PWG,"เครื่องวัดอัตราการเต้น":xe.THR},"hi-IN":{"bmi-calculator-en":xe.BMI,"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"delivery-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"km-KH":{"គណនា-bmi":xe.BMI,"គណនា-bmr":xe.BMR,"គណនាថ្ងៃសម្រាលកូន":xe.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":xe.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":xe.PWG,"គណនារកចង្វាក់បេះដូងល្អ":xe.THR},"my-MM":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calendar":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnaancy-weight-calculator":xe.PWG,"target-heartrate":xe.THR,"pregnancy-weight-calculator":xe.PWG,"target-heart-rate":xe.THR}},Ee="hhg_user_token",ve="together_admin_token",we={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},ye={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Te={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Oe=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:ge,DEFAULT_AVATAR_IMG:be,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:_e,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:xe,LOCALE_HEALTH_TOOLS:fe,BEARER_TOKEN_COOKIE:Ee,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:ve,Z_INDEX:we,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:ye,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Te});const Ae={"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"},Ie={"vi-VN":"marrybaby.vn"},Se=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Le=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?Ie[e]:Ae[e]}`},Re=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},ke=(e,t,r)=>{let o="";r&&(o=Object.keys(r).map((e=>e+"="+r[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let i=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Le(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Re(i)},$e=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),De=(e,t,r,a=!1)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,n,l;try{const o=yield fetch(a?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}catch(t){return console.log(t),console.log({url:e,status:null===(o=null==t?void 0:t.response)||void 0===o?void 0:o.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),Ce=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=pe.parse(a||""),i=o[Ee]||s.getCookie(Ee);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Pe(e,t,r){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+a+t+"="+r}const Ge=(e,t,r,o)=>r&&t?`${r}-${t}`:`${b.default(e||"",{lower:!0,locale:o||Se})}-${t}`;var Ne=i.createStyles((e=>({root:{},wrapper:{gap:i.rem(8)},groupErr:{fontSize:i.rem(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${i.rem(6)} ${i.rem(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:i.rem(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:i.rem(26)}},itemInner:{display:"none"}})));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=Ee,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=be,exports.DEFAULT_IMG=_e,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=ge,exports.DefaultComponentGlobalContextData=he,exports.HEALTH_TOOL_TYPE=xe,exports.Heading=e=>{var t,{as:r,tag:a,className:i,children:n,title:l,color:s,style:d,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:h}=e,g=o.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=r||a,{theme:_}=L(void 0,{name:"Heading"});return m.default.createElement(b,Object.assign({title:l,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},d),"data-tag":a,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":h,className:`${S} ${i||""}`},g),n)},exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=ue,exports.PureInput=N,exports.REPORT_REASON_MAP=ye,exports.StepRenderer=({children:e,onStepChange:t})=>{const[r,o]=a.useState(0),[i,n]=a.useState(0),l=m.default.Children.count(e);a.useEffect((()=>{n(l-1)}),[l]),a.useEffect((()=>{null==t||t(r)}),[r]);return m.default.createElement(oe.Provider,{value:{currentStep:r,setCurrentStep:o,setMaxStep:n,nextStep:()=>r+1<=i&&o(r+1),prevStep:()=>r-1>=0&&o(r-1)}},g.default(e).map(((e,t)=>{const o=t===r;return m.default.createElement(a.Fragment,{key:t},m.default.isValidElement(e)?e.props.alwaysRender||o?m.default.cloneElement(e,{isActive:t===r,stepIndex:t}):null:o?e:null)})))},exports.StepRendererContext=oe,exports.StyledAvatar=x,exports.StyledBackdrop=J,exports.StyledBadge=f,exports.StyledBorderHeading=E,exports.StyledCheckbox=Y,exports.StyledDivider=v,exports.StyledDrawer=X,exports.StyledDrawerContent=Z,exports.StyledDrawerPanel=Q,exports.StyledDropdown=w,exports.StyledDropdownList=T,exports.StyledDropdownName=y,exports.StyledDropdownOption=O,exports.StyledGrid=I,exports.StyledIcon=A,exports.StyledPageBlock=k,exports.StyledPagination=R,exports.StyledPaginationBlock=$,exports.StyledRadioImageGroup=ee,exports.StyledRadioImageItem=te,exports.StyledRateStars=W,exports.StyledTag=M,exports.StyledToggle=F,exports.StyledToggleIcon=z,exports.StyledToggleLabel=j,exports.TextArea=V,exports.TogetherComponentGlobalContext=me,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:r,router:o,env:i={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:l=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:r,locale:e,togetherUserId:s,router:o,env:i},a.useEffect((()=>{(null==r?void 0:r.id)&&Ce(ke(ue.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),m.default.createElement(me.Provider,{value:{data:{userInfo:r,locale:e,togetherUserId:s,router:o,env:i},action:{pushNotifications:l,sanitizeFunction:n}}},t)},exports.Z_INDEX=we,exports.callApi=De,exports.callApiWithAdminAuth=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=pe.parse(a||""),i=o[ve]||s.getCookie(ve);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Ce,exports.callApiWithOptionalAuth=(e,t="GET",r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,n,l,d,c;try{const l="string"==typeof e?e:e.url,d="string"==typeof e?e:e.backupUrl,c=pe.parse(a||""),p=c[Ee]||s.getCookie(Ee);if(!p||!p.length)return De(d||l,t,r);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({Authorization:"Bearer "+p},null==r?void 0:r.headers)})).then((e=>e.json()));if(null===(o=null==e?void 0:e.messages)||void 0===o?void 0:o.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return De(d||l,t,r);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),De(d||l,t,r)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.status,statusText:null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.statusText}),(null===(c=null==e?void 0:e.response)||void 0===c?void 0:c.data)||null}return null})),exports.constants=Oe,exports.domainLocales=Ae,exports.domainLocalesMarryBaby=Ie,exports.getApiPath=ke,exports.getCareDoctorUrl=({name:e,id:t,locale:r})=>{var o;return`/care/${null===(o=Te[r||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Ge(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:r,locale:o})=>{var a;return`/care/${null===(a=Te[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Ge(e,t,r)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://service-health-care.hellohealthgroup.com/")+Re(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const r="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${r?t?"fe.":"discover.":t?"www.":""}${Ae[e]}`},exports.getDefaultClassWrapper=U,exports.getDiscoverApiPath=(e,t,r)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!p.isProduction&&r?a:o)+"wp-json/api/"+Re(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,r)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r&&!p.isProduction?a:o)+"wp-json/api/"+Re(_.default(e,Object.assign({},t)))},exports.getPremiumApiPath=(e,t)=>{const{premiumBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://premium-content-stag.hellohealthgroup.com/")+Re(_.default(e,Object.assign({},t)))},exports.getSsoApiPath=(e,t)=>{const{publicSSO:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://staging-id.hellobacsi.com/")+"api/"+Re(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,r="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:r}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Pe(o,e,t[e])})),Pe(o,"source","communities"),r?`${r}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${r}/on-boarding?return=${encodeURIComponent(o)}`,t)},exports.getWebsiteUrlApi=Le,exports.useStyles=Ne,exports.useStyles$1=re;
|