@hhgtech/hhg-components 1.23.70 → 1.23.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{Visible-5bc1b50b.js → Visible-7a992dbb.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/authorBadge/index.d.ts +3 -1
- package/build/components/atoms/icons/index.d.ts +1 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-efecaf58.js → core-7e63226c.js} +1 -1
- package/build/dataTransform-b5ff68ed.js +1 -0
- package/build/{defaultClassWrapper-16b85ee9.js → defaultClassWrapper-01339677.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Visible-f28a0eee.js → Visible-46adca2c.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-b0a1c851.js → core-d8a25632.js} +1 -1
- package/build/esm/dataTransform-90f5a8dd.js +1 -0
- package/build/esm/defaultClassWrapper-6390442c.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-f1ab8772.js → getDynamicHealthTool-d540f3d0.js} +1 -1
- package/build/esm/{getSocialList-efa0534e.js → getSocialList-b81b7211.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-08f42c85.js +1 -0
- package/build/esm/index-187fe264.js +1 -0
- package/build/esm/index-23e4bf89.js +1 -0
- package/build/esm/{index-3e709a05.js → index-292e4759.js} +1 -1
- package/build/esm/index-301a4ff0.js +1 -0
- package/build/esm/index-336a12ce.js +1 -0
- package/build/esm/{index-9a8ea07a.js → index-3469af49.js} +1 -1
- package/build/esm/index-3c1f1614.js +1 -0
- package/build/esm/index-46d39b1a.js +1 -0
- package/build/esm/{index-97e95a0e.js → index-598f386e.js} +1 -1
- package/build/esm/{index-97dadfcb.js → index-5a27ed0e.js} +1 -1
- package/build/esm/{index-dd729229.js → index-6c83f51f.js} +1 -1
- package/build/esm/{index-62b8eca0.js → index-6d5bb8d8.js} +1 -1
- package/build/esm/index-6f5acb22.js +1 -0
- package/build/esm/{index-0ab09c28.js → index-741ddfe8.js} +1 -1
- package/build/esm/index-a29219b2.js +1 -0
- package/build/esm/{index-8042ada4.js → index-b4d8afcc.js} +1 -1
- package/build/esm/{index-6667c357.js → index-d0841395.js} +1 -1
- package/build/esm/{index-e0ba9ff2.js → index-d325d4e6.js} +1 -1
- package/build/esm/index-d3d0aadf.js +1 -0
- package/build/esm/{index-ef4b92c6.js → index-d7f7f42e.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-5143dec4.js → index.styled-5c86b7b0.js} +1 -1
- package/build/esm/{index.styled-b51c965e.js → index.styled-7fc22e8a.js} +1 -1
- package/build/esm/{index.styled-797bd393.js → index.styled-873ffb5c.js} +1 -1
- package/build/esm/index.styled-c1b076d1.js +1 -0
- package/build/esm/{index.styled-927ec3a0.js → index.styled-c1b36548.js} +1 -1
- package/build/esm/index.styled-da4917b4.js +1 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-ef2db976.js +1 -0
- package/build/esm/{screenSizeContext-4404592f.js → screenSizeContext-c4d8895d.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsProvider-6bae327a.js +1 -0
- package/build/esm/{types-cd87fedd.js → types-c4567c0b.js} +1 -1
- package/build/esm/types-d8a189d9.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-91991f18.js → useFbDataLayer-309562f1.js} +1 -1
- package/build/esm/{useHealthToolCache-29ad868d.js → useHealthToolCache-28b47403.js} +1 -1
- package/build/esm/{useTranslations-9a6a81b8.js → useTranslations-522d6c45.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-1bdfc541.js → getDynamicHealthTool-97a5fa0f.js} +1 -1
- package/build/{getSocialList-0351bee8.js → getSocialList-b6165eef.js} +1 -1
- package/build/hooks/usePlacesAutocomplete.d.ts +17 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-7c8291b0.js → index-28f30fb7.js} +1 -1
- package/build/index-30a312d7.js +1 -0
- package/build/{index-a749dc47.js → index-3800bc14.js} +1 -1
- package/build/{index-1eb19abb.js → index-46a0bd1a.js} +1 -1
- package/build/index-4ada1365.js +1 -0
- package/build/{index-ba431739.js → index-6244aeb5.js} +1 -1
- package/build/{index-78d409d6.js → index-64835c5d.js} +1 -1
- package/build/{index-ed922801.js → index-887feaf1.js} +1 -1
- package/build/{index-1a232228.js → index-894c6453.js} +1 -1
- package/build/index-8fd1877b.js +1 -0
- package/build/index-9493d5b4.js +1 -0
- package/build/index-9fd047e6.js +1 -0
- package/build/{index-f131b32d.js → index-a699df10.js} +1 -1
- package/build/index-a8707c0c.js +1 -0
- package/build/{index-88342058.js → index-ae003284.js} +1 -1
- package/build/index-bc2c4f2f.js +1 -0
- package/build/{index-92a85d6a.js → index-ce2ef514.js} +1 -1
- package/build/{index-e2450e2f.js → index-d28d6ec5.js} +1 -1
- package/build/{index-f248eb1e.js → index-e33653e9.js} +1 -1
- package/build/{index-5be5fa2b.js → index-ebbda1ca.js} +1 -1
- package/build/index-f23c7696.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-2f383f5b.js → index.styled-22fa646f.js} +1 -1
- package/build/index.styled-506ce166.js +1 -0
- package/build/{index.styled-01b5b0f5.js → index.styled-5bef6a44.js} +1 -1
- package/build/{index.styled-1826a975.js → index.styled-cb7b9bb3.js} +1 -1
- package/build/{index.styled-0a5cbf26.js → index.styled-f384413e.js} +1 -1
- package/build/index.styled-ff2e3d14.js +1 -0
- package/build/lead/layouts/lightbox/fields/index.d.ts +9 -0
- package/build/lead/layouts/lightbox/fields/locationBlock.d.ts +5 -0
- package/build/lead/layouts/lightbox/fields/subtitleBlock.d.ts +5 -0
- package/build/lead/layouts/lightbox/fields/titleBlock.d.ts +5 -0
- package/build/lead/layouts/lightbox/formContext.d.ts +12 -0
- package/build/lead/layouts/{lightbox.d.ts → lightbox/index.d.ts} +5 -3
- package/build/lead/layouts/lightbox/otpBlock.d.ts +6 -0
- package/build/lead/newLeadPopup.d.ts +6 -4
- package/build/lead/services/index.d.ts +7 -0
- package/build/lead/utils/checkUsedEmailOrPhone.d.ts +11 -0
- package/build/lead.css +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-a38c62c5.js → routing-db004aa6.js} +1 -1
- package/build/{screenSizeContext-6396ebf8.js → screenSizeContext-3179079d.js} +1 -1
- package/build/together/components/molecules/cardAuthor/index.d.ts +5 -2
- package/build/together/components/molecules/createNewPostContent/index.d.ts +2 -1
- package/build/together/components/molecules/profileDetail/about/index.d.ts +1 -2
- package/build/together/components/molecules/profileDetail/index.d.ts +4 -1
- package/build/together/interfaces/types.d.ts +2 -0
- package/build/together.js +1 -1
- package/build/{translationsProvider-26ae134e.js → translationsProvider-3e4953ea.js} +1 -1
- package/build/types-1c009630.js +1 -0
- package/build/{types-2126e0b2.js → types-e670f821.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-a8f0e7e4.js → useFbDataLayer-9b4535c0.js} +1 -1
- package/build/useHealthToolCache-0ab0d281.js +1 -0
- package/build/useTranslations-7d1f09a6.js +1 -0
- package/package.json +2 -1
- package/build/esm/defaultClassWrapper-b3252d64.js +0 -1
- package/build/esm/index-2f307dca.js +0 -1
- package/build/esm/index-4b764dd3.js +0 -1
- package/build/esm/index-56e05694.js +0 -1
- package/build/esm/index-60151673.js +0 -1
- package/build/esm/index-c2d22670.js +0 -1
- package/build/esm/index-daa0a16a.js +0 -1
- package/build/esm/index-ff85c851.js +0 -1
- package/build/esm/index.styled-3f3de4f4.js +0 -1
- package/build/esm/index.styled-6dd74408.js +0 -1
- package/build/esm/routing-0797aee7.js +0 -1
- package/build/esm/translationsProvider-cb07d5c7.js +0 -1
- package/build/esm/types-eacf4052.js +0 -1
- package/build/index-296388f5.js +0 -1
- package/build/index-7f2fabb8.js +0 -1
- package/build/index-a7f331a4.js +0 -1
- package/build/index-b2aa53ae.js +0 -1
- package/build/index-e646262f.js +0 -1
- package/build/index.styled-0a518d9e.js +0 -1
- package/build/index.styled-f73a69f6.js +0 -1
- package/build/lead/campaign.d.ts +0 -22
- package/build/lead/hooks/useLogicValidatePhoneAndEmail.d.ts +0 -8
- package/build/lead/oldLeadPopup.d.ts +0 -22
- package/build/types-420583be.js +0 -1
- package/build/useHealthToolCache-2afdbb97.js +0 -1
- package/build/useTranslations-500f6144.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-9e6b54a8.js → BMI_BOYS.percentile.monthly-78b55c3a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-e11d4cd1.js → BMI_BOYS.percentile.weekly-c4e16110.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f6b39fbd.js → BMI_BOYS.percentile.yearly-b2990cf8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1ce045a1.js → BMI_BOYS.zscore.monthly-d007e848.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-ae605757.js → BMI_BOYS.zscore.weekly-b3ed26e4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-50bd3788.js → BMI_BOYS.zscore.yearly-d5f30bd9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-950e67f7.js → BMI_GIRLS.percentile.monthly-0cd1b1b6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-039fe03a.js → BMI_GIRLS.percentile.weekly-f3c139ea.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-55509986.js → BMI_GIRLS.percentile.yearly-b318b968.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-7e10df95.js → BMI_GIRLS.zscore.monthly-3c8ef60b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6d6b3d5c.js → BMI_GIRLS.zscore.weekly-23d5cade.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-7ec52da6.js → BMI_GIRLS.zscore.yearly-64050209.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-7efc3b56.js → HEAD CIRCUM_BOYS.percentile.monthly-a7d7604d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6fdce68f.js → HEAD CIRCUM_BOYS.percentile.weekly-d5e2a29c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7dddfb97.js → HEAD CIRCUM_BOYS.percentile.yearly-a0dad69e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-71afa4b2.js → HEAD CIRCUM_BOYS.zscore.monthly-c181c14a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-17a3b889.js → HEAD CIRCUM_BOYS.zscore.weekly-af9c4b41.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-645563c2.js → HEAD CIRCUM_BOYS.zscore.yearly-5276e5d7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-db157097.js → HEAD CIRCUM_GIRLS.percentile.monthly-b6937ea0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-dafaf5c1.js → HEAD CIRCUM_GIRLS.percentile.weekly-68b2c26a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-038c82a4.js → HEAD CIRCUM_GIRLS.percentile.yearly-2a9b35c1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-692296a5.js → HEAD CIRCUM_GIRLS.zscore.monthly-f8a097f2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-36961cc5.js → HEAD CIRCUM_GIRLS.zscore.weekly-760ffd34.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-04b20925.js → HEAD CIRCUM_GIRLS.zscore.yearly-57d18443.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-9977bd25.js → HEIGHT_BOYS.percentile.monthly-e04ed616.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-4217f404.js → HEIGHT_BOYS.percentile.weekly-a3ab6149.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-4fe02758.js → HEIGHT_BOYS.percentile.yearly-994e73b7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-3cb1f4e2.js → HEIGHT_BOYS.zscore.monthly-e1c19dd7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-14057970.js → HEIGHT_BOYS.zscore.weekly-c4d4e13c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ac5651e0.js → HEIGHT_BOYS.zscore.yearly-f598828f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-adc29257.js → HEIGHT_GIRLS.percentile.monthly-f5c9da4b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b76ea902.js → HEIGHT_GIRLS.percentile.weekly-c9d9e801.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ca8d7b06.js → HEIGHT_GIRLS.percentile.yearly-0f528000.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-6e420c75.js → HEIGHT_GIRLS.zscore.monthly-5028807c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d191caaa.js → HEIGHT_GIRLS.zscore.weekly-9d2aabc9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-25d3ecc8.js → HEIGHT_GIRLS.zscore.yearly-a6261b5d.js} +0 -0
- /package/build/{Locale-8442e04f.js → Locale-f7de16c2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f479446a.js → WEIGHT_BOYS.percentile.monthly-013bd7c1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-038b0142.js → WEIGHT_BOYS.percentile.weekly-df0018b8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9a66ab82.js → WEIGHT_BOYS.percentile.yearly-951fb6c1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6c2f9888.js → WEIGHT_BOYS.zscore.monthly-da0d5709.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-323495b7.js → WEIGHT_BOYS.zscore.weekly-253dc72a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-225ef431.js → WEIGHT_BOYS.zscore.yearly-e65d61c4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-37eb2035.js → WEIGHT_GIRLS.percentile.monthly-6c15a2f1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-abf0a3ee.js → WEIGHT_GIRLS.percentile.weekly-7d36f34f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-47c7cb3d.js → WEIGHT_GIRLS.percentile.yearly-6c337032.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1d8da896.js → WEIGHT_GIRLS.zscore.monthly-639c20c6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c74501a7.js → WEIGHT_GIRLS.zscore.weekly-ffe0c86f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7ba94d8f.js → WEIGHT_GIRLS.zscore.yearly-a9735289.js} +0 -0
- /package/build/{constants-3e23281c.js → constants-65ba9e35.js} +0 -0
- /package/build/{cookieHelper-0ed7c0f4.js → cookieHelper-18d910fa.js} +0 -0
- /package/build/{dataTransform-52593f62.js → dataTransform-56237a35.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-04336cdb.js → BMI_BOYS.percentile.monthly-2ea59612.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-7aa2206d.js → BMI_BOYS.percentile.weekly-2ca3f613.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-37e1bab8.js → BMI_BOYS.percentile.yearly-c07b7b47.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-35ccd6e2.js → BMI_BOYS.zscore.monthly-4ebd3893.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-48eb7244.js → BMI_BOYS.zscore.weekly-88e84048.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-30128ebe.js → BMI_BOYS.zscore.yearly-58dc7387.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-bd3fe421.js → BMI_GIRLS.percentile.monthly-f3de8fb6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-1de5b4da.js → BMI_GIRLS.percentile.weekly-b7eb0bff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-aadadd00.js → BMI_GIRLS.percentile.yearly-fb3c74b0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-7f55a088.js → BMI_GIRLS.zscore.monthly-bdcdb3db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-da68e9cf.js → BMI_GIRLS.zscore.weekly-66c2e62d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-40c9b24f.js → BMI_GIRLS.zscore.yearly-47461389.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-901fa72d.js → HEAD CIRCUM_BOYS.percentile.monthly-a03c4325.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-e68def18.js → HEAD CIRCUM_BOYS.percentile.weekly-391e649e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-5f71148d.js → HEAD CIRCUM_BOYS.percentile.yearly-9f9b783f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-92a0ff77.js → HEAD CIRCUM_BOYS.zscore.monthly-1ba018d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-baece344.js → HEAD CIRCUM_BOYS.zscore.weekly-dffcc79b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-730cfaec.js → HEAD CIRCUM_BOYS.zscore.yearly-b9fcd2ad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ed9553c3.js → HEAD CIRCUM_GIRLS.percentile.monthly-fbc0ddf1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-17d18791.js → HEAD CIRCUM_GIRLS.percentile.weekly-a8b76655.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-88bdc972.js → HEAD CIRCUM_GIRLS.percentile.yearly-c622b8ef.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c82d2ff9.js → HEAD CIRCUM_GIRLS.zscore.monthly-2463b0c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-60738a3b.js → HEAD CIRCUM_GIRLS.zscore.weekly-86d225c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-35c770fa.js → HEAD CIRCUM_GIRLS.zscore.yearly-addef4d1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0c09dac3.js → HEIGHT_BOYS.percentile.monthly-b63d1893.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-63e3d0c5.js → HEIGHT_BOYS.percentile.weekly-b7846773.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-beab133e.js → HEIGHT_BOYS.percentile.yearly-fb2b8b19.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e9542002.js → HEIGHT_BOYS.zscore.monthly-7e285196.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-112599a4.js → HEIGHT_BOYS.zscore.weekly-254c304f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ef28f146.js → HEIGHT_BOYS.zscore.yearly-b87c3cb6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bf51e773.js → HEIGHT_GIRLS.percentile.monthly-a367814c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-fb60db4b.js → HEIGHT_GIRLS.percentile.weekly-f2fa5e8e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3b3ce8f1.js → HEIGHT_GIRLS.percentile.yearly-191f0d89.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a65dc5d2.js → HEIGHT_GIRLS.zscore.monthly-bd4737d4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0ee383ed.js → HEIGHT_GIRLS.zscore.weekly-feb38522.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-dac015fc.js → HEIGHT_GIRLS.zscore.yearly-8ec68388.js} +0 -0
- /package/build/esm/{Locale-26444728.js → Locale-04e24689.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4f777510.js → WEIGHT_BOYS.percentile.monthly-c9c902a5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5fe558ca.js → WEIGHT_BOYS.percentile.weekly-3751eb72.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7adac828.js → WEIGHT_BOYS.percentile.yearly-15e39190.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-edf1356e.js → WEIGHT_BOYS.zscore.monthly-d51f5237.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f4c47717.js → WEIGHT_BOYS.zscore.weekly-092562ee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-db79849d.js → WEIGHT_BOYS.zscore.yearly-7043b059.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-77be573c.js → WEIGHT_GIRLS.percentile.monthly-492a61d6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-249cfb5f.js → WEIGHT_GIRLS.percentile.weekly-06940040.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-432d60a0.js → WEIGHT_GIRLS.percentile.yearly-f4286fed.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-7e3bf7aa.js → WEIGHT_GIRLS.zscore.monthly-436293c8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-333699e9.js → WEIGHT_GIRLS.zscore.weekly-a1b3e502.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c0cd66c9.js → WEIGHT_GIRLS.zscore.yearly-5a31005e.js} +0 -0
- /package/build/esm/{constants-9802916c.js → constants-70d2c32d.js} +0 -0
- /package/build/esm/{cookieHelper-b7383c13.js → cookieHelper-a4c8f5fd.js} +0 -0
- /package/build/esm/{dataTransform-8015f34d.js → dataTransform-62db2f10.js} +0 -0
- /package/build/esm/{isProduction-591809e4.js → isProduction-6c7c07b0.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2e9b678d.js → localizeNumberFormat-c96d8d74.js} +0 -0
- /package/build/esm/{theme-4965c17b.js → theme-d1540843.js} +0 -0
- /package/build/esm/{translationsContext-45e7b7c0.js → translationsContext-ee074a7d.js} +0 -0
- /package/build/esm/{tslib.es6-f57f7d0d.js → tslib.es6-b1f7cf63.js} +0 -0
- /package/build/esm/{types-00639960.js → types-3a7670a0.js} +0 -0
- /package/build/esm/{useOutsideClick-eb767e97.js → useOutsideClick-978f7402.js} +0 -0
- /package/build/esm/{useScrollbarSize-3f35b7a8.js → useScrollbarSize-44dc1933.js} +0 -0
- /package/build/esm/{utils-84d591f6.js → utils-298322d1.js} +0 -0
- /package/build/{isProduction-cc1f637a.js → isProduction-2baf1826.js} +0 -0
- /package/build/{localizeNumberFormat-24cff7c9.js → localizeNumberFormat-4505d2a6.js} +0 -0
- /package/build/{theme-cb9ab2c7.js → theme-f22d8a67.js} +0 -0
- /package/build/{translationsContext-0bfd2a34.js → translationsContext-7c70bedc.js} +0 -0
- /package/build/{tslib.es6-35544b90.js → tslib.es6-2e7f48c4.js} +0 -0
- /package/build/{types-507634dd.js → types-1032095d.js} +0 -0
- /package/build/{useOutsideClick-f6c81846.js → useOutsideClick-3ebc5c47.js} +0 -0
- /package/build/{useScrollbarSize-201c7b81.js → useScrollbarSize-fa0af182.js} +0 -0
- /package/build/{utils-252705e5.js → utils-f6706649.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-2e7f48c4.js"),t=require("react"),l=require("./core-7e63226c.js"),a=require("./gAssets.js"),n=require("./index.styled-cb7b9bb3.js"),i=require("./index-30a312d7.js"),o=require("./index-e33653e9.js"),r=require("./routing-db004aa6.js"),s=require("./dataTransform-b5ff68ed.js"),u=require("./index-6244aeb5.js"),c=require("./useTranslations-7d1f09a6.js"),d=require("lodash/throttle"),m=require("./utils-f6706649.js"),f=require("./index.styled-ff2e3d14.js"),h=require("./index-a699df10.js"),g=require("./theme-f22d8a67.js"),v=require("@mantine/core"),p=require("./cookieHelper-18d910fa.js");require("./index.styled-22fa646f.js");var E=require("./index-46a0bd1a.js");require("./index.styled-f384413e.js"),require("./index-ce2ef514.js");var y=require("./constants-65ba9e35.js"),C=require("string-format"),w=require("lodash/debounce");function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=L(t),k=L(d),_=L(C),M=L(w),A={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},S=function(l){var a=l.type,n=void 0===a?"square":a,i=l.size,o=l.avatarImg,r=l.avatarUrl,s=l.firstLetter,u=l.backgroundColor,c=l.onClick,d=l.style,m=l.className,h=l.width,g=l.height,v=i?A[i]:void 0,p=t.useState(!1),E=p[0],y=p[1];t.useEffect((function(){if(r){var e=document.createElement("img");e.setAttribute("src",r),e.addEventListener("error",(function(){y(!0)}))}}),[r,y]);var C=(!r&&!o||E)&&s;return b.default.createElement(f.StyledAvatar,{style:e.__assign(e.__assign({},d),{"--size":v?v+"px":void 0,"--width-prop":h?h+"px":void 0,"--height-prop":g?g+"px":void 0,"--background-color":u}),"data-has-max":!(!h||!g),"data-avatar-type":n,onClick:c,className:m,avatarUrl:r,"data-custom-size":!!i},o,r&&!E&&b.default.createElement("img",{src:r}),C&&s)},P=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/cambodiaRound.png"),style:e.__assign({borderRadius:"50%"},t.style)},t))},x=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/cambodiaSquare.png")},t))},N=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),b.default.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),b.default.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),b.default.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),b.default.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),b.default.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),b.default.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),b.default.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),b.default.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),b.default.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),b.default.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),b.default.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),b.default.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),b.default.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),b.default.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),b.default.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),b.default.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),b.default.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),b.default.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),b.default.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),b.default.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),b.default.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),b.default.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},H=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},b.default.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),b.default.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),b.default.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),b.default.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),b.default.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),b.default.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),b.default.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),b.default.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),b.default.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),b.default.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},T=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/indiaRound.png"),style:e.__assign({borderRadius:"50%"},t.style)},t))},B=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/indiaSquare.png")},t))},R=function(l){var a=l.isTesting,n=e.__rest(l,["isTesting"]),i=t.useRef("id-flag-round-mask-"+(a?1:Math.random()));return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.default.createElement("mask",{id:i.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("g",{mask:"url(#".concat(i.current,")")},b.default.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),b.default.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},I=function(l){var a=l.isTesting,n=e.__rest(l,["isTesting"]),i=t.useRef("id-flag-clip-"+(a?1:Math.random()));return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.default.createElement("g",{clipPath:"url(#".concat(i.current,")")},b.default.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),b.default.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),b.default.createElement("defs",null,b.default.createElement("clipPath",{id:i.current},b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},U=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),b.default.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),b.default.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},G=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),b.default.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),b.default.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),b.default.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},Z=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),b.default.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),b.default.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},D=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),b.default.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),b.default.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},V=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/philippineRound.png"),style:e.__assign({borderRadius:"50%"},t.style)},t))},O=function(t){return b.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/philippineSquare.png")},t))},F=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),b.default.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),b.default.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),b.default.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),b.default.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),b.default.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),b.default.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),b.default.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),b.default.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),b.default.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),b.default.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),b.default.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),b.default.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),b.default.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),b.default.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),b.default.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},j=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),b.default.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),b.default.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),b.default.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),b.default.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),b.default.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),b.default.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),b.default.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),b.default.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),b.default.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),b.default.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),b.default.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),b.default.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),b.default.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),b.default.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},W=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),b.default.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},q=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),b.default.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},z=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},t.style)},t),b.default.createElement("g",null,b.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},b.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),b.default.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),b.default.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},$=function(t){return b.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b.default.createElement("g",null,b.default.createElement("clipPath",null,b.default.createElement("rect",{width:"24",height:"16",fill:"white"})),b.default.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),b.default.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},K="pfaLGRK",Q=function(e){var t,l,a=e.country,n=e.language,i=e.rounded,o=e.height,r=e.width,s=e.isTesting;switch(n){case"en":t=b.default.createElement(H,null),l=b.default.createElement(N,null);break;case"vi":t=b.default.createElement($,null),l=b.default.createElement(z,null);break;case"id":t=b.default.createElement(I,{isTesting:s}),l=b.default.createElement(R,{isTesting:s});break;case"th":t=b.default.createElement(q,null),l=b.default.createElement(W,null);break;case"km":t=b.default.createElement(x,null),l=b.default.createElement(P,null);break;case"ms":t=b.default.createElement(G,null),l=b.default.createElement(U,null);break;case"my":t=b.default.createElement(D,null),l=b.default.createElement(Z,null);break;case"tl":t=b.default.createElement(O,null),l=b.default.createElement(V,null);break;case"hi":t=b.default.createElement(B,null),l=b.default.createElement(T,null);break;case"zh":t=b.default.createElement(j,null),l=b.default.createElement(F,null)}if(!t&&!l)switch(a){case"VN":t=b.default.createElement($,null),l=b.default.createElement(z,null);break;case"ID":t=b.default.createElement(I,{isTesting:s}),l=b.default.createElement(R,{isTesting:s});break;case"TH":t=b.default.createElement(q,null),l=b.default.createElement(W,null);break;case"KH":t=b.default.createElement(x,null),l=b.default.createElement(P,null);break;case"MY":t=b.default.createElement(G,null),l=b.default.createElement(U,null);break;case"MM":t=b.default.createElement(D,null),l=b.default.createElement(Z,null);break;case"PH":t=b.default.createElement(O,null),l=b.default.createElement(V,null);break;case"IN":t=b.default.createElement(B,null),l=b.default.createElement(T,null);break;case"TW":t=b.default.createElement(j,null),l=b.default.createElement(F,null)}return b.default.createElement("div",{className:K,style:{"--width":r||20,"--height":o||20}},i?l:t)},Y=function(e){var l=e.options,o=e.label,r=e.labelRenderer,s=e.selected,u=e.onChange,c=e.showSelected,d=void 0===c||c,m=e.style,f=void 0===m?{}:m,h=e.showIndicator,g=void 0===h||h,v=t.useState(!1),p=v[0],E=v[1];return b.default.createElement(b.default.Fragment,null,b.default.createElement(n.StyledSelectionContainer,null,b.default.createElement(n.StyledSelectionLabel,{onClick:function(){return E((function(e){return!e}))}},o||(null==r?void 0:r(p))||null,b.default.createElement(n.StyleSelectionPopup,{"data-is-open":p,style:f,"data-show-indicator":g},l.map((function(e,t){return b.default.createElement(n.StyledOption,{key:t,"data-selected":d&&s===e.value,onClick:function(t){s!==e.value&&(u(e.value),E((function(e){return!e}))),t.stopPropagation()}},b.default.createElement(i.Text,{size:"p3"},e.label),d&&s===e.value&&b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),p&&b.default.createElement(n.StyledPopupBackground,{onClick:function(){return E(!1)}}))},J=function(e){var t,l,a=e.languageOptions,n=e.locale,i=null==a?void 0:a.find((function(e){return e.locale===n}));return(null==a?void 0:a.length)?b.default.createElement(Y,{options:a,selected:i.value,label:b.default.createElement(X,{locale:n,label:i.label||(null===(l=null===(t=n.split("-"))||void 0===t?void 0:t[0])||void 0===l?void 0:l.toUpperCase())}),onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},X=function(e){var t,l,a,i=e.locale,o=e.label,r=e.href;return b.default.createElement(n.StyledLanguageChangeLink,{href:r},b.default.createElement(Q,{country:null===(l=null===(t=null==i?void 0:i.split("-"))||void 0===t?void 0:t[1])||void 0===l?void 0:l.toUpperCase(),width:16,height:16,rounded:!0,language:null===(a=null==i?void 0:i.split("-"))||void 0===a?void 0:a[0]}),b.default.createElement("span",null,o))},ee=function(e){var l=e.forceDisplay,a=e.mediaQueryKey,i=e.children,o=e.className,r=e.style,s=t.useMemo((function(){return m.getBoundariesFromMediaQueryKey(a)}),[a]),u=s[0],c=s[1];return b.default.createElement(n.StyledDisplayWrapper,{lowerBound:l?0:u,upperBound:l?0:c,className:o,style:r},i)},te=function(e){var l=(e||{}).allowBgScroll,a=t.useRef();return{containerRef:a,onContainerFocus:function(){l||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){l||(document.documentElement.style.overflow="")},onButtonMouseDown:function(e){a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:function(){a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},le=function(e){var l=e.openLogoutPopup,i=e.onCloseHandler,o=e.onLogoutHandler,r=e.siteType,u=void 0===r?"helloSites":r,d=c.useTranslations().t;return t.useEffect((function(){document.body.classList.toggle("noscroll",l)}),[l]),b.default.createElement(v.Portal,null,b.default.createElement(s.Popup,{type:"confirm",isOpen:l,closeIcon:b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:i},b.default.createElement(n.StyledPopup,null,"helloSites"===u&&b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),b.default.createElement("h2",null,d("helloSites"===u?"logout.popup.ask1":"logout.popup.ask.mb")),b.default.createElement("p",null,d("logout.popup.ask2")),b.default.createElement(n.StyledButtonGroup,{siteType:u},b.default.createElement(h.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:o},d("logout.popup.button.logout")),b.default.createElement(h.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:i},d("logout.popup.button.cancel"))))))},ae=function(e){var t,l,a,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return ae(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(l=e.cat_parent)||void 0===l?void 0:l.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},ne=function(e){var t,l;if(!e)return{};var a=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(l=e.link)||void 0===l?void 0:l.startsWith("/fil/"),i=e.link?e.link.startsWith("http")||a?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(e.link.replace("/health-tools/","/")):void 0;return{icon:e.icon,link:i,subtitle:e.subtitle,title:e.title}},ie=function(e){return e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{}},oe=function(e){return e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{}},re=function(e){var t,l,a=e.type,n=e.specialtySlug,i=e.locale;return"".concat(null===(t=y.LOCALIZED_SLUGS[i])||void 0===t?void 0:t.ALL,"/").concat((null===(l=y.LOCALIZED_SLUGS[i])||void 0===l?void 0:l[a])||"doctor","/").concat(null!=n?n:"")},se=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},ue=function(e){var t=new Date;if(null==e?void 0:e.startDate){var l=new Date(e.startDate);if(t.getTime()<l.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},ce={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},de={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function me(e){var l=e.userInfo,n=e.onClickMyProfileButton,i=e.themeName,o=void 0===i?"helloSites":i,r=c.useTranslations().t,s=t.useMemo((function(){var e=(null==l?void 0:l.name)||(null==l?void 0:l.username);return e&&e.length?e[0].toUpperCase():"A"}),[null==l?void 0:l.username,null==l?void 0:l.name]);return b.default.createElement("div",{className:de.navHeader,onClick:function(){n&&n()}},b.default.createElement(S,{className:de.navAvatar,type:"rounded",size:"xl",avatarUrl:null==l?void 0:l.avatar,firstLetter:s,backgroundColor:"marryBaby"===o?g.theme.mbColors.pink:g.theme.colors.secondaryBase}),b.default.createElement("div",{className:de.navHeaderUserInfos},b.default.createElement("div",{className:de.navHeaderUserName},(null==l?void 0:l.name)||(null==l?void 0:l.username)),b.default.createElement("div",{className:de.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},r("userProfile.nav.header.viewProfile"))))}var fe="gn6HmGG",he="FCx8FEM",ge="zMiRxaE",ve="lZ2Z9MQ",pe="rwm-agG",Ee="qMOscoq",ye=function(e){var l=e.themeName,n=e.locale,i=e.onClickItem,o=t.useState(""),r=o[0],s=o[1],u=t.useMemo((function(){return"marryBaby"===l?[{key:"userProfile.nav.menu.password",icon:a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[l]);function c(e){e.subMenu?s((function(t){return t?"":e.key})):i&&i(e)}return b.default.createElement("div",{className:fe},u.map((function(e){return b.default.createElement(Ce,{key:e.key,item:e,openKey:r,onClickItem:c,locale:n})})))},Ce=function(e){var t,l=e.item,n=e.openKey,i=e.onClickItem,o=e.locale,r=c.useTranslations().t;return(null===(t=l.disableLocale)||void 0===t?void 0:t.includes(o))?null:b.default.createElement("div",{className:"".concat(he," nav-menu-item"),"data-is-open":n===l.key,key:l.key,"data-has-submenu":!!l.subMenu},b.default.createElement("div",{className:ge,onClick:function(){return i(l)}},l.icon&&b.default.createElement("div",{className:ve,style:{backgroundImage:'url("'.concat(l.icon,'")')}}),r(l.key),l.subMenu&&b.default.createElement("div",{className:pe,style:{"--after-bg":"url(".concat(a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),l.subMenu&&b.default.createElement("div",{className:Ee},l.subMenu.map((function(e){return b.default.createElement(Ce,{key:e.key,item:e,openKey:n,onClickItem:i,locale:o})}))))},we="-AZt1au",Le="IvSIfCI",be="eahCJov",ke="XIyViFs",_e="_4y-O0w3",Me="kO8iNgD",Ae="a1d4E10",Se="Tdguxxf",Pe="-mOxsaU",xe="yPeDBNZ",Ne={helloSites:{member:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},He=function(e){var l=e.themeName,a=e.rank,n=void 0===a?"member":a,i=e.numberOfPosts,o=void 0===i?0:i,r=c.useTranslations().t,s=t.useMemo((function(){var e,t;return(null===(t=null===(e=Ne[l])||void 0===e?void 0:e[n])||void 0===t?void 0:t.call(e))||""}),[n,l]);return b.default.createElement("div",{className:_e,"data-user-rank":n},b.default.createElement("div",{className:Me},b.default.createElement("div",{className:Ae},b.default.createElement("div",{className:Se,style:{backgroundImage:'url("'.concat(s,'")')}}),b.default.createElement("h3",{className:Pe},r("userProfile.userRank.".concat(n))),o>0&&b.default.createElement("p",{className:xe},o," ",r("userProfile.nav.header.count.posts")))))},Te=function(l){var i=l.SSO_URL,r=l.UP_BASEPATH,s=void 0===r?"user":r,u=l.themeName,d=void 0===u?"helloSites":u,m=l.cardUrls,f=void 0===m?ce:m,g=l.enableCare,v=l.enableTogether,E=l.enableEcom,y=l.userInfo,C=l.togetherApiDomain,w=l.userPostsNumber,L=l.onClickNavigationCard,k=l.onClickMyProfileButton,M=l.onClickMenuItem,A=l.onClickLogout,S=l.isUserProfileNavigatorMenuHidden,P=void 0!==S&&S,x=l.isMyHealthEnabled,N=void 0!==x&&x,H=l.locale,T=c.useTranslations().t,B=t.useState(w||0),R=B[0],I=B[1],U="marryBaby"===d;t.useEffect((function(){if(y&&void 0===w){var t=p.getCookie("hhg_user_token");t&&fetch(function(t,l,a,i){return(a||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(n.TOGETHER_PATHS.GET_USER_POSTS,e.__assign(e.__assign({},i),{websiteUrl:l?"https://marrybaby.vn":"https://".concat(o.domainLocales[t])}))}(H,U,C),{headers:{Authorization:"Bearer ".concat(t)}}).then((function(e){return e.json()})).then((function(e){var t,l,a;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&I((null===(a=null===(l=null==e?void 0:e.data)||void 0===l?void 0:l.pagination)||void 0===a?void 0:a.total_items)||0)})).catch((function(e){return console.error("Error fetching post number",e)}))}}),[H,null!==y,w,C,U]);var G=t.useMemo((function(){return(U?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(e){return"myBooking"===e?g:"myCommunity"===e?v:"myHealth"===e?N:"eCom"!==e||E}))}),[U,N]),Z=t.useMemo((function(){return"marryBaby"===d?null:b.default.createElement(h.Button,{color:"tertiary",icon:b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:A,className:ke},T("userProfile.nav.menu.logout"))}),[d]),D=function(e){window.location.href="".concat(i).concat(s,"/").concat(e)},V=function(e){var t=f[e];L?L(t):D(t)};return y?b.default.createElement("div",{className:we,"data-theme":d},b.default.createElement(me,{userInfo:y,themeName:d,onClickMyProfileButton:function(){k?k():D("profile")}}),b.default.createElement(He,{themeName:d,rank:"member",numberOfPosts:R}),b.default.createElement("div",{className:Le},G.map((function(e){return b.default.createElement(n.NavigationCard,{className:be,key:e,themeName:d,type:e,onClick:V})}))),!P&&b.default.createElement(b.default.Fragment,null,b.default.createElement(ye,{themeName:d,locale:H,onClickItem:function(e){"logout"===e.link&&A?A():e.link&&!e.subMenu&&(M?M(e.link):D(e.link))}}),Z)):null},Be=function(e){var t=e.type,l=void 0===t?"lead":t,a=e.closeIcon,i=e.isOpen,o=void 0===i||i,r=e.onClose,s=e.children,u=e.enableAnimation,c=void 0===u||u,d=e.targetAvatar,m=e.id,f=e.className;return b.default.createElement(n.StyledPopup$1,{"data-open":o,"data-type":l,"data-animation":c,"data-target":d,id:m,className:f},b.default.createElement("div",{className:"popup-content"},!!a&&b.default.createElement("div",{className:"close-button",onClick:r},a),s))},Re=function(e){var t=e.SSO_URL,l=e.UP_BASEPATH,a=e.isOpen,n=e.targetAvatar,i=e.userInfo,o=e.enableCare,r=e.enableTogether,s=e.enableEcom,u=e.closePopup,c=e.siteType,d=void 0===c?"helloSites":c,m=e.dispatchLogout,f=e.userProfileRouterPush,h=e.isUserProfileNavigatorMenuHidden,g=e.isMyHealthEnabled,v=void 0!==g&&g,p=e.togetherApiDomain,E=e.locale,y=function(e){f?f("/".concat(e)):t&&(window.location.href="".concat(t).concat(l,"/").concat(e))},C=function(e){y(e),u()};return b.default.createElement(Be,{isOpen:a,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:u},b.default.createElement(Te,{SSO_URL:t,UP_BASEPATH:l,themeName:d,userInfo:i,enableCare:o,enableTogether:r,enableEcom:s,onClickLogout:function(){m&&(m(),u())},onClickMenuItem:C,onClickNavigationCard:C,onClickMyProfileButton:function(){y("profile"),u()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v,togetherApiDomain:p,locale:E}))},Ie=function(l){var o=l.userInfo,r=l.siteType,s=l.onLoginClick,u=l.SSO_URL,d=l.currentUrl,m=l.isMinifyLogin,f=l.enableCare,v=l.enableTogether,p=l.enableEcom,E=l.isUserProfileNavigatorMenuHidden,y=l.UP_BASEPATH,C=l.isMyHealthEnabled,w=l.togetherApiDomain,L=l.onLogout,k=l.style,_=l.userProfileRouterPush,M=l.isLoading,A=l.locale,P=c.useTranslations().t,x=t.useState(!1),N=x[0],H=x[1],T=(null==o?void 0:o.name)||(null==o?void 0:o.username),B=t.useState(!1),R=B[0],I=B[1];t.useEffect((function(){I(!0)}),[]);var U=te(),G=U.containerRef,Z=U.onContainerFocus,D=U.onContainerBlur,V=U.onButtonMouseDown,O=U.onClose;return M?b.default.createElement(h.Button,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?b.default.createElement(b.default.Fragment,null,b.default.createElement(n.StyledImageWrapper,{ref:G,style:k,tabIndex:0,onBlur:D,onFocus:Z},b.default.createElement("div",{onMouseDown:V},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),b.default.createElement(S,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:T&&T.length?T[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?g.theme.mbColors.pink:g.theme.colors.secondaryBase})),b.default.createElement(Re,{UP_BASEPATH:y,SSO_URL:u,dispatchLogout:function(){O(),H(!0)},isOpen:!1,isMyHealthEnabled:C,enableCare:f,enableTogether:v,enableEcom:p,closePopup:O,userInfo:o,siteType:r,isUserProfileNavigatorMenuHidden:E,togetherApiDomain:w,userProfileRouterPush:_,locale:A})),b.default.createElement(le,{openLogoutPopup:N,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),H(!1)},siteType:r,onLogoutHandler:function(){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return H(!1),document.body.classList.toggle("noscroll",!1),[4,L()];case 1:return e.sent(),[2]}}))}))}})):b.default.createElement(n.StyledLoggedOutAnchor,{style:e.__assign({textDecoration:"none"},k),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":d,href:R?void 0:"".concat(u,"?returnUrl=").concat(d),"data-site-type":r},m?b.default.createElement(n.StyledAvatar,{onClick:s},b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):b.default.createElement(b.default.Fragment,null,"helloSites"===r&&b.default.createElement("img",{className:"mobile-only",src:a.CommonGAssets.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:s}),"marryBaby"===r&&b.default.createElement("div",{className:"mobile-only",onClick:s,style:{paddingLeft:16}},b.default.createElement(i.Text,{size:"p3",color:g.theme.mbColors.pink},P("navigation.loginJoin"))),b.default.createElement(h.Button,{className:"login-btn",size:"md",color:"tertiary",onClick:s,icon:b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("login.svg"),width:18,height:18}),theme:r},P("navigation.loginJoin"))))},Ue="-XmTq5-",Ge="V-oxu20",Ze=function(e){var l=e.item,a=e.menu,n=te({allowBgScroll:!0}),i=n.containerRef,o=n.onContainerFocus,r=n.onContainerBlur,s=n.onButtonMouseDown,u=n.onClose,c=function(){var e=t.useState(!0),l=e[0],a=e[1];return t.useEffect((function(){a(!1)}),[]),l}();return!l.popupType&&l.link?b.default.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(c?"":"menu-handler-".concat(l.id)),tabIndex:0,href:l.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link},b.default.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link,className:Ge},l.name)):b.default.createElement("div",{ref:i,className:"hhgcomp-navigation-itemnav-headeritem ".concat(c?"":"menu-handler-".concat(l.id)),tabIndex:0,key:l.id,onBlur:r,onFocus:o,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link},b.default.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l.link,onMouseDown:s,className:Ge},l.name,l.popupType&&b.default.createElement("div",{className:Ue},b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),b.default.isValidElement(a)?b.default.cloneElement(a,{onClose:u}):null)},De=function(){var e=t.useContext(n.NavigationContext),l=e.locale,a=e.configs.statics,i=e.siteType,r=c.useTranslations().t;return b.default.createElement(f.PureInput,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?r("navigation.search.input.placeholder"):r("home.search",{site:o.LOCALE_SPECS[l||"en-PH"]?o.LOCALE_SPECS[l||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(e){return"Enter"===e.key&&(window.location.href="".concat(a.HOME_PAGE_URL,"/search/?s=").concat(e.target.value))},type:"search",onFocus:function(e){e.preventDefault()},displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},b.default.createElement(n.SearchIcon,null))})},Ve="eJS8-if",Oe="EuQrB-3",Fe="_0JtBh8L",je=function(e){var t=e.onClosePopup;return b.default.createElement("div",{className:"".concat(Fe," close-btn"),onClick:t},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},We=function(e){var t=e.onClosePopup,l=e.isDisplay,a=e.children,n=e.isNavMenu,i=e.hideCloseBtn;return b.default.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!l,"data-is-nav-menu":!!n},b.default.createElement(E.Container,null,!i&&b.default.createElement("div",{className:Oe},b.default.createElement(je,{onClosePopup:t})),b.default.createElement(E.Container,{className:Ve},a)))},qe=function(e){var l=e.hrefViewMore,i=e.titleBtnViewMore,o=e.UrlFE,r=e.onClosePopup,s=e.menuItems,u=e.headingTitle,c=t.useContext(n.NavigationContext).siteType;return b.default.createElement(n.StyledItemGridLeft,null,b.default.createElement(n.StyledHeading,null,b.default.createElement(f.Heading,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},u)),null==s?void 0:s.slice(0,6).map((function(e,t){var l=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:"".concat(o,"/").concat(null==e?void 0:e.link.split("/").filter(Boolean).join("/"),"/"):"/";return b.default.createElement(n.StyledItem,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l,"data-is-heading-category":!1,href:l,"data-theme":c,key:t,onClick:r},b.default.createElement("div",{className:"icon"},b.default.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),b.default.createElement("p",null,e.name),b.default.createElement(n.StyledIconNav,null,b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),i&&b.default.createElement(n.StyledViewMore,{"data-theme":c,style:{textDecoration:"none"},href:l,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":l},b.default.createElement(n.StyledItemAll,{onClick:r,"data-theme":c,"data-is-heading-category":!1},i,b.default.createElement(n.StyledImageWrapper$1,null,b.default.createElement("img",{className:"svg",src:"marryBaby"===c?a.CommonGAssets.getAssetPath("chevronRightPink.svg"):a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},ze=function(e){var l=e.title,i=e.link,o=e.description,r=e.cta,s=e.icon,u=t.useContext(n.NavigationContext).siteType;return b.default.createElement(n.StyledContainerNoPosts,{"data-theme":u},b.default.createElement(n.StyledLeft,null,b.default.createElement("img",{src:"marryBaby"===u?a.CommonGAssets.getAssetPath("navMBSpotlightBgNoData.svg"):a.CommonGAssets.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),b.default.createElement(n.StyledContentLeft,null,s&&b.default.createElement("img",{src:s,width:64,height:64}))),b.default.createElement("div",null,l&&b.default.createElement(n.StyledTitle,null,l),o&&b.default.createElement(n.StyledDescription,null,o),r&&b.default.createElement("div",null,b.default.createElement("a",{href:i},b.default.createElement(h.Button,{theme:u,className:"survey-contact-submit",size:"md"},r)))))},$e=function(e){var l=e.title,i=e.viewMore,o=e.children,r=e.link,s=e.dataEventAction,u=void 0===s?"":s,c=t.useContext(n.NavigationContext).siteType;return b.default.createElement(n.StyledItemGridRight,null,b.default.createElement(n.StyledHeading$1,null,b.default.createElement(f.Heading,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},l),i&&b.default.createElement(n.StyledViewMore$1,{"data-event-category":"Hamburger Navigation","data-event-action":u,"data-event-label":r,href:r,"data-theme":c},i,b.default.createElement("img",{src:"marryBaby"===c?a.CommonGAssets.getAssetPath("chevronRightPink.svg"):a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),o)},Ke=function(e){var l,i=e.item,o=e.index,r=void 0===o?0:o,s=c.useTranslations().t,u=t.useContext(n.NavigationContext),d=u.locale,m=u.configs.statics;if(!i)return null;var f="".concat(m.CARE_URL_FE,"/").concat(null===(l=y.LOCALIZED_SLUGS[d])||void 0===l?void 0:l.HOSPITAL,"/").concat(i.slug,"-").concat(i.id);return b.default.createElement(n.StyledItem$1,{key:i.id,href:f,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(r+1),"data-event-label":f},b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),b.default.createElement(n.StyledImageCard,null,b.default.createElement(n.StyledImageCardInner,null,b.default.createElement("img",{loading:"lazy",alt:i.name,src:i.logo||"/images/avatar.jpg"}))),b.default.createElement(n.StyledContentWrapper,null,b.default.createElement(n.StyledTitle$1,null,i.name),b.default.createElement(n.StyledDes,null,i.description),b.default.createElement(n.StyledBtnView,null,s("home.seeMore"),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Qe=function(e){var t=e.spotlights,l=void 0===t?[]:t,i=e.hrefViewMore,o=c.useTranslations().t;return b.default.createElement($e,{title:o("home.navigator.menu.spotlightHospitals")},0!==l.length?b.default.createElement(n.StyledContainerItems,null,null==l?void 0:l.slice(0,3).map((function(e,t){return b.default.createElement(Ke,{key:t,index:t,item:e})}))):b.default.createElement(ze,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:i,cta:o("home.navigator.menu.care.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},Ye=function(e){var l,a=e.careSpecialties,i=void 0===a?[]:a,o=e.isOpen,r=e.onClose,s=e.spotlights,u=void 0===s?[]:s,d=c.useTranslations().t,m=t.useContext(n.NavigationContext),f=m.locale,h=m.configs.statics,g="".concat(h.CARE_URL_FE,"/").concat(null===(l=y.LOCALIZED_SLUGS[f])||void 0===l?void 0:l.SPECIALTIES);return b.default.createElement(We,{onClosePopup:r,isDisplay:o,isNavMenu:!0},b.default.createElement(qe,{headingTitle:d("home.navigator.menuItem.specialties"),hrefViewMore:g,UrlFE:h.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:d("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(e){return e?{name:String(e.name)||"",link:re({type:"DOCTOR",specialtySlug:e.slug,locale:f}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{}})))||[]}),b.default.createElement(Qe,{spotlights:u,hrefViewMore:g}))},Je=function(e){var t=e.item,l=e.index,a=void 0===l?0:l;return t?b.default.createElement(n.StyledItem$2,{key:t.id,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(a+1),"data-event-label":t.link},b.default.createElement(n.StyledImageCard$1,null,b.default.createElement("img",{loading:"lazy",alt:t.title,src:t.banner||"/images/notFound-min-small.jpg"})),b.default.createElement(n.StyledTitle$2,null,t.title)):null},Xe=function(e){var l=e.spotlightsList,i=void 0===l?[]:l,o=e.hrefViewMore,r=c.useTranslations().t,s=t.useContext(n.NavigationContext).configs.statics;return b.default.createElement($e,{title:r("home.navigator.menu.spotlights"),viewMore:r("home.navigator.menu.spotlights.seeAll"),link:o,dataEventAction:"Spotlight See More Click"},0!==i.length?b.default.createElement(n.StyledContainerItems$1,null,null==i?void 0:i.slice(0,4).map((function(e,t){return b.default.createElement(Je,{key:t,index:t,item:{id:e.id,link:s.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})}))):b.default.createElement(ze,{title:r("home.navigator.menu.category.noDatas.title"),description:r("home.navigator.menu.category.noDatas.description"),link:o,cta:r("home.navigator.menu.category.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("Spotlight.svg")}))},et=function(e){var l=e.categories,a=void 0===l?[]:l,i=e.spotlightsList,o=void 0===i?[]:i,r=e.onClose,s=e.isOpen,u=c.useTranslations().t,d=t.useContext(n.NavigationContext),m=d.locale,f=d.configs.statics;return b.default.createElement(We,{onClosePopup:r,isDisplay:s,isNavMenu:!0},b.default.createElement(qe,{hrefViewMore:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===m?"/fil":"","/categories/"),UrlFE:f.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:u("home.navigator.menuItem.allCategories"),menuItems:(null==a?void 0:a.map((function(e){return e?{name:e.displayName||null,link:(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{}})))||[],headingTitle:u("home.navigator.menuItem.healthCategories")}),b.default.createElement(Xe,{spotlightsList:o,hrefViewMore:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===m?"/fil":"","/spotlight/")}))},tt=function(e){var l=e.spotlights,i=void 0===l?[]:l,o=t.useContext(n.NavigationContext).configs.statics,r=c.useTranslations().t;return b.default.createElement($e,{title:r("home.navigator.menu.trendingPosts"),viewMore:r("home.navigator.menu.trendingPosts.seeMore"),link:o.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==i.length?b.default.createElement(n.StyledContainerItems$2,null,null==i?void 0:i.slice(0,4).map((function(e,t){return b.default.createElement(n.Item,{index:t,post:e,key:e.id})}))):b.default.createElement(ze,{title:r("home.navigator.menu.together.noPosts.title"),description:r("home.navigator.menu.together.noPosts.description"),link:"".concat(o.HOME_PAGE_URL,"/community/"),cta:r("home.navigator.menu.together.noPosts.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},lt=function(e){var l=e.communities,a=void 0===l?[]:l,i=e.onClose,o=e.isOpen,r=e.spotlights,s=void 0===r?[]:r,u=c.useTranslations().t,d=t.useContext(n.NavigationContext).configs.statics;return b.default.createElement(We,{onClosePopup:i,isDisplay:o,isNavMenu:!0},b.default.createElement(qe,{hrefViewMore:d.TOGETHER_URL_FE+"/",UrlFE:d.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:u("home.navigator.menuItem.allCommunities"),menuItems:(null==a?void 0:a.map((function(e){return e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{}})))||[],headingTitle:u("home.navigator.menuItem.allCommunitiesheadingTitle")}),b.default.createElement(tt,{spotlights:s}))},at=function(e){var l=e.item,i=e.index,o=void 0===i?0:i,r=c.useTranslations().t,s=t.useContext(n.NavigationContext).configs.statics;if(!l)return null;var u=l.link?l.link.startsWith("http")?l.link:"".concat(s.HOME_PAGE_URL).concat(l.link):void 0;return b.default.createElement(n.StyledItem$3,{href:u,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(o+1),"data-event-label":u},b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),b.default.createElement(n.StyledContentWrapper$1,null,b.default.createElement(n.StyledTitle$3,null,l.title),b.default.createElement(n.StyledDes$1,null,l.subtitle),b.default.createElement(n.StyledBtnView$1,null,r("home.seeMore"),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),b.default.createElement(n.StyledImageCard$2,null,b.default.createElement("img",{loading:"lazy",alt:l.title,src:l.icon||"/images/avatar.jpg"})))},nt=function(e){var l=e.item,i=e.index,o=void 0===i?0:i,r=e.color,s=c.useTranslations().t,u=t.useContext(n.NavigationContext).configs.statics;if(!l)return null;var d=l.link?l.link.startsWith("http")?l.link:"".concat(u.HOME_PAGE_URL).concat(l.link):void 0,m=function(){return b.default.createElement(n.StyledImageCard$3,null,b.default.createElement("img",{loading:"lazy",alt:l.title,src:l.icon||"/images/avatar.jpg"}))},f=function(){return b.default.createElement(n.StyledWrapName,null,b.default.createElement(n.StyledContent,null,b.default.createElement(n.StyledTitle$4,null,l.title),b.default.createElement(n.StyledDes$2,null,l.subtitle)),b.default.createElement(n.StyledBtnView$2,null,b.default.createElement("div",{className:"mobile-only"},s("home.seeMore")),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return b.default.createElement(n.StyledItem$4,{href:d,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(o+1),"data-event-label":d,"data-color":r},b.default.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),b.default.createElement(n.StyledContentWrapper$2,null,b.default.createElement("div",{className:"mobile-only"},m()),b.default.createElement("div",{className:"desktop-only"},f())),b.default.createElement("div",{className:"mobile-only"},f()),b.default.createElement("div",{className:"desktop-only"},m()))},it=function(e){var l=e.hrefViewMore,i=e.spotlightHealthTools,o=void 0===i?[]:i,r=c.useTranslations().t,s=["pink","orange","green"],u=t.useContext(n.NavigationContext).siteType;return b.default.createElement($e,{title:r("home.navigator.menu.spotlightTools")},0!==o.length&&b.default.createElement(n.StyledContainerItems$3,null,null==o?void 0:o.slice(0,3).map((function(e,t){return"marryBaby"===u?b.default.createElement(nt,{key:t,index:t,item:e,color:s[t]}):b.default.createElement(at,{key:t,index:t,item:e})}))),0===o.length&&b.default.createElement(ze,{title:r("home.navigator.menu.healthTools.noDatas.title"),description:r("home.navigator.menu.healthTools.noDatas.description"),link:l,cta:r("home.navigator.menu.healthTools.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},ot=function(e){var l,a=e.locale,i=e.onClose,r=e.isOpen,s=e.spotlightHealthTools,u=void 0===s?[]:s,d=e.healthTools,m=void 0===d?[]:d,f=c.useTranslations().t,h=t.useContext(n.NavigationContext).configs.statics,g="".concat(h.HOME_PAGE_URL).concat("tl-PH"===a?"/fil":"").concat((null===(l=o.STATIC_PAGES[a])||void 0===l?void 0:l.HEALTH_TOOLS)||"");return b.default.createElement(We,{onClosePopup:i,isDisplay:r,isNavMenu:!0},b.default.createElement(qe,{hrefViewMore:g,UrlFE:h.HOME_PAGE_URL,onClosePopup:i,headingTitle:f("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:f("home.navigator.menuItem.allHealthTools"),menuItems:m.map((function(e){return{name:e.title,link:e.link?e.link.startsWith("http")?e.link:"".concat(h.HOME_PAGE_URL).concat(e.link):void 0,thumbnail:e.icon}}))}),b.default.createElement(it,{spotlightHealthTools:u,hrefViewMore:g}))},rt="_6gGCHV-",st="YDzfyQU",ut=function(e){var t=e.onCareHeaderClick,l=e.currentUrl,a=e.careUrlFe,n=e.btnName;return t?b.default.createElement(h.Button,{className:rt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:l,onClick:function(e){return t(e)}},n):b.default.createElement("a",{href:a,className:"".concat(st," care-button no-replace-click")},b.default.createElement(h.Button,{className:rt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:l},n))};function ct(e){var t=e.className;return b.default.createElement("div",null,b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function dt(e){var t=e.siteType,l=e.type,n=e.enableSearch,i=e.className;return"helloSites"===t?b.default.createElement("div",null,b.default.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:n?a.CommonGAssets.getAssetPath("hamburgerMenuNewWithSearch.svg"):a.CommonGAssets.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:l,className:i})):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var mt=function(e){var l,a,i=e.closePopup,r=e.menuItems,s=void 0===r?[]:r,u=t.useContext(n.NavigationContext),d=u.siteType,m=u.ssrMenuContent,f=m.categories,h=m.healthTools,g=m.care,v=m.together,p=u.activeMenuService,E=u.configs,C=E.statics,w=E.enableSearchBar,L=u.locale,k=c.useTranslations().t;return b.default.createElement(n.StyledMasterMenuContainer,{id:"categories-menu"},w?b.default.createElement(n.StyledServiceListMenuSearchInputWrapper,{"data-theme":d,onClick:function(){window.location.href="".concat(C.HOME_PAGE_URL,"/search")}},b.default.createElement(De,null)):null,b.default.createElement(n.StyledWrapper,null,b.default.createElement(qe,{UrlFE:C.HOME_PAGE_URL,titleBtnViewMore:k("home.navigator.menuItem.allCategories"),menuItems:s,headingTitle:k("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===p&&b.default.createElement(Xe,{spotlightsList:(null==f?void 0:f.spotlights)||[],hrefViewMore:"".concat(C.HOME_PAGE_URL).concat("tl-PH"===L?"/fil":"","/spotlight/")}),"tools"===p&&b.default.createElement(it,{spotlightHealthTools:null==h?void 0:h.spotlights,hrefViewMore:"".concat(C.HOME_PAGE_URL).concat("tl-PH"===L?"/fil":"").concat((null===(l=o.STATIC_PAGES[L])||void 0===l?void 0:l.HEALTH_TOOLS)||"")}),"care"===p&&b.default.createElement(Qe,{spotlights:null==g?void 0:g.spotlights,hrefViewMore:"".concat(C.CARE_URL_FE,"/").concat(null===(a=y.LOCALIZED_SLUGS[L])||void 0===a?void 0:a.SPECIALTIES)}),"together"===p&&b.default.createElement(tt,{spotlights:null==v?void 0:v.spotlights})))},ft="IQdn7tn",ht="_1jX3mGY",gt="arD755Y",vt=function(e){var l=e.type,a=void 0===l?"home":l,i=e.menuItems,o=t.useContext(n.NavigationContext),r=o.siteType,s=o.configs.enableSearchBar,u=te(),c=u.containerRef,d=u.onContainerFocus,m=u.onContainerBlur,f=u.onButtonMouseDown,h=u.onClose;return b.default.createElement(ee,{mediaQueryKey:"mbDown"},b.default.createElement("header",{className:ft},b.default.createElement("div",{className:ht,ref:c,role:"button",tabIndex:0,onBlur:m,onFocus:d},b.default.createElement("div",{className:gt,onMouseDown:f,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},b.default.createElement(ct,{className:"mobile-close-icon"}),b.default.createElement(dt,{siteType:r,type:a,enableSearch:s,className:"mobile-hamburger-icon"})),b.default.createElement(mt,{menuItems:i,closePopup:h}))))},pt=function(e){var l,i=e.onTopBarAppears,r=e.type,s=void 0===r?"home":r,d=e.languageMenu,m=e.menuItems,f=e.setSitewideBannerClosed,h=e.sitewideBannerClosed,g=t.useContext(n.NavigationContext),v=g.siteType,p=g.isMobile,E=void 0!==p&&p,y=g.locale,C=g.sitewideBanner,w=g.sitewideBannerShown,L=void 0===w||w,_=g.sponsorComponent,M=g.onBookingClick,A=g.currentUrl,S=g.onLoginClick,P=g.configs,x=P.statics,N=P.enableNavCareBooking,H=P.enableSearchBar,T=P.enableNavCare,B=P.enableProfileMyHealth,R=P.enableNavTogether,I=P.enableProfileEcom,U=P.enableProfileNavigatorMenu,G=g.userState.userInfo,Z=g.onLogout,D=g.userProfileRouterPush,V=g.isUserLoading,O=c.useTranslations().t,F=x.SSO_URL,j=x.HOME_PAGE_URL,W=!!_,q=t.useState(!1),z=q[0],$=q[1],K=t.useRef(47),Q=t.useRef(null),Y=t.useRef(!1),J="helloSites"===v?null===(l=o.LOCALE_SPECS[y])||void 0===l?void 0:l.LOGO_TYPE:v,X="undefined"!=typeof window,te=t.useCallback(k.default((function(){if("home"===s&&X){if(!Q.current)return;var e=Q.current.getBoundingClientRect();e.top<=0&&window.scrollY>K.current&&window.scrollY>e.height+20&&!Y.current&&(Y.current=!0,$(!0)),window.scrollY<K.current&&Y.current&&(Y.current=!1,$(!1)),window.scrollY>=0&&(K.current=window.scrollY)}}),200),[]);t.useEffect((function(){null==i||i(!z)}),[z]),t.useEffect((function(){return window.addEventListener("scroll",te,{passive:!0}),function(){window.removeEventListener("scroll",te)}}),[]),t.useEffect((function(){E&&te()}),[E]);var le=L&&!!C&&!h;return b.default.createElement(n.StyledHeaderWrapper,{"data-site-type":v,"data-sponsored":W,"data-sitewide-banner-shown":le,"data-header-type":s,"data-collapsed":z,"data-with-search-input":"popup-sub-level"!==s,"data-is-displayed":!0,id:"site-header",ref:Q},C?b.default.isValidElement(C)?b.default.cloneElement(C,{isCollapsed:z,setBannerClosed:f,isMobile:E}):C:null,b.default.createElement(n.StyledHeader,{"data-site-type":v},b.default.createElement(n.StyledLeftGroup,{"data-site-type":v},b.default.createElement(vt,{menuItems:m,type:s}),b.default.createElement("a",{href:j},b.default.createElement(n.StyledLogoWrapper,null,b.default.createElement(u.Logo,{style:{display:"flex"},type:J,badge:"id-ID"===y&&b.default.createElement("img",{src:a.CommonGAssets.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:y,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===v?b.default.createElement(yt,{menuItems:m}):H&&b.default.createElement(Et,{siteType:v})),b.default.createElement(n.StyledRightGroup,{"data-site-type":v},"marryBaby"===v?H&&b.default.createElement(Et,{siteType:v}):b.default.createElement(yt,{menuItems:m}),b.default.createElement(n.StyledProfileNavGroup,null,N&&b.default.createElement(ee,{mediaQueryKey:"mbUp"},b.default.createElement(ut,{careUrlFe:x.CARE_URL_FE,currentUrl:A,btnName:O("login.booking"),onCareHeaderClick:M})),d,b.default.createElement(Ie,{userInfo:G,siteType:v,onLoginClick:S||function(){var e=window.location.href;window.location.href=F?"".concat(F,"?returnUrl=").concat(e):e},SSO_URL:x.SSO_URL+"/",currentUrl:A,onLogout:Z,UP_BASEPATH:o.UP_BASEPATH,isMyHealthEnabled:B,enableCare:T,enableTogether:R,enableEcom:I,togetherApiDomain:x.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!U,userProfileRouterPush:D,isLoading:V,locale:y})))),_?b.default.isValidElement(_)?b.default.cloneElement(_,{isCollapsed:z,locale:y,isMobile:E}):_:null)},Et=function(e){var t=e.siteType;return b.default.createElement(ee,{mediaQueryKey:"mbUp",className:"marryBaby"===t?"marry-baby":""},b.default.createElement(De,null))},yt=function(e){var l=e.menuItems,a=t.useContext(n.NavigationContext),i=a.siteType,o=a.locale,r=a.ssrMenuContent,s=r.categories,u=r.healthTools,c=r.care,d=r.together;return b.default.createElement(ee,{mediaQueryKey:"mbUp",style:{height:"100%"}},b.default.createElement(n.StyledWrapMenuItems,{"data-site-type":i},null==l?void 0:l.map((function(e,t){return b.default.createElement(Ze,{key:t,item:e,menu:"categories"===e.popupType?b.default.createElement(et,{categories:null==s?void 0:s.items,spotlightsList:null==s?void 0:s.spotlights}):"tools"===e.popupType?b.default.createElement(ot,{locale:o,healthTools:null==u?void 0:u.items,spotlightHealthTools:null==u?void 0:u.spotlights}):"together"===e.popupType?b.default.createElement(lt,{communities:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):"care"===e.popupType?b.default.createElement(Ye,{careSpecialties:null==c?void 0:c.items,spotlights:null==c?void 0:c.spotlights}):null})}))))},Ct=function(l){var i,r,s=l.isMobile,u=l.locale,d=l.onTopBarAppears,m=l.languageOptions,f=l.sponsorComponent,h=l.sitewideBanner,g=l.sitewideBannerShown,v=l.className,p=t.useState(!1),E=p[0],y=p[1],C=function(){var e=c.useTranslations().t,l=t.useContext(n.NavigationContext),i=l.siteType,r=l.locale,s=l.configs,u=s.enableNavCare,d=s.enableNavTogether,m=s.enableNavEcom,f=s.statics,h="marryBaby"===i,g=t.useMemo((function(){var t,l=[{name:e("home.navigator.menuItem.discover"),id:"categories",link:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===r?"/fil":"","/categories"),niceName:"",thumbnail:h?a.CommonGAssets.getAssetPath("categories-mb.svg"):a.CommonGAssets.getAssetPath("discover.png"),popupType:"categories"},{name:e("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(f.HOME_PAGE_URL).concat("tl-PH"===r?"/fil":"").concat((null===(t=o.STATIC_PAGES[r])||void 0===t?void 0:t.HEALTH_TOOLS)||""),thumbnail:h?a.CommonGAssets.getAssetPath("healthtools-mb.svg"):a.CommonGAssets.getAssetPath("healthTools.png"),popupType:"tools"}];return u&&l.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:f.HOME_PAGE_URL+"/care",thumbnail:a.CommonGAssets.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===r?null:"care"}),d&&l.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:f.TOGETHER_URL_FE+"/",thumbnail:h?a.CommonGAssets.getAssetPath("community-mb.svg"):a.CommonGAssets.getAssetPath("together.png"),popupType:"together"}),m&&l.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:f.HOME_PAGE_URL+"/ecom",thumbnail:a.CommonGAssets.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),l}),[r,u,d,m]);return g}();!function(){var l=t.useContext(n.NavigationContext),a=l.isFirstLogin,i=l.userState.userInfo;t.useEffect((function(){(null==i?void 0:i.id)&&(a?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var w=function(e){var l=e.hasSponsoredBanners,a=e.isSiteWide,n=e.isSponsored,i=e.isShowingSiteWideBanner,o=e.isMobile,r=t.useRef(null),s=t.useState(0),u=s[0],c=s[1],d=t.useState(64),m=d[0],f=d[1],h=t.useCallback(M.default((function(){var e,t,l,a,n=(null===(e=r.current)||void 0===e?void 0:e.clientHeight)||(null===(l=null===(t=r.current)||void 0===t?void 0:t.children[0])||void 0===l?void 0:l.clientHeight)||0;window.scrollY<=n+200&&(c(n),f((null===(a=r.current)||void 0===a?void 0:a.getBoundingClientRect().bottom)||u))}),200),[]);t.useEffect((function(){return window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),function(){window.removeEventListener("resize",h),window.removeEventListener("scroll",h)}}),[]),t.useEffect((function(){h()}),[o,a,i,n,l,r.current]);var g=t.useMemo((function(){var e=o?64:69;return i&&(e+=64),n&&(e+=40,l&&(e+=57)),e}),[o,i,l,n]);return{defaultHeaderHeight:g,headerHeight:u||g,headerBottom:m,headerRef:r}}({isSiteWide:!!h&&!E,isShowingSiteWideBanner:g&&!!h&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(r=null===(i=null==f?void 0:f.props)||void 0===i?void 0:i.sponsoredBy)||void 0===r?void 0:r.length),isMobile:s}),L=w.headerRef,k=w.defaultHeaderHeight,_=w.headerHeight,A=w.headerBottom;return b.default.createElement(n.StyledContainer,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":"calc(".concat(_,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":A+"px"},className:v},b.default.createElement("section",{ref:L},b.default.createElement(pt,{menuItems:C,type:"home",onTopBarAppears:s?function(e){d&&d(e)}:void 0,languageMenu:b.default.createElement(J,{languageOptions:m,locale:u}),setSitewideBannerClosed:y,sitewideBannerClosed:E})))},wt=function(t){return e.__awaiter(void 0,void 0,void 0,(function(){var l,a,n,i,u,c,d,m,f,h,g,v,p,E,y,C,w,L,b,k,_,M,A,S,P,x,N,H,T,B,R,I,U,G,Z,D;return e.__generator(this,(function(e){switch(e.label){case 0:l={},a="vi-VN_MB"===t,e.label=1;case 1:e.trys.push([1,14,,15]),n="tl-PH"===t?"lang=fil":"",e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/categories").concat(n?"?"+n:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/spotlights?per_page=10").concat(n?"&"+n:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/").concat(a?"health-tools":"healthtools").concat(n?"?"+n:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(t),"/wp-json/api/").concat(a?"health-tools":"healthtools","/favorites").concat(n?"?"+n:"")).then((function(e){return e.json()}))])];case 3:return i=e.sent(),u=i[0],c=i[1],d=i[2],m=i[3],l.categories={items:(null===(w=null===(C=null==u?void 0:u.data)||void 0===C?void 0:C.map)||void 0===w?void 0:w.call(C,ae))||[],spotlights:(null===(_=null===(k=null===(b=null===(L=null==c?void 0:c.data)||void 0===L?void 0:L.articles)||void 0===b?void 0:b.map)||void 0===k?void 0:k.call(b,se))||void 0===_?void 0:_.filter(ue))||[]},l.healthTools={items:(null===(A=null===(M=null==d?void 0:d.data)||void 0===M?void 0:M.map)||void 0===A?void 0:A.call(M,ne))||[],spotlights:(null===(P=null===(S=null==m?void 0:m.data)||void 0===S?void 0:S.map)||void 0===P?void 0:P.call(S,ne))||[]},[3,5];case 4:return e.sent(),[3,5];case 5:if(!a&&!o.TOGETHER_LOCALES.includes(t))return[3,9];e.label=6;case 6:return e.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(r.getTogetherApiDomain(),"/api/v1/community?website_url=https://").concat(o.domainLocales[t])).then((function(e){return e.json()})),fetch("".concat(r.getTogetherApiDomain(),"/api/v1/options?website_url=https://").concat(o.domainLocales[t],"&meta_key=popular_post")).then((function(e){return e.json()}))])];case 7:return f=e.sent(),h=f[0],g=f[1],l.together={items:(null===(H=null===(N=null===(x=null==h?void 0:h.data)||void 0===x?void 0:x.communities)||void 0===N?void 0:N.map)||void 0===H?void 0:H.call(N,s.formatCommunity))||[],spotlights:(null===(R=null===(B=null===(T=null==g?void 0:g.data)||void 0===T?void 0:T.posts)||void 0===B?void 0:B.map)||void 0===R?void 0:R.call(B,s.formatPost))||[]},[3,9];case 8:return e.sent(),[3,9];case 9:if(!o.CARE_LOCALES.includes(t))return[3,13];e.label=10;case 10:return e.trys.push([10,12,,13]),[4,Promise.all([fetch(r.getCareApiDomain()+"/api/specialties?_ishome=1&site=".concat(o.domainLocales[t])).then((function(e){return e.json()})),fetch(r.getCareApiDomain()+"/api/search/?site=".concat(o.domainLocales[t],"&type=hospital&order_by=total_doctor")).then((function(e){return e.json()}))])];case 11:return v=e.sent(),p=v[0],E=v[1],l.care={items:(null===(G=null===(U=null===(I=null==p?void 0:p._data)||void 0===I?void 0:I.specialties)||void 0===U?void 0:U.map)||void 0===G?void 0:G.call(U,ie))||[],spotlights:(null===(D=null===(Z=null==E?void 0:E._data.searches)||void 0===Z?void 0:Z.map)||void 0===D?void 0:D.call(Z,oe))||[]},[3,13];case 12:return e.sent(),[3,13];case 13:return[3,15];case 14:return y=e.sent(),console.error(y),[3,15];case 15:return[2,l]}}))}))};exports.Avatar=S,exports.Flag=Q,exports.LanguageSwitcher=J,exports.NavHeader=me,exports.NavigationLogoutPopup=le,exports.NavigationProfileButton=Ie,exports.NavigationV2=function(t){var l=e.__assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},t);return b.default.createElement(n.NavigationProvider,e.__assign({},l),b.default.createElement(Ct,e.__assign({},l)))},exports.ProfilePopup=Re,exports.UserProfileNavigation=Te,exports.UserStats=He,exports.getNavMenuContent=wt,exports.getNavMenuContentWithCache=function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,l.getDataWithCache("nav-menu-content",(function(){return wt(t||"en-PH")}),(function(e){var t,l;return!!(null===(l=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===l?void 0:l.length)}))];case 1:return[2,e.sent()||{}]}}))}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-2e7f48c4.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),n=t.forwardRef((function(t,r){return a.default.createElement("circle",e.__assign({},t,{ref:r}),a.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));exports.CustomReferenceDot=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-35544b90.js"),t=require("react"),n=require("@mantine/core"),r=require("./gAssets.js"),a=require("@mantine/dates"),l=require("styled-components"),i=require("dayjs");require("./screenSizeContext-6396ebf8.js");var o=require("./theme-cb9ab2c7.js"),c=require("./index-f248eb1e.js");require("./utils-252705e5.js"),require("./isProduction-cc1f637a.js");var m=require("./Locale-8442e04f.js"),s=require("@mantine/carousel"),h=require("./defaultClassWrapper-16b85ee9.js"),d=require("./index-296388f5.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var p,v,g,E,z=u(t),w=f(t),x=u(l),b=u(i),M=x.default(a.DatePicker)(v||(v=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&l.css(p||(p=e.__makeTemplateObject(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),y=x.default(a.DateRangePicker)(E||(E=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&l.css(g||(g=e.__makeTemplateObject(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),k=function(t){return z.default.createElement(M,e.__assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:z.default.createElement(n.Image,{src:r.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},t))};k.Range=function(t){return z.default.createElement(y,e.__assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:z.default.createElement(n.Image,{src:r.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},t))};var C,_,L,H=x.default(n.Textarea)(C||(C=e.__makeTemplateObject(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),o.theme.colors.gray200),j=x.default(n.Modal)(_||(_=e.__makeTemplateObject(["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"],["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"])),o.theme.colors.neutral100),A=x.default(n.Accordion)(L||(L=e.__makeTemplateObject(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(e){return e.closeChevron||r.CommonGAssets.getAssetPath("plus-icon.svg")}),(function(e){return e.openChevron||r.CommonGAssets.getAssetPath("minus-icon.svg")})),O=function(t){var n=t.children,r=e.__rest(t,["children"]);return z.default.createElement(A,e.__assign({chevron:z.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),n)};O.Control=n.Accordion.Control,O.Item=n.Accordion.Item,O.Panel=n.Accordion.Panel;var P=r.CommonGAssets.getAssetPath("avatar.jpg"),S=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={hasError:!1},e}return e.__extends(n,t),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e,t){console.error("Uncaught error:",e,t)},n.prototype.render=function(){return this.state.hasError?this.props.fallback||z.default.createElement(z.default.Fragment,null):this.props.children},n}(t.Component),I=function(t){var n=t.slidesToShow,r=void 0===n?1:n,a=t.children,l=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?z.default.createElement(S,null,z.default.createElement(s.Carousel,e.__assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},l),a)):null};I.Slide=s.Carousel.Slide;var T=function(t){return z.default.createElement(n.Checkbox,e.__assign({},t))};T.Group=n.Checkbox.Group;var q,D,R,B,N,V=x.default(n.Slider)(q||(q=e.__makeTemplateObject(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(e){return e.color||e.theme.colors.primaryBase})),W="hhgcomp-mantine-slider-slider",F=h.getDefaultClassWrapper(V,W),G=x.default.div(D||(D=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),W),U=x.default(n.Radio)(R||(R=e.__makeTemplateObject(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(e){return e.color||o.theme.colors.primaryBase})),X=function(t){return z.default.createElement(U,e.__assign({size:"sm"},t))};X.Group=n.Radio.Group;var Y=((B={})[m.LOCALE.Vietnam]="vi",B[m.LOCALE.Cambodia]="km",B[m.LOCALE.India]="hi",B[m.LOCALE.Indonesia]="id",B[m.LOCALE.Malaysia]="ms",B[m.LOCALE.Thailand]="th",B[m.LOCALE.Taiwan]="zh-tw",B[m.LOCALE.PhilippinesTagalog]="tl-ph",B[m.LOCALE.PhilippinesEnglish]="en",B[m.LOCALE.Myanmar]="my",B),K=((N={})[m.LOCALE.Vietnam]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/vi.js"))}))},N[m.LOCALE.Cambodia]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/km.js"))}))},N[m.LOCALE.India]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/hi.js"))}))},N[m.LOCALE.Indonesia]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/id.js"))}))},N[m.LOCALE.Malaysia]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/ms.js"))}))},N[m.LOCALE.Thailand]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/th.js"))}))},N[m.LOCALE.Taiwan]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/zh-tw.js"))}))},N[m.LOCALE.PhilippinesTagalog]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/tl-ph.js"))}))},N[m.LOCALE.PhilippinesEnglish]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/en.js"))}))},N[m.LOCALE.Myanmar]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/my.js"))}))},N),Z={"&:hover":{borderColor:"".concat(o.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(o.theme.colors.blue200)}},Q=d.createCommonjsModule((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)){if(a.length){var i=n.apply(null,a);i&&e.push(i)}}else if("object"===l){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var o in a)t.call(a,o)&&a[o]&&e.push(o)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}));function J(e,t){void 0===t&&(t=6);var n=new Array(t).fill("");if(e){var r=e.toString().split("");n.map((function(e,t){r[t]&&(n[t]=r[t]||"")}))}return n}function $(e){return e.join("")}var ee="_2iQs0sk",te="Ia6IojY",ne=t.forwardRef((function(t,n){var r=t.maxLength,a=void 0===r?1:r,l=t.placeholder,i=t.className,o=e.__rest(t,["maxLength","placeholder","className"]);return z.default.createElement("input",e.__assign({maxLength:a,className:Q(te,"otpInput",i),placeholder:l,type:"number"},o,{ref:n}))})),re=t.forwardRef((function(e,r){var a=e.valueLength,l=void 0===a?6:a,i=e.type,o=void 0===i?"number":i,c=e.value,m=e.defaultValue,s=e.onChange,h=e.onBlur,d=t.useRef(new Array(l).fill(null)),u=t.useState(m||c),f=u[0],p=u[1],v=t.useState(-1),g=v[0],E=v[1],w=t.useState((function(){return J(f,l)})),x=w[0],b=w[1],M=t.useCallback((function(){if(-1!==g){var e=d.current[g];if(e){e.value="";var t=x;t[g]="",b(t),p((function(){return $(t)})),null==s||s($(t))}}}),[g,s,x]),y=t.useCallback((function(){if(0!==g){var e=d.current[g];e&&e.blur();var t=d.current[g-1];t&&t.focus()}}),[g]),k=t.useCallback((function(){if(g!==l-1){var e=d.current[g];e&&e.blur();var t=d.current[g+1];t&&t.focus()}}),[g,l]),C=t.useCallback((function(e){var t=e.target,n=t.value.toString().slice(0,1),r=d.current.findIndex((function(e){return e===t}));if(-1!==r){var a=x;a[r]=n,b(a),p((function(){return $(a)})),null==s||s($(a))}k()}),[k,s,x]),_=t.useCallback((function(e){var t=e.target,n=d.current.findIndex((function(e){return e===t}));"number"===o?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==n&&E(n)}),[]),L=t.useCallback((function(e){var t=J(e.clipboardData.getData("text/plain"),l),n=$(t);b(t),p(n),null==s||s(n)}),[s,o,l]),H=t.useCallback((function(e){8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),M(),y()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),M()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),y()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),k()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[M,k,y]);return t.useImperativeHandle(r,(function(){return d.current[0]}),[]),t.useEffect((function(){b((function(){return J(c,l)})),p(c)}),[l,c]),z.default.createElement(n.Flex,{justify:"center",columnGap:8,className:Q(ee,"otpContainer")},x.map((function(e,t){return z.default.createElement(ne,{ref:function(e){d.current[t]=e},key:""+t,value:e,type:o,onChange:C,onFocus:_,onKeyDown:H,onPaste:L,onBlur:h})})))})),ae=function(t){return w.createElement("svg",e.__assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),w.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"}))},le=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),w.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},w.createElement("g",{strokeLinejoin:"bevel"},w.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),w.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),w.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),w.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),w.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),w.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),w.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),w.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),w.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),w.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),w.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),w.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),w.createElement("g",{fill:"none",strokeWidth:.8},w.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),w.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),w.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),w.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),w.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),w.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),w.createElement("g",{id:"a"},w.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),w.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),w.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),w.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),w.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),w.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),w.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),w.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),w.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),w.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),w.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),w.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),w.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),w.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),w.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),w.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),w.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),w.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),w.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),w.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),w.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),w.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),w.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"})))},ie=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),w.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),w.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),w.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},w.createElement("circle",{r:20,fill:"#008"}),w.createElement("circle",{r:17.5,fill:"#fff"}),w.createElement("circle",{r:3.5,fill:"#008"}),w.createElement("g",{id:"d"},w.createElement("g",{id:"c"},w.createElement("g",{id:"b"},w.createElement("g",{id:"a",fill:"#008"},w.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),w.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),w.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),w.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),w.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),w.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"})))},oe=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},w.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),w.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"})))},ce=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),w.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),w.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),w.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"}))},me=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),w.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),w.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},w.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"})))},se=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),w.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),w.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),w.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"}))},he=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("clipPath",{id:"a"},w.createElement("path",{d:"M0 0h640v480H0z"})),w.createElement("g",{clipPath:"url(#a)"},w.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),w.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),w.createElement("g",{fill:"#fff"},w.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),w.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),w.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),w.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),w.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),w.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),w.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),w.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),w.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),w.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),w.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),w.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),w.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),w.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),w.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),w.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),w.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),w.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),w.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),w.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),w.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),w.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),w.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"})))},de=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("g",{fillRule:"evenodd"},w.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),w.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"})))},ue=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("defs",null,w.createElement("clipPath",{id:"a"},w.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),w.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},w.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),w.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"})))},fe=Object.values(c.siteOptions).reduce((function(e,t){var n=t.phoneCountry;return e.includes(n)||e.push(n),e}),[]),pe={PH:se,KH:le,ID:ie,IN:oe,MM:me,MY:ce,TH:de,TW:he,VN:ue},ve={phoneInput:"i-9Ibox",error:"YDWHh9b"},ge=t.forwardRef((function(n,r){var a,l=n.isError,i=n.defaultCountry,o=n.countries,c=void 0===o?fe:o,m=n.countryCallingCodeEditable,s=void 0!==m&&m,h=n.defaultValue,d=n.value,u=n.onChange,p=n.className,v=e.__rest(n,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),g=t.useState(h||d),E=g[0],w=g[1],x=t.useState(null),b=x[0],M=x[1];return t.useEffect((function(){w(d)}),[d]),t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Promise.resolve().then((function(){return f(require("react-phone-number-input"))}))];case 1:return t=e.sent(),M(t),[2]}}))}))}),[]),b?z.default.createElement(b.default,e.__assign({ref:r,value:E,onChange:function(e){w(e),null==u||u(e)},countries:c,defaultCountry:i,countryCallingCodeEditable:s,className:Q(ve.phoneInput,(a={isError:l},a[ve.error]=l,a),p),flagUrl:void 0,flagComponent:function(t){var n=t.country,r=t.countryName;t.flagUrl;var a=e.__rest(t,["country","countryName","flagUrl"]),l=pe[n],i=n?"(+".concat(b.getCountryCallingCode(n),")"):"";return l?z.default.createElement(z.default.Fragment,null,z.default.createElement(l,e.__assign({title:r},a)),z.default.createElement("span",{className:Q(ve.callingCode,"PhoneInputCountryIconCallingCode")},i)):z.default.createElement(z.default.Fragment,null)},countrySelectProps:{arrowComponent:function(){return z.default.createElement("div",{className:Q(ve.arrowSelect,"PhoneInputArrowContainer")},z.default.createElement(ae,null))}}},v)):null}));exports.Accordion=O,exports.Avatar=function(t){var r=t.withIndicator,a=void 0!==r&&r,l=t.indicatorConfig,i=void 0===l?null:l,o=t.size,c=void 0===o?56:o,m=t.children,s=t.styles,h=e.__rest(t,["withIndicator","indicatorConfig","size","children","styles"]),d=function(){return z.default.createElement(n.Avatar,e.__assign({size:c,radius:"xl"},h,{imageProps:e.__assign({loading:"lazy"},h.imageProps)}),m||z.default.createElement("img",{loading:"lazy",src:P,width:c}))};return a?z.default.createElement(n.Indicator,e.__assign({inline:!0,position:"bottom-end",offset:9},i,{styles:e.__assign({indicator:{backgroundColor:z.default.isValidElement(i.label)&&"transparent",zIndex:1}},s)}),d()):d()},exports.Cambodia=le,exports.CaretDown=ae,exports.Carousel=I,exports.Checkbox=T,exports.DatePicker=k,exports.India=ie,exports.Indonesia=oe,exports.MAPPED_LOCALE=Y,exports.Malaysia=ce,exports.Myanmar=me,exports.OTP=re,exports.Phillipines=se,exports.Phone=ge,exports.Radio=X,exports.StyledModal=j,exports.StyledSlider=F,exports.StyledSliderWrapper=G,exports.StyledTextArea=H,exports.Taiwan=he,exports.Thailand=de,exports.Vietnam=ue,exports.getMantineThemeOverride=function(t){return{datesLocale:Y[t],dateFormat:c.ISO_FORMAT[t].dateFormat,fontFamily:t===m.LOCALE.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:c.ISO_FORMAT[t].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(o.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(o.theme.colors.blue200)}},invalid:{color:"#000"}}},Checkbox:{styles:{input:Z}},Radio:{styles:{radio:e.__assign(e.__assign({backgroundColor:"#ffffff"},Z),{"&:checked":{backgroundColor:"#ffffff"}})}}}}},exports.useMantineLocale=function(e){t.useEffect((function(){var t;null===(t=K[e])||void 0===t||t.call(K),b.default.locale(Y[e])}),[e])};
|
|
1
|
+
"use strict";var e=require("./tslib.es6-2e7f48c4.js"),t=require("react"),n=require("@mantine/core"),r=require("./gAssets.js"),a=require("@mantine/dates"),l=require("styled-components"),i=require("dayjs");require("./screenSizeContext-3179079d.js");var o=require("./theme-f22d8a67.js"),c=require("./index-e33653e9.js");require("./utils-f6706649.js"),require("./isProduction-2baf1826.js");var m=require("./Locale-f7de16c2.js"),s=require("@mantine/carousel"),d=require("./defaultClassWrapper-01339677.js"),h=require("./index-4ada1365.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function f(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var p,v,g,E,z=u(t),w=f(t),x=u(l),b=u(i),M=x.default(a.DatePicker)(v||(v=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&l.css(p||(p=e.__makeTemplateObject(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),y=x.default(a.DateRangePicker)(E||(E=e.__makeTemplateObject(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&l.css(g||(g=e.__makeTemplateObject(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),k=function(t){return z.default.createElement(M,e.__assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:z.default.createElement(n.Image,{src:r.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},t))};k.Range=function(t){return z.default.createElement(y,e.__assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:z.default.createElement(n.Image,{src:r.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},t))};var C,_,L,H=x.default(n.Textarea)(C||(C=e.__makeTemplateObject(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),o.theme.colors.gray200),j=x.default(n.Modal)(_||(_=e.__makeTemplateObject(["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"],["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"])),o.theme.colors.neutral100),A=x.default(n.Accordion)(L||(L=e.__makeTemplateObject(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(e){return e.closeChevron||r.CommonGAssets.getAssetPath("plus-icon.svg")}),(function(e){return e.openChevron||r.CommonGAssets.getAssetPath("minus-icon.svg")})),O=function(t){var n=t.children,r=e.__rest(t,["children"]);return z.default.createElement(A,e.__assign({chevron:z.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),n)};O.Control=n.Accordion.Control,O.Item=n.Accordion.Item,O.Panel=n.Accordion.Panel;var P=r.CommonGAssets.getAssetPath("avatar.jpg"),S=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={hasError:!1},e}return e.__extends(n,t),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e,t){console.error("Uncaught error:",e,t)},n.prototype.render=function(){return this.state.hasError?this.props.fallback||z.default.createElement(z.default.Fragment,null):this.props.children},n}(t.Component),I=function(t){var n=t.slidesToShow,r=void 0===n?1:n,a=t.children,l=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?z.default.createElement(S,null,z.default.createElement(s.Carousel,e.__assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},l),a)):null};I.Slide=s.Carousel.Slide;var T=function(t){return z.default.createElement(n.Checkbox,e.__assign({},t))};T.Group=n.Checkbox.Group;var q,D,R,B,N,V=x.default(n.Slider)(q||(q=e.__makeTemplateObject(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(e){return e.color||e.theme.colors.primaryBase})),W="hhgcomp-mantine-slider-slider",F=d.getDefaultClassWrapper(V,W),G=x.default.div(D||(D=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n ."," {\n flex-grow: 1;\n }\n"])),W),U=x.default(n.Radio)(R||(R=e.__makeTemplateObject(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(e){return e.color||o.theme.colors.primaryBase})),X=function(t){return z.default.createElement(U,e.__assign({size:"sm"},t))};X.Group=n.Radio.Group;var Y=((B={})[m.LOCALE.Vietnam]="vi",B[m.LOCALE.Cambodia]="km",B[m.LOCALE.India]="hi",B[m.LOCALE.Indonesia]="id",B[m.LOCALE.Malaysia]="ms",B[m.LOCALE.Thailand]="th",B[m.LOCALE.Taiwan]="zh-tw",B[m.LOCALE.PhilippinesTagalog]="tl-ph",B[m.LOCALE.PhilippinesEnglish]="en",B[m.LOCALE.Myanmar]="my",B),K=((N={})[m.LOCALE.Vietnam]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/vi.js"))}))},N[m.LOCALE.Cambodia]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/km.js"))}))},N[m.LOCALE.India]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/hi.js"))}))},N[m.LOCALE.Indonesia]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/id.js"))}))},N[m.LOCALE.Malaysia]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/ms.js"))}))},N[m.LOCALE.Thailand]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/th.js"))}))},N[m.LOCALE.Taiwan]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/zh-tw.js"))}))},N[m.LOCALE.PhilippinesTagalog]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/tl-ph.js"))}))},N[m.LOCALE.PhilippinesEnglish]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/en.js"))}))},N[m.LOCALE.Myanmar]=function(){return Promise.resolve().then((function(){return f(require("dayjs/locale/my.js"))}))},N),Z={"&:hover":{borderColor:"".concat(o.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(o.theme.colors.blue200)}},Q=h.createCommonjsModule((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)){if(a.length){var i=n.apply(null,a);i&&e.push(i)}}else if("object"===l){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var o in a)t.call(a,o)&&a[o]&&e.push(o)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}));function J(e,t){void 0===t&&(t=6);var n=new Array(t).fill("");if(e){var r=e.toString().split("");n.map((function(e,t){r[t]&&(n[t]=r[t]||"")}))}return n}function $(e){return e.join("")}var ee="_2iQs0sk",te="Ia6IojY",ne=t.forwardRef((function(t,n){var r=t.maxLength,a=void 0===r?1:r,l=t.placeholder,i=t.className,o=e.__rest(t,["maxLength","placeholder","className"]);return z.default.createElement("input",e.__assign({maxLength:a,className:Q(te,"otpInput",i),placeholder:l,type:"number"},o,{ref:n}))})),re=t.forwardRef((function(e,r){var a=e.valueLength,l=void 0===a?6:a,i=e.type,o=void 0===i?"number":i,c=e.value,m=e.defaultValue,s=e.onChange,d=e.onBlur,h=t.useRef(new Array(l).fill(null)),u=t.useState(m||c),f=u[0],p=u[1],v=t.useState(-1),g=v[0],E=v[1],w=t.useState((function(){return J(f,l)})),x=w[0],b=w[1],M=t.useCallback((function(){if(-1!==g){var e=h.current[g];if(e){e.value="";var t=x;t[g]="",b(t),p((function(){return $(t)})),null==s||s($(t))}}}),[g,s,x]),y=t.useCallback((function(){if(0!==g){var e=h.current[g];e&&e.blur();var t=h.current[g-1];t&&t.focus()}}),[g]),k=t.useCallback((function(){if(g!==l-1){var e=h.current[g];e&&e.blur();var t=h.current[g+1];t&&t.focus()}}),[g,l]),C=t.useCallback((function(e){var t=e.target,n=t.value.toString().slice(0,1),r=h.current.findIndex((function(e){return e===t}));if(-1!==r){var a=x;a[r]=n,b(a),p((function(){return $(a)})),null==s||s($(a))}k()}),[k,s,x]),_=t.useCallback((function(e){var t=e.target,n=h.current.findIndex((function(e){return e===t}));"number"===o?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==n&&E(n)}),[]),L=t.useCallback((function(e){var t=J(e.clipboardData.getData("text/plain"),l),n=$(t);b(t),p(n),null==s||s(n)}),[s,o,l]),H=t.useCallback((function(e){8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),M(),y()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),M()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),y()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),k()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[M,k,y]);return t.useImperativeHandle(r,(function(){return h.current[0]}),[]),t.useEffect((function(){b((function(){return J(c,l)})),p(c)}),[l,c]),z.default.createElement(n.Flex,{justify:"center",columnGap:8,className:Q(ee,"otpContainer")},x.map((function(e,t){return z.default.createElement(ne,{ref:function(e){h.current[t]=e},key:""+t,value:e,type:o,onChange:C,onFocus:_,onKeyDown:H,onPaste:L,onBlur:d})})))})),ae=function(t){return w.createElement("svg",e.__assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),w.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"}))},le=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),w.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},w.createElement("g",{strokeLinejoin:"bevel"},w.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),w.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),w.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),w.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),w.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),w.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),w.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),w.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),w.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),w.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),w.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),w.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),w.createElement("g",{fill:"none",strokeWidth:.8},w.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),w.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),w.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),w.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),w.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),w.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),w.createElement("g",{id:"a"},w.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),w.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),w.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),w.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),w.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),w.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),w.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),w.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),w.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),w.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),w.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),w.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),w.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),w.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),w.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),w.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),w.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),w.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),w.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),w.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),w.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),w.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),w.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),w.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"})))},ie=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),w.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),w.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),w.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},w.createElement("circle",{r:20,fill:"#008"}),w.createElement("circle",{r:17.5,fill:"#fff"}),w.createElement("circle",{r:3.5,fill:"#008"}),w.createElement("g",{id:"d"},w.createElement("g",{id:"c"},w.createElement("g",{id:"b"},w.createElement("g",{id:"a",fill:"#008"},w.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),w.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),w.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),w.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),w.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),w.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"})))},oe=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},w.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),w.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"})))},ce=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),w.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),w.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),w.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"}))},me=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),w.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),w.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},w.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),w.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"})))},se=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),w.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),w.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),w.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"}))},de=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("clipPath",{id:"a"},w.createElement("path",{d:"M0 0h640v480H0z"})),w.createElement("g",{clipPath:"url(#a)"},w.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),w.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),w.createElement("g",{fill:"#fff"},w.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),w.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),w.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),w.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),w.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),w.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),w.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),w.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),w.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),w.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),w.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),w.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),w.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),w.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),w.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),w.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),w.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),w.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),w.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),w.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),w.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),w.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),w.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"})))},he=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("g",{fillRule:"evenodd"},w.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),w.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),w.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"})))},ue=function(t){return w.createElement("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),w.createElement("defs",null,w.createElement("clipPath",{id:"a"},w.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),w.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},w.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),w.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"})))},fe=Object.values(c.siteOptions).reduce((function(e,t){var n=t.phoneCountry;return e.includes(n)||e.push(n),e}),[]),pe={PH:se,KH:le,ID:ie,IN:oe,MM:me,MY:ce,TH:he,TW:de,VN:ue},ve={phoneInput:"i-9Ibox",error:"YDWHh9b"},ge=t.forwardRef((function(n,r){var a,l=n.isError,i=n.defaultCountry,o=n.countries,c=void 0===o?fe:o,m=n.countryCallingCodeEditable,s=void 0!==m&&m,d=n.defaultValue,h=n.value,u=n.onChange,p=n.className,v=e.__rest(n,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),g=t.useState(d||h),E=g[0],w=g[1],x=t.useState(null),b=x[0],M=x[1];return t.useEffect((function(){w(h)}),[h]),t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Promise.resolve().then((function(){return f(require("react-phone-number-input"))}))];case 1:return t=e.sent(),M(t),[2]}}))}))}),[]),b?z.default.createElement(b.default,e.__assign({ref:r,value:E,onChange:function(e){w(e),null==u||u(e)},countries:c,defaultCountry:i,countryCallingCodeEditable:s,className:Q(ve.phoneInput,(a={isError:l},a[ve.error]=l,a),p),flagUrl:void 0,flagComponent:function(t){var n=t.country,r=t.countryName;t.flagUrl;var a=e.__rest(t,["country","countryName","flagUrl"]),l=pe[n],i=n?"(+".concat(b.getCountryCallingCode(n),")"):"";return l?z.default.createElement(z.default.Fragment,null,z.default.createElement(l,e.__assign({title:r},a)),z.default.createElement("span",{className:Q(ve.callingCode,"PhoneInputCountryIconCallingCode")},i)):z.default.createElement(z.default.Fragment,null)},countrySelectProps:{arrowComponent:function(){return z.default.createElement("div",{className:Q(ve.arrowSelect,"PhoneInputArrowContainer")},z.default.createElement(ae,null))}}},v)):null}));exports.Accordion=O,exports.Avatar=function(t){var r=t.withIndicator,a=void 0!==r&&r,l=t.indicatorConfig,i=void 0===l?null:l,o=t.size,c=void 0===o?56:o,m=t.children,s=t.styles,d=e.__rest(t,["withIndicator","indicatorConfig","size","children","styles"]),h=function(){return z.default.createElement(n.Avatar,e.__assign({size:c,radius:"xl"},d,{imageProps:e.__assign({loading:"lazy"},d.imageProps)}),m||z.default.createElement("img",{loading:"lazy",src:P,width:c}))};return a?z.default.createElement(n.Indicator,e.__assign({inline:!0,position:"bottom-end",offset:9},i,{styles:e.__assign({indicator:{backgroundColor:z.default.isValidElement(i.label)&&"transparent",zIndex:1}},s)}),h()):h()},exports.Cambodia=le,exports.CaretDown=ae,exports.Carousel=I,exports.Checkbox=T,exports.DatePicker=k,exports.India=ie,exports.Indonesia=oe,exports.MAPPED_LOCALE=Y,exports.Malaysia=ce,exports.Myanmar=me,exports.OTP=re,exports.Phillipines=se,exports.Phone=ge,exports.Radio=X,exports.StyledModal=j,exports.StyledSlider=F,exports.StyledSliderWrapper=G,exports.StyledTextArea=H,exports.Taiwan=de,exports.Thailand=he,exports.Vietnam=ue,exports.getMantineThemeOverride=function(t){return{datesLocale:Y[t],dateFormat:c.ISO_FORMAT[t].dateFormat,fontFamily:t===m.LOCALE.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:c.ISO_FORMAT[t].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(o.theme.colors.blue200),boxShadow:"0 0 2px 2px ".concat(o.theme.colors.blue200)}},invalid:{color:"#000"}}},Checkbox:{styles:{input:Z}},Radio:{styles:{radio:e.__assign(e.__assign({backgroundColor:"#ffffff"},Z),{"&:checked":{backgroundColor:"#ffffff"}})}}}}},exports.useMantineLocale=function(e){t.useEffect((function(){var t;null===(t=K[e])||void 0===t||t.call(K),b.default.locale(Y[e])}),[e])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,o,l=require("./Locale-8442e04f.js"),i=require("./isProduction-cc1f637a.js"),t={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10,site_id:10},HELLO_DOCTOR:{lng:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5,site_id:5},HELLO_DOCTOR_FIL:{lng:l.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5,site_id:5},HELLO_KRUPET:{lng:l.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4,site_id:4},HELLO_SWASTHYA:{lng:l.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9,site_id:9},HELLO_SEHAT:{lng:l.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2,site_id:2},HELLO_SAYARWON:{lng:l.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7,site_id:7},HELLO_DOKTOR:{lng:l.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3,site_id:3},HELLO_KHUNMOR:{lng:l.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6,site_id:6},HELLO_YISHI:{lng:l.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8,site_id:8},HELLO_BACSI:{lng:l.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1,site_id:1},MARRY_BABY:{lng:l.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11,site_id:11}},a="userGeoLocationCoordinates",s={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},E={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},c={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],r=["vi-VN","id-ID"],h={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};exports.QUERY_HEALTH_TOOL=void 0,(o=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id";var p=((e={})[l.LOCALE.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.India]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},e[l.LOCALE.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},e),_=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:c,UP_BASEPATH:O,TOGETHER_LOCALES:I,CARE_LOCALES:T,CARE_BOOKING_LOCALES:r,FAVICONS:h,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,siteHost:t,siteOptions:n,isProduction:i.isProduction});exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=T,exports.FAVICONS=h,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=E,exports.STATIC_PAGES=c,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=_,exports.siteHost=t,exports.siteOptions=n;
|
|
1
|
+
"use strict";var e,o,l=require("./Locale-f7de16c2.js"),i=require("./isProduction-2baf1826.js"),t={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10,site_id:10},HELLO_DOCTOR:{lng:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5,site_id:5},HELLO_DOCTOR_FIL:{lng:l.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5,site_id:5},HELLO_KRUPET:{lng:l.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4,site_id:4},HELLO_SWASTHYA:{lng:l.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9,site_id:9},HELLO_SEHAT:{lng:l.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2,site_id:2},HELLO_SAYARWON:{lng:l.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7,site_id:7},HELLO_DOKTOR:{lng:l.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3,site_id:3},HELLO_KHUNMOR:{lng:l.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6,site_id:6},HELLO_YISHI:{lng:l.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8,site_id:8},HELLO_BACSI:{lng:l.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1,site_id:1},MARRY_BABY:{lng:l.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11,site_id:11}},a="userGeoLocationCoordinates",s={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},E={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},c={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],r=["vi-VN","id-ID"],h={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};exports.QUERY_HEALTH_TOOL=void 0,(o=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id";var p=((e={})[l.LOCALE.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.India]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},e[l.LOCALE.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},e),_=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:c,UP_BASEPATH:O,TOGETHER_LOCALES:I,CARE_LOCALES:T,CARE_BOOKING_LOCALES:r,FAVICONS:h,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,siteHost:t,siteOptions:n,isProduction:i.isProduction});exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=T,exports.FAVICONS=h,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=E,exports.STATIC_PAGES=c,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=_,exports.siteHost=t,exports.siteOptions=n;
|