@hhgtech/hhg-components 1.22.38 → 1.22.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-6740e25e.js +1 -0
- package/build/esm/index-6d4578b8.js +1 -0
- package/build/esm/{index-4d2ccea3.js → index-80bdb5fb.js} +1 -1
- package/build/esm/index-977651d4.js +1 -0
- package/build/esm/index-b4d29c61.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-4ccf7d7f.js +1 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-e70a0682.js +1 -0
- package/build/esm/translationsProvider-4104d034.js +1 -0
- package/build/esm/{types-5364e113.js → types-2bda0e21.js} +1 -1
- package/build/esm/types-6e22c966.js +1 -0
- package/build/esm/{useTranslations-18c52c14.js → useTranslations-e4eb524b.js} +1 -1
- package/build/footer.js +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-48f88955.js +1 -0
- package/build/{index-bbe58bab.js → index-5003adde.js} +1 -1
- package/build/index-72c0c1d7.js +1 -0
- package/build/index-bd62fd94.js +1 -0
- package/build/{index-90dafcec.js → index-f3465fd2.js} +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-a392b73f.js +1 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/navigation.js +1 -1
- package/build/pwg.js +1 -1
- package/build/together/components/molecules/cardAuthor/index.d.ts +2 -1
- package/build/together/interfaces/types.d.ts +2 -0
- package/build/together/utils/apiActions/post.d.ts +2 -1
- package/build/together.js +1 -1
- package/build/translationsContext-b433a740.js +1 -0
- package/build/translationsProvider-96bea330.js +1 -0
- package/build/{types-0fe6faa9.js → types-2ad79a53.js} +1 -1
- package/build/types-f76a9248.js +1 -0
- package/build/useTranslations-f0ec09c7.js +1 -0
- package/package.json +1 -1
- package/build/esm/index-2297aa04.js +0 -1
- package/build/esm/index-5f342e89.js +0 -1
- package/build/esm/index-9b85cd8f.js +0 -1
- package/build/esm/index-ed4c01ac.js +0 -1
- package/build/esm/index.styled-13e79e0a.js +0 -1
- package/build/esm/translationsContext-b8a26c9b.js +0 -1
- package/build/esm/translationsProvider-a481508b.js +0 -1
- package/build/esm/types-bf9c36e2.js +0 -1
- package/build/index-039921ef.js +0 -1
- package/build/index-795f69b3.js +0 -1
- package/build/index-d3585916.js +0 -1
- package/build/index.styled-3a128615.js +0 -1
- package/build/translationsContext-9c302bff.js +0 -1
- package/build/translationsProvider-9c4cc9e7.js +0 -1
- package/build/types-5d1afd8a.js +0 -1
- package/build/useTranslations-3ec382b2.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,b as t,d as i,e as o}from"./tslib.es6-79b2df7f.js";import n,{useState as r,useEffect as a,createContext as l,useContext as s}from"react";import{S as u}from"./index-9e830d1e.js";import{M as d}from"./utils-0927ef12.js";import c from"styled-components";import{g as m}from"./cookieHelper-bbf68f1c.js";import p from"slugify";import _ from"string-format";var v,g,h={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},E=function(t){var i=t.type,o=void 0===i?"square":i,l=t.size,s=t.avatarImg,d=t.avatarUrl,c=t.firstLetter,m=t.backgroundColor,p=t.onClick,_=t.style,v=t.className,g=t.isAmp,E=void 0!==g&&g,f=t.width,T=t.height,b=l?h[l]:void 0,y=r(!1),A=y[0],w=y[1];a((function(){if(d){var e=document.createElement("img");e.setAttribute("src",d),e.addEventListener("error",(function(){w(!0)}))}}),[d,w]);var O=(!d&&!s||A)&&c;return n.createElement(u,{style:e(e({},_),{"--size":!E&&b?b+"px":void 0,"--width-prop":f?f+"px":void 0,"--height-prop":T?T+"px":void 0,"--background-color":m}),"data-has-max":!(!f||!T),"data-avatar-type":o,onClick:p,className:v,avatarUrl:d,"data-is-amp":E,"data-custom-size":!!l},s,d&&!A&&n.createElement("img",{src:d}),O&&c)},f=c.div(v||(v=t(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),d.mbDown,d.mbDown,d.mbUp),T=c.div(g||(g=t(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),b=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,r=e.isOpen,a=void 0===r||r,l=e.onClose,s=e.children,u=e.className,d=void 0===u?"":u,c=e.enableAnimation,m=void 0===c||c;return n.createElement(n.Fragment,null,n.createElement(f,{"data-open":a,"data-type":i,"data-animation":m},n.createElement("div",{className:"".concat(d||""," popup-content")},!!o&&n.createElement("div",{className:"close-button",onClick:l},o),s)),n.createElement(T,{"data-open":a,onClick:l}))},y="DD/MM/YYYY",A="/images/avatar.jpg",w="/images/default-image.jpg",O={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},I={"id-ID":{"kalkulator-bmi":O.BMI,"kebutuhan-kalori":O.BMR,"kalkulator-hari-perkiraan-lahir":O.DUE_DATE,"kalkulator-masa-subur-2":O.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":O.PWG,"kalkulator-detak-jantung-saat-olahraga":O.THR},"ms-MY":{"kalkulator-bmi":O.BMI,"kalkulator-bmr":O.BMR,"kalkulator-tarikh-bersalin":O.DUE_DATE,"kalkulator-kesuburan":O.OVULATION,"kalkulator-tambah-berat-badan-hamil":O.PWG,"target-heart-rate-calculator":O.THR},"vi-VN":{"cach-tinh-chi-so-bmi":O.BMI,"tinh-chi-so-bmr":O.BMR,"cong-cu-tinh-ngay-du-sinh":O.DUE_DATE,"tinh-ngay-rung-trung":O.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":O.PWG,"cong-cu-do-nhip-tim":O.THR},"zh-TW":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"en-PH":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":O.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":O.BMR,"เครื่องมือคำนวณกำหนดคลอด":O.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":O.OVULATION,"เครื่องคำนวณน้ำหนักตัว":O.PWG,"เครื่องวัดอัตราการเต้น":O.THR},"hi-IN":{"bmi-calculator-en":O.BMI,"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"delivery-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"km-KH":{"គណនា-bmi":O.BMI,"គណនា-bmr":O.BMR,"គណនាថ្ងៃសម្រាលកូន":O.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":O.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":O.PWG,"គណនារកចង្វាក់បេះដូងល្អ":O.THR},"my-MM":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calendar":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnaancy-weight-calculator":O.PWG,"target-heartrate":O.THR,"pregnancy-weight-calculator":O.PWG,"target-heart-rate":O.THR}},L="hhg_user_token",S="together_admin_token",R={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"}},k=20,P={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},D=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:y,DEFAULT_AVATAR_IMG:A,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:w,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:O,LOCALE_HEALTH_TOOLS:I,BEARER_TOKEN_COOKIE:L,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:S,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:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:R,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:P}),x=function(e){return 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||""}:{}},C=function(e){return 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}:{}},N=function(t){var i,o,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?M(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:x(t.author),reviewer:t.reviewed_by&&x(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e(e({},null==t?void 0:t.reviewed),{author:G(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.author),editor:G(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.editor),expert:G(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:G(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:B(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(B),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:C(t.expert),metaTag:t.meta_tag||null}:{}},G=function(t){return void 0!==t&&t?e(e({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},M=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},U=function(e){return{postTitle:e.post_title,permalink:e.permalink}},B=function(e){var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?M(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((function(e){return B(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?U(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return H(e)})):null}:{}},H=function(e){return{title:e.title,content:e.content}},F=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},V=function(e){return 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:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(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:Boolean(e.is_hidden)}:{}},K=function(e){var t,i,o,n;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)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(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:Boolean(e.is_hidden)}:{}},Y=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,f,T,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var i,o,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.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===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(_=e.user)||void 0===_?void 0:_.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(f=e.user)||void 0===f?void 0:f.doctor_id):"",hospitalId:(null===(T=e.user)||void 0===T?void 0:T.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.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:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||""}:{}},j=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.info||[],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}:{}},z=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,f,T,b,y,A,w,O,I,L,S,R,k,P,D;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(z):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.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===(_=e.user)||void 0===_?void 0:_.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(f=e.mentioned)||void 0===f?void 0:f.name)||"",role:(null===(T=e.mentioned)||void 0===T?void 0:T.role)?null===(y=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===y?void 0:y.toLowerCase():"",avatar:(null===(A=e.mentioned)||void 0===A?void 0:A.avatar)||"",type:(null===(w=e.mentioned)||void 0===w?void 0:w.type)||"",email:(null===(O=e.mentioned)||void 0===O?void 0:O.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(R=e.mentioned)||void 0===R?void 0:R.doctor_id):"",hospitalId:(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id):"",title:(null===(D=e.mentioned)||void 0===D?void 0:D.title)||""}:null,mentions:e.mentions||[]}:{}},W=function(e){return 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/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},X=Object.freeze({__proto__:null,formatAuthor:x,formatArticleExpert:C,formatArticle:N,formatUserProfile:G,formatBMIResult:function(e){var t,i,o,n,r,a,l,s,u;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!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.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!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:M,formatReviewedCategory:U,formatCategory:B,formatCategoryApi:function(e){return e?{categoryInfo:B(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(N),subCategories:(e.data.sub_categories||[]).map(B)}:{}},formatFaqsCategory:H,formatHealthTool:F,formatHealthToolTypeCategory:function(e){var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return F(e)})))&&void 0!==i?i:[]}:{}},formatCommunity:V,formatTopic:K,formatPost:Y,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,i,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===(i=e.from_user)||void 0===i?void 0:i.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:function(e){return e?e.map((function(e){return{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:j,formatSuggestedArticle:function(e){return 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:function(e){return 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:z,formatReportedPostToPostDetail:function(e){return 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:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?G(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:W,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?G(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:W(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||""}:{}}}),q={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},$={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},J={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Z={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||oe,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===i[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=re(s,o)}n=a+1}return i},ee=function(e,t,i){var o=i||{},n=o.encode||ne;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!ie.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!ie.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ie.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!ie.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===te.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}o.httpOnly&&(a+="; HttpOnly");o.secure&&(a+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},te=Object.prototype.toString,ie=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function oe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ne(e){return encodeURIComponent(e)}function re(e,t){try{return t(e)}catch(t){return e}}var ae={parse:Q,serialize:ee},le={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},se={"vi-VN":"marrybaby.vn"},ue=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",de=function(e){var t=Re.env.isMarryBaby;return"https://".concat(t?se[e]:le[e])},ce=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},me=function(e){var t=Re.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(i?t?"fe.":"discover.":t?"www.":"").concat(le[e])},pe=function(t,i,o){var n="";o&&(n=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&"));var r=((null==Re?void 0:Re.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=_(t,e(e({},(null==i?void 0:i._locale)?{website_url:de(String(i._locale))}:{}),i));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ce(l)},_e=function(t,i){var o=((null==Re?void 0:Re.env)||{}).discoverBaseApiUrl;return(void 0===o?"":o)+"wp-json/api/"+ce(_(t,e({},i)))},ve=function(t,i){var o=((null==Re?void 0:Re.env)||{}).careBaseApiUrl;return((void 0===o?"":o)||"https://service-health-care.hellohealthgroup.com/")+ce(_(t,e({},i)))},ge=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},he=function(t,n,r,a){return void 0===a&&(a=!1),i(void 0,void 0,void 0,(function(){var i,l,s,u,d;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,fetch(a?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e(e({method:n},ge(r)),{headers:e({},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 1:return(i=o.sent())?[2,i]:[3,3];case 2:return l=o.sent(),console.log(l),console.log({url:t,status:null===(s=null==l?void 0:l.response)||void 0===s?void 0:s.status,statusText:null===(u=null==l?void 0:l.response)||void 0===u?void 0:u.statusText}),[2,(null===(d=null==l?void 0:l.response)||void 0===d?void 0:d.data)||null];case 3:return[2,null]}var c}))}))},Ee=function(t,n,r,a){return void 0===n&&(n="GET"),i(void 0,void 0,void 0,(function(){var i,l,s,u,d,c,p,_,v,g,h,E,f,T;return o(this,(function(o){switch(o.label){case 0:if(o.trys.push([0,7,,8]),i="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=ae.parse(a||""),u=s[L],!(d=u||m(L))||!d.length)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,fetch(i,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+d},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 2:return c=o.sent(),(null===(v=null==c?void 0:c.messages)||void 0===v?void 0:v.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,he(l||i,n,r)]:c?[2,c]:[3,4];case 3:return p=o.sent(),console.log({status:null===(g=null==p?void 0:p.response)||void 0===g?void 0:g.status,statusText:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.statusText}),[2,he(l||i,n,r)];case 4:return[3,6];case 5:return[2,he(l||i,n,r)];case 6:return[3,8];case 7:return _=o.sent(),console.log({status:null===(E=null==_?void 0:_.response)||void 0===E?void 0:E.status,statusText:null===(f=null==_?void 0:_.response)||void 0===f?void 0:f.statusText}),[2,(null===(T=null==_?void 0:_.response)||void 0===T?void 0:T.data)||null];case 8:return[2,null]}}))}))},fe=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=ae.parse(a||""),l=i[L],(s=l||m(L))&&s.length?[4,fetch(t,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))},Te=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=ae.parse(a||""),l=i[S],(s=l||m(S))&&s.length?[4,fetch(t,e(e({method:n},ge(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))};function be(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+n+t+"="+i}var ye,Ae=function(e,t,i){void 0===i&&(i="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var i=Re.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){be(o,e,t[e])})),be(o,"source","communities"),i?"".concat(i,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(n).concat(i,"/on-boarding?return=").concat(encodeURIComponent(o)),t)},we=function(e,t,i,o){return i&&t?"".concat(i,"-").concat(t):"".concat(p(e||"",{lower:!0,locale:o||ue}),"-").concat(t)},Oe=function(e){var t,i=e.name,o=e.id,n=e.locale;return"/care/".concat(null===(t=P[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(we(i,o))},Ie=function(e){var t,i=e.name,o=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=P[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(we(i,o,n))},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=l({data:Le,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}}),Re=Le,ke=function(e){var t=e.locale,i=void 0===t?"vi-VN":t,o=e.children,l=e.userInfo,s=e.router,u=e.env,d=void 0===u?{isMarryBaby:!1,togetherBasePath:"/community"}:u,c=e.sanitizeFunction,m=void 0===c?function(e){return e}:c,p=e.pushNotifications,_=void 0===p?function(){return!1}:p,v=r(),g=v[0],h=v[1];return Re={userInfo:l,locale:i,togetherUserId:g,router:s,env:d},a((function(){(null==l?void 0:l.id)&&fe(pe(q.PROFILE,{_locale:i}),"GET").then((function(e){var t;h(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==l?void 0:l.id]),n.createElement(Se.Provider,{value:{data:{userInfo:l,locale:i,togetherUserId:g,router:s,env:d},action:{pushNotifications:_,sanitizeFunction:m}}},o)},Pe=c.div(ye||(ye=t(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink})),De=function(e){var t=e.className,i=e.isMarryBaby,o=e.style,l=e.avatar,u=e.username,d=e.isLazy,c=s(Se).data.env.isMarryBaby,m="boolean"==typeof i?i:c,p=r(!1),_=p[0],v=p[1];return a((function(){var e=new Image;e.onerror=function(){v(!0)},e.src=l}),[]),n.createElement(Pe,{"data-is-marrybaby":m,className:t,style:o},l&&!_?n.createElement("img",{src:d?void 0:l,"data-src":d?l:void 0,className:"avatar ".concat(d?"lazy":""),alt:"avatar",onError:function(){v(!0)}}):n.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{E as A,L as B,$ as C,Le as D,Ee as E,Re as G,O as H,k as M,b as P,R,Se as T,De as U,ke as a,y as b,D as c,X as d,j as e,W as f,V as g,Y as h,Ae as i,w as j,he as k,pe as l,q as m,me as n,ve as o,le as p,Ie as q,Oe as r,_e as s,J as t,Z as u,Te as v,fe as w,K as x,A as y,z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n,c as e,_ as r}from"./tslib.es6-79b2df7f.js";import t from"styled-components";import a from"react";var o,l=t.hr(o||(o=n(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(n){return n.theme.colors.neutral200}),(function(n){return n.dividerType})),d=function(n){var t=n.size,o=n.color,l=n.isExpand,d=e(n,["size","color","isExpand"]);return l?a.createElement("svg",r({width:t,height:t,viewBox:"0 0 16 16",fill:o,xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M14.6625 0.500362C14.446 0.506813 14.2405 0.597296 14.0895 0.752641L10.7578 4.08435L9.69176 3.01664C9.37926 2.70414 8.84541 2.92491 8.84541 3.36657V6.67875C8.84541 6.95291 9.06687 7.17517 9.3402 7.17517H12.6524C13.094 7.17517 13.3148 6.64131 13.0023 6.32881L11.9362 5.26273L15.2679 1.93103C15.3884 1.81397 15.4706 1.66327 15.5039 1.49867C15.5372 1.33407 15.52 1.16325 15.4545 1.0086C15.3891 0.853944 15.2784 0.72267 15.1371 0.631979C14.9958 0.541288 14.8303 0.495412 14.6625 0.500362Z"}),a.createElement("path",{d:"M3.37015 8.84183C2.92848 8.84183 2.70771 9.37569 3.02021 9.68819L4.08792 10.7543L0.756214 14.086C0.676237 14.1628 0.612384 14.2547 0.568397 14.3565C0.524409 14.4583 0.501171 14.5678 0.500043 14.6787C0.498915 14.7895 0.51992 14.8995 0.561828 15.0022C0.603735 15.1048 0.665703 15.1981 0.744102 15.2765C0.822501 15.3549 0.915755 15.4168 1.0184 15.4587C1.12105 15.5007 1.23103 15.5217 1.3419 15.5205C1.45276 15.5194 1.56229 15.4962 1.66406 15.4522C1.76584 15.4082 1.85781 15.3443 1.9346 15.2644L5.26631 11.9327L6.33239 12.9987C6.64489 13.3112 7.17874 13.0905 7.17874 12.6488V9.33663C7.17874 9.06329 6.95649 8.84183 6.68232 8.84183H3.37015Z"})):a.createElement("svg",r({width:t,height:t,viewBox:"0 0 14 14",fill:o,xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};d.defaultProps={size:24,color:"inherit",isExpand:!1};var i,c=t.div(i||(i=n(["\n display: inline-block;\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n"],["\n display: inline-block;\n height: 1rem;\n flex-shrink: 0;\n padding: 0 0.5rem;\n margin-left: 4px;\n border-radius: 1rem;\n color: white;\n font-size: 8px;\n font-weight: 600;\n line-height: 1rem;\n &[data-label-type='admin'] {\n background: ",";\n }\n &[data-label-type='local admin'] {\n background: ",";\n }\n &[data-label-type='ambassador'] {\n background: ",";\n }\n &[data-label-type='expert'] {\n background: ",";\n }\n &[data-label-type='moderator'] {\n background: ",";\n }\n &[data-label-type='sponsor'] {\n background: ",";\n }\n &[data-label-type='guide'] {\n background: ",";\n }\n &[data-label-type='influencer'] {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.blue800}),(function(n){return n.theme.colors.blue800}),(function(n){return n.theme.colors.green400}),(function(n){return n.theme.colors.red400}),(function(n){return n.theme.colors.yellow800}),(function(n){return n.theme.colors.teal400}),(function(n){return n.theme.colors.teal400}),(function(n){return n.theme.colors.teal400}));export{d as F,l as S,c as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createContext as e}from"react";var o={"actionPopover.delete":"Delete","actionPopover.deleteNotification":"Delete this notification","actionPopover.edit":"Edit","actionPopover.inviteShareCommunity":"Invite / Share community","actionPopover.joinCommunity":"Join Community","actionPopover.leaveCommunit":"Leave Community","actionPopover.leaveCommunity":"Leave Community","actionPopover.leaveCommunity.accept":"Leave","actionPopover.leaveCommunity.cancel":"Cancel","actionPopover.leaveCommunity.description":"Are you sure you want to leave this community?","actionPopover.leaveCommunity.title":"Leave Community","actionPopover.report":"Report","actionPopover.turnOffNotification":"Turn off notification","actionPopover.turnOffNotificationAbout":"Turn off notification about {label}","actionPopover.turnOnNotification":"Turn on notification","admin.comments":"Comments","admin.communities":"Communities","admin.community":"Community","article.shareOn":"Share on","articlePage.articleReviewerBy":"Medically reviewed by {name}","articlePage.readMore":"Read More","articlePage.showLess":"Show less","babyGrowth.alert.bmi":"There is no BMI measurements to display for {name} in WHO data range of 0 to 5 years. Use <a>BMI calculator tool</a> above 5 year old","babyGrowth.alert.head":"There is no head circumference measurements to display for {name} in WHO data range of 0 to 5 years","babyGrowth.alert.weight":"There is no Weight measurements to display for {name} in WHO data range of 0 to 10 years ","babyGrowth.chartTitle":"WHO - {name} Growth Chart","babyGrowth.chartTitle.noName":"Your child's growth chart","babyGrowth.cm":"(cm)","babyGrowth.drawer.addMeasurement":"Add a Measurement","babyGrowth.drawer.createBaby":"Create a baby profile","babyGrowth.drawer.switchProfile":"Switch profile","babyGrowth.emptyName":"your baby","babyGrowth.error.atLeastOneOf":"Must have at least one of these fields: Weight, Height, Head Circumference (Head).","babyGrowth.error.birthdayRequired":"Birthday is required","babyGrowth.error.invalidAge":"The measurements exceed the age.","babyGrowth.error.invalidMeasurementDate":"Measurement day is not valid.","babyGrowth.error.invalidValue":"Please input a valid value","babyGrowth.error.measurementDateLowerThanBirthday":"The date entered is before your child's birthday.","babyGrowth.error.outOfRange":"The measurements exceed the WHO's data range.","babyGrowth.error.title":"Invalid data","babyGrowth.head":"Head","babyGrowth.headCircumference":"Head Circumference","babyGrowth.height":"Height","babyGrowth.input.babyName":"Child’s name","babyGrowth.input.birthday":"Baby's birthday","babyGrowth.input.bmi":"Body Mass","babyGrowth.input.bodyMass":"Body Mass","babyGrowth.input.checkSubmit":"Track your child's growth","babyGrowth.input.measurementDate":"Measurement Date","babyGrowth.input.submit":"Track your child's growth","babyGrowth.kg":"(kg)","babyGrowth.kg.m2":"(kg/m2)","babyGrowth.monthly":"Monthly","babyGrowth.nickname":"Nickname","babyGrowth.optional":"(optional)","babyGrowth.pageTitle":"Your child's growth results","babyGrowth.percentiles":"Percentiles","babyGrowth.placeholder.babyName":"Add child's name","babyGrowth.reCalculate":"Recalculate","babyGrowth.record":"Records","babyGrowth.save":"View Growth Tracker","babyGrowth.save.loggedIn":"See Baby's Growth Tracker","babyGrowth.weekly":"Weekly","babyGrowth.weight":"Weight","babyGrowth.xLabel":"Age ({recurrence})","babyGrowth.yearly":"Yearly","babyPoop.findOut":"Find out","babyVaccine.banner.readmore":"Read more","babyVaccine.immunization.vaccineName":"Vaccine Name","babyVaccine.immunization.warrning":"The immunization scheduleis similar to your vaccination record card","babyVaccine.popup.button.submit":"Save","babyVaccine.popup.checkbox.suggestedDate":"Suggested Date (optional)","babyVaccine.popup.input.suggestedDate":"I don't remember/Set as suggested date","babyVaccine.popup.tab.benefits":"Benefits","babyVaccine.popup.tab.contraindication":"Contraindication","babyVaccine.popup.tab.detail":"Details","babyVaccine.popup.tab.schedule":"Schedule","babyVaccine.popup.title":"Vaccine Information","babyVaccine.status.current":"Current","babyVaccine.status.missed":"Missed","babyVaccine.status.upcoming":"Upcoming","babyVaccine.status.vaccinated":"Vaccinated","babyVaccine.timeline.totalNext":"Next {number} Dose(s)","babyVaccine.timeline.totalPast":"Past {number} Dose(s)","babyVaccine.vaccineCard.injected":"Injected","babyVaccine.vaccineCard.markAsInjected":"Mark as injected","babyVaccine.vaccineInfo.dose":"Dose: {ordinal}/{total}","babyVaccine.vaccineInfo.injectedDate":"Injected Date: {date}","babyVaccine.vaccineInfo.mandatory":"Mandatory","babyVaccine.vaccineInfo.optional":"Optional","babyVaccine.vaccineInfo.suggested":"Suggested Date: {date}","babyVaccineTool.selectGender":"What is your child's gender?","bmi.ageInput":"How old are you?","bmi.ageInput.desc":"(years)","bmi.ageInput.error":"Please put in a valid age","bmi.heading":"BMI Calculator","bmi.heightInput":"How tall are you?","bmi.heightInput.desc":"(cm)","bmi.heightInput.error":"Please put in a valid height","bmi.objective":"Objectives","bmi.objective.gainWeight":"Build muscle ","bmi.objective.loseWeight":"Lose fat","bmi.objective.maintainWeight":"Maintain weight","bmi.result.healthy":"Healthy","bmi.result.overweight":"Overweight","bmi.result.underweight":"Underweight","bmi.selectGender":"What is your gender?","bmi.submit":"Calculate","bmi.weightInput":"How much do you weigh?","bmi.weightInput.desc":"(kg)","bmi.weightInput.error":"Please put in a valid weight","bmr.heading":"BMR Calculator","booking.searchBar.currentLocation":"Current location","booking.searchBar.grantLocation":"Please grant location permission to search by current location","booking.searchBar.locationPlaceholder":"Enter city","booking.searchBar.noResults":"No Results","booking.searchBar.placeholder.doctor":"Search by doctor name","booking.searchBar.placeholder.hospital":"Search by hospital name","booking.searchBar.placeholder.service":"Search by service","booking.searchBar.placeholder.specialty":"Search by specialty","booking.searchBar.searchButton":"Search","booking.searchBar.searchInput.placeholder":"Search by Specialty or Clinic...","booking.searchBar.useCurrentLocation":"Use my current location","booking.searchPopup.doctors":"Doctors","booking.searchPopup.hospitals":"Hospitals & Clinics","booking.searchPopup.searchIn.doctors":'Search "{name}" in Doctors',"booking.searchPopup.searchIn.hospitals":'Search "{name}" in Hospitals',"booking.searchPopup.searchIn.services":'See "{name}" in Services',"booking.searchPopup.searchIn.specialties":'Search "{name}" in Specialties',"booking.searchPopup.seeAll":"See All","booking.searchPopup.seeLessSpecialties":"See less specialties","booking.searchPopup.seeMoreSpecialties":"See more specialties","booking.searchPopup.services":"Services","booking.searchPopup.specialties":"Specialties","bottomBar.share":"Share","cardAuthor.admin":"Admin","cardAuthor.ambassador":"Ambassador","cardAuthor.expert":"Expert","cardAuthor.guide":"Guide","cardAuthor.influencer":"Influencer","cardAuthor.localAdmin":"Local Admin","cardAuthor.moderator":"Moderator","cardAuthor.sponsor":"Sponsor","cardReactions.comment":"Comment","cardReactions.repliesCount":"{count} replies","cardReactions.reply":"Reply","careBooking.bookAnAppointment":"Book an appoinment","categoryPage.info.reviewed":"Medically reviewed by","categoryPage.onDate":"on {date}",character:"Characters","childCard.age.months":"{month} months","childCard.age.oneMonth":"1 month","childCard.age.oneWeek":"1 week","childCard.age.oneYear":"1 year","childCard.age.oneYearMonth":"1 year {month} months","childCard.age.oneYearOneMonth":"1 year 1 month","childCard.age.week":"{weeks} weeks","childCard.age.yearMonth":"{year} years {month} months","childCard.age.yearNoMonth":"{year} years","childCard.age.yearOneMonth":"{year} years 1 month","childCard.boy":"Boy","childCard.girl":"Girl","childCard.menu.add":"Add a child profile","childCard.menu.edit":"Edit {name}’s profile","childCard.menu.remove":"Remove {name}’s profile","childCard.menu.switch":"Switch child's profile","childCard.noName":"Child's Name","choicePopover.ambassadorPosts":"Ambassador posts","choicePopover.expertPosts":"Expert posts","choicePopover.lastestPost":"Latest posts","choicePopover.latest":"Latest","choicePopover.newest":"Newest","choicePopover.oldest":"Oldest","choicePopover.popular":"Popular","choicePopover.popularPost":"Popular posts","choicePopover.sort":"Sort","chooseBaby.button":"View your Child Growth Chart","chooseBaby.new":"or Add new child profile","chooseBaby.placeholder":"Please give child's name","chooseBaby.title":"Choose Child's Profile","comment.count":"{count} comments","comment.seeMoreComments":"See {count} more comments","comment.seeMoreReplies":"See {count} more replies","commentPopup.warning.newPost":"Your question will be public","community.choose":"Choose a community","community.notification.joined":"You joined {name} community","community.notification.left":"You left {name} community",copied:"Copied",copy:"Copy","createPost.popup.description":"Description","createPost.popup.primary":"Tap to select/ unselect topics","createPost.popup.submit":"Post","createPost.popup.success":"New Post Created","createPost.popup.warning":"Select a community to see your following topics","createPost.popup.warningImage":"Maximum 20 images allow, please remove some item below","createPost.popup.wordCount":"{count}/{max} words","createPost.title":"Title","createPost.urlText":"Text","dueDatePage.calculationMethod":"Calculation Method","dueDatePage.conceptionDate":"Conception Date","dueDatePage.daysText":"{number} days","dueDatePage.ivf":"IVF","dueDatePage.ivf.transferDate":"IVF Transfer Date","dueDatePage.ivf.transferDateRadio":"{number}-Day Transfer","dueDatePage.lastPeriod":"Last Period","dueDatePage.lastPeriod.calculate":"Calculate","dueDatePage.lastPeriod.lastPeriodLabel":"The first day of your last period","dueDatePage.lastPeriod.periodLengthLabel":"Cycle Length","expert.content.description":"Expert's Profile","expert.content.experiences":"Experiences","footer.signUp":"Sign Up Now","gender.female":"Female","gender.male":"Male","healthTools.dueDateCalculator":"Due Date Calculator","healthTools.ovulationCalculator":"Ovulation Calculator","healthtool.placeholder.age":"Your age","home.menu.category.view":"View {category}","home.navigator.menu.care.noDatas.cta":"Book a Doctor","home.navigator.menu.care.noDatas.description":"HelloCare helps patients to find the right medical doctors and service treatment for their needs, in their vicinity.","home.navigator.menu.care.noDatas.title":"Make an appointment with doctors easily","home.navigator.menu.category.noDatas.cta":"Discover now","home.navigator.menu.category.noDatas.description":"Hello Doctor wants to be your most trusted ally to make more informed decisions and to live healthier and happier lives.","home.navigator.menu.category.noDatas.title":"Welcome to Hello Doctor","home.navigator.menu.healthTools.noDatas.cta":"Discover more","home.navigator.menu.healthTools.noDatas.description":"These easy-to-use health assessment tools will help you gauge vital parts of your overall health and wellness.","home.navigator.menu.healthTools.noDatas.title":"Health Tools","home.navigator.menu.spotlightHospitals":"Popular Hospitals","home.navigator.menu.spotlightTools":"Favorite Tools","home.navigator.menu.spotlights":"All In Focus","home.navigator.menu.spotlights.seeAll":"See All In Focus","home.navigator.menu.together.noPosts.cta":"Join Our Communities","home.navigator.menu.together.noPosts.description":"Community is a safe space where you can connect with other members, comment on topics you care about, and receive trusted advice from medical experts on the health issues that matter most.","home.navigator.menu.together.noPosts.title":"Welcome to Community","home.navigator.menu.trendingPosts":"Highlight Posts","home.navigator.menu.trendingPosts.seeMore":"See more","home.navigator.menuItem.allCategories":"See All Categories","home.navigator.menuItem.allCommunities":"See all communities","home.navigator.menuItem.allCommunitiesheadingTitle":"Find your communities","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allSpecialties":"All specialties","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthToolsList":"Health Tools","home.navigator.menuItem.helloCare":"Book a Doctor","home.navigator.menuItem.helloEcom":"Pharmacy","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.language":"Language","home.navigator.menuItem.specialties":"Specialties","home.navigator.menuItem.spotlights":"All In Focus","home.search":"Search {site}","home.seeAll":"See All","home.seeAllCategories":"See All Topics","home.seeExpert":"View Full Expert's Profile","home.seeHospital":"View Full Hospital's Profile","home.seeMore":"See More","home.seeMoreExperts":"See More Experts","hospital.content.description":"Hospital Details","inputComment.replyTo":"Reply to {name}",insert:"Insert","label.latestPost":"Latest Post","label.pinnedPost":"Pinned Post",loading:"loading","login.booking":"Booking with doctor","logout.popup.ask.mb":"Logout of Marry Baby","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","menu.care.searchBySpecialties":"Search by specialty","morePopover.report":"Report","morePopover.report.description":"Help us understand what’s happening with this post. How would you describe it?","morePopover.report.falseNews":"False news","morePopover.report.offensive":"Offensive","morePopover.report.other":"Other","morePopover.report.prohibited":"Prohibited content","morePopover.report.scam":"Misleading or scam","morePopover.report.sex":"Sexually inappropriate","morePopover.report.spam":"Spam","morePopover.report.title":"Report this post","morePopover.report.violence":"Violence","morePopover.reportSubmit.description":"We won’t tell them who reported it. Please check these details:","morePopover.reportSubmit.title":"Submit report?","morePopover.savePost":"Save post","morePopover.share":"Share","morePopover.shareOn":"Share on","morePopover.turnOffNotifications":"Turn off notifications","morePopover.turnOnNotifications":"Turn on notifications","morePopover.unsavePost":"Remove Saved post","navigation.loginJoin":"Log in","navigation.search.input.placeholder":"Search","notification.comment.blocked.message":"This comment contains banned words or phrases and won’t be published","notification.comment.blocked.title":"Blocked comment","notification.comment.premod":"Your comment needs to be reviewed.","notification.comment.rejected":"Your comment contain words that are not allowed.","notification.comment.reportFailed":"Failed!","notification.comment.reportSuccess":"You have successfully reported a comment.","notification.comment.somethingWrong":"Something went wrong.","notification.comment.suspect.message":"This comment contains suspected words or phrases and won’t be published","notification.comment.suspect.title":"Pending comment","notification.comment.systemWithheld":"Your comment needs to be reviewed.","notification.failure":"Something wrong. Try again later!","notification.limitUrlDomain":"Cannot post link outside of Hello Health Group.","notification.post.blocked.message":"This post contains banned words or phrases and won’t be published","notification.post.blocked.title":"Blocked post","notification.post.delete":"Post Deleted","notification.post.suspect.message":"This post contains suspected words or phrases, and is placed for moderator review","notification.post.suspect.title":"Pending post","notification.success":"Success","notification.suspend.message":"Your account has been suspended for violating our terms of service","notification.urlWrongFormat":"Incorrect URL format",orCopyLink:"Or copy link","ovulationPage.avoidPregnancy":"Avoid pregnancy","ovulationPage.conceive":"Trying to conceive","ovulationPage.cycleLength":"Cycle Length","ovulationPage.dayUnit":"(days)","ovulationPage.objectives":"Objectives","ovulationPage.periodDuration":"Period Duration","ovulationPage.trackPeriod":"Track period cycle","placeholder.enterTitleHere":"Enter title here","placeholder.enterUrlHere":"Enter URL here","placeholder.enterUrlTextHere":"Enter URL Text here","placeholder.newCmt":"Write a comment","placeholder.newPost":"Start a new post","popup.allTopics":"All Topics","popup.createPost.confirmCloseDescription":"If you discard now, you’ll lose this post","popup.createPost.confirmCloseTitle":"Are you sure?","popup.deleteComment.description":"Delete your comment cannot be undone","popup.deleteComment.title":"Delete comment?","popup.deletePost.accept":"Delete","popup.deletePost.cancel":"Cancel","popup.deletePost.description":"Delete your post cannot be undone","popup.deletePost.title":"Delete post?","popup.discardPost":"Discard post","popup.discardPostEdit":"Discard changes","popup.editPost":"Edit post","popup.keepEditing":"Keep editing","popup.startANewPost":"Start a new post","post.commentCount":"{count} comments","post.likesCount":"{count} likes","post.seeMore":"See More","post.shareCount":"{count} shares","pregnancy.week":"Week","pregnancyTool.description":"Your Baby is as big as a <fruitName></fruitName>","pregnancyTool.title":"Your weeks of pregnancy","pregnancyTool.weightSuggested":"Weight suggested","pregnancyWeightGain.havingTwins":"Having twins?","pregnancyWeightGain.heading":"Pregnancy Weight Gain","pregnancyWeightGain.heightInput":"Height","pregnancyWeightGain.weekInput":"Weeks of pregnant","pregnancyWeightGain.weightBeforeInput":"Weight before pregnancy","pregnancyWeightGain.weightInput":"Current Weight","pregnancyWeightGain.weightInput.desc":" (kg)","previewPhotos.title":"{name}'s Post","pwg.placeholder.height":"Your height","pwg.placeholder.weight":"Your weight","sensitiveMask.blur":"Blur","sensitiveMask.contentWarningDescription":"Warning: The following picture may be disturbing to some viewers. Viewer discretion is advised","sensitiveMask.contentWarningMessage":"These images may be disturbing...","sensitiveMask.unblur":"Show","share.copyLink":"Or copy link","share.letsJoinCommunity":"Let's join {name} community!","share.letsJoinTopic":"Let's join {name} topic!","share.linkCopied":"Link Copied","share.linkShared":"Link Shared Successfully","share.title":"Share","shareContainer.title":"Share the results",submit:"Submit","switchBtn.no":"No","switchBtn.yes":"Yes","tab.about":"About","tab.discussion":"Discussions","tab.topic":"Topics","targetHearRate.heading":"Target Heart Rate Calculator","targetHeartRate.aerobicZone.note":"Aerobic Zone (moderate exercise/sports 3-5 days/week)","targetHeartRate.aerobicZone.title":"Aerobic Zone","targetHeartRate.ageInput":"What is your date of birth?","targetHeartRate.ageInput.desc":" (years)","targetHeartRate.ageInput.error":"Please enter your actual age","targetHeartRate.heartRateInput":"Your resting heart rate?","targetHeartRate.heartRateInput.desc":" (bpm)","targetHeartRate.heartRateInput.error":"Please enter your actual resting heart rate","targetHeartRate.lowIntensity.note":"Low intensity (little or no exercise)","targetHeartRate.lowIntensity.title":"Low intensity","targetHeartRate.maximumIntensity.note":"Maximum Intensity (very hard exercise/sports or x2 training)","targetHeartRate.maximumIntensity.title":"Maximum Intensity ","targetHeartRate.moderateIntensity.note":"Moderate intensity (exercise/ sports 1-3 days/week)","targetHeartRate.moderateIntensity.title":"Moderate intensity ","targetHeartRate.optional":"(optional)","targetHeartRate.selectActive":"How active are you on daily basic?","targetHeartRate.vigorousIntensity.note":"Vigorous Intensity (hard exercise/ sports 6-7 days/week)","targetHeartRate.vigorousIntensity.title":"Vigorous Intensity","tool.askChecking":"I’m checking for other","tool.selectPerson":"Are you checking for?","tool.selectPerson.other":"Other","tool.selectPerson.yourSelf":"Your self","toolPage.toolReviewer":"Medically Reviewed by {expert_name} on {date}","tools.heading.on":"on","userProfile.nav.card.eCom":"E-commerce","userProfile.nav.card.myBooking":"My Booking","userProfile.nav.card.myCommunity":"My Community","userProfile.nav.card.myFamily":"Family Profiles","userProfile.nav.card.myHealth":"My Health","userProfile.nav.card.mySaved":"Saved","userProfile.nav.header.count.comments":"Comments","userProfile.nav.header.count.posts":"Posts","userProfile.nav.header.count.tools":"Tools","userProfile.nav.header.points":"Points","userProfile.nav.header.viewProfile":"View My Profile","userProfile.nav.menu.accountSettings":"Account Settings","userProfile.nav.menu.disableAccount":"Disable Account","userProfile.nav.menu.help":"Help","userProfile.nav.menu.logout":"Log out","userProfile.nav.menu.password":"Password","userProfile.userRank.ambassador":"Ambassador","userProfile.userRank.doctor":"Doctor","userProfile.userRank.expert":"Expert","userProfile.userRank.influencer":"Influencer","userProfile.userRank.member":"Member"},t=e(null);export{t as T,o as d};
|