"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[267],{62818:function(n,t,e){e.d(t,{$:function(){return R}});var a,i,l=e(35944),o=e(77587),r=e(76402),c=e(98454),s=e(74110),d=e(86298),h=e(15187),p=e(69589),m=e(11163),f=e(67294);function u(){return u=Object.assign?Object.assign.bind():function(n){for(var t=1;t a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"]);return U=function(){return n},n}var I=e(50066).ZP.footer.withConfig({componentId:"sc-86b1f07-0"})(U(),D.M.mbDown,D.M.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),D.M.tdUp,D.M.mbDown,(function(n){return n.theme.colors.neutral500}),D.M.tdUp,D.M.tdUp,(function(n){return n.theme.colors.white}),D.M.tdUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),D.M.mbDown,(function(n){return n.theme.colors.neutral500}),D.M.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),D.M.tdUp),R=function(n){var t=n.className,e=n.newsletterText,a=n.facebookLink,i=n.instagramLink,f=n.twitterLink,u=n.linkedinLink,g=n.youtubeLink,v=n.copyrightText,b=n.followusText,y=n.informationLinks,w=n.bigLinks,k=n.hellohealthLinks,Z=n.type,N=void 0===Z?"main":Z,F=n.logoType,E=void 0===F?"hellohealth":F,L=n.isMobile,M=n.flagLinks,T=(0,j.Z)().formatMessage,O=(0,m.useRouter)().locale,H=void 0===O?"vi-VN":O,V=32,D=32;return L&&(V=24,D=24),(0,l.tZ)(I,{className:t,style:"mini"===N?{backgroundColor:o.t.colors.neutral50}:{},"next-page-hide":!0,children:(0,l.tZ)(h.W,{children:(0,l.tZ)("div",{className:"inner","data-type":N,"next-page-hide":"",children:"main"===N?(0,l.BX)(l.HY,{children:[(0,l.tZ)(r.L,{className:"footer-logo",type:E,isLightLogo:!0}),(0,l.BX)("div",{className:"columns",children:[(0,l.BX)("div",{className:"newsletter",children:[(0,l.tZ)(c.T,{size:"p1",type:"bold",children:e}),(0,l.tZ)(s.B,{className:"signupButton",color:"primary",size:"lg",children:T({id:"footer.signUp"})}),(0,l.BX)("div",{className:"social",children:[b&&(0,l.tZ)(c.T,{size:"sm",type:"regular",children:b}),(0,l.BX)("div",{className:"icons",children:[a&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":a,href:a,children:(0,l.tZ)(x,{})}),i&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i,children:(0,l.tZ)(z,{})}),u&&(0,l.tZ)("a",{href:u,"data-event-category":"Footer","data-event-action":"Follow us - LinkedIn","data-event-label":u,children:(0,l.tZ)(B,{})}),f&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Twitter","data-event-label":f,href:f,children:(0,l.tZ)(C,{})}),g&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":g,href:g,children:(0,l.tZ)(_,{})})]}),(0,l.tZ)("hr",{className:"hrMobile"})]})]}),(0,l.BX)("div",{children:[(0,l.tZ)("div",{className:"biglinks",children:w.map((function(n){return n.link&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X.domainLocales[H]).concat(n.link),className:"bigLink",href:n.link,children:n.title},n.title)}))}),(0,l.tZ)("hr",{className:"hrMobile"}),(0,l.BX)("div",{className:"mHalf",children:[(0,l.tZ)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:T({id:"footer.information"})}),y.map((function(n){return n.link&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X.domainLocales[H]).concat(n.link),className:"link",href:n.link,children:(0,l.tZ)(c.T,{size:"sm",type:"regular",children:n.title})},n.title)}))]}),(0,l.BX)("div",{className:"mHalf",children:[(0,l.tZ)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:T({id:"footer.helloHealth"})}),k.map((function(n){return n.link&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.link,className:"link",href:n.link,children:(0,l.tZ)(c.T,{size:"sm",type:"regular",children:n.title})},n.title)}))]}),(0,l.BX)(l.HY,{children:[(0,l.tZ)("hr",{className:"hrMobile"}),(0,l.BX)("div",{className:"otherSites",children:[(0,l.tZ)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:T({id:"footer.otherSites"})}),(0,l.tZ)("div",{className:"flags",children:null===M||void 0===M?void 0:M.map((function(n){return!!n.country&&(0,l.tZ)("a",{className:"link",href:n.link,"data-event-category":"Footer","data-event-action":"".concat(p.Aw[n.country]),"data-event-label":n.link,children:(0,l.tZ)(d.F,{country:n.country,width:D,height:V,rounded:!0})},"flag-".concat(n.country))}))})]})]})]})]}),(0,l.tZ)("hr",{}),(0,l.BX)("div",{className:"copyright","data-is-amp":void 0,children:[(0,l.tZ)("a",{href:"https://www.dmca.com/Protection/Status.aspx?ID=752026fa-bb3c-450e-b184-b8051d04e5c4&refurl=https://".concat(X.domainLocales[H],"/"),children:(0,l.tZ)("img",{src:"".concat(p.nB,"/images/dmca.png"),alt:"DMCA Icon"})}),v&&(0,l.tZ)(c.T,{size:"xs",type:"regular",children:v})]})]}):(0,l.tZ)(l.HY,{children:(0,l.BX)("div",{className:"columns",children:[(0,l.BX)("div",{className:"mHalf",children:[(0,l.tZ)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:T({id:"footer.information"})}),y.map((function(n){return n.link&&(0,l.tZ)("a",{className:"link",href:n.link,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(X.domainLocales[H]).concat(n.link),children:(0,l.tZ)(c.T,{size:"sm",type:"regular",style:{color:o.t.colors.gray800},children:n.title})},n.title)}))]}),(0,l.BX)("div",{className:"mHalf",children:[(0,l.tZ)(c.T,{type:"regular",size:"sm",className:"linkTitle",children:T({id:"footer.helloHealth"})}),k.map((function(n){return n.link&&(0,l.tZ)("a",{className:"link",href:n.link,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.link,children:(0,l.tZ)(c.T,{size:"sm",type:"regular",style:{color:o.t.colors.gray800},children:n.title})},n.title)}))]}),"mini"!==N&&(0,l.tZ)("hr",{className:"hrMobile"}),(0,l.tZ)("div",{className:"newsletter",children:(0,l.BX)("div",{className:"social",children:[b&&(0,l.tZ)(c.T,{size:"sm",type:"regular",style:{color:o.t.colors.neutral500},children:b}),(0,l.BX)("div",{className:"icons",children:[a&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":a,href:a,children:(0,l.tZ)(x,{})}),i&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":i,href:i,children:(0,l.tZ)(z,{})}),u&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - LinkedIn","data-content-label":u,href:u,children:(0,l.tZ)(B,{})}),f&&(0,l.tZ)("a",{"data-event-category":"Footer","data-event-action":"Follow us - Twitter","data-content-label":f,href:f,children:(0,l.tZ)(C,{})})]})]})})]})})})})})}},41369:function(n,t,e){e.d(t,{E:function(){return o}});var a=e(35944),i=e(15324),l=e(69589),o=function(n){var t=n.locale,e=n.includeFavicons,o=void 0===e||e;return(0,a.BX)(a.HY,{children:[(0,a.tZ)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,a.tZ)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),(0,a.tZ)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",rel:"stylesheet"}),o&&(l.rF[t]||[]).map((function(n,e){return"link"===n.type?(0,a.tZ)("link",{rel:n.rel,href:"https://".concat(i.domainLocales[t]).concat(n.href),sizes:n.sizes},"favicon-".concat(e)):"meta"===n.type?(0,a.tZ)("meta",{name:n.name,content:n.content},e):null}))]})}},59774:function(n,t,e){e.d(t,{z:function(){return l}});var a=e(67294),i=e(36125);function l(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=(0,i.G)().isMobileOrTablet;(0,a.useEffect)((function(){if(e||t)return n?(document.body.style.overflow="hidden",document.body.classList.add("hhc-disabled-scroll")):(document.body.style.overflow="",document.body.classList.remove("hhc-disabled-scroll")),function(){document.body.style.overflow="",document.body.classList.remove("hhc-disabled-scroll")}}),[e,n,t])}}}]);