"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[106],{wWMa:function(e,t,n){n.r(t),n.d(t,{AdBlock:function(){return D.A},AddressInput:function(){return er.A},Alert:function(){return o.A},AnsweredByDoctor:function(){return D.y},ArticleCard:function(){return S.T},ArticleCardV2:function(){return P.T},ArticleDetailCard:function(){return eu.A},AuthorBadge:function(){return g.A},Avatar:function(){return r.A},BMICardEmbed:function(){return F.q},BMI_STORAGE_IMPERIAL_LOCALES:function(){return D.z},BMRCardEmbed:function(){return X.l},BabyGrowthCardEmbed:function(){return Y.h},BabyPoopEmbed:function(){return K.f},BabyPoopForm:function(){return j.B},BabyVaccineCardEmbed:function(){return $.I},BabyVaccineForm:function(){return Q.B},Badge:function(){return o.B},BmiForm:function(){return W.B},BmiNewsletterCheckbox:function(){return W.N},BmiQuestion1Label:function(){return W.Q},BmiQuestion2Description:function(){return W.b},BmiQuestion2Label:function(){return W.a},BookingBtn:function(){return g.B},BorderHeading:function(){return o.a},Breadcrumbs:function(){return D.B},BtnChoice:function(){return E.B},Button:function(){return i.B},CardCollapse:function(){return o.C},CardListItem:function(){return D.q},CartCareButton:function(){return L.C},CategoryCard:function(){return D.C},CertificateItem:function(){return D.t},Checkbox:function(){return a.C},CheckboxGroup:function(){return D.a},ClinicInfo:function(){return eu.C},CollectPhoneForm:function(){return eu.b},Container:function(){return l.C},CookieAcceptConfirm:function(){return D.e},CustomReferenceDot:function(){return I.C},DUE_DATE_METHOD:function(){return x.a},DatePicker:function(){return D.D},DateRangePicker:function(){return D.g},DistanceTag:function(){return r.D},Divider:function(){return u.D},DoctorExpertise:function(){return eu.D},DoctorExpertiseItem:function(){return ea.D},DoctorInfo:function(){return D.d},DoctorInfoExpertise:function(){return ea.a},DragFreeCarousel:function(){return o.D},Drawer:function(){return c.D},DrawerBottom:function(){return O.D},DrawerComponent:function(){return R.D},Dropdown:function(){return H.D},DueDateCardEmbed:function(){return V.w},DueDateForm:function(){return x.D},EGender:function(){return eu.c},EPopupCollectPhoneStep:function(){return eu.E},EPopupRequestConsultationStep:function(){return eu.e},FILE_UPLOAD_ACCEPTED_RATIOS:function(){return o.f},FILE_UPLOAD_ACCEPTED_TYPES:function(){return o.g},FileDropdown:function(){return o.F},FitnessToolUnitPicker:function(){return W.F},FixedBottomAdBlock:function(){return D.l},Flag:function(){return d.F},FloatButtonGroup:function(){return D.F},Footer:function(){return ec.F},GenderOptionControl:function(){return C.G},GeneralInfo:function(){return D.G},Grid:function(){return o.G},HPVScreener:function(){return D.H},Heading:function(){return s.H},HealthToolCardWrapper:function(){return G.H},HealthToolDefaultLayout:function(){return W.H},HospitalInfo:function(){return eu.H},HtmlContent:function(){return o.H},Icon:function(){return m.I},IconHeading:function(){return o.I},IconText:function(){return D.I},IconWrapper:function(){return r.I},ImageUpload:function(){return o.e},ImageWrap:function(){return T.I},ImageWrapV2:function(){return a.I},Input:function(){return p.I},InputDate:function(){return b.I},InsuranceList:function(){return ea.I},Label:function(){return p.L},LanguageSwitcher:function(){return en.L},List:function(){return D.L},ListContext:function(){return D.n},Loading:function(){return y.L},Logo:function(){return v.L},LogoIcon:function(){return A.L},MAPPING_CATEGORY_PREMIUM_API_TYPE:function(){return ei.a},MAPPING_CATEGORY_PREMIUM_TYPE:function(){return ei.M},MAX_RATING:function(){return D.x},MobileBottomNavigation:function(){return B.K},MobileBottomNavigationIcon:function(){return U.M},Modal:function(){return k.M},ModalGallery:function(){return D.M},ModalGalleryProvider:function(){return D.s},NavigationLogoutPopup:function(){return ed.F},NavigationProfileButton:function(){return es.N},NavigationV2:function(){return el.N},OvulationCardEmbed:function(){return Z.$},OvulationForm:function(){return J.O},PWGCardEmbed:function(){return ee.z},PWGForm:function(){return et.P},Pagination:function(){return a.P},PaymentList:function(){return ea.P},PillCarousel:function(){return eo.P},Popup:function(){return N.P},PopupBoostArticleCard:function(){return D.P},PopupBoostPageView:function(){return D.k},PopupCollectPhone:function(){return eu.P},PopupRequestConsultation:function(){return eu.g},ProductInsuranceInfo:function(){return eu.h},ProfileNavigation:function(){return em.l},ProgressBar:function(){return w.k},PureInput:function(){return a.a},QuickFilter:function(){return D.Q},QuickFilterWrapLine:function(){return D.p},Radio:function(){return o.R},RadioGroup:function(){return D.R},RadioImageGroup:function(){return f.R},RateStars:function(){return o.b},RatingStars:function(){return D.v},RatingStarsInput:function(){return D.w},RequestConsultationForm:function(){return eu.R},RequestConsultationSuccess:function(){return eu.d},ScrollList:function(){return D.S},SearchInput:function(){return a.b},SeoHead:function(){return D.f},ShareContainer:function(){return D.h},ShareDrawer:function(){return D.j},SideBannerModal:function(){return ei.b},SideMenu:function(){return D.i},SiteWideBanner:function(){return en.S},StatisticCard:function(){return D.b},StepRenderer:function(){return o.S},StepRendererContext:function(){return o.d},StyledSearchIcon:function(){return a.S},SummaryInfo:function(){return D.m},SurveyOrPremiumBanner:function(){return ei.S},SurveyQuestionCard:function(){return M.S},SurveyThankyouCard:function(){return M.a},THRCardEmbed:function(){return q.M},Table:function(){return D.c},Tabs:function(){return D.T},Tag:function(){return o.T},Text:function(){return _.T},TextArea:function(){return h.T},ThrForm:function(){return z.T},Toggle:function(){return o.c},ToolsBannerCard:function(){return G.T},UserProfileNavigation:function(){return eu.U},UserProfileNavigationHeader:function(){return eu.N},UserProfileNavigationStats:function(){return eu.a},VideoItem:function(){return en.V},VideoPlayerModal:function(){return en.a},VoucherItem:function(){return D.V},WidgetChatbotAi:function(){return D.W},formPhoneType:function(){return eu.f},formatHelloWellness:function(){return el.f},formatHelloWellnessSettings:function(){return el.b},formatSiteWideBanner:function(){return D.J},getBmiPersistedUnitSystem:function(){return D.E},getNavMenuContent:function(){return el.g},getNavMenuContentWithCache:function(){return el.a},useList:function(){return D.o},useListContext:function(){return D.u},useModalGalleryContext:function(){return D.r}});var o=n("2Hkr"),r=n("2FJ2"),i=n("w3RM"),a=n("jgim"),l=n("sdp3"),u=n("dirz"),c=n("TFkV"),d=n("erMh"),s=n("iYxA"),m=n("Epq8"),p=n("3Hk+"),v=n("4SxB"),f=n("xq1D"),_=n("gb+m"),h=n("Qgov"),g=n("D6N3"),E=n("TRbm"),I=n("GB9d"),T=n("yPD6"),A=n("70a7"),C=n("40rS"),y=n("OHnv"),L=n("5/AT"),R=n("rWXb"),O=n("uI14"),b=n("BDyp"),S=n("Ztav"),P=n("qvfm"),D=n("HE7o"),H=n("eq3H"),N=n("bi52"),k=n("EjKF"),w=n("e6Kn"),M=n("r/Pn"),B=n("QcYj"),U=n("wPpJ"),G=n("Idrk"),x=n("bHfH"),V=n("h+21"),F=n("2W4F"),W=n("QSUB"),Y=n("Pi6y"),K=n("e5PB"),j=n("2Y14"),q=n("/FLf"),z=n("FnT2"),X=n("KFz6"),Z=n("t0Yg"),J=n("Q+e3"),Q=n("yqjd"),$=n("n4nW"),ee=n("XJ7Q"),et=n("j1kH"),en=n("oMaY"),eo=n("UTGV"),er=n("SEud"),ei=n("5iFf"),ea=n("gfxy"),el=n("P33v"),eu=n("O+bX"),ec=n("aVPM"),ed=n("hPj0"),es=n("Turv"),em=n("QHxc");n("q1tI"),n("rBCA"),n("yVya"),n("Wgwc"),n("xXM3"),n("JIJ2"),n("NmYn"),n("gY0P"),n("rSBk"),n("ns0B"),n("qgJC"),n("DzJC"),n("sm25"),n("KLKL"),n("mwIZ"),n("sEfC"),n("i8i4"),n("TYy9"),n("qPyV"),n("QgiU"),n("E+oP")},zN3i:function(e,t,n){n.d(t,{C:function(){return d},I:function(){return i},L:function(){return o},M:function(){return l},S:function(){return a},a:function(){return r},c:function(){return m}});let o={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"},"ms-MY":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"th-TH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"}},r=-1,i=-2;(u=d||(d={})).GSK="gsk",u.ROCHE="roche",u.MSD="msd",(c=s||(s={})).GSK="gsk",c.ROCHE="roche",c.MSD="spesialis";let a="vaksin-rotavirus",l={"vi-VN":{gsk:s.GSK,msd:s.MSD},"id-ID":{gsk:s.GSK,msd:s.MSD},"en-PH":{},"zh-TW":{},"ms-MY":{},"tl-PH":{},"th-TH":{}};var u,c,d,s,m=Object.freeze({__proto__:null,basePath:"/care",LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"},"zh-SG":{id:11,name:"China"}},LOCALIZED_SLUGS:o,ID_OPTION_CURRENT_LOCATION:r,ID_OPTION_ALL_LOCATION:i,get CLIENT_KEY(){return d},get SLUG_CLIENT_KEY(){return s},SLUG_VACIN_ID:a,MAPPING_CLIENT_WITH_SLUG:l})},jbVx:function(e,t,n){n.d(t,{I:function(){return o}});let o={height:{min:1,max:300},weight:{min:1,max:200},pregnantWeek:{min:1,max:40}}},grDz:function(e,t,n){n.d(t,{C:function(){return u},L:function(){return d}});var o,r,i=n("GOBr"),a=n("yNk5");let l="vi-VN";a.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,a.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID;let u="care",c={"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"};i.y,c[l],i.y?c[l]:c[l],a.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==a.env.NEXT_PUBLIC_TOGETHER_API_URL?a.env.NEXT_PUBLIC_TOGETHER_API_URL:c[l],a.env.NEXT_PUBLIC_SSO_URL,(o=r||(r={}))[o.FEMALE=0]="FEMALE",o[o.MALE=1]="MALE",o[o.ANY=2]="ANY";let d={"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}}},zHfJ:function(e,t,n){n.d(t,{B:function(){return c},D:function(){return i},H:function(){return l},L:function(){return f},M:function(){return p},P:function(){return r},R:function(){return m},a:function(){return a},b:function(){return d},c:function(){return _},d:function(){return s}});var o=n("tiO5");let r="dd/MM/yyyy",i="/images/avatar.jpg",a="/images/default-image.jpg",l={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},u={"id-ID":{"kalkulator-bmi":l.BMI,"kebutuhan-kalori":l.BMR,"kalkulator-hari-perkiraan-lahir":l.DUE_DATE,"kalkulator-masa-subur-2":l.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":l.PWG,"kalkulator-detak-jantung-saat-olahraga":l.THR},"ms-MY":{"kalkulator-bmi":l.BMI,"kalkulator-bmr":l.BMR,"kalkulator-tarikh-bersalin":l.DUE_DATE,"kalkulator-kesuburan":l.OVULATION,"kalkulator-tambah-berat-badan-hamil":l.PWG,"target-heart-rate-calculator":l.THR},"vi-VN":{"cach-tinh-chi-so-bmi":l.BMI,"tinh-chi-so-bmr":l.BMR,"cong-cu-tinh-ngay-du-sinh":l.DUE_DATE,"tinh-ngay-rung-trung":l.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":l.PWG,"cong-cu-do-nhip-tim":l.THR},"zh-TW":{"bmi-calculator":l.BMI,"bmr-calculator":l.BMR,"due-date-calculator":l.DUE_DATE,"ovulation-calculator":l.OVULATION,"pregnancy-weight-gain-calculator":l.PWG,"target-heart-rate-calculator":l.THR},"en-PH":{"bmi-calculator":l.BMI,"bmr-calculator":l.BMR,"due-date-calculator":l.DUE_DATE,"ovulation-calculator":l.OVULATION,"pregnancy-weight-gain-calculator":l.PWG,"target-heart-rate-calculator":l.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":l.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":l.BMR,เครื่องมือคำนวณกำหนดคลอด:l.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":l.OVULATION,เครื่องคำนวณน้ำหนักตัว:l.PWG,เครื่องวัดอัตราการเต้น:l.THR},"hi-IN":{"bmi-calculator-en":l.BMI,"bmi-calculator":l.BMI,"bmr-calculator":l.BMR,"delivery-date-calculator":l.DUE_DATE,"ovulation-calculator":l.OVULATION,"pregnancy-weight-gain-calculator":l.PWG,"target-heart-rate-calculator":l.THR},"km-KH":{"គណនា-bmi":l.BMI,"គណនា-bmr":l.BMR,គណនាថ្ងៃសម្រាលកូន:l.DUE_DATE,គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់:l.OVULATION,គណនាទម្ងន់ស្ត្រីពពោះ:l.PWG,គណនារកចង្វាក់បេះដូងល្អ:l.THR},"my-MM":{"bmi-calculator":l.BMI,"bmr-calculator":l.BMR,"due-date-calendar":l.DUE_DATE,"ovulation-calculator":l.OVULATION,"pregnaancy-weight-calculator":l.PWG,"target-heartrate":l.THR,"pregnancy-weight-calculator":l.PWG,"target-heart-rate":l.THR}},c="hhg_user_token",d="together_admin_token",s="hhg-id",m={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},p=20,v={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",CART:"cart"},f={[o.L.PhilippinesEnglish]:v,[o.L.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",CART:"gio-hang"},"id-ID":{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",CART:"keranjang"},[o.L.Taiwan]:v,[o.L.Malaysia]:v,[o.L.Thailand]:v};var _=Object.freeze({__proto__:null,POST_DATE_FORMAT:r,NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:"DD/MM/YYYY",DEFAULT_AVATAR_IMG:i,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:a,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:l,LOCALE_HEALTH_TOOLS:u,BEARER_TOKEN_COOKIE:c,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:d,Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:s,GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:m,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:p,LOCALISED_SLUGS:f})},BYfT:function(e,t,n){n.d(t,{D:function(){return i},T:function(){return o},Z:function(){return r},a:function(){return a}});let o={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},r={adBlock:48,headerContainerHome:99,headerContainerPopup:300,headerContainerPopupSUbLevel:400,menuCategoryPopupWrapper:200,menuCategoryPopupContainer:210,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:300,homeSearchComponent:200},i=56,a=60},xrdX:function(e,t,n){n.d(t,{f:function(){return i},v:function(){return r}});var o=n("tiO5");let r={"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","zh-SG":"hellojiankang.com","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},i={[o.L.Vietnam]:"hellobacsi.com",[o.L.Indonesia]:"hellosehat.com",[o.L.Malaysia]:"hellodoktor.com",[o.L.Cambodia]:"hellokrupet.com",[o.L.PhilippinesEnglish]:"hellodoctor.com.ph",[o.L.PhilippinesTagalog]:"hellodoctor.com.ph",[o.L.Thailand]:"hellokhunmor.com",[o.L.Myanmar]:"hellosayarwon.com",[o.L.Taiwan]:"helloyishi.com.tw",[o.L.India]:"helloswasthya.com",[o.L.Singapore]:"hellojiankang.com"}},GOBr:function(e,t,n){var o,r,i,a;n.d(t,{y:function(){return u}});let l="undefined"!=typeof window&&null!==(a=null===(i=null==(r=null===(o=null==window?void 0:window.location)||void 0===o?void 0:o.href)?void 0:r.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===i?void 0:i[1])&&void 0!==a?a:"";l.split(".");let u=!0},UIg8:function(e,t,n){n.d(t,{n:function(){return i},t:function(){return o}});var o,r=n("tiO5");(o||(o={})).HPV="hpv";let i={[r.L.Vietnam]:{[o.HPV]:"hpv-vaccine"},[r.L.Indonesia]:{[o.HPV]:"deteksi-dini-hpv"}}},tiWT:function(e,t,n){n.d(t,{Cf:function(){return r},Z5:function(){return a},x9:function(){return i}});var o=n("tiO5");let r={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",HELLO_JIANKANG:"hellojiankang.com"},i={HELLO_HEALTH_GROUP:{lng:o.L.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.L.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.L.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.L.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.L.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.L.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.L.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.L.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.L.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.L.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.L.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},HELLO_JIANKANG:{lng:o.L.Singapore,ns:"translation",name:"Hello Jiankang",theme:"hellosite",dayjs:"zh-sg",phoneCountry:"SG",siteId:1},MARRY_BABY:{lng:o.L.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},a={[o.L.Vietnam]:"₫",[o.L.Indonesia]:"Rp",[o.L.Malaysia]:"RM",[o.L.Cambodia]:"៛",[o.L.PhilippinesEnglish]:"₱",[o.L.PhilippinesTagalog]:"₱",[o.L.Thailand]:"฿",[o.L.Myanmar]:"K",[o.L.Taiwan]:"$",[o.L.India]:"₹",[o.L.Singapore]:"S$"}},vffg:function(e,t,n){n.d(t,{C:function(){return r}});var o=n("q1tI");let r=(0,o.createContext)({})},"4E/h":function(e,t,n){n.d(t,{g:function(){return getDataWithCache}});var o=n("mHfz"),r=n("GOBr");let i={},getCachedItem=e=>{if("undefined"==typeof window)return i[e];{let t;try{t=JSON.parse(localStorage.getItem((r.y?"":"staging_")+"hhg-cache-"+e)||"{}")}catch(e){}return t||{}}},setCachedItem=(e,t)=>{try{"undefined"!=typeof window?localStorage.setItem((r.y?"":"staging_")+"hhg-cache-"+e,JSON.stringify({data:t,time:Date.now()})):i[e]={data:t,time:Date.now()}}catch(e){}},getDataWithCache=(e,t,n,r=9e5)=>(0,o.a)(void 0,void 0,void 0,function*(){let i=getCachedItem(e);if(null==i?void 0:i.data)return setTimeout(()=>(0,o.a)(void 0,void 0,void 0,function*(){if(i.time&&Date.now()-i.time>r&&t){let o=yield t();(!n||n(o))&&setCachedItem(e,o)}}),0),i.data;if(t){let o=yield t();return(!n||n(o))&&setCachedItem(e,o),o}return null})},vWxJ:function(e,t,n){n.d(t,{f:function(){return formatPill}});let formatPill=e=>e?{id:e.id,name:e.name||"",icon:e.fruit_icon||""}:{}},BYES:function(e,t,n){n.d(t,{a:function(){return formatCommunity},b:function(){return formatPost},c:function(){return formatUserProfileUrl},d:function(){return i},e:function(){return formatTopic},f:function(){return formatArticle},g:function(){return formatComment},h:function(){return formatCategory}});var o=n("mHfz");let formatAuthor=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},formatArticleExpert=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},formatSpotlightsSummary=e=>void 0!==e&&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}:null,formatArticleSubscriptionBanner=e=>{if(!e)return{};let{button_text:t,button_url:n,status:r,banner_desktop:i,banner_mobile:a}=e,l=(0,o._)(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:t||"",buttonUrl:n||"",status:!!r,bannerDesktop:i||"",bannerMobile:a||""},l)},r={EN:"English",FIL:"Filipino"},formatTranslateOptions=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map(t=>({label:t.toUpperCase() in r?r[t.toUpperCase()]:t.toUpperCase(),value:"/"===e[t].slice(-1)?e[t]:`${e[t]}/`})),formatArticle=e=>{var t,n,o,r;return e?{reviewed:e.reviewed,id:e.ID,postName:e.post_name,sponsor:e.sponsor?formatSponsor(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:formatAuthor(e.author),reviewer:e.reviewed_by&&formatAuthor(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:formatUserProfile(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.author),editor:formatUserProfile(null===(n=null==e?void 0:e.reviewed)||void 0===n?void 0:n.editor),expert:formatUserProfile(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:formatUserProfile(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:formatCategory(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(formatCategory),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:formatArticleExpert(e.expert),metaTag:e.meta_tag||null,spotlight:formatSpotlightsSummary(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:formatTranslateOptions(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:formatCategory(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:formatAuthor(e.edit_last),subscriptionBanner:formatArticleSubscriptionBanner(e.subscription_banner)}:{}},formatUserProfile=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,formatSponsor=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},formatReviewedCategory=e=>({postTitle:e.post_title,permalink:e.permalink}),formatCategory=e=>{var t,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?formatSponsor(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage: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(e=>formatCategory(e)))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(n=e.cat_parent)||void 0===n?void 0:n.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?formatReviewedCategory(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map(e=>formatFaqsCategory(e)):null}:{}},formatFaqsCategory=e=>({title:e.title,content:e.content}),formatHealthTool=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link.replace("/health-tools",""),subtitle:e.subtitle,title:e.title}:{},formatCommunity=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:!!e.joined,isActive:null===e.is_active||void 0===e.is_active||!!e.is_active,mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:!!e.is_hidden}:{},formatTopic=e=>{var t,n,o,r;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||0,description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(n=e.community)||void 0===n?void 0:n.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(r=e.community)||void 0===r?void 0:r.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||!!e.is_active,mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:!!e.is_hidden}:{}},formatExpertAnswer=e=>e?{answer:null==e?void 0:e.answer.map(formatComment),expert:null==e?void 0:e.expert}:{},formatPost=e=>{var t,n,o,r,i,a,l,u,c,d,s,m,p,v,f,_,h,g,E,I,T;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map(t=>{var n,o,r,i;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(n=e.community)||void 0===n?void 0:n.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(r=e.community)||void 0===r?void 0:r.slug)||"",communityName:(null===(i=e.community)||void 0===i?void 0:i.name)||"",isHidden:!!t.is_hidden,isActive:!0}}))||[],community:{id:(null===(n=e.community)||void 0===n?void 0:n.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(r=e.community)||void 0===r?void 0:r.slug)||"",isActive:!0,isHidden:!!(null===(i=e.community)||void 0===i?void 0:i.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",name:(null===(c=e.user)||void 0===c?void 0:c.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(s=e.user)||void 0===s?void 0:s.role)?null===(p=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(v=e.user)||void 0===v?void 0:v.type)||"",partnerId:(null===(f=e.user)||void 0===f?void 0:f.partner_id)?String(null===(_=e.user)||void 0===_?void 0:_.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(g=e.user)||void 0===g?void 0:g.doctor_id)?String(null===(E=e.user)||void 0===E?void 0:E.doctor_id):"",hospitalId:(null===(I=e.user)||void 0===I?void 0:I.hospital_id)?String(null===(T=e.user)||void 0===T?void 0:T.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:!!e.bookmarked,mentions:e.mentions||[],commented:!!e.commented,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:formatExpertAnswer(null==e?void 0:e.expert_answer),createdTime:e.created_time||"",isMinigame:"mini_game"===e.event_type,eventStart:e.event_start,eventEnd:e.event_end,isSensitive:(null==e?void 0:e.is_sensitive)||0}:{}},formatComment=e=>{var t,n,o,r,i,a,l,u,c,d,s,m,p,v,f,_,h,g,E,I,T,A,C,y,L,R,O,b,S,P,D,H;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(formatComment):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(n=e.user)||void 0===n?void 0:n.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(r=e.user)||void 0===r?void 0:r.role)?null===(a=null===(i=e.user)||void 0===i?void 0:i.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(u=e.user)||void 0===u?void 0:u.type)||"",email:(null===(c=e.user)||void 0===c?void 0:c.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(s=e.user)||void 0===s?void 0:s.partner_id):"",title:(null===(m=e.user)||void 0===m?void 0:m.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(v=e.user)||void 0===v?void 0:v.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(_=e.user)||void 0===_?void 0:_.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(g=e.mentioned)||void 0===g?void 0:g.user_name)||"",name:(null===(E=e.mentioned)||void 0===E?void 0:E.name)||"",role:(null===(I=e.mentioned)||void 0===I?void 0:I.role)?null===(A=null===(T=e.mentioned)||void 0===T?void 0:T.role)||void 0===A?void 0:A.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(y=e.mentioned)||void 0===y?void 0:y.type)||"",email:(null===(L=e.mentioned)||void 0===L?void 0:L.email)||"",partnerId:(null===(R=e.mentioned)||void 0===R?void 0:R.partner_id)?String(null===(O=e.mentioned)||void 0===O?void 0:O.partner_id):"",doctorId:(null===(b=e.mentioned)||void 0===b?void 0:b.doctor_id)?String(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id):"",hospitalId:(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id):"",title:(null===(H=e.mentioned)||void 0===H?void 0:H.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||"",isAnonymous:!!Number(e.is_anonymous||0)}:{}},formatUserProfileUrl=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var i=Object.freeze({__proto__:null,formatAuthor:formatAuthor,formatArticleExpert:formatArticleExpert,formatSpotlightsSummary:formatSpotlightsSummary,TRANSLATE_LANGUAGES:r,formatTranslateOptions:formatTranslateOptions,formatArticle:formatArticle,formatUserProfile:formatUserProfile,formatBMIResult:e=>{var t,n,o,r,i,a,l,u,c;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(n=null==e?void 0:e.condition)&&void 0!==n?n:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(r=null==e?void 0:e.suggestion)&&void 0!==r?r:""}],chartData:(null===(i=null==e?void 0:e.chart_data)||void 0===i?void 0:i.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(u=null==e?void 0:e.faqs)&&void 0!==u?u:[],suggestedArticlesLink:null!==(c=null==e?void 0:e.suggested_articles_link)&&void 0!==c?c:""}:{}},formatSponsor:formatSponsor,formatReviewedCategory:formatReviewedCategory,formatCategory:formatCategory,formatCategoryApi:e=>e?{categoryInfo:formatCategory(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(formatArticle),subCategories:(e.data.sub_categories||[]).map(formatCategory)}:{},formatFaqsCategory:formatFaqsCategory,formatHealthTool:formatHealthTool,formatHealthToolTypeCategory:e=>{var t,n;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(n=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map(e=>formatHealthTool(e)))&&void 0!==n?n:[]}:{}},formatCommunity:formatCommunity,formatTopic:formatTopic,formatExpertAnswer:formatExpertAnswer,formatPost:formatPost,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var t,n,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(n=e.from_user)||void 0===n?void 0:n.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map(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})):[],formatOvulationInfo:e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:formatComment,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,t)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?formatUserProfile(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:formatUserProfileUrl,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?formatUserProfile(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var t,n,o;return e&&e.information?{information:null!==(t=e.information.map(e=>({title:e.title,description:e.description})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(n=e.reviewed_by)||void 0===n?void 0:n.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:formatUserProfileUrl(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}})}}]);