@hhgtech/hhg-components 1.26.71 → 1.26.73
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.js +1 -1
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +3 -0
- package/build/components/navigationV2/index.d.ts +2 -0
- package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +2 -1
- package/build/components/organisms/userProfileNavigation/index.d.ts +2 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-47603061.js → core-58abe73a.js} +1 -1
- package/build/{dataTransform-559ca211.js → dataTransform-cc89d72d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +6 -6
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-caa775bd.js → core-78831e26.js} +1 -1
- package/build/esm/{dataTransform-e925990d.js → dataTransform-1c8ff733.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-81f76059.js → fixedBottomAdBlock-2289f247.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-90793ba5.js +1 -0
- package/build/esm/{getSocialList-39233cdd.js → getSocialList-e9cd6d91.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-ced60e6d.js → index-00052e33.js} +1 -1
- package/build/esm/{index-3afcdd08.js → index-09c71638.js} +1 -1
- package/build/esm/index-0a507ebb.js +1 -0
- package/build/esm/index-18ad34a3.js +1 -0
- package/build/esm/{index-ff826704.js → index-1da35a24.js} +1 -1
- package/build/esm/{index-24b3ca54.js → index-2322501a.js} +1 -1
- package/build/esm/{index-00d07a8b.js → index-27dac1d2.js} +1 -1
- package/build/esm/index-29a7b961.js +1 -0
- package/build/esm/{index-c1180a8f.js → index-379e2e04.js} +1 -1
- package/build/esm/{index-cc88e053.js → index-427d9690.js} +1 -1
- package/build/esm/{index-8bc7ca58.js → index-4306c019.js} +1 -1
- package/build/esm/index-5124a84f.js +1 -0
- package/build/esm/{index-835dbab6.js → index-660c9993.js} +1 -1
- package/build/esm/index-6bf13551.js +1 -0
- package/build/esm/{index-d9838f62.js → index-993bfe79.js} +1 -1
- package/build/esm/{index-cee1bc0a.js → index-b55a48f3.js} +1 -1
- package/build/esm/{index-b5932912.js → index-bd6fff6a.js} +1 -1
- package/build/esm/{index-e5d1c52e.js → index-cac42c1a.js} +1 -1
- package/build/esm/{index-4db266e2.js → index-d26ba6c1.js} +1 -1
- package/build/esm/{index-4684df85.js → index-d91f335c.js} +1 -1
- package/build/esm/{index-43cbc158.js → index-e1fabe21.js} +1 -1
- package/build/esm/{index-40b55a9d.js → index-e2b6628b.js} +1 -1
- package/build/esm/{index-018a3ebe.js → index-e9eccfd1.js} +1 -1
- package/build/esm/{index-e4895b64.js → index-ee79c397.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-bbb1af93.js → index.styled-07189132.js} +7 -7
- package/build/esm/{index.styled-80669a2a.js → index.styled-4e66a7ef.js} +1 -1
- package/build/esm/{index.styled-2dc9538c.js → index.styled-814e4704.js} +1 -1
- package/build/esm/{index.styled-e1ea9844.js → index.styled-ddf38d67.js} +895 -895
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-61b08faa.js → routing-49b02ef4.js} +1 -1
- package/build/esm/{screenSizeContext-31e88da0.js → screenSizeContext-4ba69e1d.js} +4 -4
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-6bcda9a9.js → translationsProvider-9f4f07c7.js} +1 -1
- package/build/esm/{types-22ffc6eb.js → types-5dd64b84.js} +1 -1
- package/build/esm/{types-91d7c7e4.js → types-cbc770f2.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-5e949049.js +1 -0
- package/build/esm/{useRafState-697295b6.js → useRafState-a821a326.js} +1 -1
- package/build/esm/useTranslations-5d864a21.js +1 -0
- package/build/esm/{utils-17686324.js → utils-811a83e5.js} +6 -6
- package/build/esm/vaccination.js +5 -5
- package/build/{fixedBottomAdBlock-9ace4676.js → fixedBottomAdBlock-b0496596.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-07b0d3b9.js → getDynamicHealthTool-3940077b.js} +1 -1
- package/build/{getSocialList-a57e2dad.js → getSocialList-9db8b91d.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-3f7238fb.js → index-1ee1be98.js} +1 -1
- package/build/{index-cc0a2ff8.js → index-2927bfec.js} +1 -1
- package/build/{index-a4b4e0a5.js → index-3cf07d72.js} +1 -1
- package/build/{index-ae5e2561.js → index-3d9e18ef.js} +1 -1
- package/build/{index-35bce1a8.js → index-5067e711.js} +1 -1
- package/build/{index-3c281fc8.js → index-5be31d81.js} +1 -1
- package/build/{index-408aaaee.js → index-6817b5d7.js} +1 -1
- package/build/{index-5c15c8c4.js → index-6cf880e2.js} +1 -1
- package/build/{index-71c7d413.js → index-7609dab9.js} +1 -1
- package/build/{index-9fb9cde0.js → index-7d4a45a0.js} +1 -1
- package/build/{index-05c7d230.js → index-84241083.js} +1 -1
- package/build/{index-f57ff3c3.js → index-901a6560.js} +1 -1
- package/build/{index-31c69304.js → index-90898016.js} +1 -1
- package/build/{index-ef4ba848.js → index-985b6ac6.js} +1 -1
- package/build/{index-cc03db9e.js → index-b2a58c46.js} +1 -1
- package/build/{index-b2611d9d.js → index-b44ec8c0.js} +1 -1
- package/build/{index-6a52ebce.js → index-baa581f9.js} +1 -1
- package/build/{index-1f175f7d.js → index-bf6f99ad.js} +1 -1
- package/build/{index-8c02d5d8.js → index-c859c654.js} +1 -1
- package/build/{index-ed1ef688.js → index-da41cb71.js} +1 -1
- package/build/{index-cb7b3331.js → index-df593bbc.js} +1 -1
- package/build/index-e7cd9b61.js +1 -0
- package/build/{index-b8aa4a4b.js → index-f5c74425.js} +1 -1
- package/build/{index-0e073fb3.js → index-f9f1c50a.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-c4fee875.js → index.styled-27887426.js} +578 -578
- package/build/{index.styled-63a5c566.js → index.styled-5e35b4ce.js} +1 -1
- package/build/{index.styled-dc92d1e3.js → index.styled-75d8a80f.js} +1 -1
- package/build/{index.styled-d3258cde.js → index.styled-f5149bf5.js} +4 -4
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-f8c08170.js → routing-b871530b.js} +1 -1
- package/build/{screenSizeContext-d3ea7b9e.js → screenSizeContext-798a1742.js} +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-e15fcdf8.js → translationsProvider-dc53208d.js} +1 -1
- package/build/{types-ab635bb8.js → types-352a87c0.js} +1 -1
- package/build/{types-77407af3.js → types-da15ca5e.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-eacc0d4b.js +1 -0
- package/build/{useRafState-6f66cefa.js → useRafState-d2093ab3.js} +1 -1
- package/build/useTranslations-f990381a.js +1 -0
- package/build/{utils-ea6f04aa.js → utils-e21fba9c.js} +12 -12
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-e316ed56.js +0 -1
- package/build/esm/index-21ac9fbb.js +0 -1
- package/build/esm/index-51aa66aa.js +0 -1
- package/build/esm/index-9ea1cae3.js +0 -1
- package/build/esm/index-d953f93c.js +0 -1
- package/build/esm/index-e38c84c8.js +0 -1
- package/build/esm/useHealthToolCache-2719fbda.js +0 -1
- package/build/esm/useTranslations-9914395f.js +0 -1
- package/build/index-029d505a.js +0 -1
- package/build/useHealthToolCache-a7e5f6a8.js +0 -1
- package/build/useTranslations-9bfc5db9.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-7418bb5c.js → BMI_BOYS.percentile.monthly-6916b482.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f75ea86b.js → BMI_BOYS.percentile.weekly-264f0d68.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-24e07053.js → BMI_BOYS.percentile.yearly-09dd1a3b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e22ae00e.js → BMI_BOYS.zscore.monthly-b37c78c6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-556656cc.js → BMI_BOYS.zscore.weekly-ca9e3e33.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-ed45993b.js → BMI_BOYS.zscore.yearly-71ddc992.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-8e035a2f.js → BMI_GIRLS.percentile.monthly-6d9a39d4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-48a460b4.js → BMI_GIRLS.percentile.weekly-43cf5db5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f6364ed7.js → BMI_GIRLS.percentile.yearly-17088c48.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-02349d3f.js → BMI_GIRLS.zscore.monthly-e9fa0275.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-34ff8068.js → BMI_GIRLS.zscore.weekly-2157e7a1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e2b2e39f.js → BMI_GIRLS.zscore.yearly-c60a101a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a8517197.js → HEAD CIRCUM_BOYS.percentile.monthly-691894e7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-2ac210df.js → HEAD CIRCUM_BOYS.percentile.weekly-453777e8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-effc5634.js → HEAD CIRCUM_BOYS.percentile.yearly-0a5c8410.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-84dbdb4c.js → HEAD CIRCUM_BOYS.zscore.monthly-e9a0e8e1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-dca7f683.js → HEAD CIRCUM_BOYS.zscore.weekly-1b7a4110.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d0a74620.js → HEAD CIRCUM_BOYS.zscore.yearly-2a9854b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-43a8900a.js → HEAD CIRCUM_GIRLS.percentile.monthly-af105b74.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4f4999af.js → HEAD CIRCUM_GIRLS.percentile.weekly-1fa12191.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7dee43af.js → HEAD CIRCUM_GIRLS.percentile.yearly-40d63fb5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3448a0e3.js → HEAD CIRCUM_GIRLS.zscore.monthly-7d8fdde8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-348e6935.js → HEAD CIRCUM_GIRLS.zscore.weekly-91fff26c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3001883b.js → HEAD CIRCUM_GIRLS.zscore.yearly-4f42f764.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-85dabcf2.js → HEIGHT_BOYS.percentile.monthly-70b3da74.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-c2d82d48.js → HEIGHT_BOYS.percentile.weekly-65ca22d8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-56d23f15.js → HEIGHT_BOYS.percentile.yearly-00c27f61.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b536d4bc.js → HEIGHT_BOYS.zscore.monthly-d649a610.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-645f04a5.js → HEIGHT_BOYS.zscore.weekly-36a74af3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-18972496.js → HEIGHT_BOYS.zscore.yearly-7cd6e870.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ac0a80c7.js → HEIGHT_GIRLS.percentile.monthly-1dd23262.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e9c26d7a.js → HEIGHT_GIRLS.percentile.weekly-ddb979a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-dfda860b.js → HEIGHT_GIRLS.percentile.yearly-8c84cd63.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-1a0fb7f7.js → HEIGHT_GIRLS.zscore.monthly-4e247985.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-169b9a0c.js → HEIGHT_GIRLS.zscore.weekly-5c495557.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-477a608c.js → HEIGHT_GIRLS.zscore.yearly-c8642134.js} +0 -0
- /package/build/{Onboarding-1fd634e7.js → Onboarding-e7188dcb.js} +0 -0
- /package/build/{Visible-51301110.js → Visible-df340d91.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-de520510.js → WEIGHT_BOYS.percentile.monthly-6c814cc3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-24eec45b.js → WEIGHT_BOYS.percentile.weekly-cb49479e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7237e0bf.js → WEIGHT_BOYS.percentile.yearly-310ec306.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-50ab97c1.js → WEIGHT_BOYS.zscore.monthly-4de3ae44.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-148da591.js → WEIGHT_BOYS.zscore.weekly-53abb5f4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-7decef7e.js → WEIGHT_BOYS.zscore.yearly-c8117291.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-99c17998.js → WEIGHT_GIRLS.percentile.monthly-db9a7315.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6da05622.js → WEIGHT_GIRLS.percentile.weekly-acc04e6d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-60962b46.js → WEIGHT_GIRLS.percentile.yearly-ea22f915.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8e00d1f1.js → WEIGHT_GIRLS.zscore.monthly-eb0d4641.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-9b63bac8.js → WEIGHT_GIRLS.zscore.weekly-13d8d9df.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-ab39ed1b.js → WEIGHT_GIRLS.zscore.yearly-d0c19464.js} +0 -0
- /package/build/{constants-385829a1.js → constants-c87791c7.js} +0 -0
- /package/build/{cookieHelper-05edf514.js → cookieHelper-d25da3c5.js} +0 -0
- /package/build/{dataTransform-60c8a00d.js → dataTransform-458eddd0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-37de8328.js → BMI_BOYS.percentile.monthly-5d0bddcf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ddae51d1.js → BMI_BOYS.percentile.weekly-f3768602.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-de0b628f.js → BMI_BOYS.percentile.yearly-ec0eb767.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-387e4141.js → BMI_BOYS.zscore.monthly-ae6d907e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-edf59cbf.js → BMI_BOYS.zscore.weekly-acc97bac.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-cffad610.js → BMI_BOYS.zscore.yearly-2a460c01.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-17d661a3.js → BMI_GIRLS.percentile.monthly-cbdb3a1c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-adbe0ea7.js → BMI_GIRLS.percentile.weekly-38e052d0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8a80234e.js → BMI_GIRLS.percentile.yearly-5c5c1bad.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-c6773d89.js → BMI_GIRLS.zscore.monthly-e25a44b5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-53689919.js → BMI_GIRLS.zscore.weekly-993f2899.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c98ced5e.js → BMI_GIRLS.zscore.yearly-20d1a9dc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-92b6f99a.js → HEAD CIRCUM_BOYS.percentile.monthly-c5bde274.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b34b56dc.js → HEAD CIRCUM_BOYS.percentile.weekly-610472b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-65d207e3.js → HEAD CIRCUM_BOYS.percentile.yearly-d47e72d1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-26d3975c.js → HEAD CIRCUM_BOYS.zscore.monthly-bab70ead.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b1f16601.js → HEAD CIRCUM_BOYS.zscore.weekly-28966364.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b24c85b5.js → HEAD CIRCUM_BOYS.zscore.yearly-f8309fbe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-fdd72721.js → HEAD CIRCUM_GIRLS.percentile.monthly-9281136e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5aa0eae8.js → HEAD CIRCUM_GIRLS.percentile.weekly-148204af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5868af4c.js → HEAD CIRCUM_GIRLS.percentile.yearly-86c5d692.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d863733a.js → HEAD CIRCUM_GIRLS.zscore.monthly-729ddc97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-15e25fa8.js → HEAD CIRCUM_GIRLS.zscore.weekly-3379f18a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9a7ad975.js → HEAD CIRCUM_GIRLS.zscore.yearly-f221d72b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5d5b3f11.js → HEIGHT_BOYS.percentile.monthly-eb822352.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5b540d65.js → HEIGHT_BOYS.percentile.weekly-9e74f38c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b9d3cab2.js → HEIGHT_BOYS.percentile.yearly-e0cb3a7b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d170ccac.js → HEIGHT_BOYS.zscore.monthly-2c7b0871.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0f786acd.js → HEIGHT_BOYS.zscore.weekly-4a75f327.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-312efbf7.js → HEIGHT_BOYS.zscore.yearly-c76f10ca.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b35e12d4.js → HEIGHT_GIRLS.percentile.monthly-c25d995b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-468790e0.js → HEIGHT_GIRLS.percentile.weekly-e6bd4f33.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-9468347d.js → HEIGHT_GIRLS.percentile.yearly-67f48304.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-cc17741f.js → HEIGHT_GIRLS.zscore.monthly-ec105b30.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-523d4c3a.js → HEIGHT_GIRLS.zscore.weekly-b49f0d7d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f47698b3.js → HEIGHT_GIRLS.zscore.yearly-438b631d.js} +0 -0
- /package/build/esm/{Onboarding-241b9f12.js → Onboarding-a1460ceb.js} +0 -0
- /package/build/esm/{Visible-2f7f59e4.js → Visible-37ab6fd3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5b605274.js → WEIGHT_BOYS.percentile.monthly-538a29c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-ea1545f5.js → WEIGHT_BOYS.percentile.weekly-014e3915.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ffbb2809.js → WEIGHT_BOYS.percentile.yearly-1f33478e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-17059ffe.js → WEIGHT_BOYS.zscore.monthly-0e18e4fe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0244db0a.js → WEIGHT_BOYS.zscore.weekly-9875ecf1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-748883b5.js → WEIGHT_BOYS.zscore.yearly-6e4df37c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bb2e2f45.js → WEIGHT_GIRLS.percentile.monthly-40116841.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-077570c3.js → WEIGHT_GIRLS.percentile.weekly-1d424134.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-af43b0db.js → WEIGHT_GIRLS.percentile.yearly-b37b43b7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f1cdd11a.js → WEIGHT_GIRLS.zscore.monthly-1c4c6c9b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-3b300429.js → WEIGHT_GIRLS.zscore.weekly-64abc976.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-bad24100.js → WEIGHT_GIRLS.zscore.yearly-d58502fd.js} +0 -0
- /package/build/esm/{constants-12cdefc8.js → constants-965e16a3.js} +0 -0
- /package/build/esm/{cookieHelper-e1020d79.js → cookieHelper-151dc631.js} +0 -0
- /package/build/esm/{dataTransform-394f9f19.js → dataTransform-c065a17c.js} +0 -0
- /package/build/esm/{index-afd58963.js → index-31a0ce7b.js} +0 -0
- /package/build/esm/{index-527b2bfe.js → index-b7d9e0da.js} +0 -0
- /package/build/esm/{isProduction-aa27c674.js → isProduction-60318bee.js} +0 -0
- /package/build/esm/{localizeNumberFormat-bf323fac.js → localizeNumberFormat-9a783e7f.js} +0 -0
- /package/build/esm/{normalizeLink-95621371.js → normalizeLink-39d11b46.js} +0 -0
- /package/build/esm/{theme-8e8d94c3.js → theme-23115d69.js} +0 -0
- /package/build/esm/{translationsContext-078eccc9.js → translationsContext-aae526a6.js} +0 -0
- /package/build/esm/{tslib.es6-5132de35.js → tslib.es6-c7baa758.js} +0 -0
- /package/build/esm/{types-6d7c7924.js → types-7d094668.js} +0 -0
- /package/build/esm/{useIsInit-569b290f.js → useIsInit-290802ea.js} +0 -0
- /package/build/esm/{useOutsideClick-2a861b56.js → useOutsideClick-5baed9d0.js} +0 -0
- /package/build/esm/{useScrollbarSize-84adf65e.js → useScrollbarSize-22d0f96f.js} +0 -0
- /package/build/esm/{useUniqueId-10b786a3.js → useUniqueId-8a9b3aad.js} +0 -0
- /package/build/esm/{utils-f5fe9983.js → utils-65cc3684.js} +0 -0
- /package/build/{index-d34d8bbb.js → index-0433c750.js} +0 -0
- /package/build/{index-997d3422.js → index-43516e52.js} +0 -0
- /package/build/{isProduction-bf98e330.js → isProduction-8f53dcb4.js} +0 -0
- /package/build/{localizeNumberFormat-b02452fb.js → localizeNumberFormat-615b2b85.js} +0 -0
- /package/build/{normalizeLink-5019b8a4.js → normalizeLink-1c4f8b11.js} +0 -0
- /package/build/{theme-4f8f85e4.js → theme-b5db0b22.js} +0 -0
- /package/build/{translationsContext-8b0c6e88.js → translationsContext-2a1ab5b6.js} +0 -0
- /package/build/{tslib.es6-5bb8023f.js → tslib.es6-aef534e9.js} +0 -0
- /package/build/{types-3b3b2b63.js → types-a08a20bc.js} +0 -0
- /package/build/{useIsInit-4b2cfaf2.js → useIsInit-2d0e5bc8.js} +0 -0
- /package/build/{useOutsideClick-8f6363d2.js → useOutsideClick-e4fe3d79.js} +0 -0
- /package/build/{useScrollbarSize-464acbf3.js → useScrollbarSize-297c6a00.js} +0 -0
- /package/build/{useUniqueId-0f4cc61b.js → useUniqueId-92cea548.js} +0 -0
- /package/build/{utils-1c7a6b79.js → utils-51f2cd64.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./utils-
|
|
1
|
+
"use strict";var e=require("./utils-51f2cd64.js"),t=require("styled-components"),i=require("./theme-b5db0b22.js"),o=require("./index.styled-75d8a80f.js"),a=require("react"),r=require("./useTranslations-f990381a.js"),l=require("./gAssets.js"),n=require("./tslib.es6-aef534e9.js"),s=require("./index-5be31d81.js"),d=require("./cookieHelper-d25da3c5.js"),p=require("slugify"),u=require("string-format"),c=require("./isProduction-8f53dcb4.js"),m=require("./routing-b871530b.js"),g=require("dayjs"),h=require("dayjs/plugin/relativeTime");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=x(t),b=x(a),y=x(p),_=x(u),v=x(g),w=x(h);const E=f.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -472,267 +472,298 @@
|
|
|
472
472
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
473
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
474
|
* MIT Licensed
|
|
475
|
-
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;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(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.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]"===pe.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},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={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}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"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"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=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),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ie(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
475
|
+
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;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(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.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]"===pe.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},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={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}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"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"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=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),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ie(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=f.default.div`
|
|
476
|
+
position: fixed;
|
|
477
|
+
z-index: 201;
|
|
478
|
+
top: calc(100% + 1px); // border 1px
|
|
479
|
+
width: 100%;
|
|
480
|
+
height: calc(100vh - var(--header-bottom));
|
|
481
|
+
overflow-x: hidden;
|
|
482
|
+
overflow-y: auto;
|
|
483
|
+
background: white;
|
|
484
|
+
display: flex;
|
|
485
|
+
flex-direction: column;
|
|
486
|
+
padding-bottom: 0;
|
|
487
|
+
left: 0;
|
|
488
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
489
|
+
position: unset;
|
|
479
490
|
}
|
|
491
|
+
`;f.default.div`
|
|
492
|
+
position: fixed;
|
|
493
|
+
bottom: 0;
|
|
494
|
+
left: 0;
|
|
495
|
+
display: flex;
|
|
496
|
+
width: 100%;
|
|
497
|
+
height: 72px;
|
|
498
|
+
align-items: flex-start;
|
|
499
|
+
justify-content: center;
|
|
480
500
|
|
|
481
|
-
|
|
482
|
-
|
|
501
|
+
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
502
|
+
|
|
503
|
+
.button-image {
|
|
504
|
+
stroke-color: blue;
|
|
483
505
|
}
|
|
484
506
|
|
|
485
|
-
&[data-
|
|
486
|
-
|
|
507
|
+
&[data-site-type='marryBaby'] {
|
|
508
|
+
padding: 0 16px;
|
|
509
|
+
.category-button {
|
|
510
|
+
width: 100%;
|
|
511
|
+
height: 48px;
|
|
512
|
+
}
|
|
487
513
|
}
|
|
488
|
-
|
|
489
|
-
display:
|
|
514
|
+
`,f.default.div`
|
|
515
|
+
display: flex;
|
|
490
516
|
|
|
491
|
-
|
|
492
|
-
|
|
517
|
+
&[data-card-array-no-margin-style='true'] {
|
|
518
|
+
margin: 8px 0;
|
|
493
519
|
|
|
494
|
-
|
|
495
|
-
|
|
520
|
+
& > div {
|
|
521
|
+
width: 0;
|
|
522
|
+
flex: 1;
|
|
523
|
+
margin: 0 -1px;
|
|
524
|
+
}
|
|
496
525
|
}
|
|
497
|
-
`,Me=f.default.div`
|
|
498
|
-
height: 152px; // 120 + 16 * 2
|
|
499
|
-
position: absolute;
|
|
500
|
-
top: 0;
|
|
501
|
-
left: 0;
|
|
502
|
-
z-index: 3;
|
|
503
|
-
overflow: hidden;
|
|
504
|
-
border-radius: 4px;
|
|
505
|
-
padding: 16px;
|
|
506
|
-
width: 100%;
|
|
507
526
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
display: block;
|
|
516
|
-
object-fit: contain;
|
|
517
|
-
}
|
|
518
|
-
${e.MediaQueries.tdDown} {
|
|
519
|
-
margin-bottom: 0;
|
|
520
|
-
padding: 0;
|
|
521
|
-
height: 100%;
|
|
522
|
-
position: unset;
|
|
523
|
-
width: 150px;
|
|
524
|
-
}
|
|
525
|
-
${e.MediaQueries.mbDown} {
|
|
526
|
-
width: 80px;
|
|
527
|
+
&[data-card-array-no-margin-style='false'] {
|
|
528
|
+
margin: 8px -4px;
|
|
529
|
+
|
|
530
|
+
& > div {
|
|
531
|
+
flex: 1;
|
|
532
|
+
margin: 0 4px;
|
|
533
|
+
}
|
|
527
534
|
}
|
|
528
|
-
`,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
`,ke=f.default.div`
|
|
535
|
+
`,f.default.div`
|
|
536
|
+
margin-top: 64px;
|
|
537
|
+
`,f.default.div`
|
|
538
|
+
padding: 24px 0;
|
|
539
|
+
`,f.default.div`
|
|
534
540
|
display: flex;
|
|
535
|
-
|
|
541
|
+
width: 100%;
|
|
536
542
|
align-items: center;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
${e.MediaQueries.tdDown} {
|
|
542
|
-
display: none;
|
|
543
|
-
}
|
|
544
|
-
`,Pe=f.default.p`
|
|
545
|
-
font-size: 16px;
|
|
546
|
-
font-weight: 600;
|
|
547
|
-
line-height: 1.6;
|
|
548
|
-
color: ${e=>e.theme.colors.gray800};
|
|
549
|
-
${e.MediaQueries.tdDown} {
|
|
550
|
-
padding: 0;
|
|
551
|
-
}
|
|
552
|
-
`,Ge=f.default.p`
|
|
553
|
-
font-size: 14px;
|
|
554
|
-
line-height: 1.6;
|
|
555
|
-
font-weight: 400;
|
|
556
|
-
color: ${e=>e.theme.colors.gray600};
|
|
557
|
-
height: 40px;
|
|
558
|
-
text-overflow: ellipsis;
|
|
559
|
-
overflow: hidden;
|
|
560
|
-
display: -webkit-box;
|
|
561
|
-
-webkit-line-clamp: 2;
|
|
562
|
-
-webkit-box-orient: vertical;
|
|
563
|
-
margin-bottom: auto;
|
|
564
|
-
${e.MediaQueries.tdDown} {
|
|
565
|
-
height: unset;
|
|
566
|
-
padding: 0;
|
|
543
|
+
justify-content: center;
|
|
544
|
+
|
|
545
|
+
& > div:first-child {
|
|
546
|
+
margin-right: 8px;
|
|
567
547
|
}
|
|
568
|
-
`,
|
|
548
|
+
`,f.default.div`
|
|
549
|
+
z-index: ${re};
|
|
550
|
+
align-items: center;
|
|
551
|
+
|
|
552
|
+
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
553
|
+
background-color: ${e=>e.theme.colors.white};
|
|
554
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
555
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
556
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
557
|
+
`,f.default.div`
|
|
558
|
+
position: relative;
|
|
569
559
|
display: flex;
|
|
570
|
-
flex-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
gap: 4px;
|
|
576
|
-
}
|
|
577
|
-
`,Be="hhgcomp-navigation-menucareitem-contentwrapper",Ue=o.getDefaultClassWrapper(Ne,Be),He=f.default.a`
|
|
578
|
-
text-decoration: none;
|
|
579
|
-
border-radius: 4px;
|
|
580
|
-
background: ${i.theme.colors.white};
|
|
560
|
+
flex-wrap: wrap;
|
|
561
|
+
align-items: flex-start;
|
|
562
|
+
justify-content: flex-start;
|
|
563
|
+
padding: 48px 0;
|
|
564
|
+
`,f.default.div`
|
|
581
565
|
position: relative;
|
|
582
|
-
overflow: hidden;
|
|
583
|
-
padding: 16px;
|
|
584
566
|
display: flex;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
567
|
+
flex-wrap: wrap;
|
|
568
|
+
align-items: flex-start;
|
|
569
|
+
justify-content: flex-start;
|
|
570
|
+
&[data-disabled-divider='false'] {
|
|
571
|
+
border-right: 1px solid #e4e8ec;
|
|
588
572
|
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
573
|
+
`,f.default.div`
|
|
574
|
+
width: 20%;
|
|
575
|
+
padding-right: 16px;
|
|
576
|
+
margin-bottom: 12px;
|
|
577
|
+
|
|
578
|
+
& > a {
|
|
579
|
+
color: ${e=>e.theme.colors.gray800};
|
|
580
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
581
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
582
|
+
line-height: 22px;
|
|
598
583
|
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
gap: 10px;
|
|
606
|
-
display: grid;
|
|
607
|
-
max-height: 110px;
|
|
584
|
+
|
|
585
|
+
& > a:hover {
|
|
586
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.iconMenu {
|
|
608
590
|
display: flex;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
width:
|
|
591
|
+
align-items: center;
|
|
592
|
+
|
|
593
|
+
> .imageContainer {
|
|
594
|
+
display: flex;
|
|
595
|
+
width: 32px;
|
|
596
|
+
min-width: 32px;
|
|
597
|
+
align-items: center;
|
|
598
|
+
margin-right: 16px;
|
|
615
599
|
}
|
|
616
600
|
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
601
|
+
`,f.default.div`
|
|
602
|
+
display: none;
|
|
603
|
+
`,f.default.div`
|
|
604
|
+
width: 33%;
|
|
605
|
+
height: 48px;
|
|
606
|
+
padding-right: 16px;
|
|
607
|
+
margin-bottom: 12px;
|
|
608
|
+
|
|
609
|
+
& > a {
|
|
620
610
|
display: flex;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
611
|
+
align-items: center;
|
|
612
|
+
color: ${e=>e.theme.colors.gray800};
|
|
613
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
614
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
615
|
+
line-height: 22px;
|
|
616
|
+
|
|
617
|
+
& > :first-child {
|
|
618
|
+
margin-right: 16px;
|
|
625
619
|
}
|
|
626
620
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
.bg-svg {
|
|
631
|
-
width: 100%;
|
|
632
|
-
max-width: 245px;
|
|
633
|
-
height: 100%;
|
|
634
|
-
top: 0;
|
|
635
|
-
right: -40px;
|
|
636
|
-
position: absolute;
|
|
637
|
-
display: inline-block;
|
|
621
|
+
|
|
622
|
+
& > a > p:hover {
|
|
623
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
638
624
|
}
|
|
639
|
-
`,
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
625
|
+
`,f.default.div`
|
|
626
|
+
display: flex;
|
|
627
|
+
align-items: center;
|
|
628
|
+
|
|
629
|
+
padding-right: 16px;
|
|
630
|
+
margin-bottom: 12px;
|
|
631
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
632
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
633
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
634
|
+
line-height: 24px;
|
|
635
|
+
|
|
636
|
+
&[data-theme='marryBaby'] {
|
|
637
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
647
638
|
}
|
|
639
|
+
`,f.default.div`
|
|
640
|
+
display: flex;
|
|
641
|
+
align-items: center;
|
|
648
642
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
643
|
+
margin-left: 10px;
|
|
644
|
+
`,f.default.div`
|
|
645
|
+
position: absolute;
|
|
646
|
+
top: 16px;
|
|
647
|
+
right: 0;
|
|
648
|
+
display: flex;
|
|
649
|
+
align-items: center;
|
|
650
|
+
cursor: pointer;
|
|
651
|
+
`,f.default.div`
|
|
652
|
+
display: block;
|
|
653
|
+
`,f.default.div`
|
|
654
|
+
.categories__spotlight {
|
|
655
|
+
display: grid;
|
|
656
|
+
margin: 16px;
|
|
657
|
+
margin-bottom: 32px;
|
|
658
|
+
grid-gap: 8px;
|
|
659
|
+
grid-template-columns: 1fr 1fr;
|
|
660
|
+
|
|
661
|
+
a {
|
|
662
|
+
text-decoration: none;
|
|
663
|
+
}
|
|
655
664
|
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
665
|
+
|
|
666
|
+
.categoryCard {
|
|
667
|
+
display: flex;
|
|
668
|
+
width: 100%;
|
|
669
|
+
flex-direction: column;
|
|
670
|
+
align-items: center;
|
|
671
|
+
padding: 16px;
|
|
672
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
673
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
674
|
+
|
|
675
|
+
svg {
|
|
676
|
+
margin-bottom: 4px;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
&.active {
|
|
680
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
681
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
682
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
683
|
+
color: white;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
&:not(.active) {
|
|
687
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
688
|
+
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
663
689
|
}
|
|
664
690
|
}
|
|
665
691
|
|
|
666
|
-
|
|
692
|
+
.amp__menu-header {
|
|
667
693
|
display: grid;
|
|
668
|
-
grid-
|
|
669
|
-
|
|
694
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
695
|
+
|
|
696
|
+
svg {
|
|
697
|
+
margin-left: 16px;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
> div {
|
|
701
|
+
align-self: center;
|
|
702
|
+
|
|
703
|
+
&:nth-child(2) {
|
|
704
|
+
justify-self: center;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
670
707
|
}
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
line-height: 24px;
|
|
675
|
-
color: ${e=>e.theme.colors.gray600};
|
|
676
|
-
margin-bottom: 15px;
|
|
677
|
-
`,je=f.default.div`
|
|
678
|
-
font-weight: 600;
|
|
679
|
-
font-size: 16px;
|
|
680
|
-
line-height: 26px;
|
|
681
|
-
color: #000000;
|
|
682
|
-
margin-bottom: 4px;
|
|
683
|
-
`,Fe=f.default.div`
|
|
684
|
-
background: #fff;
|
|
685
|
-
padding: 5px;
|
|
686
|
-
display: flex;
|
|
687
|
-
align-items: center;
|
|
688
|
-
justify-content: center;
|
|
689
|
-
border-radius: 50px;
|
|
690
|
-
`,Ve=f.default.div`
|
|
691
|
-
display: flex;
|
|
692
|
-
justify-content: center;
|
|
693
|
-
align-items: center;
|
|
694
|
-
position: relative;
|
|
695
|
-
${e.MediaQueries.mbDown} {
|
|
696
|
-
justify-content: end;
|
|
697
|
-
min-height: 100px;
|
|
708
|
+
|
|
709
|
+
.logo {
|
|
710
|
+
margin: 22px 0;
|
|
698
711
|
}
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
&:after {
|
|
706
|
-
position: absolute;
|
|
707
|
-
top: 0;
|
|
708
|
-
left: 0;
|
|
712
|
+
|
|
713
|
+
.categories {
|
|
714
|
+
margin: 0 16px;
|
|
715
|
+
|
|
716
|
+
li {
|
|
717
|
+
display: block;
|
|
709
718
|
width: 100%;
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
719
|
+
|
|
720
|
+
+ li {
|
|
721
|
+
border-top: 1px solid
|
|
722
|
+
${e=>e.theme.colors.neutral100};
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
a {
|
|
726
|
+
display: block;
|
|
727
|
+
margin: 12px 0;
|
|
728
|
+
color: ${e=>e.theme.colors.gray800};
|
|
729
|
+
text-decoration: none;
|
|
730
|
+
}
|
|
713
731
|
}
|
|
714
732
|
}
|
|
715
|
-
`,
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
733
|
+
`,f.default.div`
|
|
734
|
+
width: 20%;
|
|
735
|
+
height: 2px;
|
|
736
|
+
|
|
737
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
738
|
+
border-radius: 2px;
|
|
739
|
+
`;const De=f.default.div`
|
|
740
|
+
padding: 16px;
|
|
741
|
+
padding-bottom: 12px;
|
|
742
|
+
.fake-search-input {
|
|
743
|
+
pointer-events: none;
|
|
744
|
+
input {
|
|
745
|
+
line-height: 20px;
|
|
746
|
+
padding-top: 10px;
|
|
747
|
+
padding-bottom: 10px;
|
|
748
|
+
}
|
|
728
749
|
}
|
|
729
|
-
|
|
730
|
-
|
|
750
|
+
&[data-theme='marryBaby'] {
|
|
751
|
+
input {
|
|
752
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
753
|
+
border-radius: 16px;
|
|
754
|
+
border: none;
|
|
755
|
+
}
|
|
731
756
|
}
|
|
732
|
-
|
|
733
|
-
|
|
757
|
+
`,Me=f.default.div`
|
|
758
|
+
display: block;
|
|
759
|
+
overflow-y: auto;
|
|
760
|
+
flex: 1;
|
|
761
|
+
padding-bottom: 16px;
|
|
762
|
+
&::-webkit-scrollbar {
|
|
763
|
+
width: 0;
|
|
764
|
+
display: none;
|
|
734
765
|
}
|
|
735
|
-
`,
|
|
766
|
+
`,Re=a.memo((()=>b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),ke=f.default.div`
|
|
736
767
|
padding-right: 1rem;
|
|
737
768
|
margin-top: 10px;
|
|
738
769
|
background: #ffffff;
|
|
@@ -740,7 +771,7 @@
|
|
|
740
771
|
${e.MediaQueries.mbUp} {
|
|
741
772
|
border-right: 1px solid #e4e8ec;
|
|
742
773
|
}
|
|
743
|
-
`,
|
|
774
|
+
`,Pe=f.default.a`
|
|
744
775
|
padding: 10px 0;
|
|
745
776
|
position: relative;
|
|
746
777
|
|
|
@@ -788,19 +819,19 @@
|
|
|
788
819
|
}
|
|
789
820
|
}
|
|
790
821
|
}
|
|
791
|
-
`,
|
|
822
|
+
`,Ge=f.default.div`
|
|
792
823
|
margin: 15px 0;
|
|
793
824
|
${e.MediaQueries.mbDown} {
|
|
794
825
|
display: none;
|
|
795
826
|
}
|
|
796
|
-
`,
|
|
827
|
+
`,Ne=f.default.div`
|
|
797
828
|
display: flex;
|
|
798
829
|
position: absolute;
|
|
799
830
|
right: 0;
|
|
800
831
|
${e.MediaQueries.mbUp} {
|
|
801
832
|
display: none;
|
|
802
833
|
}
|
|
803
|
-
`,
|
|
834
|
+
`,Be=f.default.div`
|
|
804
835
|
display: flex;
|
|
805
836
|
align-items: center;
|
|
806
837
|
color: ${e=>e.theme.colors.primaryBase};
|
|
@@ -815,11 +846,11 @@
|
|
|
815
846
|
&[data-theme='marryBaby'] {
|
|
816
847
|
color: ${e=>e.theme.mbColors.pink};
|
|
817
848
|
}
|
|
818
|
-
`,
|
|
849
|
+
`,Ue=f.default.div`
|
|
819
850
|
display: flex;
|
|
820
851
|
align-items: center;
|
|
821
852
|
margin-left: 10px;
|
|
822
|
-
`,
|
|
853
|
+
`,He=f.default.a`
|
|
823
854
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
824
855
|
&[data-theme='marryBaby'] {
|
|
825
856
|
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
@@ -839,6 +870,11 @@
|
|
|
839
870
|
display: none;
|
|
840
871
|
}
|
|
841
872
|
`;f.default.div`
|
|
873
|
+
& > a:not(:last-child) > div {
|
|
874
|
+
border-bottom: 1px solid
|
|
875
|
+
${e=>e.theme.colors.neutral100};
|
|
876
|
+
}
|
|
877
|
+
|
|
842
878
|
&[data-category-list-type='sub'] {
|
|
843
879
|
padding-bottom: 72px;
|
|
844
880
|
}
|
|
@@ -846,50 +882,305 @@
|
|
|
846
882
|
&[data-is-displayed='false'] {
|
|
847
883
|
display: none;
|
|
848
884
|
}
|
|
849
|
-
|
|
850
|
-
& > div {
|
|
851
|
-
width: 100%;
|
|
852
|
-
margin-bottom: 8px;
|
|
853
|
-
}
|
|
854
|
-
`;const ot=f.default.div`
|
|
885
|
+
`;const ze=f.default.div`
|
|
855
886
|
display: grid;
|
|
856
887
|
|
|
857
|
-
grid-template-columns: repeat(
|
|
888
|
+
grid-template-columns: repeat(3, 1fr);
|
|
858
889
|
gap: 24px;
|
|
890
|
+
|
|
859
891
|
${e.MediaQueries.tdDown} {
|
|
860
|
-
|
|
861
|
-
grid-template-columns: 1fr;
|
|
862
|
-
}
|
|
863
|
-
`,at=f.default.a`
|
|
864
|
-
width: 100%;
|
|
865
|
-
display: flex;
|
|
866
|
-
align-items: center;
|
|
867
|
-
text-decoration: none;
|
|
868
|
-
* {
|
|
869
|
-
pointer-events: none;
|
|
892
|
+
grid-template-columns: repeat(1, 1fr);
|
|
870
893
|
}
|
|
871
|
-
`,
|
|
872
|
-
|
|
873
|
-
|
|
894
|
+
`,Qe=f.default.div`
|
|
895
|
+
height: 152px; // 120 + 16 * 2
|
|
896
|
+
position: absolute;
|
|
897
|
+
top: 0;
|
|
898
|
+
left: 0;
|
|
899
|
+
z-index: 3;
|
|
874
900
|
overflow: hidden;
|
|
875
|
-
|
|
901
|
+
border-radius: 4px;
|
|
902
|
+
padding: 16px;
|
|
876
903
|
width: 100%;
|
|
877
|
-
|
|
878
|
-
|
|
904
|
+
|
|
905
|
+
.img-container {
|
|
906
|
+
width: 100%;
|
|
907
|
+
height: 100%;
|
|
908
|
+
}
|
|
879
909
|
img {
|
|
880
|
-
position: absolute;
|
|
881
910
|
width: 100%;
|
|
882
911
|
height: 100%;
|
|
883
912
|
display: block;
|
|
884
|
-
object-fit:
|
|
885
|
-
top: 0;
|
|
886
|
-
left: 0;
|
|
913
|
+
object-fit: contain;
|
|
887
914
|
}
|
|
888
915
|
${e.MediaQueries.tdDown} {
|
|
889
|
-
|
|
890
|
-
padding
|
|
916
|
+
margin-bottom: 0;
|
|
917
|
+
padding: 0;
|
|
918
|
+
height: 100%;
|
|
919
|
+
position: unset;
|
|
920
|
+
width: 150px;
|
|
921
|
+
}
|
|
922
|
+
${e.MediaQueries.mbDown} {
|
|
923
|
+
width: 80px;
|
|
924
|
+
}
|
|
925
|
+
`,je=f.default.div`
|
|
926
|
+
background-color: #ffffff;
|
|
927
|
+
border-radius: 4px;
|
|
928
|
+
width: 100%;
|
|
929
|
+
height: 100%;
|
|
930
|
+
`,Fe=f.default.div`
|
|
931
|
+
display: flex;
|
|
932
|
+
margin-top: 1rem;
|
|
933
|
+
align-items: center;
|
|
934
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
935
|
+
font-weight: 400;
|
|
936
|
+
font-size: 14px;
|
|
937
|
+
text-decoration: none;
|
|
938
|
+
${e.MediaQueries.tdDown} {
|
|
939
|
+
display: none;
|
|
940
|
+
}
|
|
941
|
+
`,Ve=f.default.p`
|
|
942
|
+
font-size: 16px;
|
|
943
|
+
font-weight: 600;
|
|
944
|
+
line-height: 1.6;
|
|
945
|
+
color: ${e=>e.theme.colors.gray800};
|
|
946
|
+
${e.MediaQueries.tdDown} {
|
|
947
|
+
padding: 0;
|
|
948
|
+
}
|
|
949
|
+
`,We=f.default.p`
|
|
950
|
+
font-size: 14px;
|
|
951
|
+
line-height: 1.6;
|
|
952
|
+
font-weight: 400;
|
|
953
|
+
color: ${e=>e.theme.colors.gray600};
|
|
954
|
+
height: 40px;
|
|
955
|
+
text-overflow: ellipsis;
|
|
956
|
+
overflow: hidden;
|
|
957
|
+
display: -webkit-box;
|
|
958
|
+
-webkit-line-clamp: 2;
|
|
959
|
+
-webkit-box-orient: vertical;
|
|
960
|
+
margin-bottom: auto;
|
|
961
|
+
${e.MediaQueries.tdDown} {
|
|
962
|
+
height: unset;
|
|
963
|
+
padding: 0;
|
|
964
|
+
}
|
|
965
|
+
`,Ye=f.default.div`
|
|
966
|
+
display: flex;
|
|
967
|
+
flex-direction: column;
|
|
968
|
+
gap: 8px;
|
|
969
|
+
flex: 1;
|
|
970
|
+
z-index: 1;
|
|
971
|
+
${e.MediaQueries.tdDown} {
|
|
972
|
+
gap: 4px;
|
|
973
|
+
}
|
|
974
|
+
`,Ke="hhgcomp-navigation-menucareitem-contentwrapper",qe=o.getDefaultClassWrapper(Ye,Ke),Xe=f.default.a`
|
|
975
|
+
text-decoration: none;
|
|
976
|
+
border-radius: 4px;
|
|
977
|
+
background: ${i.theme.colors.white};
|
|
978
|
+
position: relative;
|
|
979
|
+
overflow: hidden;
|
|
980
|
+
padding: 16px;
|
|
981
|
+
display: flex;
|
|
982
|
+
padding-top: 166px;
|
|
983
|
+
* {
|
|
984
|
+
pointer-events: none;
|
|
985
|
+
}
|
|
986
|
+
${e.MediaQueries.tdUp} {
|
|
987
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
988
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
989
|
+
gap: 30px;
|
|
990
|
+
flex-direction: column;
|
|
991
|
+
a {
|
|
992
|
+
display: flex;
|
|
993
|
+
width: 100%;
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
${e.MediaQueries.tdDown} {
|
|
997
|
+
padding-top: 16px;
|
|
998
|
+
a {
|
|
999
|
+
display: none;
|
|
1000
|
+
}
|
|
1001
|
+
grid-template-columns: 2fr 1fr;
|
|
1002
|
+
gap: 10px;
|
|
1003
|
+
display: grid;
|
|
1004
|
+
max-height: 110px;
|
|
1005
|
+
display: flex;
|
|
1006
|
+
flex-direction: row-reverse;
|
|
1007
|
+
> .${Ke} {
|
|
1008
|
+
flex: 1;
|
|
1009
|
+
}
|
|
1010
|
+
img {
|
|
1011
|
+
width: 150px;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
${e.MediaQueries.mbDown} {
|
|
1015
|
+
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1016
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1017
|
+
display: flex;
|
|
1018
|
+
flex-direction: row-reverse;
|
|
1019
|
+
img {
|
|
1020
|
+
width: 80px;
|
|
1021
|
+
height: 80px;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
${e.MediaQueries.tdOnly} {
|
|
1025
|
+
border: 1px solid ${i.theme.colors.neutral100};
|
|
1026
|
+
}
|
|
1027
|
+
.bg-svg {
|
|
1028
|
+
width: 100%;
|
|
1029
|
+
max-width: 245px;
|
|
1030
|
+
height: 100%;
|
|
1031
|
+
top: 0;
|
|
1032
|
+
right: -40px;
|
|
1033
|
+
position: absolute;
|
|
1034
|
+
display: inline-block;
|
|
1035
|
+
}
|
|
1036
|
+
`,Ze=f.default.div`
|
|
1037
|
+
padding: 16px;
|
|
1038
|
+
border-radius: 8px;
|
|
1039
|
+
position: relative;
|
|
1040
|
+
z-index: 1;
|
|
1041
|
+
overflow: hidden;
|
|
1042
|
+
a {
|
|
1043
|
+
text-decoration: none;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.bg-svg {
|
|
1047
|
+
height: 100%;
|
|
1048
|
+
position: absolute;
|
|
1049
|
+
top: 0;
|
|
1050
|
+
left: 0;
|
|
1051
|
+
z-index: -1;
|
|
1052
|
+
}
|
|
1053
|
+
${e.MediaQueries.mbDown} {
|
|
1054
|
+
display: block;
|
|
1055
|
+
.bg-svg {
|
|
1056
|
+
right: -24px;
|
|
1057
|
+
left: unset;
|
|
1058
|
+
top: 0;
|
|
1059
|
+
transform: rotateY(180deg);
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
${e.MediaQueries.mbUp} {
|
|
1064
|
+
display: grid;
|
|
1065
|
+
grid-gap: 10px;
|
|
1066
|
+
grid-template-columns: 1fr 3fr;
|
|
1067
|
+
}
|
|
1068
|
+
`,Je=f.default.div`
|
|
1069
|
+
font-weight: 400;
|
|
1070
|
+
font-size: 14px;
|
|
1071
|
+
line-height: 24px;
|
|
1072
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1073
|
+
margin-bottom: 15px;
|
|
1074
|
+
`,et=f.default.div`
|
|
1075
|
+
font-weight: 600;
|
|
1076
|
+
font-size: 16px;
|
|
1077
|
+
line-height: 26px;
|
|
1078
|
+
color: #000000;
|
|
1079
|
+
margin-bottom: 4px;
|
|
1080
|
+
`,tt=f.default.div`
|
|
1081
|
+
background: #fff;
|
|
1082
|
+
padding: 5px;
|
|
1083
|
+
display: flex;
|
|
1084
|
+
align-items: center;
|
|
1085
|
+
justify-content: center;
|
|
1086
|
+
border-radius: 50px;
|
|
1087
|
+
`,it=f.default.div`
|
|
1088
|
+
display: flex;
|
|
1089
|
+
justify-content: center;
|
|
1090
|
+
align-items: center;
|
|
1091
|
+
position: relative;
|
|
1092
|
+
${e.MediaQueries.mbDown} {
|
|
1093
|
+
justify-content: end;
|
|
1094
|
+
min-height: 100px;
|
|
1095
|
+
}
|
|
1096
|
+
`,ot=f.default.div`
|
|
1097
|
+
margin-top: 10px;
|
|
1098
|
+
background: #ffffff;
|
|
1099
|
+
padding: 5px 15px;
|
|
1100
|
+
position: relative;
|
|
1101
|
+
${e.MediaQueries.mbDown} {
|
|
1102
|
+
&:after {
|
|
1103
|
+
position: absolute;
|
|
1104
|
+
top: 0;
|
|
1105
|
+
left: 0;
|
|
1106
|
+
width: 100%;
|
|
1107
|
+
height: 4px;
|
|
1108
|
+
background-color: ${e=>e.theme.colors.neutral100};
|
|
1109
|
+
content: '';
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
`,at=f.default.div`
|
|
1113
|
+
margin: 15px 0;
|
|
1114
|
+
display: flex;
|
|
1115
|
+
`,rt=f.default.a`
|
|
1116
|
+
padding-left: 10px;
|
|
1117
|
+
display: flex;
|
|
1118
|
+
align-items: center;
|
|
1119
|
+
text-decoration: none;
|
|
1120
|
+
font-weight: 400;
|
|
1121
|
+
font-size: 14px;
|
|
1122
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1123
|
+
&[data-theme='marryBaby'] {
|
|
1124
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1125
|
+
}
|
|
1126
|
+
img {
|
|
1127
|
+
padding-left: 5px;
|
|
1128
|
+
}
|
|
1129
|
+
${e.MediaQueries.mbDown} {
|
|
1130
|
+
margin-left: auto;
|
|
1131
|
+
}
|
|
1132
|
+
`;f.default.div`
|
|
1133
|
+
&[data-category-list-type='sub'] {
|
|
1134
|
+
padding-bottom: 72px;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
&[data-is-displayed='false'] {
|
|
1138
|
+
display: none;
|
|
1139
|
+
}
|
|
1140
|
+
`,f.default.div`
|
|
1141
|
+
& > div {
|
|
1142
|
+
width: 100%;
|
|
1143
|
+
margin-bottom: 8px;
|
|
1144
|
+
}
|
|
1145
|
+
`;const lt=f.default.div`
|
|
1146
|
+
display: grid;
|
|
1147
|
+
|
|
1148
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1149
|
+
gap: 24px;
|
|
1150
|
+
${e.MediaQueries.tdDown} {
|
|
1151
|
+
gap: 12px;
|
|
1152
|
+
grid-template-columns: 1fr;
|
|
1153
|
+
}
|
|
1154
|
+
`,nt=f.default.a`
|
|
1155
|
+
width: 100%;
|
|
1156
|
+
display: flex;
|
|
1157
|
+
align-items: center;
|
|
1158
|
+
text-decoration: none;
|
|
1159
|
+
* {
|
|
1160
|
+
pointer-events: none;
|
|
1161
|
+
}
|
|
1162
|
+
`,st=f.default.div`
|
|
1163
|
+
border-radius: 5px;
|
|
1164
|
+
display: block;
|
|
1165
|
+
overflow: hidden;
|
|
1166
|
+
padding-top: 140%;
|
|
1167
|
+
width: 100%;
|
|
1168
|
+
position: relative;
|
|
1169
|
+
height: 0;
|
|
1170
|
+
img {
|
|
1171
|
+
position: absolute;
|
|
1172
|
+
width: 100%;
|
|
1173
|
+
height: 100%;
|
|
1174
|
+
display: block;
|
|
1175
|
+
object-fit: cover;
|
|
1176
|
+
top: 0;
|
|
1177
|
+
left: 0;
|
|
1178
|
+
}
|
|
1179
|
+
${e.MediaQueries.tdDown} {
|
|
1180
|
+
width: 72px;
|
|
1181
|
+
padding-top: 100px;
|
|
891
1182
|
}
|
|
892
|
-
`,
|
|
1183
|
+
`,dt=f.default.p`
|
|
893
1184
|
font-size: 16px;
|
|
894
1185
|
font-weight: 400;
|
|
895
1186
|
padding: 4px 15px;
|
|
@@ -922,7 +1213,7 @@
|
|
|
922
1213
|
width: 100%;
|
|
923
1214
|
margin-bottom: 8px;
|
|
924
1215
|
}
|
|
925
|
-
`;const
|
|
1216
|
+
`;const pt=f.default.div`
|
|
926
1217
|
display: grid;
|
|
927
1218
|
grid-template-columns: repeat(2, 1fr);
|
|
928
1219
|
grid-gap: 48px;
|
|
@@ -933,7 +1224,7 @@
|
|
|
933
1224
|
${e.MediaQueries.mbDown} {
|
|
934
1225
|
grid-gap: 24px;
|
|
935
1226
|
}
|
|
936
|
-
`,
|
|
1227
|
+
`,ut=f.default.div`
|
|
937
1228
|
width: ${e=>e.size||40}px;
|
|
938
1229
|
height: ${e=>e.size||40}px;
|
|
939
1230
|
flex-shrink: 0;
|
|
@@ -966,15 +1257,15 @@
|
|
|
966
1257
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
967
1258
|
}
|
|
968
1259
|
}
|
|
969
|
-
`,
|
|
1260
|
+
`,ct=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:l,size:s}=e,d=n.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=a.useContext(be),u="boolean"==typeof i?i:p,[c,m]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{m(!0)},e.src=r}),[]),b.default.createElement(ut,Object.assign({"data-is-marrybaby":u,className:t,style:o,size:s},d),r&&!c?b.default.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{m(!0)}}):b.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},mt=f.default.div`
|
|
970
1261
|
padding: 5px;
|
|
971
1262
|
flex: 1;
|
|
972
|
-
`,
|
|
1263
|
+
`,gt=f.default.img`
|
|
973
1264
|
width: 88px;
|
|
974
1265
|
height: 88px;
|
|
975
1266
|
border-radius: 4px;
|
|
976
1267
|
object-fit: cover;
|
|
977
|
-
`,
|
|
1268
|
+
`,ht=f.default.div`
|
|
978
1269
|
font-size: 12px;
|
|
979
1270
|
font-weight: 600;
|
|
980
1271
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -983,7 +1274,7 @@
|
|
|
983
1274
|
font-weight: 400;
|
|
984
1275
|
letter-spacing: -0.2px;
|
|
985
1276
|
}
|
|
986
|
-
`,
|
|
1277
|
+
`,xt=f.default.div`
|
|
987
1278
|
text-decoration: none;
|
|
988
1279
|
font-size: 12px;
|
|
989
1280
|
font-weight: 400;
|
|
@@ -992,15 +1283,15 @@
|
|
|
992
1283
|
font-weight: 400;
|
|
993
1284
|
letter-spacing: -0.2px;
|
|
994
1285
|
}
|
|
995
|
-
`,
|
|
1286
|
+
`,ft=f.default.div`
|
|
996
1287
|
font-size: 12px;
|
|
997
1288
|
font-weight: 400;
|
|
998
1289
|
color: ${e=>e.theme.colors.gray600};
|
|
999
|
-
`,
|
|
1290
|
+
`,bt=f.default.div`
|
|
1000
1291
|
font-size: 12px;
|
|
1001
1292
|
font-weight: 400;
|
|
1002
1293
|
color: ${e=>e.theme.colors.gray600};
|
|
1003
|
-
`,
|
|
1294
|
+
`,yt=f.default.a`
|
|
1004
1295
|
display: flex;
|
|
1005
1296
|
gap: 10px;
|
|
1006
1297
|
text-decoration: none;
|
|
@@ -1033,12 +1324,12 @@
|
|
|
1033
1324
|
}
|
|
1034
1325
|
}
|
|
1035
1326
|
}
|
|
1036
|
-
`,
|
|
1327
|
+
`,_t=f.default.div`
|
|
1037
1328
|
display: flex;
|
|
1038
1329
|
gap: 10px;
|
|
1039
1330
|
vertical-align: middle;
|
|
1040
1331
|
align-items: center;
|
|
1041
|
-
`,
|
|
1332
|
+
`,vt=f.default.div`
|
|
1042
1333
|
margin-top: 8px;
|
|
1043
1334
|
font-size: 16px;
|
|
1044
1335
|
font-weight: 600;
|
|
@@ -1050,12 +1341,12 @@
|
|
|
1050
1341
|
line-height: 24px;
|
|
1051
1342
|
letter-spacing: -0.2px;
|
|
1052
1343
|
}
|
|
1053
|
-
`,
|
|
1344
|
+
`,wt=f.default.div`
|
|
1054
1345
|
display: flex;
|
|
1055
1346
|
flex-wrap: wrap;
|
|
1056
1347
|
align-items: center;
|
|
1057
1348
|
column-gap: 5px;
|
|
1058
|
-
`,
|
|
1349
|
+
`,Et=f.default.div`
|
|
1059
1350
|
display: flex;
|
|
1060
1351
|
gap: 4px;
|
|
1061
1352
|
flex-direction: column;
|
|
@@ -1063,7 +1354,7 @@
|
|
|
1063
1354
|
&[data-is-display='false'] {
|
|
1064
1355
|
display: none;
|
|
1065
1356
|
}
|
|
1066
|
-
`;const
|
|
1357
|
+
`;const Tt=f.default.div`
|
|
1067
1358
|
display: grid;
|
|
1068
1359
|
|
|
1069
1360
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1072,7 +1363,7 @@
|
|
|
1072
1363
|
grid-template-columns: 1fr;
|
|
1073
1364
|
gap: 12px;
|
|
1074
1365
|
}
|
|
1075
|
-
`,
|
|
1366
|
+
`,At=f.default.a`
|
|
1076
1367
|
text-decoration: none;
|
|
1077
1368
|
border-radius: 4px;
|
|
1078
1369
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1103,7 +1394,7 @@
|
|
|
1103
1394
|
display: flex;
|
|
1104
1395
|
align-items: center;
|
|
1105
1396
|
}
|
|
1106
|
-
`,
|
|
1397
|
+
`,Ot=f.default.div`
|
|
1107
1398
|
width: 64px;
|
|
1108
1399
|
height: 64px;
|
|
1109
1400
|
background: white;
|
|
@@ -1126,19 +1417,19 @@
|
|
|
1126
1417
|
top: unset;
|
|
1127
1418
|
right: unset;
|
|
1128
1419
|
}
|
|
1129
|
-
`,
|
|
1420
|
+
`,St=f.default.div`
|
|
1130
1421
|
display: flex;
|
|
1131
1422
|
align-items: center;
|
|
1132
1423
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1133
1424
|
font-weight: 400;
|
|
1134
1425
|
font-size: 14px;
|
|
1135
1426
|
text-decoration: none;
|
|
1136
|
-
`,
|
|
1427
|
+
`,It=f.default.p`
|
|
1137
1428
|
font-size: 16px;
|
|
1138
1429
|
font-weight: 600;
|
|
1139
1430
|
line-height: 1.4;
|
|
1140
1431
|
color: ${e=>e.theme.colors.gray800};
|
|
1141
|
-
`,
|
|
1432
|
+
`,Lt=f.default.p`
|
|
1142
1433
|
font-size: 14px;
|
|
1143
1434
|
line-height: 1.4;
|
|
1144
1435
|
font-weight: 400;
|
|
@@ -1153,7 +1444,7 @@
|
|
|
1153
1444
|
${e.MediaQueries.tdDown} {
|
|
1154
1445
|
display: none;
|
|
1155
1446
|
}
|
|
1156
|
-
|
|
1447
|
+
`,$t=f.default.div`
|
|
1157
1448
|
display: flex;
|
|
1158
1449
|
flex-direction: column;
|
|
1159
1450
|
flex: 1;
|
|
@@ -1165,7 +1456,7 @@
|
|
|
1165
1456
|
gap: 4px;
|
|
1166
1457
|
flex: 1;
|
|
1167
1458
|
}
|
|
1168
|
-
`,
|
|
1459
|
+
`,Ct=f.default.a`
|
|
1169
1460
|
text-decoration: none;
|
|
1170
1461
|
border-radius: 12px;
|
|
1171
1462
|
|
|
@@ -1245,7 +1536,7 @@
|
|
|
1245
1536
|
display: none;
|
|
1246
1537
|
}
|
|
1247
1538
|
}
|
|
1248
|
-
`,
|
|
1539
|
+
`,Dt=f.default.div`
|
|
1249
1540
|
width: 48px;
|
|
1250
1541
|
height: 48px;
|
|
1251
1542
|
background: white;
|
|
@@ -1273,7 +1564,7 @@
|
|
|
1273
1564
|
left: 32px;
|
|
1274
1565
|
top: 28px;
|
|
1275
1566
|
}
|
|
1276
|
-
|
|
1567
|
+
`,Mt=f.default.div`
|
|
1277
1568
|
display: flex;
|
|
1278
1569
|
align-items: center;
|
|
1279
1570
|
background: white;
|
|
@@ -1297,13 +1588,13 @@
|
|
|
1297
1588
|
color: ${e=>e.theme.mbColors.pink};
|
|
1298
1589
|
padding-left: 16px;
|
|
1299
1590
|
}
|
|
1300
|
-
`,
|
|
1591
|
+
`,Rt=f.default.p`
|
|
1301
1592
|
font-weight: 600;
|
|
1302
1593
|
font-size: 14px;
|
|
1303
1594
|
line-height: 24px;
|
|
1304
1595
|
letter-spacing: -0.2px;
|
|
1305
1596
|
color: ${e=>e.theme.colors.gray800};
|
|
1306
|
-
`,
|
|
1597
|
+
`,kt=f.default.p`
|
|
1307
1598
|
font-weight: 400;
|
|
1308
1599
|
font-size: 12px;
|
|
1309
1600
|
line-height: 18px;
|
|
@@ -1319,7 +1610,7 @@
|
|
|
1319
1610
|
${e.MediaQueries.tdDown} {
|
|
1320
1611
|
display: none;
|
|
1321
1612
|
}
|
|
1322
|
-
`,
|
|
1613
|
+
`,Pt=f.default.div`
|
|
1323
1614
|
display: flex;
|
|
1324
1615
|
flex: 1;
|
|
1325
1616
|
z-index: 1;
|
|
@@ -1335,7 +1626,7 @@
|
|
|
1335
1626
|
justify-content: flex-start;
|
|
1336
1627
|
gap: 4px;
|
|
1337
1628
|
}
|
|
1338
|
-
`,
|
|
1629
|
+
`,Gt=f.default.div`
|
|
1339
1630
|
display: flex;
|
|
1340
1631
|
flex-direction: column;
|
|
1341
1632
|
flex: 1;
|
|
@@ -1348,7 +1639,7 @@
|
|
|
1348
1639
|
flex: 1;
|
|
1349
1640
|
padding-left: 16px;
|
|
1350
1641
|
}
|
|
1351
|
-
`,
|
|
1642
|
+
`,Nt=f.default.div`
|
|
1352
1643
|
display: flex;
|
|
1353
1644
|
flex-direction: row;
|
|
1354
1645
|
flex: 1;
|
|
@@ -1363,297 +1654,6 @@
|
|
|
1363
1654
|
justify-content: flex-start;
|
|
1364
1655
|
align-items: flex-start;
|
|
1365
1656
|
}
|
|
1366
|
-
`,Pt=f.default.div`
|
|
1367
|
-
position: fixed;
|
|
1368
|
-
z-index: 201;
|
|
1369
|
-
top: calc(100% + 1px); // border 1px
|
|
1370
|
-
width: 100%;
|
|
1371
|
-
height: calc(100vh - var(--header-bottom));
|
|
1372
|
-
overflow-x: hidden;
|
|
1373
|
-
overflow-y: auto;
|
|
1374
|
-
background: white;
|
|
1375
|
-
display: flex;
|
|
1376
|
-
flex-direction: column;
|
|
1377
|
-
padding-bottom: 0;
|
|
1378
|
-
left: 0;
|
|
1379
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
1380
|
-
position: unset;
|
|
1381
|
-
}
|
|
1382
|
-
`;f.default.div`
|
|
1383
|
-
position: fixed;
|
|
1384
|
-
bottom: 0;
|
|
1385
|
-
left: 0;
|
|
1386
|
-
display: flex;
|
|
1387
|
-
width: 100%;
|
|
1388
|
-
height: 72px;
|
|
1389
|
-
align-items: flex-start;
|
|
1390
|
-
justify-content: center;
|
|
1391
|
-
|
|
1392
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
1393
|
-
|
|
1394
|
-
.button-image {
|
|
1395
|
-
stroke-color: blue;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
&[data-site-type='marryBaby'] {
|
|
1399
|
-
padding: 0 16px;
|
|
1400
|
-
.category-button {
|
|
1401
|
-
width: 100%;
|
|
1402
|
-
height: 48px;
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
`,f.default.div`
|
|
1406
|
-
display: flex;
|
|
1407
|
-
|
|
1408
|
-
&[data-card-array-no-margin-style='true'] {
|
|
1409
|
-
margin: 8px 0;
|
|
1410
|
-
|
|
1411
|
-
& > div {
|
|
1412
|
-
width: 0;
|
|
1413
|
-
flex: 1;
|
|
1414
|
-
margin: 0 -1px;
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
&[data-card-array-no-margin-style='false'] {
|
|
1419
|
-
margin: 8px -4px;
|
|
1420
|
-
|
|
1421
|
-
& > div {
|
|
1422
|
-
flex: 1;
|
|
1423
|
-
margin: 0 4px;
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
`,f.default.div`
|
|
1427
|
-
margin-top: 64px;
|
|
1428
|
-
`,f.default.div`
|
|
1429
|
-
padding: 24px 0;
|
|
1430
|
-
`,f.default.div`
|
|
1431
|
-
display: flex;
|
|
1432
|
-
width: 100%;
|
|
1433
|
-
align-items: center;
|
|
1434
|
-
justify-content: center;
|
|
1435
|
-
|
|
1436
|
-
& > div:first-child {
|
|
1437
|
-
margin-right: 8px;
|
|
1438
|
-
}
|
|
1439
|
-
`,f.default.div`
|
|
1440
|
-
z-index: ${re};
|
|
1441
|
-
align-items: center;
|
|
1442
|
-
|
|
1443
|
-
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
1444
|
-
background-color: ${e=>e.theme.colors.white};
|
|
1445
|
-
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
1446
|
-
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1447
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1448
|
-
`,f.default.div`
|
|
1449
|
-
position: relative;
|
|
1450
|
-
display: flex;
|
|
1451
|
-
flex-wrap: wrap;
|
|
1452
|
-
align-items: flex-start;
|
|
1453
|
-
justify-content: flex-start;
|
|
1454
|
-
padding: 48px 0;
|
|
1455
|
-
`,f.default.div`
|
|
1456
|
-
position: relative;
|
|
1457
|
-
display: flex;
|
|
1458
|
-
flex-wrap: wrap;
|
|
1459
|
-
align-items: flex-start;
|
|
1460
|
-
justify-content: flex-start;
|
|
1461
|
-
&[data-disabled-divider='false'] {
|
|
1462
|
-
border-right: 1px solid #e4e8ec;
|
|
1463
|
-
}
|
|
1464
|
-
`,f.default.div`
|
|
1465
|
-
width: 20%;
|
|
1466
|
-
padding-right: 16px;
|
|
1467
|
-
margin-bottom: 12px;
|
|
1468
|
-
|
|
1469
|
-
& > a {
|
|
1470
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1471
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1472
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1473
|
-
line-height: 22px;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
& > a:hover {
|
|
1477
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
.iconMenu {
|
|
1481
|
-
display: flex;
|
|
1482
|
-
align-items: center;
|
|
1483
|
-
|
|
1484
|
-
> .imageContainer {
|
|
1485
|
-
display: flex;
|
|
1486
|
-
width: 32px;
|
|
1487
|
-
min-width: 32px;
|
|
1488
|
-
align-items: center;
|
|
1489
|
-
margin-right: 16px;
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
`,f.default.div`
|
|
1493
|
-
display: none;
|
|
1494
|
-
`,f.default.div`
|
|
1495
|
-
width: 33%;
|
|
1496
|
-
height: 48px;
|
|
1497
|
-
padding-right: 16px;
|
|
1498
|
-
margin-bottom: 12px;
|
|
1499
|
-
|
|
1500
|
-
& > a {
|
|
1501
|
-
display: flex;
|
|
1502
|
-
align-items: center;
|
|
1503
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1504
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1505
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1506
|
-
line-height: 22px;
|
|
1507
|
-
|
|
1508
|
-
& > :first-child {
|
|
1509
|
-
margin-right: 16px;
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
& > a > p:hover {
|
|
1514
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1515
|
-
}
|
|
1516
|
-
`,f.default.div`
|
|
1517
|
-
display: flex;
|
|
1518
|
-
align-items: center;
|
|
1519
|
-
|
|
1520
|
-
padding-right: 16px;
|
|
1521
|
-
margin-bottom: 12px;
|
|
1522
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1523
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1524
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
1525
|
-
line-height: 24px;
|
|
1526
|
-
|
|
1527
|
-
&[data-theme='marryBaby'] {
|
|
1528
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1529
|
-
}
|
|
1530
|
-
`,f.default.div`
|
|
1531
|
-
display: flex;
|
|
1532
|
-
align-items: center;
|
|
1533
|
-
|
|
1534
|
-
margin-left: 10px;
|
|
1535
|
-
`,f.default.div`
|
|
1536
|
-
position: absolute;
|
|
1537
|
-
top: 16px;
|
|
1538
|
-
right: 0;
|
|
1539
|
-
display: flex;
|
|
1540
|
-
align-items: center;
|
|
1541
|
-
cursor: pointer;
|
|
1542
|
-
`,f.default.div`
|
|
1543
|
-
display: block;
|
|
1544
|
-
`,f.default.div`
|
|
1545
|
-
.categories__spotlight {
|
|
1546
|
-
display: grid;
|
|
1547
|
-
margin: 16px;
|
|
1548
|
-
margin-bottom: 32px;
|
|
1549
|
-
grid-gap: 8px;
|
|
1550
|
-
grid-template-columns: 1fr 1fr;
|
|
1551
|
-
|
|
1552
|
-
a {
|
|
1553
|
-
text-decoration: none;
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
.categoryCard {
|
|
1558
|
-
display: flex;
|
|
1559
|
-
width: 100%;
|
|
1560
|
-
flex-direction: column;
|
|
1561
|
-
align-items: center;
|
|
1562
|
-
padding: 16px;
|
|
1563
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
1564
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1565
|
-
|
|
1566
|
-
svg {
|
|
1567
|
-
margin-bottom: 4px;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
&.active {
|
|
1571
|
-
background: ${e=>e.theme.colors.primaryBase};
|
|
1572
|
-
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
1573
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1574
|
-
color: white;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
&:not(.active) {
|
|
1578
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1579
|
-
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1580
|
-
}
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
.amp__menu-header {
|
|
1584
|
-
display: grid;
|
|
1585
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
1586
|
-
|
|
1587
|
-
svg {
|
|
1588
|
-
margin-left: 16px;
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
> div {
|
|
1592
|
-
align-self: center;
|
|
1593
|
-
|
|
1594
|
-
&:nth-child(2) {
|
|
1595
|
-
justify-self: center;
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
.logo {
|
|
1601
|
-
margin: 22px 0;
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
.categories {
|
|
1605
|
-
margin: 0 16px;
|
|
1606
|
-
|
|
1607
|
-
li {
|
|
1608
|
-
display: block;
|
|
1609
|
-
width: 100%;
|
|
1610
|
-
|
|
1611
|
-
+ li {
|
|
1612
|
-
border-top: 1px solid
|
|
1613
|
-
${e=>e.theme.colors.neutral100};
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
a {
|
|
1617
|
-
display: block;
|
|
1618
|
-
margin: 12px 0;
|
|
1619
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1620
|
-
text-decoration: none;
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
}
|
|
1624
|
-
`,f.default.div`
|
|
1625
|
-
width: 20%;
|
|
1626
|
-
height: 2px;
|
|
1627
|
-
|
|
1628
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
1629
|
-
border-radius: 2px;
|
|
1630
|
-
`;const Gt=f.default.div`
|
|
1631
|
-
padding: 16px;
|
|
1632
|
-
padding-bottom: 12px;
|
|
1633
|
-
.fake-search-input {
|
|
1634
|
-
pointer-events: none;
|
|
1635
|
-
input {
|
|
1636
|
-
line-height: 20px;
|
|
1637
|
-
padding-top: 10px;
|
|
1638
|
-
padding-bottom: 10px;
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
&[data-theme='marryBaby'] {
|
|
1642
|
-
input {
|
|
1643
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
1644
|
-
border-radius: 16px;
|
|
1645
|
-
border: none;
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
`,Nt=f.default.div`
|
|
1649
|
-
display: block;
|
|
1650
|
-
overflow-y: auto;
|
|
1651
|
-
flex: 1;
|
|
1652
|
-
padding-bottom: 16px;
|
|
1653
|
-
&::-webkit-scrollbar {
|
|
1654
|
-
width: 0;
|
|
1655
|
-
display: none;
|
|
1656
|
-
}
|
|
1657
1657
|
`,Bt=f.default.div`
|
|
1658
1658
|
z-index: 201;
|
|
1659
1659
|
width: 100%;
|
|
@@ -1871,4 +1871,4 @@
|
|
|
1871
1871
|
font-weight: 700;
|
|
1872
1872
|
line-height: 22px;
|
|
1873
1873
|
text-decoration: none;
|
|
1874
|
-
`,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=$,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=O,exports.DEFAULT_IMG=S,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=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(xt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(pt,null,b.default.createElement(ft,null,b.default.createElement(dt,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(_t,null,b.default.createElement(ct,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(yt,null,b.default.createElement(mt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(ht,null,"•"),b.default.createElement(gt,{"data-theme":p},x)))),b.default.createElement(bt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(ut,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="marryBaby"!==o&&s.ECOM_LOCALES.includes(e),u="ecom"===t;let c=m.getCurrentBaseUrl(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Ce,exports.StyleSelectionPopup=B,exports.StyledAvatar=Y,exports.StyledBtnView=ke,exports.StyledBtnView$1=Tt,exports.StyledBtnView$2=$t,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=De,exports.StyledContainerItems$1=ot,exports.StyledContainerItems$2=nt,exports.StyledContainerItems$3=vt,exports.StyledContainerNoPosts=ze,exports.StyledContent=Rt,exports.StyledContentLeft=Fe,exports.StyledContentWrapper=Ue,exports.StyledContentWrapper$1=St,exports.StyledContentWrapper$2=Mt,exports.StyledDes=Ge,exports.StyledDes$1=Ot,exports.StyledDes$2=Dt,exports.StyledDescription=Qe,exports.StyledDisplayWrapper=z,exports.StyledHeader=Ut,exports.StyledHeaderWrapper=Bt,exports.StyledHeading=Ye,exports.StyledHeading$1=Ze,exports.StyledIconNav=Je,exports.StyledImageCard=Me,exports.StyledImageCard$1=rt,exports.StyledImageCard$2=Et,exports.StyledImageCard$3=Lt,exports.StyledImageCardInner=Re,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=tt,exports.StyledItem=He,exports.StyledItem$1=Xe,exports.StyledItem$2=at,exports.StyledItem$3=wt,exports.StyledItem$4=It,exports.StyledItemAll=et,exports.StyledItemGridLeft=qe,exports.StyledItemGridRight=We,exports.StyledLanguageChangeLink=P,exports.StyledLeft=Ve,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Pt,exports.StyledOption=U,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=Gt,exports.StyledTitle=Pe,exports.StyledTitle$1=je,exports.StyledTitle$2=lt,exports.StyledTitle$3=At,exports.StyledTitle$4=Ct,exports.StyledViewMore=Ke,exports.StyledViewMore$1=it,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=kt,exports.StyledWrapper=Nt,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.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==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=dt,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}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===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/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:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|
|
1874
|
+
`,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=$,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=O,exports.DEFAULT_IMG=S,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=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(yt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(mt,null,b.default.createElement(_t,null,b.default.createElement(ct,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(Et,null,b.default.createElement(ht,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(wt,null,b.default.createElement(xt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(bt,null,"•"),b.default.createElement(ft,{"data-theme":p},x)))),b.default.createElement(vt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(gt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="marryBaby"!==o&&s.ECOM_LOCALES.includes(e),u="ecom"===t;let c=m.getCurrentBaseUrl(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},l),i.configs),currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Re,exports.StyleSelectionPopup=B,exports.StyledAvatar=Y,exports.StyledBtnView=Fe,exports.StyledBtnView$1=St,exports.StyledBtnView$2=Mt,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=ze,exports.StyledContainerItems$1=lt,exports.StyledContainerItems$2=pt,exports.StyledContainerItems$3=Tt,exports.StyledContainerNoPosts=Ze,exports.StyledContent=Gt,exports.StyledContentLeft=tt,exports.StyledContentWrapper=qe,exports.StyledContentWrapper$1=$t,exports.StyledContentWrapper$2=Pt,exports.StyledDes=We,exports.StyledDes$1=Lt,exports.StyledDes$2=kt,exports.StyledDescription=Je,exports.StyledDisplayWrapper=z,exports.StyledHeader=Ut,exports.StyledHeaderWrapper=Bt,exports.StyledHeading=Ge,exports.StyledHeading$1=at,exports.StyledIconNav=Ne,exports.StyledImageCard=Qe,exports.StyledImageCard$1=st,exports.StyledImageCard$2=Ot,exports.StyledImageCard$3=Dt,exports.StyledImageCardInner=je,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=Ue,exports.StyledItem=Pe,exports.StyledItem$1=Xe,exports.StyledItem$2=nt,exports.StyledItem$3=At,exports.StyledItem$4=Ct,exports.StyledItemAll=Be,exports.StyledItemGridLeft=ke,exports.StyledItemGridRight=ot,exports.StyledLanguageChangeLink=P,exports.StyledLeft=it,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Ce,exports.StyledOption=U,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=De,exports.StyledTitle=Ve,exports.StyledTitle$1=et,exports.StyledTitle$2=dt,exports.StyledTitle$3=It,exports.StyledTitle$4=Rt,exports.StyledViewMore=He,exports.StyledViewMore$1=rt,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=Nt,exports.StyledWrapper=Me,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.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==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=ct,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}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===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/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:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|