1(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[1866],{qJtG:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/lp/[...slug]",function(){return n("anhH")}])},oXFM:function(e,t,n){"use strict";n.d(t,{o:function(){return Markdown}});var i=n("BGKE"),o=n("+OUp"),l=n("TSYQ"),r=n.n(l),a=n("h4z8"),s=n("rBCA");let c=(0,s.A)("div",{target:"e18kzt4e0"})("sup{position:relative;top:-0.5em;font-size:0.7em;}sub{position:relative;bottom:-0.5em;font-size:0.7em;}ul{padding-left:1.2em;list-style:inherit;}ol{padding-left:1.2em;}"),getMDInstance=()=>new a.F("full",{html:!0,linkTarget:"_blank"}),Markdown=e=>{let{children:t,className:n,...l}=e,a=(0,o.useMemo)(()=>getMDInstance(),[]),s=r()(n,"markdown"),d=(0,o.useMemo)(()=>{let e={...l};return"string"==typeof t?e.dangerouslySetInnerHTML={__html:a.render(t)}:e.children=t,e},[t]);return(0,i.Y)(c,{...d,className:s})}},"7xX9":function(e,t,n){"use strict";n.d(t,{BZ:function(){return subotInlineFirstNode},EC:function(){return a},M:function(){return subotInlineMessage},Q8:function(){return subotInlineImpression},Vm:function(){return subotInlineClick}});var i=n("+OUp"),o=n("LSb+"),l=n("aVqH"),r=n("bPK4");let a=(0,i.createContext)({activeId:"",params:{},nodes:[],trackingCommonInline:{}}),subotInlineClick=async e=>{try{return await (0,l.px)((0,r.PU)(o.PATHS.SUBOT.GET_INLINE_CLICK),"POST",{data:e})}catch(e){}},subotInlineImpression=async e=>{try{return await (0,l.px)((0,r.PU)(o.PATHS.SUBOT.GET_INLINE_IMPRESSION),"POST",{data:e})}catch(e){}},subotInlineMessage=async e=>{try{return await (0,l.px)((0,r.PU)(o.PATHS.SUBOT.GET_INLINE_MESSAGE),"POST",{data:e})}catch(e){}},computeExtraSettingsForBot=e=>{var t;if((null==e?void 0:e._status)===1&&(null==e?void 0:null===(t=e._data)||void 0===t?void 0:t.extra_settings))try{let t=JSON.parse(e._data.extra_settings);"object"==typeof t?e._data.extra_settings=t:e._data.extra_settings={sync_data_friso_campaign:!1}}catch(t){e._data.extra_settings={sync_data_friso_campaign:!1}}return e},subotInlineFirstNode=async e=>{try{let t=await (0,l.px)((0,r.PU)(o.PATHS.SUBOT.GET_INLINE_FIRST_NODE)+"/".concat(e),"GET");return computeExtraSettingsForBot(t),t}catch(e){}}},"5Zd0":function(e,t,n){"use strict";n.d(t,{p:function(){return SubotCss}});var i=n("+OUp");let SubotCss=()=>((0,i.useEffect)(()=>{setTimeout(()=>{n.e(9577).then(n.t.bind(n,"Dfpe",23))},1e3)},[]),null)},Yytz:function(e,t,n){"use strict";n.d(t,{q9:function(){return r},so:function(){return l}});var i=n("VoJx"),o=n.n(i);o()(()=>Promise.all([n.e(3734),n.e(4555),n.e(7638),n.e(3594),n.e(311)]).then(n.bind(n,"qZPO")).then(e=>e.SubotInline),{loadableGenerated:{webpack:()=>["qZPO"]},ssr:!1});let l=o()(()=>Promise.all([n.e(3734),n.e(5118)]).then(n.bind(n,"EE8p")).then(e=>e.SubotInlineRevampWithTheme),{loadableGenerated:{webpack:()=>[null]},ssr:!1});o()(()=>n.e(9451).then(n.bind(n,"Ugc6")).then(e=>e.InjectedRelatedPosts),{loadableGenerated:{webpack:()=>["Ugc6"]}}),o()(()=>n.e(8224).then(n.bind(n,"/2Zb")).then(e=>e.HealthConcern),{loadableGenerated:{webpack:()=>["/2Zb"]}}),o()(()=>n.e(4841).then(n.bind(n,"6UTK")).then(e=>e.CollapsibleFaqs),{loadableGenerated:{webpack:()=>["6UTK"]}}),o()(()=>n.e(7379).then(n.bind(n,"UXeX")),{loadableGenerated:{webpack:()=>["UXeX"]}}),o()(()=>Promise.all([n.e(1856),n.e(2621),n.e(5177),n.e(2897),n.e(270),n.e(1444),n.e(3155),n.e(1463),n.e(7332),n.e(2609),n.e(1540),n.e(5573),n.e(3658),n.e(6463),n.e(3805),n.e(377),n.e(9694),n.e(121),n.e(6883)]).then(n.bind(n,"O7OQ")).then(e=>
1e.EmbeddedSpotlight),{loadableGenerated:{webpack:()=>["O7OQ"]}}),o()(()=>Promise.all([n.e(270),n.e(4728),n.e(2584),n.e(7757),n.e(7958)]).then(n.bind(n,"z7zN")).then(e=>e.EmbeddedCommunity),{loadableGenerated:{webpack:()=>["z7zN"]}}),o()(()=>Promise.all([n.e(2897),n.e(270),n.e(6255),n.e(3155),n.e(4765),n.e(5411),n.e(6548),n.e(3319),n.e(1098)]).then(n.bind(n,"Es4b")).then(e=>e.BMICard),{loadableGenerated:{webpack:()=>["Es4b"]}}),o()(()=>Promise.all([n.e(270),n.e(6255),n.e(3155),n.e(4765),n.e(4107),n.e(4239)]).then(n.bind(n,"2Aas")).then(e=>e.BMICardWrapper),{loadableGenerated:{webpack:()=>["2Aas"]}}),o()(()=>Promise.all([n.e(7053),n.e(4985),n.e(2785)]).then(n.bind(n,"khRf")).then(e=>e.BMRCard),{loadableGenerated:{webpack:()=>["khRf"]}}),o()(()=>Promise.all([n.e(270),n.e(6255),n.e(3155),n.e(4765),n.e(4539)]).then(n.bind(n,"lXMR")).then(e=>e.BMRCardWrapper),{loadableGenerated:{webpack:()=>["lXMR"]}}),o()(()=>Promise.all([n.e(2897),n.e(270),n.e(1444),n.e(6255),n.e(3155),n.e(4765),n.e(1463),n.e(6495),n.e(9705),n.e(6548),n.e(3319),n.e(6755),n.e(9357)]).then(n.bind(n,"z0S7")).then(e=>e.DueDateCard),{loadableGenerated:{webpack:()=>["z0S7"]}});let r=o()(()=>Promise.all([n.e(2897),n.e(1444),n.e(1463),n.e(5582)]).then(n.bind(n,"W1kr")).then(e=>e.DueDateCardWrapper),{loadableGenerated:{webpack:()=>["W1kr"]}});o()(()=>Promise.all([n.e(2897),n.e(1444),n.e(3805),n.e(2417)]).then(n.bind(n,"NVrP")).then(e=>e.OvulationCardWrapper),{loadableGenerated:{webpack:()=>["NVrP"]}}),o()(()=>Promise.all([n.e(2897),n.e(1444),n.e(6463),n.e(4813)]).then(n.bind(n,"dJM9")).then(e=>e.BabyGrowthCard),{loadableGenerated:{webpack:()=>["dJM9"]}}),o()(()=>Promise.all([n.e(2990),n.e(2843)]).then(n.bind(n,"XTfT")).then(e=>e.OvulationCard),{loadableGenerated:{webpack:()=>["XTfT"]}}),o()(()=>Promise.all([n.e(2990),n.e(8484)]).then(n.bind(n,"GRVC")).then(e=>e.PWGCard),{loadableGenerated:{webpack:()=>["GRVC"]}}),o()(()=>Promise.all([n.e(2897),n.e(1153)]).then(n.bind(n,"efBK")).then(e=>e.PWGCardWrapper),{loadableGenerated:{webpack:()=>["efBK"]}}),o()(()=>Promise.all([n.e(2990),n.e(4985),n.e(6831)]).then(n.bind(n,"2oRe")).then(e=>e.THRCard),{loadableGenerated:{webpack:()=>["2oRe"]}}),o()(()=>Promise.all([n.e(2897),n.e(1444),n.e(3125)]).then(n.bind(n,"wZxR")).then(e=>e.THRCardWrapper),{loadableGenerated:{webpack:()=>["wZxR"]}}),o()(()=>n.e(425).then(n.bind(n,"fY7c")).then(e=>e.BabyPoopCard),{loadableGenerated:{webpack:()=>["fY7c"]}}),o()(()=>Promise.all([n.e(2897),n.e(1444),n.e(2186)]).then(n.bind(n,"7ZMO")).then(e=>e.BabyVaccinationCard),{loadableGenerated:{webpack:()=>["7ZMO"]}}),o()(()=>n.e(5209).then(n.bind(n,"EDtq")).then(e=>e.ArticleRecommendation),{loadableGenerated:{webpack:()=>["EDtq"]}}),o()(()=>n.e(9104).then(n.bind(n,"Wxzg")).then(e=>e.ContentItemAppBanner),{loadableGenerated:{webpack:()=>["Wxzg"]}}),o()(()=>Promise.all([n.e(9705),n.e(3087)]).then(n.bind(n,"+qUI")).then(e=>e.ContentItemInterscrollerAd),{loadableGenerated:{webpack:()=>["+qUI"]}}),o()(()=>n.e(267).then(n.bind(n,"Zkkd")).then(e=>e.ContentItemVideoList),{loadableGenerated:{webpack:()=>["Zkkd"]}}),o()(()=>Promise.all([n.e(8669),n.e(3739),n.e(3429)]).then(n.bind(n,"iifB")).then(e=>e.RelatedArticleCarousel),{loadableGenerated:{webpack:()=>["iifB"]}}),o()(()=>n.e(2095).then(n.bind(n,"JaaR")).then(e=>e.EmbeddedAffiliate),{loadableGenerated:{webpack:()=>["JaaR"]}}),o()(()=>n.e(5003).then(n.bind(n,"h06R")).then(e=>e.ReadMore),{loadableGenerated:{webpack:()=>["h06R"]}}),o()(()=>n.e(5393).then(n.bind(n,"sZMt")).then(e=>e.PremiumContentBanner),{loadableGenerated:{webpack:()=>["sZMt"]}}),o()(()=>Promise.all([n.e(5938),n.e(6922)]).then(n.bind(n,"jeYB")).then(e=>e.ProductsWidget),{loadableGenerated:{webpack:()=>["jeYB"]}}),o()(()=>Promise.all([n.e(5163),n.e(6260),n.e(2897),n.e(1444),n.e(7332),n.e(8666),n.e(6220),n.e(5094)]).then(n.bind(n,"6MGn")).then(e=>e.LeadGenSubscriptionBox),{loadableGenerated:{webpack:()=>[null]},ssr:!1})},PDSQ:function(e,t,n){"use strict";n.d(t,{U:function(){return useAppContext}});var i=n("+OUp"),o=n("VnHZ");let useAppContext=()=>(0,i.useContext)(o.B)},"3Yr3":function(e,t,n){"use strict";n.d(t,{IQ:function(){return h},QB:function(){return useTrackingGetFcmToken},Td:function(){return useTrackingClickButtonTemplate},VY:function(){return m},tN:function(){return useTrackingVisitSite},vA:function(){return useTrackingClickCarePathTemplate}});var i=n("+OUp"),o=n("dvDa"),l=n("p46w"),r=n.n(l),a=n("aVqH"),s=n("7/Cf"),c=n("9brV"),d=n("YhO
16"),u=n("wA0V"),p=n("a5L+");let m=c.p8?"https://event-tracking.hellohealthgroup.com":"https://event-tracking-staging.hellohealthgroup.com",h={[d.n.Vietnam]:"hellobacsi",[d.n.Indonesia]:"hellosehat",[d.n.Thailand]:"hellokhunmor",[d.n.Malaysia]:"hellodoktor",[d.n.Taiwan]:"helloyishi",[d.n.Myanmar]:"hellosayarwon",[d.n.PhilippinesEnglish]:"hellodoctor",[d.n.Cambodia]:"hellokrupet",[d.n.India]:"helloswasthya",[d.n.PhilippinesTagalog]:"hellodoctor-fil",[d.n.Singapore]:"hellojiankang"};function useTrackingVisitSite(){let e=(0,u.m)();(0,i.useEffect)(()=>{var t;let n=(0,s.Us)();o.A.post(m+"/v1/custom-event/collect",{action:"start",source:"Discover",ga_client_id:r().get(c.pJ),site_code:h[a.Hg],email:n.email,account_id:n.id,data:{timestamp:new Date().toISOString(),page_url:e,window_id:(0,a.Q2)(),cookie_id:(0,s.lT)(),client_agent:(null===(t=navigator)||void 0===t?void 0:t.userAgent)||"",token:localStorage.getItem("fcm_token")||"",email:n.email,account_id:n.id}}).catch(console.log)},[])}function useTrackingGetFcmToken(){let e=(0,u.m)();return{trackingGetFcmToken:t=>{var n;if(localStorage.getItem("last_track")===t)return;let i=(0,s.Us)();o.A.post(m+"/v1/custom-event/collect",{action:"get_token",source:"Discover",ga_client_id:r().get(c.pJ),site_code:h[a.Hg],email:i.email,account_id:i.id,data:{timestamp:new Date().toISOString(),page_url:e,window_id:(0,a.Q2)(),cookie_id:(0,s.lT)(),client_agent:(null===(n=navigator)||void 0===n?void 0:n.userAgent)||"",token:t,email:i.email,account_id:i.id}}).then(()=>{localStorage.setItem("last_track",t)}).catch(console.log)}}}let useTrackingClickCarePathTemplate=()=>{let e=(0,u.m)(),t=(0,p.a)(),n=(0,i.useRef)(n=>{var i;let l=(0,s.Us)(),d=new Date().toISOString();o.A.post(m+"/v1/custom-event/collect",{action:"submit",source:"spotlight",ga_client_id:r().get(c.pJ),email:(null==l?void 0:l.email)||"",account_id:null==l?void 0:l.id,site_code:h[a.Hg],timestamp:d,data:{timestamp:d,url:e,window_id:(0,a.Q2)(),cookie_id:(0,s.lT)(),client_agent:(null===(i=navigator)||void 0===i?void 0:i.userAgent)||"",token:localStorage.getItem("fcm_token"),target_group:n,device_type:t?"mobile":"web"}}).catch(console.log)});return{trackUserClickCarePathTemplate:n.current}},useTrackingClickButtonTemplate=()=>{let e=(0,u.m)(),t=(0,p.a)(),n=(0,i.useRef)(n=>{var i;let l=(0,s.Us)(),d=new Date().toISOString();o.A.post(m+"/v1/custom-event/collect",{action:n,source:"landing_page",ga_client_id:r().get(c.pJ),email:(null==l?void 0:l.email)||"",account_id:null==l?void 0:l.id,site_code:h[a.Hg],timestamp:d,data:{timestamp:d,url:e,window_id:(0,a.Q2)(),cookie_id:(0,s.lT)(),client_agent:(null===(i=navigator)||void 0===i?void 0:i.userAgent)||"",token:localStorage.getItem("fcm_token"),device_type:t?"mobile":"web"}}).catch(console.log)});return{trackingClickButtonTemplate:n.current}}},"PAs/":function(e,t,n){"use strict";var i,o,l,r,a,s,c,d,u,p;n.d(t,{Ch:function(){return i},RS:function(){return a},XG:function(){return l},Z6:function(){return o},rQ:function(){return r},sR:function(){return m},zc:function(){return h}}),(s=i||(i={}))[s.HEAD=0]="HEAD",s[s.TAIL=1]="TAIL",s[s.MIDDLE=2]="MIDDLE",s[s.CONNECT=3]="CONNECT",s[s.SSO=4]="SSO",s[s.MULTIPLE=5]="MULTIPLE",(c=o||(o={}))[c.UNDEFINED=-1]="UNDEFINED",c[c.TEXT=0]="TEXT",c[c.IMAGE=1]="IMAGE",c[c.FORM=2]="FORM",c[c.CONDITION=3]="CONDITION",c[c.POLL=4]="POLL",c[c.FINAL_STANDARD=5]="FINAL_STANDARD",c[c.FINAL=6]="FINAL",c[c.FINAL_THANK_YOU=7]="FINAL_THANK_YOU",c[c.RATING=8]="RATING",c[c.REACTION=9]="REACTION",c[c.REVIEW=10]="REVIEW",c[c.RESULT_POLL=11]="RESULT_POLL",c[c.RESULT_RATING=12]="RESULT_RATING",c[c.RESULT_REACTION=13]="RESULT_REACTION",c[c.OTP=14]="OTP";let m=[6,5,7];(d=l||(l={})).BOT_TEXT="bot-text",d.BOT_IMAGE="bot-image",d.BOT_BACKGROUND_IMAGE="bot-background-image",d.BOT_BUTTON="bot-button",d.BOT_URL="bot-url",d.BOT_RECALCULATE="bot-recalculate",d.BOT_BOOKING="bot-booking",d.BOT_MAIN_TITLE="bot-main-title",d.BOT_MAIN_IMAGE="bot-main-image",d.BOT_MAIN_BODY="bot-main-body",d.BOT_MAIN_BUTTON="bot-main-button",d.BOT_SUB_TITLE="bot-sub-title",d.BOT_SUB_BODY="bot-sub-body",d.BOT_LANDING_PAGE_URL="bot-landing-page-url",d.BOT_LANDING_PAGE_BUTTON="bot-landing-page-button",d.BOT_RISK_SCREEN="bot-risk-screen",d.BOT_RELATED_ARTICLE="bot-related-article",d.THANK_YOU_IMAGE="thank-you-image",d.THANK_YOU_TITLE="thank-you-title",d.THANK_YOU_BODY="thank-you-body",d.TOTAL_LINE="total-line",d.BOT_SUBMISSION="bot-submission",d.BOT_EVENT_SUBMISSION="bot-event-submission",d.BOT_SUGGESTED_SERVICE="bot-suggested-service",d.SSO_INTENT="sso-intent",(u=r||(r={})).ACTION_CONDITION="action-condition",u.ACTION_INTERNAL="action-internal",u.ACTION_EXTERNAL="action-external",u.ACTION_SSO_REDIRECT="action-sso-redirect",u.ACTION_MULTIPLE_BUTTON="action-multiple-button",u.USER_CHOICE_TEXT="user-choice-text",u.USER_CHOICE_TEXT_BY_INPUT="user-choice-text-by-input",u.USER_CHOICE_NEXT="user-choice-next",u.USER_CHOICE_IMAGE="user-choice-image",u.USER_SUBMIT_TEXT="user-submit-text",u.USER_SUBMIT_NUMBER="user-submit-number",u.USER_SUBMIT_NAME="user-submit-name",u.USER_SUBMIT_PHONE="user-submit-phone",u.USER_SUBMIT_EMAIL="user-submit-email",u.USER_SUBMIT_DROPDOWN="user-submit-dropdown",u.USER_SUBMIT_DATE="user-submit-date",u.USER_SUBMIT_CONFIRM="user-submit-confirm",u.USER_SUBMIT_SEND="user-submit-send",u.USER_SUBMIT_RESEND="user-submit-resend",u.USER_SUBMIT_ADDRESS="user-submit-address",u.USER_SUBMIT_ADDRESS_PROVINCE="user-submit-address-province",u.USER_SUBMIT_ADDRESS_DISTRICT="user-submit-address-district",u.USER_SUBMIT_ADDRESS_COMMUNE="user-submit-address-commune",u.USER_SUBMIT_BMI="user-submit-bmi",u.USER_SUBMIT_BMI_HIDDEN="user-submit-bmi-hidden",u.USER_SUBMIT_TERMS="user-submit-terms",u.USER_SUBMIT_GENDER="user-submit-gender",u.USER_SUBMIT_OTP="user-submit-otp",u.USER_SUBMIT_WHATSAPP="user-submit-whatsapp",u.POLL_CHOICE="poll-choice",u.POLL_CHOICE_TEXT_BY_INPUT="poll-choice-text-by-input",u.POLL_CHOICE_IMAGE="poll-choice-image",u.POLL_BUTTON="poll-button",u.RATING_STAR="rating-star",u.RATING_DESCRIPTION="rating-description",u.RATING_BUTTON="rating-button",u.LIKE_CHOICE="like-choice",u.DISLIKE_CHOICE="dislike-choice",u.REVIEW_CHOICE="review-choice",u.REVIEW_DESCRIPTION="review-description",u.REVIEW_BUTTON="review-button",u.RESULT_BUTTON="result-button",u.POLL_RESULT="poll-result",u.USER_SUBMIT_GOOGLE_API_ADDRESS="user-submit-google-api-address",(p=a||(a={}))[p.UNLIMITED=0]="UNLIMITED",p[p.EXACT_NUMBER=1]="EXACT_NUMBER",p[p.RANGE=2]="RANGE";let h={"user-submit-email":"email","user-submit-text":"text","user-submit-dropdown":"text","user-submit-name":"name","user-submit-number":"number","user-submit-address":"address","user-submit-phone":"tel","user-submit-otp":"tel","user-submit-whatsapp":"tel","user-submit-date":"date","user-submit-confirm":"confirm","user-submit-send":"submit","user-submit-terms":"terms","user-submit-address-province":"province","user-submit-address-district":"district","user-submit-address-commune":"commune","user-submit-bmi":"bmi","user-submit-gender":"gender","poll-choice":"poll","poll-choice-image":"poll","rating-star":"rating","rating-description":"text","like-choice":"like","dislike-choice":"dislike","review-choice":"review","user-submit-google-api-address":"google-api-address","user-choice-text-by-input":"text","poll-choice-text-by-input":"text"}},anhH:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return eP},default:function(){return _slug_}});var i=n("BGKE"),o=n("+OUp"),l=n.n(o),r=n("k3v3"),a=n.n(r),s=n("99+y"),c=n("JOt+"),d=n("LSb+"),u=n("0rEg"),p=n("rBCA"),m=n("q8gk"),h=n.n(m);let g={heading:"mailup-bee-newsletter-modules-heading",paragraph:"mailup-bee-newsletter-modules-paragraph",image:"mailup-bee-newsletter-modules-image",divider:"mailup-bee-newsletter-modules-divider",spacer:"mailup-bee-newsletter-modules-spacer",button:"mailup-bee-newsletter-modules-button",list:"mailup-bee-newsletter-modules-list",hhgSocial:"mailup-bee-newsletter-modules-HHGSocial",hhgArticle:"hhg-modules-HHGArticle",form:"mailup-bee-newsletter-modules-form",html:"mailup-bee-newsletter-modules-html",subot:"mailup-bee-newsletter-modules-subot",carousel:"mailup-bee-newsletter-modules-carousel",countdown:"hhg-countdown"};function parseStyleToInline(e){return Object.keys(e).map(t=>{let n=e[t];return"".concat(t,": ").concat(n,";")}).join("")}function convertStyleToJsx(e,t){let n={};for(let t in e)e[t]&&(n[h()(t)]=e[t]);if(t)for(let e in t)t[e]&&(n[h()(e)]=t[e]);return"transparent"===n.backgroundColor&&delete n.backgroundColor,"transparent"===n.color&&delete n.color,n}function getDataEventAction(e,t){return"image"===e?"image_click_"+t:"button"===e?"button_click_"+t:"title"===e||"heading"===e?"title_click_"+t:"video"===e?"video_click_"+t:"form"===e?"form_click_"+t:"text"===e?"form_opentext_click_"+t:"phone"===e?"form_phone_click_"+t:"email"===e?"form_email_click_"+t:"date"===e?"form_date_click_"+t:"consent"===e?"form_consent_click_"+t:"dropdown"===e?"form_dropdown_click_"+t:"block_".concat(e,"_").concat(t)}let b=(0,p.A)("div",{target:"ed674340"})("font-size:14px;a{text-decoration:none;}",e=>e.contentStyle?parseStyleToInline(e.contentStyle):""," ",e=>e.containerStyle," ",e=>e.linkColor?"a { color: ".concat(e.linkColor," }"):""),f=(0,p.A)("div",{target:"ed674341"})(e=>e.containerStyle?parseStyleToInline(e.containerStyle):""," .lp-row-container{display:flex;max-width:",e=>e.containerWidth,";background-color:",e=>e.containerBgColor,";",e=>"center"===e.align?"margin: auto;":""," ",e=>e.contentStyle?parseStyleToInline(e.contentStyle):""," &.lp-row-container--full{max-width:100%;width:100%;}}.lp-column-1{width:8.3333333%;}.lp-column-2{width:16.6666666%;}.lp-column-3{width:25%;}.lp-column-4{width:33.33333333%;}.lp-column-5{width:41.66666667%;}.lp-column-6{width:50%;}.lp-column-7{width:58.33333333%;}.lp-column-8{width:66.6666666%;}.lp-column-9{width:66.6666666%;}.lp-column-10{width:83.33333333%;}.lp-column-11{width:91.66666667%;}.lp-column-12{width:100%;}@media (min-width:992px){}@media (max-width:991px){.stack .column{width:100%;display:block;}.lp-row-container{flex-wrap:wrap;width:100%;}.lp-row-columns-stack{.lp-column{width:100%;}}.lp-row-two-columns-mobile{.lp-column{width:50%;}}}"),y=(0,p.A)("div",{target:"ed674342"})(e=>e.containerStyle?parseStyleToInline(e.containerStyle):""),w=(0,p.A)("div",{target:"ed674343"})(e=>e.containerStyle?parseStyleToInline(e.containerStyle):""),v={align:"center",containerBgColor:"transparent",containerWidth:"auto",linkColor:""},k=l().createContext(v),_=k.Provider;var S=n("TSYQ"),T=n.n(S),I=n("a5L+"),x=n("wA0V"),E=n("3Yr3");let C=(0,p.A)("div",{target:"en67360"})(e=>e.styleWrap?parseStyleToInline(e.styleWrap):""," ",e=>e.styleModule?"\n .template-module {\n word-break: break-word;\n ".concat(parseStyleToInline(e.styleModule),"\n }\n "):""),Y=(0,p.A)(C,{target:"en67361"})("a,img{max-width:100%;display:block;height:auto;&.autowidth{width:auto;}&.right{margin-left:auto;}&.center{margin-left:auto;margin-right:auto;}@media (max-width:767px){&.fullwidthOnMobile{width:100%;}}}a img{width:100%;}"),D=(0,p.A)(C,{target:"en67362"})(".template-module{cursor:pointer;display:inline-block;transition:all 0.3s ease;&:hover{box-shadow:1px 1px 4px 0 rgb(0 0 0 / 50%);}}"),A=(0,p.A)(C,{target:"en67363"})("p + p{margin-top:",e=>{var t;return(null===(t=e.computedStyle)||void 0===t?void 0:t.paragraphSpacing)||"0px"},";}"),N=(0,p.A)(C,{target:"en67364"})(),M=(0,p.A)(C,{target:"en67365"})(".template-module{ul,ol{padding-left:40px;margin-bottom:1em;}ul{list-style-type:disc;}ol{list-style-type:decimal;}ul ul{list-style-type:circle;}ul ul ul{list-style-type:square;}}"),L=(0,p.A)(C,{target:"en67366"})("ul{display:inline-flex;margin-left:auto;margin-right:auto;a,img{display:block;}li{",e=>e.$iconsSpacing?parseStyleToInline(e.$iconsSpacing):"","}}"),O=(0,p.A)(C,{target:"en67367"})("@media (max-width:767px){[class*='SubotInlineLoadingContainer']{margin-left:0;margin-right:0;}}");function ModuleButton(e){let{uuid:t,style:n,button:l,customEvent:r}=e,a=l.style,s=(0,x.m)(),{trackingClickButtonTemplate:c}=(0,E.Td)(),d=(0,o.useCallback)(()=>{r&&c(r)},[]),u=(0,i.Y)("button",{dangerouslySetInnerHTML:{__html:l.html},className:"template-module",onClick:r?d:void 0,"data-event-action":getDataEventAction("button",t),"data-event-label":s,"data-event-category":"SIDIS_LP"}),p=(0,o.useMemo)(()=>l.href?l.href.startsWith("#")?l.href:l.href.startsWith("http")?l.href:"//"+l.href:"",[l.href]);return(0,i.Y)(D,{styleWrap:n,styleModule:a,id:t,children:l.href?(0,i.Y)("a",{href:p,target:"_blank",style:{color:"initial"},children:u}):u})}var P=n("AJQa");let R=(0,p.A)("div",{target:"e17fxwfx0"})("@media (max-width:767px){.carousel-arrow{width:30px;}}"),H=(0,p.A)("div",{target:"e17fxwfx1"})("padding-top:41.67%;position:relative;width:100%;img{top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;position:absolute;}@media (max-width:767px){padding-top:56.25%;}");function ModuleCarousel(e){let{style:t,carousel:n}=e,l=(0,o.useMemo)(()=>(null==n?void 0:n.images.filter(e=>!!e.src))||[],[null==n?void 0:n.images]),r=(0,o.useRef)(null);return((0,o.useEffect)(()=>{let e=setInterval(()=>{var e;null===(e=r.current)||void 0===e||e.scrollNext()},4e3);return()=>{clearInterval(e)}},[]),l.length)?(0,i.Y)(C,{styleWrap:t,children:(0,i.Y)(R,{children:(0,i.Y)(P.F,{loop:!0,draggable:!0,dragFree:!1,withIndicators:!0,withControls:!0,slidesToScroll:1,align:"start",slideSize:"100%",getEmblaApi:e=>{r.current=e},nextControlIcon:(0,i.FD)("svg",{version:"1.2",baseProfile:"tiny-ps",viewBox:"0 0 49 71",width:49,height:71,children:[(0,i.Y)("title",{children:"right button 2 copy 2"}),(0,i.Y)("style",{dangerouslySetInnerHTML:{__html:"\n tspan { white-space:pre }\n .shp0 { fill: #ffffff;stroke: #ffffff;stroke-width: 2 } \n "}}),(0,i.Y)("path",{id:"right button 2 copy 2",className:"shp0",d:"M12 12.98L13.01 11.99L37 35.56L35.98 36.55L12 12.98ZM12 58L35.98 34.43L37 35.43L13.02 59L12 58Z"})]}),previousControlIcon:(0,i.FD)("svg",{version:"1.2",baseProfile:"tiny-ps",viewBox:"0 0 49 71",width:49,height:71,children:[(0,i.Y)("title",{children:"right button 2 copy 3"}),(0,i.Y)("style",{dangerouslySetInnerHTML:{__html:"\n tspan { white-space:pre }\n .shp0 { fill: #ffffff;stroke: #ffffff;stroke-width: 2 } \n "}}),(0,i.Y)("path",{id:"right button 2 copy 3",className:"shp0",d:"M13.01 36.55L12 35.56L35.99 11.99L37 12.98L13.01 36.55ZM35.98 59L12 35.43L13.01 34.43L37 58L35.98 59Z"})]}),styles:{controls:{top:"50%",transform:"translateY(-50%)"},control:{border:"0",boxShadow:"none",backgroundColor:"transparent",svg:{width:"2rem",height:"auto"}},indicator:{width:"12px",height:"12px",boxShadow:"0 0 15px rgb(0 0 0 / 16%)"}},children:l.map((e,t)=>(0,i.Y)(P.F.Slide,{children:(0,i.Y)(H,{className:"keen-slider__slide",children:e.link?(0,i.Y)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",children:(0,i.Y)("img",{loading:"lazy",src:e.src,alt:e.alt})}):(0,i.Y)("img",{loading:"lazy",src:e.src,alt:e.alt})})},t))})})}):null}let U=(0,p.A)("div",{target:"eqbgt130"})("display:flex;.countdown{line-height:1.4;display:inline-flex;padding-left:10px;padding-right:10px;}.countdown--separator{display:block;font-size:1em;font-weight:700;}"),B=(0,p.A)("div",{target:"eqbgt131"})("text-align:center;
1span{display:block;}.countdown--number{font-size:1em;font-weight:700;}.countdown--label{font-size:0.6em;font-weight:400;}"),F={days:"00",hours:"00",minutes:"00",seconds:"00"};function ModuleCountdown(e){let{countdown:t,style:n,computedStyle:l}=e,[r,a]=(0,o.useState)(F),s=l.align,{"padding-top":c,"padding-bottom":d,"padding-left":u,"padding-right":p,...m}=t.style;(0,o.useEffect)(()=>{let e;let n=new Date(t.date).getTime(),handler=()=>{let t=new Date().getTime(),i=n-t;i<0?(clearInterval(e),a(F)):a({days:Math.floor(i/864e5).toString().padStart(2,"0"),hours:Math.floor(i%864e5/36e5).toString().padStart(2,"0"),minutes:Math.floor(i%36e5/6e4).toString().padStart(2,"0"),seconds:Math.floor(i%6e4/1e3).toString().padStart(2,"0")})};return handler(),e=setInterval(handler,1e3),()=>{clearInterval(e)}},[t.date]);let h=convertStyleToJsx(n),g=convertStyleToJsx(m),b={paddingTop:c,paddingBottom:d,paddingLeft:u,paddingRight:p},f={paddingTop:c,paddingBottom:d};return"center"===s?h.justifyContent="center":"right"===s&&(h.justifyContent="flex-end"),(0,i.Y)(U,{style:h,children:(0,i.FD)("div",{className:"countdown",style:g,children:[(0,i.FD)(B,{style:b,children:[(0,i.Y)("span",{className:"countdown--number",children:r.days}),(0,i.Y)("span",{className:"countdown--label",children:t.wording.day})]}),(0,i.Y)("span",{className:"countdown--separator",style:f,children:t.separator}),(0,i.FD)(B,{style:b,children:[(0,i.Y)("span",{className:"countdown--number",children:r.hours}),(0,i.Y)("span",{className:"countdown--label",children:t.wording.hour})]}),(0,i.Y)("span",{className:"countdown--separator",style:f,children:t.separator}),(0,i.FD)(B,{style:b,children:[(0,i.Y)("span",{className:"countdown--number",children:r.minutes}),(0,i.Y)("span",{className:"countdown--label",children:t.wording.minute})]}),(0,i.Y)("span",{className:"countdown--separator",style:f,children:t.separator}),(0,i.FD)(B,{style:b,children:[(0,i.Y)("span",{className:"countdown--number",children:r.seconds}),(0,i.Y)("span",{className:"countdown--label",children:t.wording.second})]})]})})}function ModuleDivider(e){let{style:t,divider:n,computedStyle:o,uuid:l}=e,r=n.style,a=o.align;return(0,i.Y)(C,{styleWrap:t,styleModule:r,id:l,children:(0,i.Y)("div",{className:"template-module",style:{margin:"center"===a?"0 auto":"right"===a?"0 0 0 auto":"0"}})})}var G=n("dDsW"),W=n("aVqH"),V=n("bPK4"),K=n("mYBQ"),z=n("Rlzi"),q=n.n(z),X=n("VnHZ"),J=n("lpGY"),Z=n("dvDa"),Q=JSON.parse('{"vn":[{"name":"vn","child":"City"},{"name":"City","child":"District"},{"name":"District","child":"Ward"},{"name":"Ward","child":"Postcode"},{"name":"Postcode","child":""}],"id":[{"name":"id","child":"Province"},{"name":"Province","child":"City"},{"name":"City","child":"District"},{"name":"District","child":"Village"},{"name":"Village","child":"Postcode"},{"name":"Postcode","child":""}],"th":[{"name":"th","child":"Province"},{"name":"Province","child":"District"},{"name":"District","child":"Sub-district"},{"name":"Sub-district","child":"Postcode"},{"name":"Postcode","child":""}],"mm":[{"name":"mm","child":"City"},{"name":"City","child":"Postcode"},{"name":"Postcode","child":""}],"tw":[{"name":"tw","child":"Country"},{"name":"Country","child":"City"},{"name":"City","child":"Postcode"},{"name":"Postcode","child":""}],"ph":[{"name":"ph","child":"Region"},{"name":"Region","child":"Province"},{"name":"Province","child":"City"},{"name":"City","child":"Barangay"},{"name":"Barangay","child":"Postcode"},{"name":"Postcode","child":""}],"kh":[{"name":"kh","child":"Province"},{"name":"Province","child":"District"},{"name":"District","child":"Sub-district"},{"name":"Sub-district","child":"Postcode"},{"name":"Postcode","child":""}],"my":[{"name":"my","child":"State"},{"name":"State","child":"Sub-district"},{"name":"Sub-district","child":"Location"},{"name":"Location","child":"Postcode"},{"name":"Postcode","child":""}],"in":[{"name":"in","child":"State"},{"name":"State","child":"Sub-district"},{"name":"Sub-district","child":"Location"},{"name":"Location","child":"Postcode"},{"name":"Postcode","child":""}]}');function getLevelKey(e,t){return Q[e][t-1].child||Q.vn[t-1].child}function getDataFromLevelKey(e,t,n,i){let o={},l=[];Z.A.get(""+"/countries/".concat(e,".json")).then(r=>{let a=r.data[e];
1a.forEach(e=>{let i="";e[t]&&!o[e[t]]&&(n&&n.key?e[n.key]===n.value&&(i=e[t]):i=e[t],i&&(o[e[t]]=!0,l.push(e[t])))}),i&&i(l)}).catch(()=>{i&&i([])})}let fnLogicSort=(e,t)=>{let n=e.replace("Tá»nh ","").replace("Th\xe0nh phá» ","").replace("Quáºn ","").replace("Huyá»n ","").replace("Phưá»ng ","").replace("Thá» x\xe3 ","").replace("Thá» trấn ","").replace("X\xe3 ",""),i=t.replace("Tá»nh ","").replace("Th\xe0nh phá» ","").replace("Quáºn ","").replace("Huyá»n ","").replace("Phưá»ng ","").replace("Thá» x\xe3 ","").replace("Thá» trấn ","").replace("X\xe3 ","");return n.localeCompare(i)},useAddressMultipleLevelData=e=>{let t=(e||"vn").toLowerCase(),n=getLevelKey(t,1),i=getLevelKey(t,2),l=getLevelKey(t,3),[r,a]=(0,o.useState)([]),[s,c]=(0,o.useState)([]),[d,u]=(0,o.useState)([]),[p,m]=(0,o.useState)(""),[h,g]=(0,o.useState)(""),[b,f]=(0,o.useState)("");return(0,o.useEffect)(()=>{getDataFromLevelKey(t,n,void 0,e=>{a(e.sort(fnLogicSort))})},[t,n]),(0,o.useEffect)(()=>{i&&getDataFromLevelKey(t,i,{key:n,value:p},e=>{c(e.sort(fnLogicSort))})},[t,n,i,p]),(0,o.useEffect)(()=>{l&&getDataFromLevelKey(t,l,{key:i,value:h},e=>{u(e.sort(fnLogicSort))})},[t,i,l,h]),{level1:r,level2:s,level3:d,setSelectedLevel1:m,setSelectedLevel2:g,setSelectedLevel3:f,selectedLevel1:p,selectedLevel2:h,selectedLevel3:b}},j=(0,p.A)("form",{target:"e14mgs8v0"})("margin:0 auto;",e=>e.computedStyle.linkColor?"\n a {\n color: ".concat(e.computedStyle.linkColor,"\n }\n "):""," @media screen and (min-width:",e=>e.$containerWidth,"){width:",e=>e.$formWidth,";}"),$=(0,p.A)("div",{target:"e14mgs8v1"})("display:flex;flex-flow:row wrap;flex-grow:1;.form_field{padding:3px;flex:1 1 0%;display:block;flex-wrap:wrap;max-width:100%;&.checkbox{display:flex;align-items:flex-start;flex-wrap:nowrap;}}"),ee=(0,p.A)("label",{target:"e14mgs8v2"})("display:inline-block;",e=>e.styleRecord),et=(0,p.A)("input",{target:"e14mgs8v3"})("line-height:1.571;width:100%;",e=>{let t={...e.styleRecord};return delete t["outline-color"],t},";",e=>e.styleRecord["outline-color"]?"\n &:focus {\n border-color: ".concat(e.styleRecord["outline-color"],";\n }\n "):""," &[type='submit']{cursor:pointer;}&[disabled]{opacity:0.6;cursor:not-allowed;}"),en=(0,p.A)("select",{target:"e14mgs8v4"})("background:url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n right 6px center no-repeat;width:100%;",e=>e.styleRecord,";"),ei=(0,p.A)(et,{target:"e14mgs8v5"})("width:1.2em;height:1.2em;position:relative;padding:0;flex-shrink:0;border-radius:2px;transition:background 0.3s ease 0s,border-color 0.3s ease 0s,box-shadow 0.3s ease 0s;border:2px solid #595959;& + label{padding-left:5px;display:inline-block;vertical-align:middle;min-width:auto;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;a{text-decoration:none;&:hover{text-decoration:underline;}}}&:checked{border:0px;background:#2d87f3\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;}"),eo=(0,p.A)("div",{target:"e14mgs8v6"})("display:flex;gap:15px;max-width:100%;select{background:url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n right 5px center no-repeat;height:100%;flex:1;min-width:0;",e=>e.styleRecord,";}"),el=(0,p.A)("div",{target:"e14mgs8v7"})("display:flex;gap:15px;"),er=(0,p.A)("div",{target:"e14mgs8v8"})("width:100%;margin-top:10px;text-align:center;.otp-loading{background:url(data:image/gif;base64,R0lGODlhbgAKAPMAALy6vNze3PTy9MTCxOTm5Pz6/Ly+vNTS1Pz+/Ozq7MzKzP\n no-repeat;height:10px;width:100%;background-position:top;margin-bottom:1rem;}"),ea=(0,p.A)("div",{target:"e14mgs8v9"})("width:100%;margin-top:10px;text-align:center;"),es=(0,p.A)("div",{target:"e14mgs8v10"})("position:relative;> svg{position:absolute;right:15px;width:24px;height:24px;padding:4px;top:50%;transform:translateY(-50%);cursor:pointer;transition:all 0.3s ease;z-index:1;&:hover{transform:translateY(-50%) scale(1.1);}}"),ec=l().createContext({form:{attributes:{},structure:{attributes:{},description:"",title:"",fields:[]},style:{buttons:{},labels:{},fields:{},width:""},options:{campaign_code:"",message_success:"",message_error:"",thank_you_url:""}},computedStyle:{class:"",hideContentOnDesktop:!1,hideContentOnMobile:!1,linkColor:""},minHeight:0}),ed=ec.Provider,eu=/(\[([^\]]+)])\(([^)]+)\)/g,ep=W.Hg.split("-")[1],em={"vi-VN":{province:"Tá»nh/th\xe0nh",district:"Quáºn/huyá»n",commune:"Phưá»ng/x\xe3"},"en-PH":{province:"Province/City",district:"District",commune:"Ward/Commune"},"id-ID":{province:"Provinsi/Kota",district:"Kecamatan",commune:"Kelurahan/Komune"}},eh=(0,o.forwardRef)(function(e,t){let{fieldData:n}=e,{form:l,minHeight:r}=(0,o.useContext)(ec)||{},{"label-position":a,...s}=l.style.labels,c=useAddressMultipleLevelData(ep),d=(0,o.useMemo)(()=>c.level1.map(e=>({label:e,value:e})),[c.level1]),u=(0,o.useMemo)(()=>c.level2.map(e=>({label:e,value:e})),[c.level2]),p=(0,o.useMemo)(()=>c.level3.map(e=>({label:e,value:e})),[c.level3]);(0,o.useImperativeHandle)(t,()=>({province:c.selectedLevel1,district:c.selectedLevel2,commune:c.selectedLevel3}),[c.selectedLevel1,c.selectedLevel2,c.selectedLevel3]);let m=em[W.Hg]||em["en-PH"];return(0,i.FD)("div",{className:"form_field "+a,children:[n.label&&(0,i.Y)(ee,{styleRecord:s,children:n.label}),(0,i.FD)(eo,{styleRecord:l.style.fields,children:[(0,i.FD)("select",{name:"province",style:{minHeight:r},required:!0,onChange:e=>{c.setSelectedLevel1(e.target.value)},children:[(0,i.Y)("option",{value:"",children:m.province}),d.map(e=>(0,i.Y)("option",{value:e.value,children:e.label},e.value))]}),(0,i.FD)("select",{name:"district",style:{minHeight:r},required:!0,disabled:!u.length,onChange:e=>{c.setSelectedLevel2(e.target.value)},children:[(0,i.Y)("option",{value:"",children:m.district}),u.map(e=>(0,i.Y)("option",{value:e.value,children:e.label},e.value))]}),(0,i.FD)("select",{name:"commune",style:{minHeight:r},required:!0,disabled:!p.length,onChange:e=>{c.setSelectedLevel3(e.target.value)},children:[(0,i.Y)("option",{value:"",children:m.commune}),p.map(e=>(0,i.Y)("option",{value:e.value,children:e.label},e.value))]})]})]})}),genKeyDay=e=>e+"_day",genKeyMonth=e=>e+"_month",genKeyYeah=e=>e+"_year",daysInMonth=(e,t)=>e?new Date(t||new Date().getFullYear(),e,0).getDate():31,recalculateNumberOfDate=e=>{let{day:t,month:n,year:i}=e;if(!n||!t)return e;let o=daysInMonth(n,i);return t&&t>o?{...e,day:""}:e};function FormFieldDateSelection(e){var t,n,l,r,a,s,c;let{fieldData:d,minHeight:u}=e,{form:p}=(0,o.useContext)(ec)||{},{"label-position":m,...h}=p.style.labels,[g,b]=(0,o.useState)({day:"",month:"",year:""}),f=null===(t=d.computedAttrs)||void 0===t?void 0:t.placeholderDay,y=null===(n=d.computedAttrs)||void 0===n?void 0:n.placeholderMonth,w=null===(l=d.computedAttrs)||void 0===l?void 0:l.placeholderYear,v=null===(r=d.computedAttrs)||void 0===r?void 0:r.minYear,k=null===(a=d.computedAttrs)||void 0===a?void 0:a.maxYear,_=null===(s=d.computedAttrs)||void 0===s?void 0:s.minMonth,S=null===(c=d.computedAttrs)||void 0===c?void 0:c.maxMonth,handleChange=(e,t)=>
1{b(n=>recalculateNumberOfDate({...n,[e]:Number(t.target.value)||""}))};return(0,i.FD)("div",{className:"form_field "+m,children:[d.label&&(0,i.Y)(ee,{styleRecord:h,children:d.label}),(0,i.FD)(el,{children:[(0,i.FD)(en,{name:genKeyDay(d.attributes.name),required:d.attributes.required,styleRecord:p.style.fields,style:{minHeight:u},value:g.day,onChange:e=>handleChange("day",e),children:[f&&(0,i.Y)("option",{value:"",children:f}),Array(daysInMonth(g.month,g.year)).fill(0).map((e,t)=>(0,i.Y)("option",{value:t+1,children:t+1},t+1))]}),(0,i.FD)(en,{name:genKeyMonth(d.attributes.name),required:d.attributes.required,styleRecord:p.style.fields,style:{minHeight:u},value:g.month,onChange:e=>handleChange("month",e),children:[y&&(0,i.Y)("option",{value:"",children:y}),_&&S&&Array(S+1-_).fill(0).map((e,t)=>{let n=t+_;return(0,i.Y)("option",{value:n,children:n},n)})]}),(0,i.FD)(en,{name:genKeyYeah(d.attributes.name),required:d.attributes.required,styleRecord:p.style.fields,style:{minHeight:u},value:g.year,onChange:e=>handleChange("year",e),children:[w&&(0,i.Y)("option",{value:"",children:w}),v&&k&&Array(k+1-v).fill(0).map(function(e,t){let n=t+v;return(0,i.Y)("option",{value:n,children:n},n)})]})]})]})}var eg=n("AWkD");let eb={"vi-VN":{verifiedAlready:"Sá» Äiá»n thoại cá»§a bạn Ä\xe3 ÄÆ°á»£c x\xe1c minh rá»i!",enterVerifyCode:"Nháºp m\xe3 x\xe1c minh"},"en-PH":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"hi-IN":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"id-ID":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"km-KH":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"ms-MY":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"my-MM":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"th-TH":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"tl-PH":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"zh-TW":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"},"zh-SG":{verifiedAlready:"Your phone number verified already",enterVerifyCode:"Enter your verify code"}};function ModuleForm(e){let{style:t,form:n,computedStyle:l,uuid:r}=e,{width:a="100%"}=n.style,{state:s}=(0,o.useContext)(X.B),{containerWidth:c}=(0,o.useContext)(k),{formatMessage:u}=(0,G.A)(),p=(0,x.m)(),m=(0,o.useRef)(null),h=(0,o.useRef)({}),[g,b]=(0,o.useState)(0),[f,y]=(0,o.useState)("idle"),[w,v]=(0,o.useState)(!1),_=(0,o.useMemo)(()=>({form:n,minHeight:g,computedStyle:l}),[n,l,g]),S=(0,o.useMemo)(()=>!!n.structure.fields.find(e=>"otp"===e.type),[n.structure.fields]),T="verified"===f||"verifiedAlready"===f,I=(0,o.useMemo)(()=>!!n.structure.fields.find(e=>"phone"===e.type),[n.structure.fields]),[E,Y]=(0,o.useState)(""),[D,A]=(0,o.useState)(""),[N,M]=(0,o.useState)(!1),L=(0,o.useMemo)(()=>!!n.structure.fields.find(e=>"addressMultiple"===e.type),[n.structure.fields]);function resetToEditPhone(){y("idle")}function handleSubmitToGetOTP(e){e.preventDefault();let t=m.current;if("sending"===f||!t)return;let n=null==t?void 0:t.elements;if(n.otp){if("false"===n.otp.getAttribute("data-phone-valid")){(0,K.showNotification)({title:u({id:"validation.error.validNumber",defaultMessage:"Please enter a valid number."}),message:"",type:"danger"});return}y("sending"),(0,W.$$)((0,V.WH)(d.PATHS.LEADGEN.POST_LEAD_SEND_OTP),"POST",{data:{phone_number:n.otp.value}}).then(e=>{let t=null==e?void 0:e._messages[0];if("Send sms successfully"===t)y("sent");else if("This phone number was verified"===t)y("verifiedAlready"),(0,K.showNotification)({title:eb[W.Hg].verifiedAlready,message:"",type:"success"});else{let e=u({id:"notification.comment.somethingWrong"});y("idle"),(0,K.showNotification)({title:t||e,message:"",type:"danger"})}})}}function handleVerifyCode(e){e.preventDefault();let t=m.current;if("verifying"===f||!t)return;let n=null==t?void 0:t.elements;
1n.verifyCode&&n.otp&&(y("verifying"),(0,W.$$)((0,V.WH)(d.PATHS.LEADGEN.POST_LEAD_VERIFY_OTP),"POST",{data:{otp_code:n.verifyCode.value,phone_number:n.otp.value}}).then(e=>{let t=null==e?void 0:e._messages[0];if("Verify successfully"===t)y("verified"),(0,K.showNotification)({title:u({id:"subot.verifyOTP.success.message",defaultMessage:"Verified successful"}),message:"",type:"success"});else if("This phone number was verified"===t)y("verifiedAlready");else{let t=u({id:"notification.comment.somethingWrong"});y("sent"),(0,K.showNotification)({title:(null==e?void 0:e._messages[0])||t,message:"",type:"danger"})}}))}(0,o.useEffect)(()=>{(0,J.D)("Lead")},[]),(0,o.useEffect)(()=>{let e=m.current;if(e){let t=e.querySelector('input[type="text"]')||e.querySelector('input[type="email"]')||e.querySelector('input[type="address"]');t&&b(t.getBoundingClientRect().height)}},[]),(0,o.useEffect)(()=>{try{if(s.userInfo&&m.current){let e=m.current.elements;if(e.name&&(e.name.value=s.userInfo.name||""),e.email&&(e.email.value=s.userInfo.email||""),s.userInfo.phone&&s.userInfo.area_code){let t=s.userInfo.area_code+s.userInfo.phone;Y(t),M(!0),S&&(A(t),e.otp.value=t.replace("+",""))}}}catch(e){console.log("Error",e)}},[s.userInfo]);let renderFormField=(e,t)=>{let{"label-position":o,...l}=n.style.labels;if("dropdown"===e.type){var a;let t=(null===(a=e.computedAttrs)||void 0===a?void 0:a.options)||[];return(0,i.FD)("div",{className:"form_field dropdown",children:[e.label&&(0,i.Y)(ee,{styleRecord:l,children:e.label}),(0,i.FD)(en,{name:e.attributes.name,required:e.attributes.required,styleRecord:n.style.fields,style:{minHeight:g},children:[e.attributes.placeholder&&(0,i.Y)("option",{value:"",children:e.attributes.placeholder}),t.map(e=>(0,i.Y)("option",{value:e.value,children:e.label},e.value))]})]})}if("dateSelection"===e.type)return(0,i.Y)(FormFieldDateSelection,{minHeight:g,fieldData:e});if("addressMultiple"===e.type)return(0,i.Y)(eh,{ref:h,fieldData:e});if("checkbox"===e.type){let n=parseInt(l["line-height"]),o=parseInt(l["font-size"]);return(0,i.FD)("div",{className:"form_field checkbox",children:[(0,i.Y)(ei,{id:e.attributes.name+"_"+t,type:e.type,...e.attributes,styleRecord:{},style:{top:"".concat((n/100*o-1.2*o)/2,"px"),fontSize:l["font-size"],transform:"translateY(".concat(l["padding-top"],")")}}),(0,i.Y)(ee,{htmlFor:e.attributes.name+"_"+t,styleRecord:l,dangerouslySetInnerHTML:{__html:function(e){let t=e?e.replace(eu,'<a href="$3" target="_blank">$2</a>'):e;return t}(e.label)}})]})}if("submit"===e.type){let t={...n.style.buttons};return t.width="".concat(t.width," !important"),t["text-align"]="center","center"===n.style.buttons["text-align"]?(t["margin-left"]="auto",t["margin-right"]="auto"):"right"===n.style.buttons["text-align"]&&(t["margin-left"]="auto",t["margin-right"]="0px"),(0,i.FD)("div",{className:"form_field ".concat(o),children:[e.label&&(0,i.Y)(ee,{styleRecord:l,children:e.label}),(0,i.Y)(et,{id:e.attributes.name,type:e.type,...e.attributes,disabled:w||S&&!T,styleRecord:t,"data-event-action":"Click","data-event-label":p,"data-event-category":"block_form_submit_".concat(r)})]})}if("otp"===e.type){let t={...n.style.buttons};return t["text-align"]="center",t.width="auto",t.display="inline-block",t.cursor="pointer",(0,i.FD)(i.FK,{children:[(0,i.FD)("div",{className:"form_field ".concat(o),children:[e.label&&(0,i.Y)(ee,{styleRecord:l,children:e.label}),(0,i.FD)(es,{children:[(0,i.Y)(eg.A,{country:W.Hg.split("-")[1],defaultCountry:W.Hg.split("-")[1],placeholder:e.attributes.placeholder,styleRecord:n.style.fields,disabled:"sent"===f||T,defaultValue:D,children:t=>{let{phone:o,isValid:l}=t;return(0,i.Y)(et,{id:e.attributes.name,type:e.type,...e.attributes,styleRecord:n.style.fields,disabled:"sent"===f||T,value:o.replace("+",""),"data-phone-valid":l})}}),("sent"===f||T)&&(0,i.Y)(q(),{onClick:resetToEditPhone})]})]}),(0,i.FD)(er,{children:["sending"===f&&(0,i.Y)("div",{className:"otp-loading"}),"idle"===f&&(0,i.Y)("button",{style:convertStyleToJsx(t),onClick:handleSubmitToGetOTP,children:u({id:"subot.sendOTP.button",defaultMessage:"Send OTP"})}),("sent"===f||"verifying"===f)&&(0,i.FD)(i.FK,{children:[(0,i.Y)(et,{id:"verifyCode",type:"text",...e.attributes,name:"verifyCode",placeholder:eb[W.Hg].enterVerifyCode,styleRecord:n.style.fields,pattern:"^[0-9]{6}$"}),(0,i.FD)(ea,{children:["verifying"===f&&(0,i.Y)("div",{className:"otp-loading"}),"sent"===f&&(0,i.Y)("button",{style:convertStyleToJsx(t),onClick:handleVerifyCode,children:u({id:"subot.verifyOTP.button",defaultMessage:"Verify OTP"})})]})]})]})]})}return"phone"===e.type?(0,i.FD)("div",{className:"form_field ".concat(o),children:[e.label&&(0,i.Y)(ee,{styleRecord:l,children:e.label}),(0,i.Y)(eg.A,{country:W.Hg.split("-")[1],defaultCountry:W.Hg.split("-")[1],placeholder:e.attributes.placeholder,styleRecord:n.style.fields,onChange:e=>{let{phone:t,isValid:n}=e;Y(t),M(n)},defaultValue:E})]}):["text","email","number","name","address"].includes(e.type)?(0,i.FD)("div",{className:"form_field ".concat(o),children:[e.label&&(0,i.Y)(ee,{styleRecord:l,children:e.label}),(0,i.Y)(et,{id:e.attributes.name,type:{name:"text",address:"text"}[e.type]||e.type,...e.attributes,styleRecord:n.style.fields})]}):(0,i.Y)("p",{children:"This field is not available yet!"})};return(0,i.Y)(ed,{value:_,children:(0,i.Y)(C,{styleWrap:t,id:r,children:(0,i.Y)(j,{$formWidth:a,$containerWidth:c,computedStyle:l,ref:m,onSubmit:e=>{var t;e.preventDefault();let i=m.current;if(S&&!T)return;if(I&&!N){(0,K.showNotification)({title:u({id:"validation.error.validNumber",defaultMessage:"Please enter a valid number."}),message:"",type:"danger"});return}if(!i||w)return;let o=(0,V.WH)(d.PATHS.LEADGEN.POST_LEAD_LEAD,{campaignCode:null===(t=n.options)||void 0===t?void 0:t.campaign_code}),l={data:{url:window.location.href,title_article:document.title||window.location.href,meta:[]}};
1n.structure.fields.forEach(e=>{var t,n,o,r,a;if("submit"===e.type||"addressMultiple"===e.type)return;let s=i.elements,c={key:e.attributes.name,value:(null===(t=s[e.attributes.name])||void 0===t?void 0:t.value)||"",control:"text"};if("email"===e.type&&(c.control="email"),"checkbox"===e.type&&(c.value=String((null===(n=s[e.attributes.name])||void 0===n?void 0:n.checked)||"false")),"dateSelection"===e.type){let t=genKeyDay(e.attributes.name),n=genKeyMonth(e.attributes.name),i=genKeyYeah(e.attributes.name),l=(null===(o=s[t])||void 0===o?void 0:o.value)||"",d=(null===(r=s[n])||void 0===r?void 0:r.value)||"",u=(null===(a=s[i])||void 0===a?void 0:a.value)||"";c.value="".concat(l.padStart(2,"0"),"_").concat(d.padStart(2,"0"),"_").concat(u.padStart(2,"0"))}"otp"===e.type&&(c.key="phone",c.control="tel"),"text"===c.control&&c.key.includes("phone")&&(c.control="tel"),"phone"===e.type&&(c.value=E,c.control),l.data.meta.push(c)}),L&&h.current&&(l.data.meta.push({key:"province",value:h.current.province,control:"text"}),l.data.meta.push({key:"district",value:h.current.district,control:"text"}),l.data.meta.push({key:"commune",value:h.current.commune,control:"text"})),v(!0),(0,W.$$)(o,"POST",l).then(e=>{(null==e?void 0:e._status)===1?(n.options.thank_you_url?window.location.href=n.options.thank_you_url:((0,K.showNotification)({title:n.options.message_success,message:"",type:"success"}),(0,J.D)("Submit")),i.reset()):(0,K.showNotification)({title:n.options.message_error||u({id:"notification.comment.somethingWrong"}),message:"",type:"danger"}),v(!1)})},children:n.structure.fields.map((e,t)=>(0,i.Y)($,{children:renderFormField(e,t)},e.attributes.name))})})})}function ModuleHeading(e){let{style:t,heading:n,uuid:o}=e,l=n.style,r=n.title;return(0,i.Y)(N,{styleWrap:t,styleModule:l,id:o,children:(0,i.Y)(r,{className:"template-module",dangerouslySetInnerHTML:{__html:n.html}})})}let ef=(0,p.A)("div",{target:"emzqmi0"})(),ey=(0,o.memo)(function(e){let{uuid:t,article:n,computedStyle:o,style:l}=e,r=(null==o?void 0:o.hideContentOnDesktop)==="true"?" desktop_hide":"",a=(null==o?void 0:o.hideContentOnMobile)==="true"?" mobile_hide":"",s=function(e,t){try{let n="row-content stack article_block".concat(t.hideContentOnDesktop).concat(t.hideContentOnMobile),i=e.descriptor.style,o=parseStyleToInline(i),l=e.descriptor.article;return'\n <table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-family: \'Inter\', sans-serif; color: #262626;">\n <tbody>\n <tr>\n <td style="'.concat(o,'">\n <table class="').concat(n,'" align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace:0;mso-table-rspace:0;" width="100%">\n <tbody>\n <tr>\n <td class="column" width="140px" style="mso-table-lspace:0;mso-table-rspace:0;vertical-align:top;">\n\n <table class="image_block" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"\n style="mso-table-lspace:0;mso-table-rspace:0">\n <tbody>\n <tr>\n <td style="width: 100%;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;">\n <div align="center">\n <a \n href="').concat(l.url,'"\n style="text-decoration: none; color: inherit;" rel="noopener noreferrer nofollow" target="_blank">\n <img class="center fixedwidth"\n src="').concat(l.thumbnail,'" alt="').concat(l.url,'"\n style="display:block;height:auto;border:0;width:100%;max-width:100%;word-break: break-all;"/>\n </a>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n\n </td>\n <td class="column" width="24px" style="mso-table-lspace:0;mso-table-rspace:0;vertical-align:top;">\n <div style="height: 14px;"></div>\n </td>\n <td class="column" style="mso-table-lspace:0;mso-table-rspace:0;vertical-align:top;">\n <h3 style="font-size: 18px;font-weight: 700; line-height: 28px; margin: 0; padding: 0;">\n <a \n href="').concat(l.url,'" \n style="text-decoration: none; color: inherit;" rel="noopener noreferrer nofollow" target="_blank">\n ').concat(l.title,'\n </a>\n </h3>\n <p style="font-size: 12px;line-height: 18px;margin: 8px 0 14px 0;">').concat(l.description.split(" ").slice(0,25).join(" "),'...</p>\n <table width="100%" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0;mso-table-rspace:0;word-break:break-word">\n <tbody>\n <tr>\n <td style="vertical-align: middle;width: 24px;">\n <img class="center fixedwidth"\n src="').concat(l.authorAvatar,'" alt=""\n style="display:block;height:24px;border:0;width:24px;max-width:24px;border-radius:50%;"/>\n </td>\n <td style="vertical-align: middle;">\n <p style="margin: 0;padding: 0;font-size: 12px;font-weight: 600;padding-left: 8px;">').concat(l.authorName,"</p>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n ")}catch(e){return""}}({descriptor:{style:l,computedStyle:o,article:n}},{hideContentOnDesktop:r,hideContentOnMobile:a,contentWidth:"",gridColumns:0});return n.url&&n.title?(0,i.Y)(ef,{id:t,dangerouslySetInnerHTML:{__html:s}}):null});var ew=n("iZSu");let ev={icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/HelloDoctorPH",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/facebook.png",title:"Facebook"},name:"facebook",text:"",type:"follow"},{id:"youtube",image:{alt:"YouTube",href:"https://www.youtube.com/channel/UC6y8JkKTr5Ja1s36WRcYDeg",prefix:"https://www.youtube.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"YouTube"},name:"youtube",text:"",type:"follow"},{id:"linkedin",image:{alt:"LinkedIn",href:"https://www.linkedin.com/https://sg.linkedin.com/company/hello-health-group",prefix:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"LinkedIn"},name:"linkedin",text:"",type:"follow"}]},ek={icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/helloyishi",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"Facebook"},name:"Facebook",text:"",type:"follow"},{image:{alt:"Instagram",href:"https://www.instagram.com/helloyishi/",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"Instagram"},name:"Instagram",text:"",type:"follow"},{id:"linkedin",image:{alt:"LinkedIn",href:"https://tw.linkedin.com/company/hello-yishi/",prefix:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"LinkedIn"},name:"linkedin",text:"",type:"follow"},{image:{alt:"Helloé«å¸«LINE",height:1e3,href:"https://page.line.me/helloyishi",prefix:"",src:"https://d15k2d11r6t6rl.cloudfront.net/public/users/Integrators/669d5713-9b6a-46bb-bd7e-c542cff6dd6a/8bde7523c9824a708d0b00253a5e1f86/LINE_Brand_icon_1.png",title:"Line",width:1001},name:"a30bf03e-c353-4c16-bc00-abd10bc31c9d",text:"",type:"custom"}]},e_={"vi-VN":{icons:[{id:"facebook",image:{alt:"Facebook",href:"https://www.facebook.com/",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Facebook"},name:"Facebook",text:"",type:"follow"},{id:"instagram",image:{alt:"Instagram",href:"https://instagram.com/",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Instagram"},name:"Instagram",text:"",type:"follow"},{image:{alt:"Custom",height:800,href:"https://www.google.com/url?q=https://links.iterable.co%20m/u/click?_t%3D7b14587db5894a80b2d43078fc6fa0a6%26_m%3DrPQXdMvxmSkuqRxMmI8u2uWqNd4pSmu2%26_e%3DePZ4wSNP8WpS57Bemls9mmtk8FzkHEYtzILZfsfeW97pfMem6FWHR6_DrLbx3Ed_9cIwtoNXX-5k9NiEZ-Lf4CGKIbhwW5-t-AgZ6XQiuOdYshiWWpV_g0UPN5Bd1Amjfm6T4C_yiNO1zEQ2pPyrbObo3dsGbAKes2o6YL1RnFA6Zgmu4b3TBU98x8mXN6zLygm_T7L2zwTBlzJKICCyfdSO0DQhuYCUzUfd4RHeAYLjqcwA2y4uNusWNPS55O8ZgF7aB3jvZDN8tDvCqRlxVg%253D%253D&source=gmail&ust=1660301395843000&usg=AOvVaw09YS8B03sGaFDGFOKuqNJX",prefix:"",src:"https://d15k2d11r6t6rl.cloudfront.net/public/users/Integrators/669d5713-9b6a-46bb-bd7e-c542cff6dd6a/7b14587db5894a80b2d43078fc6fa0a6/Logo-Zalo-Arc.webp",title:"Custom",width:800},name:"12a4c711-f42a-47d3-9cfe-b0a86872b23b",text:"",type:"custom"},{id:"tiktok",image:{alt:"TikTok",href:"https://www.tiktok.com/@hellobacsi",prefix:"https://www.tiktok.com",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"TikTok"},name:"TikTok",text:"",type:"follow"},{id:"youtube",image:{alt:"YouTube",href:"https://www.youtube.com/c/Hellobacsi_HHG",prefix:"https://www.youtube.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"YouTube"},name:"youtube",text:"",type:"follow"},{id:"linkedin",image:{alt:"LinkedIn",href:"https://www.linkedin.com/company/hello-health-group/",prefix:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"LinkedIn"},name:"LinkedIn",text:"",type:"follow"}]},"id-ID":{icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/hellosehat?utm_source=Email&utm_medium=Newsletter&utm_campaign=Internal&utm_term=Facebook&utm_content=20210917_Welcome-Email_HHG-ID",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"Facebook"},name:"Facebook",text:"",type:"follow"},{image:{alt:"Instagram",href:"https://www.instagram.com/hellosehat/?utm_source=Email&utm_medium=Newsletter&utm_campaign=Internal&utm_term=Instagram&utm_content=20210917_Welcome-Email_HHG-ID",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"Instagram"},name:"Instagram",text:"",type:"follow"},{image:{alt:"LinkedIn",href:"https://www.linkedin.com/company/hello-sehat/?utm_source=Email&utm_medium=Newsletter&utm_campaign=Internal&utm_term=Linkedin&utm_content=20210917_Welcome-Email_HHG-ID",prefix:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"LinkedIn"},name:"LinkedIn",text:"",type:"follow"},{image:{alt:"Twitter",href:"https://twitter.com/HelloSehat?utm_source=Email&utm_medium=Newsletter&utm_campaign=Internal&utm_term=Twitter&utm_content=20210917_Welcome-Email_HHG-ID",prefix:"https://twitter.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/colored/[email protected]",title:"Twitter"},name:"Twitter",text:"",type:"follow"}]},"ms-MY":{icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/HelloDoktorMY",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/facebook.png",title:"Facebook"},name:"facebook",text:"",type:"follow"},{type:"follow",name:"instagram",image:{prefix:"https://instagram.com/",alt:"Instagram",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Instagram",href:"https://instagram.com/hellodoktor_official/"},text:"",id:"instagram"},{image:{alt:"Twitter",href:"http://twitter.com/hellodoktor",prefix:"http://twitter.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/twitter.png",title:"Twitter"},name:"twitter",text:"",type:"follow"},{type:"follow",name:"linkedin",image:{prefix:"https://www.linkedin.com/",alt:"LinkedIn",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"LinkedIn",href:"https://www.linkedin.com/company/hello-health-group/"},text:"",id:"linkedin"}]},"km-KH":{icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/hellokrupet",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Facebook"},name:"Facebook",text:"",type:"follow"},{image:{alt:"Instagram",href:"https://www.instagram.com/hellokrupetofficial/",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Instagram"},name:"Instagram",text:"",type:"follow"},{image:{alt:"LinkedIn",href:"https://www.linkedin.com/company/hello-krupet/",prefix:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"LinkedIn"},name:"LinkedIn",text:"",type:"follow"},{image:{alt:"Twitter",href:"https://twitter.com/",prefix:"https://twitter.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Twitter"},name:"Twitter",text:"",type:"follow"},{id:"youtube",image:{alt:"YouTube",href:"https://www.youtube.com/channel/UCj1XjW1HmX9xXDJFHHvwUcg/featured",prefix:"https://www.youtube.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"YouTube"},name:"youtube",text:"",type:"follow"}]},"en-PH":ev,"tl-PH":ev,"th-TH":{icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/hellokhunmor",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/facebook.png",title:"Facebook"},name:"facebook",text:"",type:"follow"},{image:{alt:"Twitter",href:"http://twitter.com/hellokhunmor",prefix:"http://twitter.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/twitter.png",title:"Twitter"},name:"twitter",text:"",type:"follow"},{id:"instagram",image:{alt:"Instagram",href:"https://instagram.com/hellokhunmor",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Instagram"},name:"instagram",text:"",type:"follow"}]},"my-MM":{icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/hellosayarwon/",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/facebook.png",title:"Facebook"},name:"facebook",text:"",type:"follow"},{id:"youtube",image:{alt:"YouTube",href:"https://www.youtube.com/channel/UC6SJ86C3dbyI9-hPV8__vxQ",prefix:"https://www.youtube.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"YouTube"},name:"youtube",text:"",type:"follow"},{id:"instagram",image:{alt:"Instagram",href:"https://www.instagram.com/hellosayarwon/",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Instagram"},name:"instagram",text:"",type:"follow"},{id:"linkedin",image:{alt:"LinkedIn",href:"https://www.linkedin.com/company/hello-sayarwon/",prefix
1:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"LinkedIn"},name:"linkedin",text:"",type:"follow"}]},"zh-TW":ek,"zh-SG":ek,"hi-IN":{icons:[{image:{alt:"Facebook",href:"https://www.facebook.com/",prefix:"https://www.facebook.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Facebook"},name:"Facebook",text:"",type:"follow"},{image:{alt:"Instagram",href:"https://instagram.com/",prefix:"https://instagram.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Instagram"},name:"Instagram",text:"",type:"follow"},{image:{alt:"LinkedIn",href:"https://www.linkedin.com/",prefix:"https://www.linkedin.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"LinkedIn"},name:"LinkedIn",text:"",type:"follow"},{image:{alt:"Twitter",href:"https://twitter.com/",prefix:"https://twitter.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"Twitter"},name:"Twitter",text:"",type:"follow"},{id:"youtube",image:{alt:"YouTube",href:"https://www.youtube.com/",prefix:"https://www.youtube.com/",src:"https://app-rsrc.getbee.io/public/resources/social-networks-icon-sets/circle-color/[email protected]",title:"YouTube"},name:"youtube",text:"",type:"follow"}]}};function ModuleHHGSocial(e){var t;let{style:n,computedStyle:o,lang:l}=e,r=o.iconSpacing,a=e_[l||ew.ne.Vietnam];return(0,i.Y)(L,{styleWrap:n,$iconsSpacing:r,children:(0,i.Y)("div",{className:"template-module",children:(0,i.Y)("ul",{children:null==a?void 0:null===(t=a.icons)||void 0===t?void 0:t.map((e,t)=>(0,i.Y)("li",{children:(0,i.Y)("a",{href:e.image.href,target:"_blank",children:(0,i.Y)("img",{src:e.image.src,alt:e.image.alt,width:o.iconHeight,height:o.iconHeight,style:{width:o.iconHeight,height:o.iconHeight},loading:"lazy"})})},t))})})})}var eS=n("lFPi"),eT=n("Yytz");function ModuleHtml(e){let{style:t,html:n}=e,o=n.style;return"[ComponentMultipleSteps]"===n.html?(0,i.FD)(i.FK,{children:[(0,i.Y)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,i.Y)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,i.Y)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap",rel:"stylesheet"}),(0,i.Y)(eS.A,{})]}):"[DueDateCalculator]"===n.html?(0,i.FD)(i.FK,{children:[(0,i.Y)(eT.q9,{}),(0,i.Y)("hr",{}),(0,i.Y)(eT.q9,{isSide:!0})]}):(0,i.Y)(C,{styleWrap:t,styleModule:o,children:(0,i.Y)("div",{className:"template-module",dangerouslySetInnerHTML:{__html:n.html}})})}function ModuleImage(e){let{uuid:t,image:n,computedStyle:l,style:r}=e,a=(0,x.m)(),s=l.width;l.class.includes("autowidth")&&(s="auto");let c=(0,o.useMemo)(()=>n.href?n.href.startsWith("http")?n.href:"//"+n.href:"",[n.href]);return(0,i.Y)(Y,{styleWrap:r,className:T()({desktop_hide:"true"===String(null==l?void 0:l.hideContentOnDesktop),mobile_hide:"true"===String(null==l?void 0:l.hideContentOnMobile)}),id:t,children:n.href?(0,i.Y)("a",{target:"_blank",rel:"noreferrer",href:c,style:{width:s},className:l.class,"data-event-action":getDataEventAction("image",t),"data-event-label":c,"data-event-category":"SIDIS_LP",children:(0,i.Y)("img",{src:n.src,alt:n.alt,loading:"lazy"})}):(0,i.Y)("img",{src:n.src,alt:n.alt,style:{width:s},className:l.class,"data-event-action":getDataEventAction("image",t),"data-event-label":a,"data-event-category":"SIDIS_LP",loading:"lazy"})})}function ModuleList(e){let{style:t,list:n,uuid:o}=e,l=n.style,r=(0,x.m)();return(0,i.Y)(M,{styleWrap:t,styleModule:l,$tag:n.tag,id:o,children:(0,i.Y)("div",{className:"template-module",dangerouslySetInnerHTML:{__html:n.html},"data-event-action":getDataEventAction("list",o),"data-event-label":r,"data-event-category":"SIDIS_LP"})})}function ModuleParagraph(e){let{style:t,paragraph:n,uuid:o}=e,l=n.style,r=n.computedStyle;return(0,i.Y)(A,{styleWrap:t,styleModule:l,computedStyle:r,id:o,children:(0,i.Y)("div",{className:"template-module",dangerouslySetInnerHTML:{__html:n.html}})})}function ModuleSpacer(e){var t,n;return(0,i.Y)(C,{id:e.uuid,styleWrap:e.spacer.style,className:T()({desktop_hide:"true"===String(null===(t=e.computedStyle)||void 0===t?void 0:t.hideContentOnDesktop),mobile_hide:"true"===String(null===(n=e.computedStyle)||void 0===n?void 0:n.hideContentOnMobile)})})}var eI=n("VoJx"),ex=n.n(eI),eE=n("qZPO"),eC=n("5Zd0"),eY=n("4JDt"),eD=n("PDSQ");let eA=ex()(()=>Promise.resolve().then(n.bind(n,"EE8p")).then(e=>
1e.SubotInlineRevampWithTheme),{loadableGenerated:{webpack:()=>[null]},ssr:!1});function ModuleSubot(e){let t=(0,s.useRouter)(),{state:n}=(0,eD.U)();return(0,i.Y)(O,{styleWrap:e.style,children:e.subot.isRevamp?(0,i.FD)(eY.A,{children:[(0,i.Y)(eC.p,{}),(0,i.Y)(eA,{id:e.subot.id,isFullContainer:e.subot.isFullScreen,articleLink:t.asPath,userInfo:n.userInfo})]}):(0,i.Y)(eE.SubotInline,{id:e.subot.id,articleLink:window.location.pathname})})}function TempalteModuleItem(e){let{moduleData:t,gridColumns:n}=e,o=T()(),l=(0,I.a)();if(!t)return null;let r=t.descriptor.computedStyle||{},a="true"===String(r.hideContentOnMobile),s="true"===String(r.hideContentOnDesktop);if(l&&a||!l&&s)return null;let c=t.descriptor.style;return(0,i.Y)(w,{contentStyle:c,className:o,children:t.type===g.image?(0,i.Y)(ModuleImage,{uuid:t.uuid,...t.descriptor,gridColumns:n}):t.type===g.button?(0,i.Y)(ModuleButton,{uuid:t.uuid,...t.descriptor}):t.type===g.spacer?(0,i.Y)(ModuleSpacer,{uuid:t.uuid,...t.descriptor}):t.type===g.paragraph?(0,i.Y)(ModuleParagraph,{uuid:t.uuid,...t.descriptor}):t.type===g.heading?(0,i.Y)(ModuleHeading,{uuid:t.uuid,...t.descriptor}):t.type===g.divider?(0,i.Y)(ModuleDivider,{...t.descriptor}):t.type===g.list?(0,i.Y)(ModuleList,{uuid:t.uuid,...t.descriptor}):t.type===g.html?(0,i.Y)(ModuleHtml,{uuid:t.uuid,...t.descriptor}):t.type===g.hhgSocial?(0,i.Y)(ModuleHHGSocial,{uuid:t.uuid,...t.descriptor}):t.type===g.form?(0,i.Y)(ModuleForm,{uuid:t.uuid,...t.descriptor}):t.type===g.subot?(0,i.Y)(ModuleSubot,{uuid:t.uuid,...t.descriptor}):t.type===g.carousel?(0,i.Y)(ModuleCarousel,{uuid:t.uuid,...t.descriptor}):t.type===g.countdown?(0,i.Y)(ModuleCountdown,{uuid:t.uuid,...t.descriptor}):t.type===g.hhgArticle?(0,i.Y)(ey,{uuid:t.uuid,...t.descriptor}):(0,i.Y)("p",{children:"Module is not available yet!"})})}function TemplateColumnItem(e){let{modules:t,gridColumns:n,containerStyle:o,uuid:l}=e,r=T()("lp-column",{["lp-column-".concat(n)]:n});return(0,i.Y)(y,{containerStyle:o,className:r,id:l,children:t.map(e=>(0,i.Y)(TempalteModuleItem,{gridColumns:n,moduleData:e},e.uuid))})}function TemplateRowItem(e){let{columns:t,contentStyle:n,containerStyle:l,contentComputedStyle:r,uuid:a}=e,s=(0,o.useContext)(k)||{},c=(0,I.a)(),d="true"===String(null==r?void 0:r.hideContentOnMobile),u="true"===String(null==r?void 0:r.hideContentOnDesktop);return c&&d||!c&&u?null:(0,i.Y)(f,{containerStyle:l,contentStyle:n,align:s.align,containerBgColor:s.containerBgColor,containerWidth:s.containerWidth,className:T()({desktop_hide:u,mobile_hide:d}),children:(0,i.Y)("div",{className:T()("lp-row-container",{"lp-row-container--full":"true"===r.rowWithoutContainer,"lp-row-columns-stack":"true"!==r.rowMobileTwoColumns,"lp-row-two-columns-mobile":"true"===r.rowMobileTwoColumns}),id:a,children:t.map(e=>(0,i.Y)(TemplateColumnItem,{uuid:e.uuid,modules:e.modules,gridColumns:e["grid-columns"],containerStyle:e.style||{}},e.uuid))})})}var eN=n("/sjq"),eM=n("9brV");let eL="vi-VN",eO=eN.domainLocales[eL],getTemplateBySlug=async e=>{try{let t={domain:eO,slug:e.toLowerCase()},n=await (0,c.callApiNew)(d.PATHS.SIDIS.GET_SIDIS_TEMPLATE_BY_SLUG,{params:t},"sidis");return{error:null,data:n.data}}catch(e){return{error:e,data:null}}};var eP=!0,_slug_=e=>{var t;let{templateSSR:n}=e,l=(0,s.useRouter)(),r=l.query.slug.join("/"),[c,d]=(0,o.useState)(!1),[p,m]=(0,o.useState)(n),h=null==p?void 0:null===(t=p.template)||void 0===t?void 0:t.body_json,g=(0,o.useRef)(null);(0,o.useEffect)(()=>{r&&getTemplateBySlug(r).then(e=>{let{data:t,error:n}=e;n?d(!0):m(t)}).catch(()=>{d(!0)})},[r]),(0,o.useEffect)(()=>{let handler=e=>{try{let n=null,i=e.target;for(;;){var t;if(!i)break;if(null===(t=i.getAttribute("href"))||void 0===t?void 0:t.startsWith("#")){n=i;break}i=i.parentElement}if(n){let t=document.getElementById(String(n.getAttribute("href")).replace("#",""));t&&(e.preventDefault(),t.scrollIntoView({block:"start",behavior:"smooth"}))}}catch(e){}};return document.addEventListener("click",handler),()=>document.removeEventListener("click",handler)},[]),(0,o.useEffect)(()=>{(0,J.D)("ViewContent");let e=[setTimeout(()=>
1{(0,J.D)("TimeOnPage_10_seconds")},1e4),setTimeout(()=>{(0,J.D)("TimeOnPage_30_seconds")},3e4),setTimeout(()=>{(0,J.D)("TimeOnPage_60_seconds")},6e4),setTimeout(()=>{(0,J.D)("TimeOnPage_90_seconds")},9e4),setTimeout(()=>{(0,J.D)("TimeOnPage_120_seconds")},12e4),setTimeout(()=>{(0,J.D)("TimeOnPage_150_seconds")},15e4),setTimeout(()=>{(0,J.D)("TimeOnPage_180_seconds")},18e4)];return()=>{e.forEach(e=>{clearTimeout(e)})}},[]),(0,o.useEffect)(()=>{let hanlder=()=>{if(!g.current)return;let e=g.current.getBoundingClientRect(),t=e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth);t&&((0,J.D)("ScrollDepth_100_percent"),document.removeEventListener("scroll",hanlder))};return document.addEventListener("scroll",hanlder),()=>{document.removeEventListener("scroll",hanlder)}},[]);let f=(0,o.useMemo)(()=>h?{align:h.body.content.computedStyle.align,linkColor:h.body.content.computedStyle.linkColor,containerBgColor:h.body.content.computedStyle.messageBackgroun
1dColor,containerWidth:h.body.content.computedStyle.messageWidth}:v,[h]);return c?(0,i.Y)(u.A,{}):p&&h?(0,i.FD)(_,{value:f,children:[(0,i.FD)(a(),{children:[(0,i.Y)("title",{children:p.seo_title}),(eM.EH[eL]||[]).map((e,t)=>"link"===e.type?(0,i.Y)("link",{rel:e.rel,href:e.href,sizes:e.sizes},"favicon-".concat(t)):"meta"===e.type?(0,i.Y)("meta",{name:e.name,content:e.content},t):null),(0,i.Y)("meta",{name:"description",content:p.meta_description}),(0,i.Y)("meta",{property:"og:locale",content:eL}),(0,i.Y)("meta",{property:"og:type",content:"website"}),(0,i.Y)("meta",{property:"og:title",content:p.seo_title}),(0,i.Y)("meta",{property:"og:description",content:p.meta_description}),p.thumbnail&&"null"!==p.thumbnail&&(0,i.FD)(i.FK,{children:[(0,i.Y)("meta",{property:"og:image",content:p.thumbnail}),(0,i.Y)("meta",{property:"twitter:image",content:p.thumbnail})]}),(0,i.Y)("meta",{property:"twitter:title",content:p.seo_title}),(0,i.Y)("meta",{property:"twitter:description",content:p.meta_description}),(0,i.Y)("meta",{property:"og:site_name",content:eM.El[eL].SITE_NAME_FORMATTED}),(0,i.Y)("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),(0,i.Y)("link",{rel:"canonical",href:"https://".concat(eN.domainLocales[eL],"/lp/").concat(p.slug_name,"/")}),(0,i.Y)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,i.Y)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,i.Y)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap",rel:"stylesheet"})]}),!eM.kU&&h.body.customHeadTag&&(0,i.Y)("div",{id:"custom-css",dangerouslySetInnerHTML:{__html:h.body.customHeadTag}}),(0,i.FD)(b,{contentStyle:h.body.content.style,containerStyle:h.body.container.style,linkColor:h.body.content.computedStyle.linkColor,children:[h.rows.map(e=>(0,i.Y)(TemplateRowItem,{uuid:e.uuid,columns:e.columns,contentStyle:e.content.style||{},contentComputedStyle:e.content.computedStyle||{},containerStyle:e.container.style||{}},e.uuid)),(0,i.Y)("div",{ref:g})]})]}):(0,i.Y)(i.FK,{})}},imPi:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var i=n("Sn6X"),o=n.n(i),l=n("KYiY"),r=n.n(l);let a=o().extend(r())},lpGY:function(e,t,n){"use strict";n.d(t,{D:function(){return trackCustomEvent},c:function(){return sendCompleteFlowEvent}});let i=0;function trackCustomEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=window.fbq;n?n("trackCustom",e,t):i<3?(setTimeout(()=>trackCustomEvent(e,t),1e3),i++):console.log("Unable to load Facebook Pixel")}function sendCompleteFlowEvent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=window.location.search.includes("itemId"),n=window.location.search.includes("resultId");n||t||trackCustomEvent("CompleteFlow",{status:!0,...e})}},dnor:function(e,t,n){"use strict";n.d(t,{D6:function(){return ssoIntents},jU:function(){return checkUntilFinished},sQ:function(){return overrideParamsByQuery}});var i=n("Q6jF"),o=n("PAs/");let l=["form_submit_meta","selected_actions","current_selected","current_keys","current_polls"],r=["bot_id","node_id","action_id","action_value","current_score","gtm_id","ga_client_id","is_new","title_url","url","window_id",...l],overrideParamsByQuery=(e,t)=>{let n=Object.keys(t);return n.map(n=>{let i=t[n];if("source"===n){e.is_new="first_login"===i;return}if(r.includes(n)){if(l.includes(n)){try{e[n]=JSON.parse(i)}catch(e){}return}if("account_id"===n||"current_score"===n||"bot_id"===n){e[n]=parseInt(i);return}e[n]=i}}),e},ssoIntents=e=>[{id:(0,i.A)(),label:JSON.stringify({title:"",description:""}),type:o.XG.SSO_INTENT,url:""},{id:(0,i.A)(),label:JSON.stringify({title:e({id:"subot.myHealth.title",defaultMessage:"My Health"}),description:e({id:"subot.myHealth.description",defaultMessage:"Personal identifiers (like your name) will always be removed to protect your privacy. "})}),type:o.XG.SSO_INTENT,url:"/images/subot/my-health.svg"},{id:(0,i.A)(),label:JSON.stringify({title:e({id:"subot.saveData.title",defaultMessage:"Save Data"}),description:e({id:"subot.saveData.description",defaultMessage:"Hellobacsi would like to learn from your data to provide better healthcare for you"})}),type:o.XG.SSO_INTENT,url:"/images/subot/file-storage.svg"},{id:(0,i.A)(),label:JSON.stringify({title:e({id:"subot.productYourIdentifiers.title",defaultMessage:"Protect your identifiers"}),description:e({id:"subot.productYourIdentifiers.description",defaultMessage:"Personal identifiers (like your name) will always be removed to protect your privacy. "})}),type:o.XG.SSO_INTENT,url:"/images/subot/shield.svg"}];
1function checkUntilFinished(e){let t=e.condition,n=e.finished,i=e.timeout||3e3,o=new Date().getTime(),l=setInterval(()=>{let e=new Date().getTime();(e-o>i||t())&&(clearInterval(l),n())},300)}}},function(e){_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce(function(e,t){return t("1866",e),e},[])).then(function(){return e.X(0,[7502,930,5008,3139,3734,9255,1509,2277,8287,2794,4335,4575,9103,5232,7554,5825,9746,4686,6942,2486,8156,699,8e3,7292,5512,8612,2663,1862,9785,866,4660,1008,4555,6062,1947,3758,2654,6983,3028,7469,3069,4039,7638,6091,3594,765,636,8792],function(){return e(e.s="qJtG")})})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.