1(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[1231,3094,3546,6419,6801],{ujEg:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/static/[...staticSlug]",function(){return i("wYly")}])},z2FJ:function(e,t,i){"use strict";i.d(t,{J:function(){return formatString},e:function(){return getApiPath}});var n=i("gY0P"),o=i.n(n),a=i("9brV");let formatString=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let n=o()(...t);if(n.includes("?")){let[e,t]=n.split("?",2),i=t.split("&").filter(e=>e&&(!e.includes("=")||e.split("=")[1]));return 0===i.length?e:"".concat(e,"?").concat(i.join("&"))}return n},getApiPath=()=>{let{NEXT_PUBLIC_BASE_API_URL:e,WP_INTERNAL_API:t}=a.Km;return(t||e)+"wp-json/api/"}},"JOt+":function(e,t,i){"use strict";i.r(t),i.d(t,{MAPPED_AXIOS_INSTANCE:function(){return N},callApiNew:function(){return callApiNew}});var n=i("77FC"),o=i("dvDa"),a=i("9brV"),r=i("z2FJ"),l=i("p46w"),s=i.n(l),c=i("Sb+D"),_=i("/sjq");let getFormattedUrl=e=>{let{template:t,params:i,url:n}=e,o=(0,r.J)(n||"",{...i,..."together"===t?{websiteUrl:"https://".concat(_.domainLocales[a.Km.DEPLOY_LOCALE||"en-PH"])}:{},...("care"===t||"careV2"===t||"premium"===t||"unified"===t?{site:_.domainLocales[a.Km.DEPLOY_LOCALE||"en-PH"]}:{})||"ecommerce"===t,..."babyVaccine"===t?{domain:_.domainLocales[a.Km.DEPLOY_LOCALE||"en-PH"]}:{}});return o},getMainInterceptors=e=>({request:t=>{try{let i=s().get(a.ty),n=getFormattedUrl({url:t.url||"",params:t.params,template:e});t.url=n,t.params="tl-PH"===a.Km.NEXT_PUBLIC_DEPLOY_LOCALE?{lang:"fil"}:null,i&&(t.headers.Authorization="Bearer ".concat(i))}catch(e){console.error("\uD83D\uDE80 ~ file: interceptors.ts:53 ~ getMainInterceptors ~ error:",e)}finally{return t}},response:e=>e,error:e=>{console.error(e),(0,c.Cp)(e)}}),p={discover:void 0,care:"care",careV2:"careV2",together:"together",sso:void 0,lead:void 0,sidis:void 0,sidis_frontend:void 0,sidis_subscription:void 0,sidis_update:void 0,baby_vaccine:"babyVaccine",premium:"premium",unified:void 0,ecommerce:"ecommerce",chatbot:"chatbot",open_health_tools:void 0},E={discover:(0,r.e)(),premium:a.Km.NEXT_PUBLIC_PREMIUM_URL,together:a.Km.NEXT_PUBLIC_TOGETHER_API+"api/v1/",care:a.Km.NEXT_PUBLIC_CARE_API+"api/",careV2:a.Km.NEXT_PUBLIC_CARE_API+"api/v2/",sso:a.Km.NEXT_PUBLIC_SSO+"api/",lead:a.Km.NEXT_PUBLIC_LEAD_API+"api/",chatbot:a.Km.NEXT_PUBLIC_CHAT_BOT_API,sidis:a.Km.NEXT_PUBLIC_SIDIS_TEMPLATE_API,sidis_update:a.Km.NEXT_PUBLIC_SIDIS_API+"api/",sidis_frontend:a.Km.NEXT_PUBLIC_SIDIS_API_GET+"frontend/",sidis_subscription:a.Km.NEXT_PUBLIC_SIDIS_API_GET+"api/",baby_vaccine:a.Km.INTERNAL_VACCINATION_TOOL_API||a.Km.NEXT_PUBLIC_VACCINATION_TOOL_API,unified:a.Km.NEXT_PUBLIC_UNIFIED_API,ecommerce:a.Km.NEXT_PUBLIC_ECOMMERCE_API+"rest/"+a.Km.NEXT_PUBLIC_STORE_CODE+"/V1/",open_health_tools:a.Km.NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API};o.A.defaults.headers.post["Content-Type"]="application/json",o.A.defaults.timeout=3e4;let u=o.A.create({baseURL:E.discover}),d=o.A.create({baseURL:E.premium}),T=o.A.create({baseURL:E.together}),h=o.A.create({baseURL:E.care}),I=o.A.create({baseURL:E.careV2,headers:{Accept:"version=2.0.0"}}),g=o.A.create({baseURL:E.sso,headers:{"Accept-Encoding":"*"}}),m=o.A.create({baseURL:E.lead}),A=o.A.create({baseURL:E.chatbot}),O=o.A.create({baseURL:E.sidis}),S=o.A.create({baseURL:E.sidis_update}),f=o.A.create({baseURL:E.sidis_frontend}),P=o.A.create({baseURL:E.sidis_subscription}),L=o.A.create({baseURL:E.baby_vaccine}),C=o.A.create({baseURL:E.unified}),y=o.A.create({baseURL:E.ecommerce});(async()=>{[u,g,h,I,m,O,f,P,S,L,T,d,C,y].forEach(e=>{let{request:t,error:i,response:n}=getMainInterceptors();e.interceptors.request.use(t,i),e.interceptors.response.use(n,i)});let{together:e,care:t,careV2:i,premium:n,baby_vaccine:o,unified:a,ecommerce:r,chatbot:l}=p;T.interceptors.request.use(getMainInterceptors(e).request,getMainInterceptors().error),h.interceptors.request.use(getMainInterceptors(t).request,getMainInterceptors().error),I.interceptors.request.use(getMainInterceptors(i).request,getMainInterceptors().error),d.interceptors.request.use(getMainInterceptors(n).request,getMainInterceptors().error),L.interceptors.request.use(getMainInterceptors(o).request,getMainInterceptors().error),C.interceptors.request.use(getMainInterceptors(a).request,getMainInterceptors().error),y.interceptors.request.use(getMainInterceptors(r).request,getMainInterceptors().error),A.interceptors.request.use(getMainInterceptors(l).request,getMainInterceptors().error)})();let b=o.A.create({baseURL:a.Km.NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API}),N={discover:u,care:h,careV2:I,together:T,sso:g,lead:m,sidis:O,sidis_frontend:f,
1sidis_subscription:P,sidis_update:S,baby_vaccine:L,premium:d,unified:C,ecommerce:y,chatbot:A,open_health_tools:b},callApiNew=async function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"discover",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=N[i];try{let i=await r({url:e,...t});if(i)return o?i:i.data}catch(i){if((0,n.H4)(null,e,(null==t?void 0:t.method)||"GET","",i),a)throw i}return null}},"LSb+":function(e,t,i){"use strict";i.r(t),i.d(t,{PATHS:function(){return n}});let n={CATEGORY:{GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_CATEGORY_TAG:"tags?category_id={categoryId}",GET_AZ_DRUGS:"category/a-z/{category}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch{basePath}/{fullSlug}",GET_CATEGORIES:"categories?type={type}",GET_TRENDING_CATEGORIES:"category/trending"},ARTICLE:{GET_ARTICLE_BY_TAG:"articles?category_id={categoryId}&tag_id={tagId}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_PREVIEW_ARTICLE:"fetch{basePath}/{fullSlug}/?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_ARTICLE_DETAIL:"article/{slug}/?skip_ids={skipIds}&_isrelated={isRelated}",GET_ARTICLES:"articles?ids={ids}",GET_BOOST_PAGE_VIEW_INFO:"boost/popup-card?type={type}&article_id={articleId}&primary_category={primaryCategoryId}&community={community}&post_id={postId}"},HEALTH_TOOL:{GET_WEEK_PREGNANCY_PROGRESS:"health-tools/due-date-calculator/all",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info?type={type}",GET_HEALTH_TOOL_BMI_INFOR:"health-tools/bmi-calculator/infor?gender={gender}&level={level}",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",GET_HEALTH_TOOL_BABY_GROWTH_RESULT:"health-tools/baby-growth-tracking/result",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result/?gender={gender}&bmi={bmi}&age={age}&type={type}&level={level}&unit={unit}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_INFOR:"health-tools/bmr-calculator/infor/?status={status}",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result/?kcals={kcals}&gender={gender}&age={age}&status={status}&activity_level={activityLevel}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_PWG_RESULT:"health-tools/preweight-gain-calculator/result?bmi={bmi}&week={week}&weight_gain={pwg}&type={type}",GET_HEALTH_TOOL_THR_RESULT:"health-tools/target-heart-rate/result?result=heart-rate&gender={gender}&age={age}&resting_rate={rate}&intensity={intensity}",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_POOP:"health-tools/baby-poop-tool",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_RESULT:"health-tools/due-date-calculator/formula",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_ALL_HEALTH_TOOLS:"healthtools?ismenu=0&per_page=100",GET_HEALTH_TOOLS_HOME_PAGE:"healthtools?ishome=1",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_HEALTH_TOOL_BABY_VACCINE_INFO:"health-tools/vaccination/info",GET_HEALTH_TOOL_BABY_VACCINE_RESULT:"health-tools/vaccination/result",GET_HEALTH_TOOL_BABY_VACCINE_TIMELINE:"health-tools/vaccination/timeline",GET_HEALTH_TOOL_BABY_VACCINE_WITH_ID:"health-tools/vaccination/vaccine/{vaccineId}",CALCULATE_CALORIES:"healthtools/calculator/?weight={weight}&height={height}&activity_level={activityLevel}&age={age}&gender={gender}&unit={unit}",GET_AIR_POPULATION_INFO:"health-tools/air-population-tool/info",GET_AIR_POPULATION_PROVINCE:"health-tools/air-population-tool/provinces",GET_AIR_POPULATION_SPECIFIC_PROVINCE:"health-tools/air-population-tool/result?type={type}&state={name}&lat={lat}&lng={lng}",GET_AIR_POPULATION_DEFAULT:"health-tools/air-population-tool/result",GET_SITEWIDE_BANNER:"sitewide/health-tool",GET_LA
1NDING_PAGE:"healthtools/landing-page",GET_HEALTH_TOOL_POPUP:"healthtools/popup"},EXPERT:{GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}&number={perPage}",GET_ALL_EXPERTS_HEADING:"expert/heading",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}&per_page={perPage}&user_id={userId}&number={numberOfPost}&reviewed_by_expert={reviewedByExpert}&offset={offset}",GET_LIST_OF_SPECIALTIES:"specialty",GET_EXPERT_BY_SPECIALTY:"experts?specialty={specialty}",GET_EXPERT_BY_NAME_AND_SPECIALTY:"experts?s={name}&specialty={specialty}&page={page}&search_by=display_name"},SSO:{POST_CHANGE_EMAIL:"user/change-email",POST_COMMENT_NOTIFICATION:"comment/notification",POST_SSO_VERIFY_TOKEN:"verify-id-token",SSO_FEEDBACK:"feedback/create",SSO_FEEDBACK_USER:"feedback/create?result=like",GET_FEATURE:"feature",UPDATE_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",GET_ALL_BOOKMARK:"bookmark",UPDATE_PROFILE:"user/update",POST_FCM_TOKEN_AUTH:"user/webpush",POST_FCM_TOKEN:"webpush",UPDATE_SUBSCRIPTION:"user/subscription",ONBOARDING_EMAIL:"user/onboarding/yesdok-email",POST_VERIFY_CHANGE_EMAIL:"user/verify-change-email",UPDATE_HEALTH_TOOL:"healthtool/update",SEND_OTP_VIA_WHATSAPP:"sms/whatsapp_otp",VERIFY_OTP_VIA_WHATSAPP:"sms/whatsapp_verify",AUTH_APP_TOKEN:"auth-app-token",UPLOAD:"upload"},SPOTLIGHT:{GET_SPOTLIGHT_LANDING:"spotlight/{slug}/?group_id={groupId}&additional_slug={additionalSlug}&api_for_website=1",GET_ALL_SPOTLIGHT:"spotlights/?per_page={perPage}&order_by={orderBy}",CHECK_IS_SPOTLIGHT_URL:"find-by-url/?url={url}"},TOGETHER:{GET_TOGETHER_COMMUNITY:"community?website_url={websiteUrl}&community_in={includeIds}",POST_TOGETHER_LIKE_POST:"post/{postId}/like?website_url={websiteUrl}",GET_TOGETHER_TOPICS:"topic?community_id={communityId}&website_url={websiteUrl}&due_date_month={dueDateMonth}&due_date_year={dueDateYear}&show_hidden={showHidden}",GET_TOGETHER_POST_LIST:"post?community_id={communityId}&website_url={websiteUrl}&sort_by={sortBy}&article_id={articleId}&page={page}&report_start_date={reportStartDate}&report_end_date={reportEndDate}&user_type={userType}&post_in={includeIds}&items_per_page={pageSize}&start_date={startDate}&end_date={endDate}&related_posts={postId}&post_by={postBy}&ignore-cache={ignoreCache}",GET_TOGETHER_POST_DETAIL:"post/{idOrSlug}/?website_url={websiteUrl}",GET_TOGETHER_POST_COMMENT:"comment?website_url={websiteUrl}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",GET_TOGETHER_COMMUNITY_DETAIL:"community/{communityId}?website_url={websiteUrl}",GET_TOGETHER_COMMUNITY_DETAIL_AUTH:"auth/community/{communityId}?website_url={websiteUrl}",POST_VALIDATE_ASK_DOCTOR:"validate-ask-doctor-post/?category_id={categoryId}&website_url={websiteUrl}",GET_TOGETHER_SUGGESTED_POST:"suggested-post?topic_id={topicId}&website_url={websiteUrl}",POST_CREATE_POST:"post/create?website_url={websiteUrl}",POST_TOGETHER_JOIN_COMMUNITY:"community/join?website_url={websiteUrl}",POST_TOGETHER_JOIN_TOPIC:"topic/join?website_url={websiteUrl}",POST_TOGETHER_LEAVE_TOPIC:"topic/leave?website_url={websiteUrl}",GET_TOGETHER_USER_POSTS:"profile/posts?website_url={websiteUrl}",GET_TOGETHER_USER_AUTHORIZE:"auth/user/{userId}",IMAGE_UPLOAD:"comment/image/upload?website_url={websiteUrl}",USER:{DETAIL:"profile/user/detail?website_url={websiteUrl}&user_id=0&email={email}&filter_by_email=1",LIST_POST:"profile/user/posts?website_url={websiteUrl}&user_id={id}&hhd_expert_id={hhgExpertId}&is_anonymous={isAnonymous}&paging=none&items_per_page={pageSize}",LIST_ANSWERS:"replied/{id}?website_url={websiteUrl}&paging=1&items_per_page={pageSize}&filter_by_expert_hhd={filterByExpertHhd}"},FETCH_PREVIEW:"fetch/preview/?website_url={websiteUrl}",FETCH_MULTI_PREVIEW:"fetch/preview-multi/?website_url={websiteUrl}",HEALTH_TOOL:{CREATE:"health-profile/create?website_url={websiteUrl}",GET_STATUS:"health-profile/{type}/get-status?website_url={websiteUrl}"},GET_ELASTIC_SEARCH:"elasticsearch/search?lang={lang}&website_url={websiteUrl}&keyword={keyWord}&paged={page}&per_page={pageSize}&type={type}",COUNT_ELASTIC_SEARCH:"elasticsearch/count-total?website_url={website_url}&keyword={keyword}"},CARE:{GET_CARE_GEOBYIP:"geobyip?latitude={latitude}&longitude={longitude}&site={site}",GET_CARE_LIST_EMBEDDING:"{type}?site={site}&city_id={cityId}&random=1&{type_id}={id}&recommend_same_province=1",GET_CARE_SPECIALTY_DETAIL:"specialties/{specialtyId}?site={site}",GET_CARE_SERVICE_TYPE_DETAIL:"service-types/{serviceTypeId}?site={site}&keyword={keyword}",GET_CARE_CITY_LIST:"lists/cities?keyword={keyword}&site={site}&_nopaging=1",GET_SPECIALTY_LIST:"specialties?site={site}",GET_SEARCH_CARE:"search/?site={site}&keyword={keyword}&city_id={cityId}&district_id={districtId}&type={type}&specialty_id={specialtyId}&specialty_ids={specialtyIds}&doctor_specialty_id={doctorSpecialtyId}&doctor_ids={doctorIds}&service_id={serviceId}&hospital_branch_name={hospitalBranchName}&latitude={latitude}&longitude={longitude}&distance={distance}&page={page}&per_page={perPage}&show_districts={showDistricts}&_nopaging={noPaging}&is_discover={allowSearchInDistrict}&care_path={isCarePath}&skip_booking={skipBooking}",GET_HOSPITAL_BRANCH_LIST:"/hospital/branch?site={site}&keyword={keyword}",GET_HOSPITAL_DETAIL:"hospital/branch/{id}?site={site}",GET_DOCTOR_LIST:"doctors?site={site}&keyword={keyword}&hospital_id={hospitalId}&random={random}&city_id={cityId}&page={page}&specialty_id={specialtyId}&hospital_branch_id={hospitalBranchId}",GET_DOCTOR_DETAIL:"doctors/{id}?site={site}",GET_DOCTOR_SCHEDULE:"doctors/{id}/schedule?site={site}&from_date={startDate}&to_date={endDate}",GET_SERVICE_SCHEDULE:"hospital/service/{serviceId}/schedule?site={site}&from_date={startDate}&to_date={endDate}",GET_SERVICE_DETAIL:"hospital/service/{serviceId}?site={site}",GET_ALL_SERVICE_BASED_ON_SERVICE:"hospital/services?site={site}&hospital_branch_id={hospitalBranchId}",GET_BRANCH_DETAIL:"search/?site={site}&type={type}&hospital_branch_id={id}",GET_TOP_SERVICES:"options/top_services?site={site}&show_district={showDistrict}&city_id={cityId}&categories={categoryIds}",GET_CITY_ID_BY_LAT_LNG:"geobyip?site=hellobacsi.com&latitude={lat}&longitude={lng}",GET_LISTING_POPULAR:"v4/listing-popular?site={site}",GET_LISTING_DETAIL:"v4/listing?site={site}&product_type={productType}",GET_LISTING_FEEDBACK:"v4/listing-feedback?site={site}",GET_SEARCH_LISTING:"v4/listing-home-search?site={site}&keyword={keyword}"},LEADGEN:{POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_LEAD_SEND_OTP:"sms/otp",POST_LEAD_VERIFY_OTP:"sms/verify",POST_LEAD_GET_LOG:"collection/get-data",POST_LEAD_UPDATE_LOG:"collection/log",POST_LEAD_CHECK_PHONE_LOG:"collection/log/check-phone",POST_LEAD_FRISO_VERIFY_PHONE_EXIST:"friso/check",POST_LEAD_VERIFY_EXIST_EMAIL:"collection/log/check-email",POST_LEAD_VERIFY_EXIST_PHONE:"collection/log/check-phone-with-campaign",GET_FORMULA_CTA:"formula-cta?category_id={categoryIds}&country_code={countryCode}",GET_CTA_SUBMIT:"collection/cta-submit",POST_TRACKING_OTHERS:"collection/tracking-others"},SIDIS:{GET_UNSUBSCRIPTION:"unsubscription?eid={eid}&cid={cid}&tid={tid}",PUT_UNSUBSCRIPTION_UPDATE:"unsubscription",GET_SIDIS_TEMPLATE_BY_SLUG:"api/templates/get-by-slug/?domain={domain}&slug={slug}",POST_SIDIS_DUE_DATE:"frontend/tools/due_dates",POST_SIDIS_OVULATION:"frontend/tools/ovulations",POST_SIDIS_BMI:"frontend/tools/bmis",POST_SIDIS_BMR:"frontend/tools/bmrs",POST_SIDIS_THR:"frontend/tools/heart-rates",POST_SIDIS_PWG:"frontend/tools/pregnancies",GET_SIDIS_BMI:"api/bmis/{resultId}",GET_SIDIS_BMR:"api/bmrs/{resultId}",GET_SIDIS_THR:"api/heart-rates/{resultId}",GET_SIDIS_PWG:"api/pregnancies/{resultId}",GET_SIDIS_HEALTH_INFO:"api/my-profile/health-info",GET_SIDIS_RISK_SCREENERS:"api/my-profile/my-health/risk-screeners",GET_SIDIS_RISK_SCREENERS_ID:"api/my-profile/my-health/risk-screeners/{id}"},SUBOT:{POST_VERIFY_SMS_OTP:"sms/update-phone",POST_SEND_OTP:"sms/otp",POST_SEND_OTP_WHATSAPP:"whatsapp/otp",POST_VERIFY_OTP:"sms/verify",POST_VERIFY_OTP_WHATSAPP:"sms/verify-whatsapp",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LA
1NDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",GET_INLINE_FIRST_NODE:"bots",GET_INLINE_MESSAGE:"inline/messages",GET_INLINE_IMPRESSION:"inline/impressions",GET_INLINE_CLICK:"inline/clicks",GET_SUBOT_LOG:"log/bot/{botId}/{cookieId}/{accountId}",POST_SUBOT_CREATE_LOG:"log/bot",FETCH_URL_DATA:"preview",GET_VOUCHER_QUANTITY:"vouchers/total_quantity?search={search}&client_id={clientId}"},COMMON:{GET_PROVINCE:"provinces?country_code={countryCode}",GET_DISTRICT:"districts?parent_id={parentId}",GET_COMMUNE:"communes?parent_id={parentId}",GET_FOOTER_INFO:"footer",GET_AFFILIATE_PRODUCT:"product/{productId}",GET_CAROUSEL:"carousel/{id}",GET_ABOUT_US_DATA:"about",GET_ADS_TXT:"adspage",POST_UPDATE_LOCATION:"tracking/geo/",GET_AUTHOR:"author/{slug}",GET_PAGE_STATIC:"page/{slug}",BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ABOUT_US_META_TAG:"/about",GET_APP_LANDING_PAGE:"landing-page/tai-app",POST_HHG_CONTACT_FORM:"hhg-contact/v1/submit"},BABY_VACCINE:{POST_SUB_CHANNEL:"frontend/api/channels/registrations?site={domain}",POST_SUB_CHANNEL_DETAIL:"frontend/api/channels?site={domain}",GET_MAIN_TIMELINES:"frontend/api/babies/{babyId}/schedules?site={domain}",POST_RECORD_TIMELINE:"frontend/api/babies/{babyId}/timelines/records?site={domain}",DELETED_RECORD_TIMELINE:"frontend/api/babies/{babyId}/timelines/records/{idRecord}?site={domain}",GET_RESULT_BABY_VACCINE_INFO:"vaccination/result?site={domain}",POST_RECORD_IN_VACCINE_DETAIL:"frontend/api/babies/{babyId}/vaccines/{vaccineId}/records?site={domain}",DELETE_RECORD_IN_VACCINE_DETAIL:"frontend/api/babies/{babyId}/vaccines/{vaccineId}/records/{recordId}?site={domain}",PUT_BABY_DETAIL:"frontend/api/babies/{babyId}?site={domain}",DELETE_BABY:"frontend/api/babies/{babyId}?site={domain}",GET_BANNER_BABY_VACCINE:"frontend/api/banners?site={domain}",ADD_MEASUREMENT:"frontend/api/babies/{babyId}/measurements?site={domain}",GET_HEALTH_TOOL_BABY_VACCINE_INFO:"vaccination/info?site={domain}",GET_HEALTH_TOOL_BABY_VACCINE_LIST:"frontend/api/babies?site={domain}",GET_HEALTH_TOOL_BABY_DETAIL:"frontend/api/babies/{babyId}?site={domain}",GET_GROWTH_CHART_LATEST:"frontend/api/tools/growth-chart?site={domain}",GET_VACCINATION_TOOL_LATEST:"frontend/api/tools/vaccination?site={domain}",GET_HEALTH_TOOL_BABY_DETAIL_V2:"frontend/api/v2/babies/{babyId}?site={domain}",GET_HEALTH_TOOL_BABY_IMMUNIZATION_V2:"frontend/api/v2/babies/{babyId}/statics?site={domain}",GET_VACCINE_DETAIL:"frontend/api/v2/babies/{babyId}/vaccines/{vaccineId}?site={domain}",ADD_INJECTED_DATE:"frontend/api/v2/babies/{babyId}/vaccines/{vaccineId}/records?site={domain}"},USER_PROFILE:{GET_PROFILE:"user/profile/",GET_TOKENS_UID2:"user/uid2",SSO_USER_PROFILE:"user",POST_LOGOUT:"user/logout",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",POST_USER_REFRESH:"v1/user/refresh"},PREMIUM:{GET_SUGGESTED_TOPIC:"api/v1/categories?external_id={externalId}&site={site}",GET_NEWSLETTER_CATEGORIES:"api/v1/categories?site={site}",POST_SUBSCRIPTION:"api/v1/subscription?site={site}",TEMP_POST_SUBSCRIPTION:"api/v1/subscription/temporary?site={site}",TEMP_POST_SUBSCRIPTION_OFFICIAL:"api/v1/subscription/official?site={site}",TEMP_GET_NEWSLETTER_CATEGORIES:"api/v1/categories/temporary?site={site}",GET_SUBSCRIPTION_CATEGORIES:"api/v1/categories?site={site}"},UNIFIED:{GET_USER_FIELDS:"api/user/fields?site={site}"},ECOMMERCE:{GET_PRODUCT_DETAIL_BY_LIST_IDS:"catalog/products?sku={skuList}",GUEST_GET_CART_ID:"guest-carts",GUEST_ADD_ITEM_TO_CART:"guest-carts/{cartId}/items",GUEST_GET_CART:"guest-carts/{cartId}",GUEST_GET_CART_TOTALS:"guest-carts/{cartId}/totals",GET_CART_ID:"carts/mine",ADD_ITEM_TO_CART:"carts/mine/items",GET_CART:"carts/mine",GET_CART_TOTALS:"carts/mine/totals",MERGE_GUEST_CART_TO_MINE:"guest-carts/{cartId}"},CHATBOT:{SEND_MESSAGE:"{project}/v1/reply",GET_CHAT_HISTORY:"{project}/v1/users/{userId}/chats/{chatId}"}
1,VIDEOS:{GET_LANDING_PAGE:"landing-page/videos/",GET_LISTING:"videos?type={type}&tags={tags}&order_by={orderBy}&page={page}&per_page={pageSize}",GET_VIDEO_DETAIL:""},RAMADAN_WIDGET:{GET_ZONES:"ramadan-widget/zones",GET_PRAYER_TIMES:"ramadan-widget/prayer-times?zone={zoneId}&lat={lat}&lon={lng}&date={date}"},OPEN_HEALTH_TOOLS:{BMI_LOG:"api/v1/bmi/log"},POLL_WIDGET:{GET_WIDGETS:"poll-article/polls?poll_ids={ids}",GET_RESULT:"poll-article/results/{id}?user_id={userId}",POST_VOTE:"poll-article/vote"},RATING_REVIEW:{POST_RATING_REVIEW:"rating-review",GET_RATING_REVIEWS:"rating-reviews?collection_id={collectionId}&rating={rating}&page={page}&per_page={perPage}"},HOMEPAGE:{GET_HOMEPAGE_SETTING:"home/settings",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_HOMEPAGE_BANNER:"home/home-banner",GET_HOMEPAGE_SIDE_BANNER:"home/side-banner",GET_HOMEPAGE_FOOTER_BANNER:"home/footer-banner",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_HOMEPAGE_COMMUNITY_DATA:"home/community",GET_HOMEPAGE_HEALTH_TOOL:"home/health-tools",GET_HOMEAGE_SCHEMA:"home/schema",GET_HOME_VIDEOS:"home/videos/",GET_HOME_CLINIC_LOCATOR:"home/clinic-locator"}}},"Sb+D":function(e,t,i){"use strict";i.d(t,{Cp:function(){return captureException},wd:function(){return captureMessage}});let debug_showDebug=()=>"undefined"==typeof localStorage||"true"===localStorage.getItem("hhg_debug"),n=null,getSentry=async()=>n||((n=await i.e(2538).then(i.bind(i,"4Q42")))?(n.init({dsn:"https://[email protected]/15",tracesSampleRate:.1,environment:"production",beforeSend:function(e){return -1!==window.location.search.indexOf("fbclid")?null:e}}),n):null),captureException=async function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let n=await getSentry();return(null==n?void 0:n.captureException(...t))||(debug_showDebug()?console.error(">S Exception",t):null)},captureMessage=async function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let n=await getSentry();return(null==n?void 0:n.captureMessage(...t))||(debug_showDebug()?console.log(">S Message",t):null)}},"77FC":function(e,t,i){"use strict";i.d(t,{H4:function(){return logApiCall}});var n=i("Sb+D");let o={},logApiCall=(e,t,i,a,r)=>{setTimeout(()=>{if(o[t]&&o[t]===JSON.stringify(r))return;o[t]=JSON.stringify(r);let l={"user-id":a,path:t,method:i,body:null==e?void 0:e.data,locale:"hi-IN",error:r};(0,n.wd)("clientSide_logs_api_call",{level:"log",extra:l})},0)}},bPK4:function(e,t,i){"use strict";i.d(t,{GW:function(){return getCareAllSpecialtyUrl},JQ:function(){return getCareHospitalUrl},KG:function(){return getEcommerceApiPath},ME:function(){return getCareServiceUrl},Nh:function(){return getPathURLSearchParams},Nv:function(){return getCareSpecialtyUrl},PU:function(){return getSubotApiPath},Rg:function(){return getChatbotApiPath},SF:function(){return getCareDoctorUrl},WH:function(){return getLeadPath},at:function(){return getCurrentBaseUrl},e1:function(){return getTogetherPath},eB:function(){return getCareDomain},er:function(){return getApiPath},gQ:function(){return getUrlToRedirectToSSOWithReturnUrl},jA:function(){return getBabyVaccineToolPath},nN:function(){return getHellositePath},oN:function(){return getHelloSitesUrl},pN:function(){return getServiceUrl},vf:function(){return getLocalApiPath},vo:function(){return getApiTrackingPath},yZ:function(){return getCareSearchPageUrl}});var n=i("NmYn"),o=i.n(n),a=i("gY0P"),r=i.n(a),l=i("/sjq"),s=i("9brV");let c=s.Km.NEXT_PUBLIC_DEPLOY_LOCALE||"en-PH",formatString=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let n=r()(...t);if(n.includes("?")){let[e,t]=n.split("?",2),i=t.split("&").filter(e=>e&&(!e.includes("=")||e.split("=")[1]));return 0===i.length?e:"".concat(e,"?").concat(i.join("&"))}return n},getLocalApiPath=(e,t)=>{let{NEXT_PUBLIC_BASE_API_URL:i}=s.Km;return i+"wp-json/api/"+formatString(e,{...t})},getApiPath=(e,t)=>
1{let{NEXT_PUBLIC_BASE_API_URL:i,WP_INTERNAL_API:n}=s.Km;return(n||i)+"wp-json/api/"+formatString(e,{...t})},getApiTrackingPath=(e,t)=>s.Km.NEXT_PUBLIC_BASE_API_URL+"wp-json/"+formatString(e,{...t}),getLeadPath=(e,t)=>s.Km.NEXT_PUBLIC_LEAD_API+"api/"+formatString(e,{...t}),getTogetherPath=(e,t,i)=>s.Km.NEXT_PUBLIC_TOGETHER_API+"api/".concat(i||"v1","/")+formatString(e,{...t}),getCurrentBaseUrl=e=>window.location.origin,getCareDomain=e=>{let t="production"===s.Km.DEPLOY_ENV;return t?"".concat(l.domainLocales[e],"/care"):"discover.".concat(l.domainLocales[e],"/care")},slugifiedNameWithId=(e,t,i,n)=>n&&t?"".concat(n,"-").concat(t):"".concat(o()(e||"",{lower:!0,locale:i||c}),"-").concat(t),getServiceUrl=e=>{var t,i;let{locale:n,citySlug:a}=e;return"/care/".concat(o()(a||(null===(t=s.ix[n||"vi-VN"])||void 0===t?void 0:t.CURRENT)||"",{lower:!0,locale:n}),"/").concat(null===(i=s.ix[n||"vi-VN"])||void 0===i?void 0:i.SERVICE)},getCareAllSpecialtyUrl=e=>{var t;let{locale:i}=e;return"/care/".concat(null===(t=s.ix[i||"vi-VN"])||void 0===t?void 0:t.SPECIALTIES)},getCareSpecialtyUrl=e=>{var t,i;let{locale:n,citySlug:a,slug:r}=e;return"/care/".concat(o()(a||(null===(t=s.ix[n||"vi-VN"])||void 0===t?void 0:t.ALL)||"",{lower:!0,locale:n}),"/").concat(null===(i=s.ix[n||"vi-VN"])||void 0===i?void 0:i.HOSPITAL,"/").concat(r)},getCareHospitalUrl=e=>{var t;let{name:i,id:n,locale:o,slug:a}=e;return"/care/".concat(null===(t=s.ix[o||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(slugifiedNameWithId(i,n,o,a))},getCareDoctorUrl=e=>{var t;let{name:i,id:n,locale:o}=e;return"/care/".concat(null===(t=s.ix[o||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(slugifiedNameWithId(i,n))},getCareServiceUrl=e=>{var t;let{name:i,id:n,locale:o}=e;return"/care/".concat(null===(t=s.ix[o||"vi-VN"])||void 0===t?void 0:t.SERVICE,"/").concat(slugifiedNameWithId(i,n))},getCareSearchPageUrl=e=>{var t,i;let{type:n,locale:o,searchSlug:a}=e;return"/care/".concat(null===(t=s.ix[o])||void 0===t?void 0:t.CURRENT,"/").concat(null===(i=s.ix[o])||void 0===i?void 0:i[s.m4[n]],"/").concat(null!=a?a:"")},getBabyVaccineToolPath=(e,t)=>(s.Km.INTERNAL_VACCINATION_TOOL_API||s.Km.NEXT_PUBLIC_VACCINATION_TOOL_API)+formatString(e,{...t,domain:l.domainLocales[c]}),getUrlToRedirectToSSOWithReturnUrl=(e,t,i)=>{let n=e||window.location.href,o=t?"".concat(n.includes("?")?"&":"?","source=").concat(t):"",a=i?"".concat(n.includes("?")||o?"&":"?","action=").concat(i):"";return s.a5?"".concat(s.a5,"?returnUrl=").concat(encodeURIComponent("".concat(n).concat(o).concat(a))):"/"},getSubotApiPath=(e,t)=>{let{SUBOT_INTERNAL:i,NEXT_PUBLIC_SUBOT_API:n}=s.Km;return n+formatString(e,{...t})},getEcommerceApiPath=(e,t)=>{let{NEXT_PUBLIC_ECOMMERCE_API:i}=s.Km;return(i||"https://uat-ecommerce.hellobacsi.com/")+"rest/"+s.Km.NEXT_PUBLIC_STORE_CODE+"/V1/"+formatString(e,{...t})},getChatbotApiPath=(e,t)=>{let{NEXT_PUBLIC_CHAT_BOT_API:i="https://chatbot-staging.hellohealthgroup.com/"}=s.Km;return i+formatString(e,{...t})},getHelloSitesUrl=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{DEPLOY_ENV:n}=s.Km,o=!t&&("localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname);return i?"https://".concat(l.domainLocales[e]):o?"http://".concat(window.location.host):"https://".concat("production"===n?"":"discover.").concat(l.domainLocales[e])};function getHellositePath(e){let{locale:t,slug:i,query:n}=e,o=getHelloSitesUrl(t);"tl-PH"===t&&(o+="/fil");let a="?";if(void 0!==n){let e="";Object.keys(n).map(t=>{let i=n[t];Array.isArray(i)&&(a+=e+i.map(e=>"".concat(t,"=").concat(e)).join("&"),e="&"),"string"==typeof i&&(a+=e+"".concat(t,"=").concat(i),e="&")})}"?"===a&&(a="");let r=[];return"string"==typeof i&&(r=i.split("/").filter(Boolean)),Array.isArray(i)&&(r=i.map(e=>e.split("/").filter(Boolean).join("/"),[])),o+"/"+r.join("/")+"/"+a}function getPathURLSearchParams(e,t){let i=e,n=new URLSearchParams(t),o=0;return n.forEach((e,t)=>{e?o++:n.delete(t)}),0!==o&&(i+="?".concat(n)),i}},"/tE8":function(e,t,i){"use strict";i.d(t,{DT:function(){return validateEmail},NM:function(){return checkMobile},qU:function(){return validateURL}});var n=i("9brV");let o=/(?:phone|windows\s+phone|ipod|blackberry|(?:android|bb\d+|meego|silk|googlebot) .+? mobile|palm|windows\s+ce|opera mini|avantgo|mobilesafari|docomo|kaios)/i,a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,r=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,checkMobile=e=>{if(n.kU)return o.test(e||"");let t=e||(n.kU?"":navigator.userAgent);return a.test(t)||r.test(t.substring(0,4))},validateEmail=e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase()),validateURL=e=>{try{return new URL(e),!0}catch(e){return!1}}},q6HN:function(e,t,i){"use strict";i.d(t,{m:function(){return Container}});var n=i("BGKE"),o=i("TSYQ"),a=i.n(o);let Container=e=>{let{className:t,isFluid:i,...o}=e;return(0,n.Y)("div",{className:a()("hhg-page-container",t,{fluid:i}),...o})}},Lo4g:function(e,t,i){"use strict";i.d(t,{s:function(){return HealthToolBreadcrumb}});var n=i("BGKE"),o=i("P+HS"),a=i("vH4S"),r=i("bPK4"),l=i("a5L+"),s=i("AG8C");function hasProtocol(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^https?:\/\//i.test(e)}let HealthToolBreadcrumb=e=>{let{pageItem:t,...i}=e,c=(0,l.a)(),{locale:_}=(0,s.$)();return(0,n.Y)(a.Container,{size:"lg",my:16,...i,children:(0,n.Y)(o.Breadcrumbs,{children:(t||[]).map(e=>({dataEventCategory:"Breadcrumb",dataEventAction:"Click",dataEventLabel:hasProtocol(e.value)?e.value:"".concat((0,r.oN)(_)).concat(e.value),label:e.label||"",value:hasProtocol(e.value)?e.value:"".concat((0,r.oN)(_)).concat(e.value)})).map(e=>(0,n.Y)(o.Breadcrumbs.Item,{href:e.value,...e,size:c?"p3":"p4",children:e.label},e.value))})})}},mYBQ:function(e,t,i){"use strict";i.r(t),i.d(t,{NotificationsHandler:function(){return NotificationsHandler},showNotification:function(){return showNotification}});var n=i("BGKE");i("+OUp");var o=i("jj4h"),a=i("0Woy"),r=i("hvR8"),l=i.n(r),s=i("d30B"),c=i.n(s),_=i("X1xk"),p=i.n(_),E=i("l0B8"),u=i.n(E);function NotificationsHandler(){return(0,n.Y)(o.$,{position:"top-right",zIndex:2077,autoClose:5e3})}let showNotification=e=>{let{type:t,title:i,...o}=e,r={success:"green",danger:"red",warning:"yellow",info:"blue",firebase:"gray"},s={success:(0,n.Y)(p(),{width:20,height:20}),danger:(0,n.Y)(l(),{width:20,height:20}),warning:(0,n.Y)(u(),{width:20,height:20}),info:(0,n.Y)(c(),{width:20,height:20}),firebase:""},_=s[t];a.$e.show({title:(0,n.Y)("b",{children:i}),icon:_,withCloseButton:!0,closeButtonProps:{label:"Close alert"},...o,styles:e=>{let i=r[t]||"blue";return{root:{backgroundColor:e.colors[i][0],borderColor:e.colors[i][0],"&::before":{backgroundColor:e.white}},title:{color:e.colors[i][8]},description:{color:e.black},closeButton:{color:e.black,"&:hover":{backgroundColor:e.colors[i][0]}},icon:{backgroundColor:"transparent",padding:0}}}})}},"6TRF":function(e,t,i){"use strict";i.d(t,{p:function(){return SuccessBox}});var n=i("BGKE"),o=i("+OUp"),a=i("ztij"),r=i("P+HS"),l=i("vH4S"),s=i("dDsW"),c=(0,l.createStyles)(()=>({heading:{textAlign:"center"},description:{textAlign:"center"},root:{display:"flex",flexDirection:"column",gap:12,alignItems:"center"},body:{display:"flex",flexDirection:"column",gap:8,alignItems:"center"},img:{height:160},button:{}}));let SuccessBox=e=>{let{heading:t,description:i,image:_,ctaText:p,styles:E,classNames:u,className:d,onClose:T,onInit:h}=e,{formatMessage:I}=(0,s.A)(),{classes:g,cx:m}=c(void 0,{name:"SuccessBox",styles:E,classNames:u});return(0,o.useEffect)(()=>{null==h||h()},[]),(0,n.FD)(l.Box,{className:m(d,g.root),children:[(0,n.FD)(l.Box,{className:g.body,children:[(0,n.Y)("img",{className:g.img,src:_||a.C.getAssetPath("complete.svg"),alt:"Thank you",loading:"lazy"}),t&&(0,n.Y)(r.Text,{size:"h4",className:g.heading,children:t}),i&&(0,n.Y)(r.Text,{size:"p2",className:g.description,sx:{textAlign:"center"},children:i})]}),(0,n.Y)(r.Button,{variant:"primary",className:g.button,onClick:()=>null==T?void 0:T(),children:p||I({id:"subot.landingPage.booking.done"})})]})}},"/sjq":function(e){"use strict";e.exports={domainLocales:{"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","tl-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","zh-SG":"hellojiankang.com"},ignoreList:[]}},wA0V:function(e,t,i){"use strict";i.d(t,{m:function(){return useCurrentUrl}});var n=i("+OUp"),o=i("bPK4"),a=i("AG8C"),r=i("9brV");function useCurrentUrl(){let{locale:e,router:{asPath:t}}
1=(0,a.$)(),[i,l]=(0,n.useState)(()=>"".concat((0,o.oN)(e,!1)).concat(r.Jp).concat(t));return(0,n.useEffect)(()=>{l(window.location.href)},[t]),i}},"a5L+":function(e,t,i){"use strict";i.d(t,{a:function(){return useIsMobile}});var n=i("bGjd");let useIsMobile=e=>{let{isMobile:t,isMobileSSR:i,isLargeMobile:o}=(0,n.lm)();return"boolean"==typeof t||"boolean"==typeof o?!!(e&&o||t):!!(e&&o||i)}},bGjd:function(e,t,i){"use strict";i.d(t,{LB:function(){return ScreenSizeProvider},O4:function(){return ScreenSizeListener},lm:function(){return useScreenSize}});var n=i("BGKE"),o=i("+OUp"),a=i("sEfC"),r=i.n(a),l=i("oWg6"),s=i("VNqU"),c=i("a5vB");let getIsMobile=()=>window.innerWidth<768,getIsLargeMobile=()=>window.innerWidth>=768&&window.innerWidth<1112,useScreenSize=()=>{let{isMobile:e,isLargeMobile:t,isMobileSSR:i}=useScreenSizeContext(e=>({isMobile:e.isMobile,isLargeMobile:e.isLargeMobile,isMobileSSR:e.isMobileSSR}),c.x);return{isMobile:e,isLargeMobile:t,isMobileSSR:i}},useScreenSizeListener=()=>{let{setIsMobile:e,setIsLargeMobile:t}=useScreenSizeContext(e=>({setSSR:e.setSSR,setIsMobile:e.setIsMobile,setIsLargeMobile:e.setIsLargeMobile}),c.x);(0,o.useEffect)(()=>{let i=r()(()=>{let i=getIsMobile(),n=getIsLargeMobile();"boolean"==typeof i&&e(i),"boolean"==typeof n&&t(n)},200);return window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("resize",i)}},[])},ScreenSizeListener=()=>(useScreenSizeListener(),null),createScreenSizeStore=e=>{let t={isMobile:getIsMobile(),isLargeMobile:getIsLargeMobile()};return(0,l.y)()(i=>({...t,...e,setIsMobile:e=>i({isMobile:e}),setIsLargeMobile:e=>i({isLargeMobile:e}),setSSR:e=>i({isMobileSSR:e})}))},_=(0,o.createContext)(null),ScreenSizeProvider=e=>{let{isMobileSSR:t,children:i}=e,a=(0,o.useRef)();return a.current||(a.current=createScreenSizeStore({isMobileSSR:t})),(0,n.Y)(_.Provider,{value:a.current,children:i})};function useScreenSizeContext(e,t){let i=(0,o.useContext)(_);if(!i)throw Error("Missing ScreenSizeContext.Provider in the tree");return(0,s.Pj)(i,e,t)}},mdEm:function(e,t,i){"use strict";i.d(t,{CD:function(){return c},Qh:function(){return getActivityLevelList},_8:function(){return getActivityLevelShortLabel},e4:function(){return a},vL:function(){return r},zY:function(){return s}});var n,o,a,r,l=i("ztij");(n=a||(a={})).DUE_DATE="due-date-calculator",n.BMI="bmi",n.BMR="bmr",n.OVULATION="ovulation",n.IFRAME="IFRAME",n.PWG="pregnancy-weight-gain",n.THR="heart-rate",n.BABY_VACCINE="vaccination-tool",n.BABY_GROWTH="baby-growth-tracking",n.BABY_POOP="baby-poop-checking",n.AIR_POPULATION="air-population-tool";let s={DUE_DATE:"due-date-calculator",BMI:"bmi",BMR:"bmr",OVULATION:"ovulation",IFRAME:"IFRAME",PWG:"pregnancy-weight-gain",THR:"heart-rate",BABY_VACCINE:"vaccination-tool",BABY_GROWTH:"baby-growth-tracking",BABY_POOP:"baby-poop-checking"};(o=r||(r={})).LOW_INTENSITY="low_intensity",o.MODERATE_INTENSITY="moderate_intensity",o.AEROBIC_INTENSITY="aerobic_intensity",o.VIGOROUS_INTENSITY="vigorous_intensity",o.MAXIMUM_INTENSITY="maximum_intensity";let getActivityLevelShortLabel=(e,t)=>{let i={low_intensity:t({id:"activityLevel.noExerciseShort"}),moderate_intensity:t({id:"activityLevel.oneThreeDaysShort"}),aerobic_intensity:t({id:"activityLevel.threeFiveDaysShort"}),vigorous_intensity:t({id:"activityLevel.sixSevenDaysShort"}),maximum_intensity:t({id:"activityLevel.routineShort"})};return i[e]||""},getActivityLevelList=e=>[{label:e({id:"activityLevel.noExercise",defaultMessage:"Little to no exercise"}),value:"low_intensity",point:1.2},{label:e({id:"activityLevel.oneThreeDays",defaultMessage:"Light exercise 1â3 days a week"}),value:"moderate_intensity",point:1.375},{label:e({id:"activityLevel.threeFiveDays",defaultMessage:"Medium exercise 3â5 days a week"}),value:"aerobic_intensity",point:1.55},{label:e({id:"activityLevel.sixSevenDays",defaultMessage:"Hard exercise 6â7 days a week"}),value:"vigorous_intensity",point:1.725},{label:e({id:"activityLevel.routine",defaultMessage:"Challenging exercise routine"}),value:"maximum_intensity",point:1.9}];s.DUE_DATE,l.C.getAssetPath("health-tools/due-date-icon.svg");let c="additional_questions"},"9brV":function(e,t,i){"use strict";i.d(t,{$1:function(){return eh},AR:function(){return eC},B8:function(){return x},CS:function(){return Y},Cn:function(){return D},Cs:function(){return w},D9:function(){return ev},DK:function(){return J},DM:function(){return ec},Dn:function(){return b},EH:function(){return k},El:function(){return H},H5:function(){return eO},HL:function(){return eb},Hl:function(){return eT},I6:function(){return M},Iu:function(){return v},JH:function(){return et},Jp:function(){return u},KN:function(){return U},K_:function(){return Q},Kl:function(){return eE},Km:function(){return E},LI:function(){return C},MM:function(){return ed},Mb:function(){return eR},Mp:function(){return h},Mu:function(){return F},NV:function(){return ei},OA:function(){return G},OJ:function(){return $},OZ:function(){return eU},Oe:function(){return W},Ok:function(){return eu},PF:function(){return l},Pn:function(){return ek},QM:function(){return ee},Rs:function(){return en},S1:function(){return q},S3:function(){return B},Sj:function(){return I},TK:function(){return ef},U2:function(){return d},V7:function(){return y},WO:function(){return V},XP:function(){return es},Y3:function(){return S},_q:function(){return X},a5:function(){return g},a7:function(){return j},bF:function(){return eG},c8:function(){return P},cD:function(){return ew},dX:function(){return eM},dZ:function(){return eB},eY:function(){return eL},fg:function(){return eY},hL:function(){return e_},hj:function(){return s},ix:function(){return er},jJ:function(){return N},jX:function(){return L},kH:function(){return z},kU:function(){return R},le:function(){return eD},m4:function(){return el},mw:function(){return eg},nF:function(){return eN},nN:function(){return O},nS:function(){return T},oQ:function(){return eI},p8:function(){return m},pJ:function(){return f},pc:function(){return eH},q0:function(){return eA},qC:function(){return Z},qg:function(){return ep},rN:function(){return em},ty:function(){return A},vV:function(){return ey},xu:function(){return eS},yc:function(){return K},zh:function(){return ex},zp:function(){return eP}});var n,o,a,r,l,s,c=i("mdEm"),_=i("iZSu"),p=i("yNk5");let E={NEXT_PUBLIC_PREMIUM_URL:p.env.NEXT_PUBLIC_PREMIUM_URL,NEXT_PUBLIC_BUILD_ID:"FV1-1790847658568",DEPLOY_ENV:"production",NEXT_PUBLIC_DEPLOY_ENV:"production",NEXT_PUBLIC_SUBOT_URL:"https://subot.helloswasthya.com/",SUBOT_URL:"https://subot.helloswasthya.com/",SUBOT_INTERNAL:p.env.SUBOT_INTERNAL,NEXT_PUBLIC_SUBOT_API:"https://subot.hellohealthgroup.com/frontend/api/",WP_INTERNAL_API:p.env.WP_INTERNAL_API,SENTRY_DSN:p.env.SENTRY_DSN,NEXT_PUBLIC_BASE_API_URL:"https://wp.helloswasthya.com/",NEXT_PUBLIC_BASE_PROD_API_URL:p.env.NEXT_PUBLIC_BASE_PROD_API_URL,NEXT_PUBLIC_SSO:"https://id.helloswasthya.com/",SSO_URL:"https://id.helloswasthya.com/",NEXT_PUBLIC_SIDIS_API:"https://producer-sidis.hellohealthgroup.com/",NEXT_PUBLIC_CARE_API:"https://health-care.hellohealthgroup.com/",INTERNAL_VACCINATION_TOOL_API:
1p.env.INTERNAL_VACCINATION_TOOL_API,NEXT_PUBLIC_VACCINATION_TOOL_API:"https://vaccination-service.hellohealthgroup.com/",NEXT_PUBLIC_LOGGING_ENABLED:"true",NEXT_PUBLIC_DEPLOY_LOCALE:"hi-IN",DEPLOY_LOCALE:"hi-IN",NEXT_PUBLIC_SIDIS_API_GET:"https://api-internal-sidis.hellohealthgroup.com/",NEXT_PUBLIC_LEAD_API:"https://lead.hellohealthgroup.com/",NEXT_PUBLIC_TOGETHER_API:"https://together.hellohealthgroup.com/",NEXT_PUBLIC_GTM_AMP:"GTM-T3BWDPZ",NEXT_PUBLIC_SIDIS_TEMPLATE_API:"https://sidis-template-be.hellohealthgroup.com/",INTERNAL_TOGETHER_API:p.env.INTERNAL_TOGETHER_API,INTERNAL_CARE_API:p.env.INTERNAL_CARE_API,NEXT_PUBLIC_DISCOVER_MARRY_BABY_BASE_API_URL:p.env.NEXT_PUBLIC_DISCOVER_MARRY_BABY_BASE_API_URL,NEXT_PUBLIC_DISCOVER_MARRY_BABY_BASE_PROD_API_URL:p.env.NEXT_PUBLIC_DISCOVER_MARRY_BABY_BASE_PROD_API_URL,NEXT_PUBLIC_UNIFIED_API:"https://unified-360-user-profile.hellohealthgroup.com",NEXT_PUBLIC_ECOMMERCE_API:p.env.NEXT_PUBLIC_ECOMMERCE_API,NEXT_PUBLIC_STORE_CODE:p.env.NEXT_PUBLIC_STORE_CODE,NEXT_PUBLIC_CHAT_BOT_API:p.env.NEXT_PUBLIC_CHAT_BOT_API,NEXT_PUBLIC_CHATBOT_API_URL:p.env.NEXT_PUBLIC_CHATBOT_API_URL,NEXT_PUBLIC_THE_TRADE_DESK_API:"https://thetradedesk.hellohealthgroup.com/",NEXT_PUBLIC_VACCINATION_ENABLED:"true",NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API:p.env.NEXT_PUBLIC_OPEN_HEALTH_TOOLS_API},u="",d="care",T="".concat(u,"/images"),h="".concat(u,"/svg"),I="DD/MM/YYYY",g="https://id.helloswasthya.com/",m=!0,A="hhg_user_token",O="hhg_user_refresh_token",S="hhg-id",f="_ga",P="__uid20_tokens",L="refresh_token",C="user_token",y="_gtm_consent",b="hhg_workshop_user_email",N="hhg_workshop_user_phone",R=!1,v="".concat(T,"/anonymous.jpg"),G="".concat(T,"/avatar.jpg"),D="".concat(T,"/default.png?v=1"),M="".concat(T,"/default-image.jpg?v=1"),U="".concat(T,"/hhg-logo.png");(n=r||(r={}))[n.CategoryType1=1]="CategoryType1",n[n.CategoryType2=2]="CategoryType2",(o=l||(l={}))[o.ArticleType1=1]="ArticleType1",o[o.ArticleType2=2]="ArticleType2",o[o.ArticleType3=3]="ArticleType3";let w={categoryType:1,articleType:3},H={"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:"//hellobacsiv
1n.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"".concat(T,"/tooltips-vn.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/VN.png"),PHONE:"+84",FLAG:"".concat(h,"/flags/flag-rect-vn.svg"),PUBMATIC_PROFILE_ID:"6950",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2820"},"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:"".concat(T,"/tooltips-ph.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/PH.png"),PHONE:"+63",FLAG:"".concat(h,"/flags/flag-rect-ph.svg"),PUBMATIC_PROFILE_ID:"6947"},"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:"".concat(T,"/tooltips-ph.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/PH.png"),PHONE:"+63",FLAG:"".concat(h,"/flags/flag-rect-ph.svg"),PUBMATIC_PROFILE_ID:"6947"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello à¸à¸¸à¸à¸«à¸¡à¸",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"".concat(T,"/tooltips-th.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/TH.png"),PHONE:"+66",FLAG:"".concat(h,"/flags/flag-rect-th.svg"),PUBMATIC_PROFILE_ID:"6952"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.png",SITE_NAME_FORMATTED:"Hello áááá¼ááááá",SITE_ID:"4",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"".concat(T,"/tooltips-kh.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/KH.png"),PHONE:"+855",FLAG:"".concat(h,"/flags/flag-rect-kh.svg"),PUBMATIC_PROFILE_ID:"6954"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/MM.png",SITE_NAME_FORMATTED:"Hello ááá¬áááº",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522",ABOUT_US_IMAGE:"".concat(T,"/aboutus/MM.png"),PHONE:"+95",FLAG:"".concat(h,"/flags/flag-rect-mm.svg"),PUBMATIC_PROFILE_ID:"6953",CATEGORIES_TYPE:"long"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello é«å¸«",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"".concat(T,"/tooltips-tw.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/TW.png"),PHONE:"+886",FLAG:"".concat(h,"/flags/flag-rect-tw.svg"),PUBMATIC_PROFILE_ID:"6949",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2819"},"zh-SG":{LOGO_TYPE:"hellojiankang",SITE_NAME:"HelloJianKang",HOMEPAGE_IMAGE:"",SITE_NAME_FORMATTED:"Hello å¥åº·",SITE_ID:"12",INSIDER_TAG:"",TOOLTIP_IMAGE:"",ABOUT_US_IMAGE:"",PHONE:"",FLAG:"".concat(h,"/flags/flag-rect-tw.svg"),PUBMATIC_PROFILE_ID:"",CATEGORIES_TYPE:"short",PUBLIFT_ID:""},"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:"".concat(T,"/tooltips-id.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/ID.png"),PHONE:"+62",FLAG:"".concat(h,"/flags/flag-rect-id.svg"),PUBMATIC_PROFILE_ID:"1959",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2812"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"Hello सà¥à¤µà¤¾à¤¸à¥à¤¥à¥à¤¯",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"".concat(T,"/tooltips-in.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/IN.png"),PHONE:"+91",FLAG:"".concat(h,"/flags/flag-rect-in.svg"),PUBMATIC_PROFILE_ID:"6951"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbn
1ails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"".concat(T,"/tooltips-my.png"),ABOUT_US_IMAGE:"".concat(T,"/aboutus/MY.png"),PHONE:"+60",FLAG:"".concat(h,"/flags/flag-rect-my.svg"),PUBMATIC_PROFILE_ID:"6946",CATEGORIES_TYPE:"short",PUBLIFT_ID:"2816"}};(a=s||(s={})).PRIVACY="PRIVACY",a.TERM_OF_USE="TERM_OF_USE",a.PRIVACY_POLICY="PRIVACY_POLICY",a.PRIVACY_POLICY_EN="PRIVACY_POLICY_EN",a.EDITORIAL_CORRECTIONS_POLICY="EDITORIAL_CORRECTIONS_POLICY",a.ADVERTISING_SPONSOR_POLICY="ADVERTISING_SPONSOR_POLICY",a.CANCELLATION_RETURN_POLICY="CANCELLATION_RETURN_POLICY",a.FULFILMENT_DISPENSATION_POLICY="FULFILMENT_DISPENSATION_POLICY",a.POLICIES="POLICIES",a.FAQS="FAQS",a.SITEMAP="SITEMAP",a.ABOUT_US="ABOUT_US",a.ADVERTISEMENT="ADVERTISEMENT",a.CONTACT_US="CONTACT_US",a.ABOUT_GO_CARE="ABOUT_GO_CARE",a.HEALTH_TOOLS="HEALTH_TOOLS",a.EXECUTIVE_BIOS="EXECUTIVE_BIOS",a.RECRUITMENT="RECRUITMENT",a.COMMUNITY_GUIDELINE="COMMUNITY_GUIDELINE",a.TOGETHER="TOGETHER",a.CARE="CARE",a.FEEDBACK="FEEDBACK",a.CARE_SHOP_POLICIES="CARE_SHOP_POLICIES",a.FACILITY="FACILITY",a.POLICIES_EN="POLICIES_EN",a.CONTACT_EN="CONTACT_EN",a.EDITORIAL_POLICY="EDITORIAL_POLICY",a.EDITORIAL_POLICY_EN="EDITORIAL_POLICY_EN",a.HSWY_PRIVACY_POLICY="HSWY_PRIVACY_POLICY",a.PRIVACY_ADDENDUM="PRIVACY_ADDENDUM";let Y={[_.ne.India]:{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",CARE:"/care"},[_.ne.Singapore]:{POLICIES:null,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:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:null,CARE:null}},B={"vi-VN":"mang-thai","id-ID":"kehamilan","ms-MY":"kehamilan","km-KH":"áááá","en-PH":"pregnancy","tl-PH":"pregnancy","th-TH":"à¸à¸²à¸£à¸à¸±à¹à¸à¸à¸£à¸£à¸ à¹","my-MM":"pregnancy","zh-TW":"pregnancy","zh-SG":"pregnancy","hi-IN":"pregnancy"},x={ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},k={"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:"link",rel:"apple-touch-icon",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:"link",rel:"apple-touch-icon",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"}],"tl-PH":[{type:"link",rel:"icon",href:"/fil/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/fil/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/fil/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/fil/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:"link",rel:"apple-touch-icon",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:"link",rel:"apple-touch-icon",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:"link",rel:"apple-touch-icon",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:"link",rel:"apple-touch-icon",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:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-SG":[{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:"link",rel:"apple-touch-icon",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:"link",rel:"apple-touch-icon",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},V=["low","normal","high"],F={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200}
1,z="289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com",K={REVIEWED_DISPLAY_NAME:"reviewed_display_name",REVIEWED_AVATAR_THUMBNAIL:"reviewed_avatar_thumbnail",REVIEWED_URL:"reviewed_url",POST_ID:"post_id",POST_MODIFIED:"post_modified",CATEGORY_ID:"category_id",CATEGORY_NAME:"category_name",CATEGORY_URL:"category_url",CATEGORY_TEXT_COLOR:"category_text_color"},X=["vi-VN","id-ID"],W=m?["th-TH"]:["vi-VN","th-TH"],j="YYYY-MM-DD",q="dd-MM-yyyy",Z="DD-MM-YYYY",J="DD MMM YYYY",Q="DD/MM/YYYY",$="MMMM YYYY",ee="MM/DD/YYYY",et={[_.ne.PhilippinesEnglish]:"MM/DD/YYYY",[_.ne.PhilippinesTagalog]:"MM/DD/YYYY",[_.ne.Cambodia]:"DD/MM/YYYY",[_.ne.India]:"DD/MM/YYYY",[_.ne.Thailand]:"DD/MM/YYYY",[_.ne.Malaysia]:"DD/MM/YYYY",[_.ne.Singapore]:"YYYY/MM/DD",[_.ne.Indonesia]:"DD/MM/YYYY",[_.ne.Taiwan]:"YYYY/MM/DD",[_.ne.Myanmar]:"DD/MM/YYYY",[_.ne.Vietnam]:"DD/MM/YYYY"},ei="MM/DD/YYYY";p.env.SENTRY_DSN;let en={EN:"English",FIL:"Filipino"},eo={ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location",ORGANIZATION:"organization",VACCINATIONS:"vaccination",IVF:"ivf",IVF_DETAIL:"ivf-detail",EGG_FREEZING:"egg-freezing",EGG_FREEZING_DETAIL:"egg-freezing-detail",VACCINATION_DETAIL:"vaccination-detail",HEALTH_SCREENER:"health-screener",HEALTH_SCREENER_DETAIL:"health-screener-detail",USER_REVIEWS:"user-reviews"},ea={[_.ne.PhilippinesEnglish]:eo,[_.ne.Vietnam]:{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai",ORGANIZATION:"to-chuc",IVF:"thu-tinh-ong-nghiem",IVF_DETAIL:"ivf-detail",EGG_FREEZING:"dong-lanh-trung",EGG_FREEZING_DETAIL:"egg-freezing-detail",VACCINATIONS:"tiem-chung",VACCINATION_DETAIL:"vaccination-detail",HEALTH_SCREENER:"xet-nghiem",HEALTH_SCREENER_DETAIL:"health-screener-detail",USER_REVIEWS:"danh-gia-dich-vu"},[_.ne.Indonesia]:{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini",ORGANIZATION:"organisasi",IVF:"ivf",IVF_DETAIL:"ivf-detail",EGG_FREEZING:"egg-freezing",EGG_FREEZING_DETAIL:"egg-freezing-detail",VACCINATIONS:"vaccination",VACCINATION_DETAIL:"vaccination-detail",HEALTH_SCREENER:"health-screener",HEALTH_SCREENER_DETAIL:"health-screener-detail",USER_REVIEWS:"ulasan-pengguna"},[_.ne.Taiwan]:eo,[_.ne.Malaysia]:eo,[_.ne.Thailand]:eo},er=ea,el={doctor:"DOCTOR",service:"SERVICE",hospital:"HOSPITAL"},es={MY_HEALTH_TRACKER:"user/health/trackers",MY_HEALTH_PARENTING:"user/health/parenting"},ec=1,e_=3,ep={[-1]:5.7,0:15.7,1:23.5,2:19.3,3:10.7,4:7.8,5:6.4},eE="workshop-success",eu="thrInfo",ed={label:"",value:""},eT=7,eh="https://cdn-healthcare.hellohealthgroup.com/2021/11/1636963243_619213ab2d91e3.52220855.png";_.ne.Vietnam,_.ne.Indonesia;let eI=[_.ne.Vietnam],eg=[_.ne.Indonesia],em=[_.ne.Vietnam],eA="/ai-doctor",eO=30;_.ne.Indonesia,_.ne.Vietnam,_.ne.PhilippinesEnglish,_.ne.PhilippinesTagalog,_.ne.Malaysia,_.ne.Thailand,_.ne.Cambodia,_.ne.Myanmar,_.ne.India,_.ne.Taiwan,_.ne.Singapore;let eS={[_.ne.Vietnam]:"HelloBacsi",[_.ne.Indonesia]:"HelloSehat",[_.ne.Malaysia]:"HelloDoktor",[_.ne.Cambodia]:"HelloKrupet",[_.ne.PhilippinesEnglish]:"HelloDoctorPH",[_.ne.Thailand]:"HelloKhunmor",[_.ne.Myanmar]:"HelloSayarwon",[_.ne.Taiwan]:"HelloYishi",[_.ne.India]:"HelloSwasthya",[_.ne.PhilippinesTagalog]:"HelloDoctorPH",[_.ne.Singapore]:"HelloJianKang"},ef={MOBILE:"Mobile",DESKTOP:"Desktop"},eP="duedate_leadgen_submit",eL=19,eC="MMM DD, YYYY",ey=[_.ne.Indonesia],eb={[_.ne.Vietnam]:"hellobacsi.com",[_.ne.Indonesia]:"hellosehat.com",[_.ne.Malaysia]:"hellodoktor.com",[_.ne.Cambodia]:"hellokrupet.com",[_.ne.PhilippinesEnglish]:"hellodoctor.com.ph",[_.ne.PhilippinesTagalog]:"hellodoctor.com.ph",[_.ne.Thailand]:"hellokhunmor.com",[_.ne.Myanmar]:"hellosayarwon.com",[_.ne.Taiwan]:"helloyishi.com.tw",[_.ne.India]:"helloswasthya.com",[_.ne.Singapore]:"hellojiankang.com"},eN="".concat(T,"/default-fruit-icon.svg");c.zY.DUE_DATE,c.zY.PWG;let eR={[_.ne.Vietnam]:{},[_.ne.Indonesia]:{},[_.ne.Malaysia]:{},[_.ne.Cambodia]:{},[_.ne.PhilippinesEnglish]:{},[_.ne.PhilippinesTagalog]:{},[_.ne.Thailand]:{},[_.ne.Myanmar]:{},[_.ne.Taiwan]:{},[_.ne.Singapore]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-supplement",heartHealth:"heart-health",sexualWellness:"sexual-health",healthyEating:"",skinHealth:""},[_.ne.India]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",diabetesEn:"en-diabetes",drug:"dawaai",sexualWellness:"sex-aur-relationship",healthyEating:"",skinHealth:""}},ev="#mantine-modal-target";_.ne.PhilippinesEnglish,_.ne.Thailand,_.ne.Malaysia,_.ne.Indonesia,_.ne.Myanmar,_.ne.Vietnam;let eG="hhg_guest_cart_id",eD={[_.ne.Indonesia]:"IDN",[_.ne.Vietnam]:"VNM",[_.ne.Malaysia]:"MYS"};_.ne.Taiwan,_.ne.Myanmar,_.ne.Malaysia,_.ne.Cambodia;let eM=[_.ne.Vietnam,_.ne.Indonesia,_.ne.Malaysia].includes("hi-IN"),eU=[_.ne.Cambodia,_.ne.India,_.ne.Taiwan,_.ne.Singapore],ew=80,eH="video_item_detail",eY="true"===E.NEXT_PUBLIC_VACCINATION_ENABLED,eB="https://m.me/hellobacsi?ref=w43585717",ex=[_.ne.PhilippinesEnglish,_.ne.PhilippinesTagalog],ek=[_.ne.Vietnam,_.ne.Malaysia];_.ne.Vietnam,_.ne.Malaysia},wYly:function(e,t,i){"use strict";i.r(t),i.d(t,{STATIC_PAGE_COMPONENTS:function(){return B},__N_SSP:function(){return Y},default:function(){return _staticSlug_}});var n=i("BGKE"),o=i("+OUp"),a=i("rBCA"),r=i("NaoI"),l=i("iBNF"),s=i("Rs7q"),c=i.n(s),_=i("ROQx"),p=i("q6HN"),E=i("Lo4g"),u=i("ZUAm"),d=i("ztij"),T=i("P+HS"),h=i("vH4S"),I=i("dDsW"),g=i("JOt+"),m=i("LSb+"),A=i("mYBQ"),O=i("6TRF"),S=i("AG8C"),f=i("8H0i"),P=i("oguI"),L=i("ZFu2"),C=i("RB7Y"),y=i("/tE8"),b=i("9brV"),N=(0,h.createStyles)(e=>({formLabel:{},errorLabel:{marginTop:8},selectItem:{'&[data-selected="true"]':{backgroundColor:e.colors.blue[0]}},submitBtn:{display:"block",margin:"0 auto"}})),R=i("TjCH");let v=(0,o.forwardRef)((e,t)=>{let{label:i,value:o,...a}=e;return(0,n.Y)("div",{ref:t,...a,children:(0,n.FD)(h.Flex,{align:"center",gap:8,children:[(0,n.Y)(R.F,{country:o,width:24,height:24}),(0,n.Y)(T.Text,{size:"p3",children:i})]},o)})}),SelectControl=e=>{let{defaultValue:t,value:i,onChange:a,...r}=e,[l,s]=(0,o.useState)(null);return(0,o.useEffect)(()=>{s(i||null)}
1,[i]),(0,n.Y)(T.Select,{...r,value:l,onChange:e=>{s(e),null==a||a(e)},icon:l&&(0,n.Y)(R.F,{width:16,height:16,country:l}),itemComponent:v})},G=(0,o.forwardRef)((e,t)=>{let{loading:i,countryCode:a,onSubmit:r,...l}=e,{classes:s,theme:c}=N(void 0,{name:"ContactUsTemplate__ContactForm"}),{formatMessage:_}=(0,I.A)(),{locale:p}=(0,S.$)(),E={name:"",email:"",country:a,phone:"",company:"",position:"",message:"",allowTerm:!1},u=(0,P.m)({validate:{name:(0,L.h)(_({id:"hhgContactPage.form.requireName",defaultMessage:"Please enter your name"})),email:e=>e?(0,y.DT)(e)?null:_({id:"hhgContactPage.form.requireValidMessage"}):_({id:"hhgContactPage.form.requireEmail",defaultMessage:"Please enter your email"}),country:(0,L.h)(_({id:"hhgContactPage.form.requireCountry",defaultMessage:"Please enter your country"})),company:(0,L.h)(_({id:"hhgContactPage.form.requireCompany",defaultMessage:"Please enter your company"})),position:(0,L.h)(_({id:"hhgContactPage.form.requirePosition",defaultMessage:"Please enter your position"})),message:(0,L.h)(_({id:"hhgContactPage.form.requireMessage",defaultMessage:"Please enter your message"})),phone:e=>e&&!(0,C.g0)(e)?_({id:"common.phone_invalid"}):null},initialValues:E});(0,o.useImperativeHandle)(t,()=>({reset:()=>{u.setValues(E)}})),(0,o.useEffect)(()=>{u.setFieldValue("country",a)},[a]);let d=f.m.map(e=>({label:e.countryName,value:e.countryCode}));return(0,n.Y)(h.Box,{...l,component:"form",onSubmit:u.onSubmit(e=>{let{allowTerm:t,...i}=e||{};r(i)}),children:(0,n.FD)(h.Grid,{children:[(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(T.Input,{label:(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,children:_({id:"hhgContactPage.form.name"})}),...u.getInputProps("name"),error:void 0}),u.getInputProps("name").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("name").error})]}),(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(T.Input,{label:(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,children:_({id:"hhgContactPage.form.email"})}),...u.getInputProps("email"),error:void 0}),u.getInputProps("email").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("email").error})]}),(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,sx:{display:"block",marginBottom:5},children:_({id:"hhgContactPage.form.phone"})}),(0,n.Y)(T.Phone,{defaultCountry:a,...u.getInputProps("phone")}),u.getInputProps("phone").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("phone").error})]}),(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(T.Input,{label:(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,children:_({id:"hhgContactPage.form.company"})}),...u.getInputProps("company"),error:void 0}),u.getInputProps("company").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("company").error})]}),(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(T.Input,{label:(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,children:_({id:"hhgContactPage.form.position"})}),...u.getInputProps("position"),error:void 0}),u.getInputProps("position").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("position").error})]}),(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(SelectControl,{label:(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,children:_({id:"hhgContactPage.form.country"})}),classNames:{item:s.selectItem},...u.getInputProps("country"),data:d,error:void 0}),u.getInputProps("country").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("country").error})]}),(0,n.FD)(h.Grid.Col,{span:12,children:[(0,n.Y)(T.TextArea,{label:(0,n.Y)(T.Text,{size:"p2",weight:"semiBold",className:s.formLabel,span:!0,children:_({id:"hhgContactPage.form.message"})}),...u.getInputProps("message"),error:void 0}),u.getInputProps("message").error&&(0,n.Y)(T.ErrorLabel,{className:s.errorLabel,label:u.getInputProps("message").error})]}),(0,n.Y)(h.Grid.Col,{span:12,children:(0,n.Y)(T.Checkbox,{label:(0,n.Y)(T.Text,{size:"p2",className:s.formLabel,as:"div",weight:"semiBold",dangerouslySetInnerHTML:{__html:_({id:"hhgContactPage.form.termOfService"},{term:e=>{var t;return'<a\n href="/static'.concat(null===b.CS||void 0===b.CS?void 0:null===(t=b.CS[p])||void 0===t?void 0:t[b.hj.TERM_OF_USE],'/"\n target="_blank"\n rel="noopener noreferrer"\n >\n ').concat(e,"\n </a>")}
1,privacy:e=>{var t;return'<a\n href="/static'.concat(null===b.CS||void 0===b.CS?void 0:null===(t=b.CS[p])||void 0===t?void 0:t[b.hj.PRIVACY_POLICY],'/"\n target="_blank"\n rel="noopener noreferrer"\n >\n ').concat(e,"\n </a>")}})}}),...u.getInputProps("allowTerm",{type:"checkbox"}),styles:{label:{cursor:"default",a:{color:c.fn.primaryColor()}}}})}),(0,n.Y)(h.Grid.Col,{span:12,children:(0,n.Y)(T.Button,{disabled:!u.getInputProps("allowTerm").value,type:"submit",size:"lg",loading:i,className:s.submitBtn,children:_({id:"hhgContactPage.form.submit"})})})]})})});G.displayName="ContactForm";var D=(0,h.createStyles)(e=>({root:{[e.fn.largerThan("sm")]:{display:"flex",flexDirection:"column",gap:12,paddingBottom:80}},inner:{position:"relative",[e.fn.smallerThan("sm")]:{marginTop:24,backgroundColor:"#2b85f3",paddingBottom:40,"&:before":{content:'""',position:"absolute",top:0,bottom:"50%",left:0,right:0,backgroundColor:"#fff"}},[e.fn.largerThan("sm")]:{"&:before":{content:'""',backgroundColor:"#2b85f3",position:"absolute",top:"10%",left:0,right:0,height:292}}}
1,innerContainer:{position:"relative",display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:40},[e.fn.largerThan("sm")]:{gap:120,justifyContent:"space-between"}},header:{[e.fn.largerThan("sm")]:{gap:32}},heading:{fontWeight:300,fontSize:(0,h.rem)(24),lineHeight:(0,h.rem)(32),[e.fn.largerThan("sm")]:{fontSize:(0,h.rem)(28),lineHeight:(0,h.rem)(40)}},logo:{width:120,height:120,[e.fn.smallerThan("sm")]:{display:"none"}},content:{backgroundColor:"#fff",boxShadow:"0px -4px 36px -8px rgba(39, 53, 66, 0.2), 0px 20px 36px -18px rgba(47, 61, 79, 0.3), 0px 30px 60px -12px rgba(60, 79, 97, 0.25)",padding:24,[e.fn.largerThan("sm")]:{maxWidth:480,padding:32}},info:{position:"absolute",zIndex:0,inset:0},infoInner:{"&[data-with-bg]":{backgroundColor:"#2b85f3"},height:292,width:"100%"},infoContainer:{display:"flex",justifyContent:"flex-end",alignItems:"center"},infoBoxWrapper:{[e.fn.largerThan("sm")]:{position:"relative",width:"100%"}},infoBox:{color:"#fff",width:"100%",[e.fn.largerThan("sm")]:{position:"absolute",inset:0,top:"10%",display:"flex",flexDirection:"column",justifyContent:"center",height:292}},contactInfo:{textTransform:"uppercase",fontWeight:700,lineHeight:(0,h.rem)(24)},contactEmail:{color:"#fff",fontSize:(0,h.rem)(16),lineHeight:(0,h.rem)(24)},emailIcon:{width:24,height:24,marginRight:8,display:"inline-block",verticalAlign:"middle"}})),M=i("iZSu");let U={[M.ne.Vietnam]:"[email protected]",[M.ne.Malaysia]:"[email protected]",[M.ne.Indonesia]:"[email protected]",[M.ne.PhilippinesEnglish]:"[email protected]",[M.ne.PhilippinesTagalog]:"[email protected]",[M.ne.Thailand]:"[email protected]",[M.ne.Taiwan]:"[email protected]",[M.ne.Cambodia]:"[email protected]",[M.ne.Singapore]:"[email protected]",[M.ne.Myanmar]:"[email protected]",[M.ne.India]:"[email protected]"};var w=i("Imrq"),H=i("a5L+"),Y=!0;let B={[b.hj.CONTACT_US]:()=>{let{formatMessage:e}=(0,I.A)(),{locale:t}=(0,S.$)(),i=t.split("-"),a=i[1],{classes:r}=D(void 0,{name:"ContactUsTemplate"}),[l,s]=(0,o.useState)(!1),[c,_]=(0,o.useState)(!1),E=U[t],u=(0,o.useRef)(null),handleCloseSuccess=()=>{var e;_(!1),null===(e=u.current)||void 0===e||e.reset()},onSubmit=async t=>{try{s(!0);let e=await (0,g.callApiNew)(m.PATHS.COMMON.POST_HHG_CONTACT_FORM,{method:"POST",data:{...t},headers:{Authorization:"Basic aGhnX2FkbWluX2NvbnRhY3Q6M1hPd1ZuV0xSb1cmV2VlMjM5clNIM1ps",Cookie:"hhg_content_feedback_user=5854396e273012d851d92ad2fa5d980b"}});if(null==e?void 0:e.success)_(!0);else throw Error("Failed Submit")}catch(t){(0,A.showNotification)({message:e({id:"notify.error.message",defaultMessage:"Ä\xe3 xảy ra lá»i, vui l\xf2ng thá» lại"}),type:"danger"})}finally{s(!1)}};return(0,n.Y)(T.TemplateProvider,{variant:T.CustomStylesType.LEADGEN,children:(0,n.FD)(n.FK,{children:[(0,n.FD)(h.Box,{className:r.root,children:[(0,n.Y)(p.m,{children:(0,n.FD)(h.Flex,{className:r.header,align:"center",justify:"space-between",children:[(0,n.Y)("h1",{className:r.heading,children:e({id:"hhgContactPage.description"})}),(0,n.Y)("img",{className:r.logo,loading:"lazy",src:d.C.getAssetPath("hhgContactPage/logo.webp"),alt:e({id:"hhgContactPage.description"})})]})}),(0,n.Y)(h.Box,{className:r.inner,children:(0,n.FD)(p.m,{className:r.innerContainer,children:[(0,n.Y)(G,{ref:u,countryCode:a,className:r.content,loading:l,onSubmit:onSubmit}),(0,n.Y)(h.Box,{className:r.infoBoxWrapper,children:(0,n.FD)(h.Stack,{spacing:16,className:r.infoBox,children:[(0,n.Y)(h.Box,{className:r.contactInfo,children:e({id:"hhgContactPage.form.extendInfo"})}),(0,n.FD)(h.Box,{component:"a",href:"mailto:".concat(E),className:r.contactEmail,children:[(0,n.Y)("img",{className:r.emailIcon,loading:"lazy",src:d.C.getAssetPath("hhgContactPage/email.svg"),alt:e({id:"hhgContactPage.description"})}),(0,n.FD)("span",{children:[" ",E]})]})]})})]})})]}),(0,n.Y)(T.Modal,{opened:c,onClose:handleCloseSuccess,children:(0,n.Y)(O.p,{description:e({id:"hhgContactPage.successSubmit",defaultMessage:"Thank you for contacting us. Your request has been submitted successfully. We will respond as soon as possible."}),ctaText:e({id:"babyVaccineTool.closeBtn"}),onClose:handleCloseSuccess})})]})})}},x=[b.hj.CONTACT_US];var _staticSlug_=e=>{var t;let{page:i,data:a,footerInfo:r,dataNavMenuContent:l}=e,{router:{asPath:s}}=(0,S.$)(),d=(0,H.a)(),{postContent:T,postTitle:h,outlinesLink:I,meta_tag:g}=(0,_.F$)(a),[m,A]=(0,o.useState)(""),O=I.length>0,f=!i||x.includes(i),P=f&&(t=i)?B[t]:null;return(0,n.FD)(n.FK,{children:[(0,n.Y)(w.s,{title:h,SEOData:{isIndexable:!0,apiMetaData:g},footerInfo:r,dataNavMenuContent:l,children:(0,n.FD)(k,{"data-normal-page":!f,"data-type-mobile":d,children:[(0,n.Y)(p.m,{children:(0,n.Y)(E.s,{pageItem:[{label:h,value:s}]})}),P?(0,n.Y)(P,{}):(0,n.Y)(p.m,{children:(0,n.FD)(V,{children:[O&&(0,n.Y)(F,{children:(0,n.FD)("div",{className:"sticky",children:[(0,n.Y)("div",{className:"header",id:"#",children:(0,n.Y)("h1",{children:h})}),(0,n.Y)(K,{children:I.map((e,t)=>(0,n.Y)("a",{href:"#".concat(e.id),onClick:()=>A(e.id),children:(0,n.Y)("div",{className:"item-inner","data-tag":e.tag,"data-is-active":e.id===m&&!d,children:e.link})},t))})]})}),(0,n.FD)(z,{children:[O?null:(0,n.Y)("div",{className:"header",children:(0,n.Y)("h1",{children:h})}),(0,n.Y)("div",{className:"content","data-is-has-outlines":O,dangerouslySetInnerHTML:{__html:T}})]})]})}),(0,n.Y)(u.default,{})]})}),d&&(0,n.Y)("a",{href:"#",children:(0,n.Y)(X,{id:"floatBtn",children:(0,n.Y)(c(),{})})})]})};let k=(0,a.A)("div",{target:"ewmpzw60"})("&[data-normal-page='true']{scroll-behavior:smooth;*{scroll-margin-top:40px;",r.M.mbUp,"{scroll-margin-top:",b.cD,"px;}}&[data-type-mobile='false']{padding:0 16px;}.breadcrumbs{padding-top:24px;padding-bottom:13px;font-weight:normal;}p{margin-bottom:14px;font-weight:400;font-size:16px;line-height:26px;color:",l.w.colors.gray600,";}.header{h1{padding-bottom:12px;font-weight:700;font-size:28px;line-height:36px;letter-spacing:-0.8px;color:",l.w.colors.primaryBase,";}}.header-outline{h1{font-weight:700;font-size:28px;line-height:36px;letter-spacing:-0.8px;color:",l.w.colors.primaryBase,";}}.content{padding-bottom:175px;font-size:18px;line-height:1.74;h1{font-weight:700;font-size:40px;line-height:52px;letter-spacing:-1.2px;color:",l.w.colors.primaryBase,";}h2{margin:20px 0;font-weight:700;font-size:32px;line-height:42px;letter-spacing:-1px;color:",l.w.colors.gray800,";}h3{margin:20px 0;font-weight:700;font-size:28px;line-height:36px;letter-spacing:-0.8px;color:",l.w.colors.gray800,";}h4{margin:20px 0;text-decoration:underline;text-transform:none;}section{padding-top:30px;padding-bottom:5px;hr{height:1px;border:0;margin-bottom:1.5em;background-color:#fff;}}ul{padding:12px 4px 4px 36px;list-style:disc;background-color:",l.w.colors.gray50,";li{display:list-item;margin-bottom:6px;font-weight:400;font-size:16px;line-height:24px;color:",l.w.colors.gray600,";}}}",r.M.mbDown,"{.header{h1{color:",l.w.colors.primaryBase,";letter-spacing:-0.6px;font-size:22px;line-height:32px;}}.content{font-size:16px;h1{font-size:26px;line-height:34px;letter-spacing:-0.9px;}h2{font-size:24px;line-height:32px;letter-spacing:-0.8px;}h3{font-size:20px;line-height:26px;letter-spacing:-0.7px;}}}}"),V=(0,a.A)("div",{target:"ewmpzw61"})("display:flex;gap:16px;flex-direction:row;width:100%;",r.M.mbDown,"{flex-direction:column;}"),F=(0,a.A)("div",{target:"ewmpzw62"})(".sticky{position:sticky;top:84px;display:flex;flex-direction:column;max-height:100vh;}width:100%;max-width:412px;padding:24px 4px 24px 24px;border-right:1px solid ",l.w.colors.neutral100,";",r.M.mbDown,"{width:100%;border:none;padding:0;}"),z=(0,a.A)("div",{target:"ewmpzw63"})("display:flex;flex-direction:column;padding:0 24px;width:100%;&[data-is-has-outlines='true']{width:62%;}",r.M.mbDown,"{padding:0;}"),K=(0,a.A)("div",{target:"ewmpzw64"})("display:flex;gap:4px;flex-direction:column;width:100%;overflow-x:auto;height:100%;",r.M.mbDown,"{background-color:",l.w.colors.neutral50,";height:100%;}a{text-decoration:none;}.item-inner{padding:8px 16px;margin-right:24px;",l.w.colors.neutral100,";text-decoration:none;font-weight:600;font-size:18px;line-height:24px;color:",l.w.colors.gray800,";&[data-is-active='true']{background:#f2f2f2;border-radius:4px;}&[data-tag='h3']{padding-left:40px;font-size:16px;line-height:22px;}&[data-tag='h4']{padding-left:56px;font-size:14px;line-height:22px;}&[data-tag='h5']{padding-left:72px;font-size:14px;line-height:20px;}&[data-tag='h6']{padding-left:84px;font-size:12px;line-height:20px;}}"),X=(0,a.A)("div",{target:"ewmpzw65"})("position:fixed;background:",l.w.colors.primary50,";display:flex;opacity:0.7;bottom:80px;right:16px;width:48px;height:48px;border-radius:4px;justify-content:center;align-items:center;svg > path{fill:none;stroke:",l.w.colors.gray600,";}")},AuMj:function(e,t,i){"use strict";i.d(t,{VD:function(){return ArticleStoreProvider},NP:function(){return useArticleStore}});var n,o,a=i("BGKE"),r=i("+OUp"),l=i("sEfC"),s=i.n(l),c=i("oWg6"),_=i("VNqU");(n=o||(o={}))[n.traditional=0]="traditional",n[n.simplified=1]="simplified";let p=["small","medium","large"],E=(0,r.createContext)(null),createArticleStore=e=>(0,c.y)((t,i)=>({articles:[],bookmarkIds:[],chineseTranslate:o.traditional,currentArticle:null,currentProgress:0,fontSize:"small",isBookmarked:!1,isCommentPopupOpen:!1,isLiked:!1,isDisliked:!1,totalComment:0,categories:[],...e||{},addToArticles:e=>{!e||i().articles.find(t=>e.id===t.id)||t({articles:i().articles.concat(e)})},addToBookmark:e=>t({isBookmarked:!0,bookmarkIds:[...i().bookmarkIds,e]}),removeBookmark:e=>{let n=i().bookmarkIds.filter(t=>t!==e);t({isBookmarked:!1,bookmarkIds:n})},setArticles:e=>t(t=>({articles:"function"==typeof e?e(t.articles):e})),setBookmarkIds:e=>{t({bookmarkIds:e})},setChineseTranslate:e=>t({chineseTranslate:e}),setCurrentArticle:s()(e=>t({currentArticle:e}),300),setCurrentProgress:e=>t({currentProgress:e}),cycleFontSize:()=>t({fontSize:function(e,t){let i=e.indexOf(t);return i===e.length-1?e[0]:e[i+1]}(p,i().fontSize)}),setIsBookmarked:e=>t({isBookmarked:e}),setIsCommentPopupOpen:e=>t({isCommentPopupOpen:e}),setIsLiked:e=>t({isLiked:e}
1),setIsDisliked:e=>t({isDisliked:e}),setTotalComment:e=>t({totalComment:e}),setCategories:e=>t({categories:e}),setShowDictionaryShortcutBtn:e=>t({showDictionaryShortcutBtn:e})})),ArticleStoreProvider=e=>{let{init:t,refreshKey:i,children:n}=e,o=(0,r.useRef)(createArticleStore(t)),l=o.current;return(0,r.useEffect)(()=>{i&&o.current.setState(t)},[i]),(0,a.Y)(E.Provider,{value:l,children:n})},useArticleStore=(e,t)=>{let i=(0,r.useContext)(E),n=(0,_.Pj)(i,e,t);return n}},imPi:function(e,t,i){"use strict";i.d(t,{$:function(){return l}});var n=i("Sn6X"),o=i.n(n),a=i("KYiY"),r=i.n(a);let l=o().extend(r())},"69Ac":function(e,t,i){"use strict";i.d(t,{OF:function(){return cleanLink},fQ:function(){return normalizeText},jt:function(){return wrapPlainTextAsHtmlParagraph}}),i("bPK4"),i("/sjq"),i("9brV");let escapeHtml=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),wrapPlainTextAsHtmlParagraph=e=>"<p>".concat(escapeHtml(e.trim()),"</p>");function cleanLink(e){return e.split("?")[0].split("/").filter((e,t)=>0===t||!!e).join("/")+"/"}function normalizeText(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim()}},d30B:function(e,t,i){var n=i("+OUp");function Info(e){return n.createElement("svg",e,[n.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",fill:"#2D87F3",key:0}),n.createElement("path",{d:"M8 11V8",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",key:1}),n.createElement("path",{d:"M8 5H8.01",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",key:2})])}Info.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e.exports=Info,Info.default=Info},hvR8:function(e,t,i){var n=i("+OUp");function Danger(e){return n.createElement("svg",e,[n.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"#262626",key:0}),n.createElement("path",{d:"M14.8286 9.17163L9.17176 14.8285",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",key:1}),n.createElement("path",{d:"M9.17139 9.17163L14.8282 14.8285",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",key:2})])}Danger.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.exports=Danger,Danger.default=Danger},X1xk:function(e,t,i){var n=i("+OUp");function Success(e){return n.createElement("svg",e,[n.createElement("path",{d:"M10.0001 18.3334C14.6025 18.3334 18.3334 14.6024 18.3334 10C18.3334 5.39765 14.6025 1.66669 10.0001 1.66669C5.39771 1.66669 1.66675 5.39765 1.66675 10C1.66675 14.6024 5.39771 18.3334 10.0001 18.3334Z",fill:"#00B16A",key:0}),n.createElement("path",{d:"M13.8333 7.5L8.33325 12.5L5.83325 10.2273",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",key:1})])}Success.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e.exports=Success,Success.default=Success},l0B8:function(e,t,i){var n=i("+OUp");function Warning(e){return n.createElement("svg",e,n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.66666C5.4 1.66666 1.66667 5.39999 1.66667 9.99999C1.66667 14.6 5.4 18.3333 10 18.3333C14.6 18.3333 18.3333 14.6 18.3333 9.99999C18.3333 5.39999 14.6 1.66666 10 1.66666ZM10 10.8333C9.54167 10.8333 9.16667 10.4583 9.16667 9.99999V6.66666C9.16667 6.20832 9.54167 5.83332 10 5.83332C10.4583 5.83332 10.8333 6.20832 10.8333 6.66666V9.99999C10.8333 10.4583 10.4583 10.8333 10 10.8333ZM9.16667 12.5V14.1667H10.8333V12.5H9.16667Z",fill:"#FE921D"}))}Warning.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e.exports=Warning,Warning.default=Warning},Rs7q:function(e,t,i){var n=i("+OUp");function ArrowUp(e){return n.createElement("svg",e,n.createElement("path",{d:"M1 5L5 1L9 5",stroke:"#FC5D9A",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}))}ArrowUp.defaultProps={width:"10",height:"6",viewBox:"0 0 10 6",fill:"none"},e.exports=ArrowUp,ArrowUp.default=ArrowUp}},function(e){_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce(function(e,t){return t("3546",e),e},[])).then(function(){return e.X(0,[7393,7381,5008,1509,2277,8287,2794,4335,1466,9885,5232,7995,6941,3001,6600,2897,8376,2486,8156,9
1187,8e3,8183,5512,5859,1704,6436,3664,4555,3359,2654,6983,3028,7469,3069,7491,873,9106,636,8792],function(){return e(e.s="ujEg")})})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.