"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[137],{Ejk3:function(e,t,i){i.d(t,{C:function(){return l}});var a=i("xrdX"),o=i("GOBr"),r=i("yNk5");let isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),n="hellosehat.com",l=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,t,i)=>{let a="https://hhg-common."+[t||this.getBaseDomain(),i||this.subPath,e].join("/");return o.y||r.env.JEST_WORKER_ID?a:a+"?v="+Math.floor(new Date().getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){let{host:e}=window.location,t=e.split("."),i=a.v[Object.keys(a.v).find(t=>e.includes(a.v[t]))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every(e=>isNumeric(e))||!i?n:i}return n}};l.subPath="common",l.baseDomain=a.v["vi-VN"]},wGWh:function(e,t,i){i.d(t,{C:function(){return Container}});var a=i("q1tI");let Container=({children:e,className:t,style:i,type:o})=>a.createElement("div",{className:`d76E4SH ${t||""}`,style:i,"data-type":o},e)},UFl3:function(e,t,i){i.d(t,{C:function(){return m},I:function(){return ImagePreviewPopup},P:function(){return PostSingleImageViewPopup},a:function(){return PostImagePreview},b:function(){return u}});var a=i("q1tI"),o=i("nq2p"),r=i("eePC"),n=i("5DIC"),l=i("gLxU"),s=i("t/pd"),d=i("2YCo"),c=i("rBCA"),h=i("SwpR"),g=i("iBNF"),p=i("gEnE"),m="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath stroke='%23262626' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6 6 18M6 6l12 12'/%3e%3c/svg%3e",u="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' fill='none'%3e%3cpath stroke='%23262626' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M10.05 18.06 4 12.038l6.05-6.025M4.002 12.035h15'/%3e%3c/svg%3e";let f=c.Z.div` padding: 14px 16px 14px 17px; background: ${e=>e.bgColor}; border-left: 3px solid ${e=>e.highlight}; ${r.M.mbUp} { padding: 12px 12px 12px 17px; } `,w=c.Z.div` display: flex; `,v=c.Z.div` font-size: 12px; line-height: 18px; &[data-has-icon='true'] { margin-left: 10px; } `,x=c.Z.div` flex-shrink: 0; `,b=c.Z.div` display: grid; grid-gap: 3px; grid-template-columns: 1fr 1fr; grid-template-rows: auto; .img-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 56.25%; grid-column: auto; & > img { cursor: zoom-in; } .img-preview-blur { position: absolute; top: 50%; left: 50%; width: 110%; height: 110%; /* Add the blur effect */ -webkit-filter: blur(8px); filter: blur(8px); object-fit: cover; object-position: center; opacity: 0.8; transform: translate(-50%, -50%); } .img-preview { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; } .img-more-overlay { position: absolute; top: 0; left: 0; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); z-index: 4; } } &[data-image-count='1'] { .img-wrapper { /* padding-top: 100%; */ grid-column: 1/3; } } &[data-image-count='2'] { .img-wrapper { /* padding-top: 100%; */ } } &[data-image-count='3'] { .img-wrapper { &:first-child { grid-column: 1/3; } } } &[data-image-count='4'] { .img-wrapper { /* padding-top: 100%; */ } } &[data-image-count='5'] { grid-template-columns: repeat(6, 1fr); .img-wrapper { /* padding-top: 100%; */ grid-column: auto/ span 2; &:first-child { padding-top: 56.25%; grid-column: 1/4; } &:nth-child(2) { padding-top: 56.25%; grid-column: 4/7; } } } &[data-is-marrybaby='true'] { grid-gap: 8px; .img-wrapper { padding-top: 66.66%; border-radius: 1rem; .img-preview { object-fit: cover; } } &[data-image-count='3'] { grid-template-columns: 1fr 1fr 1fr; .img-wrapper { &:first-child { padding-top: 100%; grid-column: 1/3; grid-row: 1/3; } } } } `,y=c.Z.div` position: fixed; z-index: 999; top: 0; left: 0; display: flex; overflow: hidden; width: 100vw; height: 100vh; flex-direction: column; background: white; opacity: 0; pointer-events: none; transition: opacity 0.2s linear; &[data-open='true'] { opacity: 1; pointer-events: auto; } .top-bar { position: relative; padding: 20px 40px; .icon-arrow-left { position: absolute; top: 50%; left: 20px; height: 24px; width: 24px; cursor: pointer; transform: translateY(-50%); } } .container { flex: 1; overflow-y: auto; .img-preview { width: 100%; min-width: 100%; margin-bottom: 0.5rem; cursor: pointer; max-height: 100%; object-fit: cover; } } `,E=(0,c.Z)(e=>{var{icon:t,bgColor:i=g.r.colors.yellow50,highlightColor:o=g.r.colors.yellow800,message:r}=e,n=(0,h._)(e,["icon","bgColor","highlightColor","message"]);return a.createElement(f,Object.assign({bgColor:i,highlight:o},n),a.createElement(w,null,t&&a.createElement(x,null,t),a.createElement(v,{"data-has-icon":!!t},r)))})` margin-bottom: 16px; &.noti-bottom { border-left: none; margin-top: 4px; padding: 4px 8px; margin-left: 16px; margin-right: 16px; border-radius: 4px; } `,ImagePreviewPopup=({className:e,style:t,authorName:i,images:o,onClose:r,onOpenSingleView:l,alt:c})=>{let{t:h}=(0,n.u)(),[g,p]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{setTimeout(()=>{p(!0)},0)},[]),a.createElement(s.h,null,a.createElement(y,{className:e,style:t,"data-open":g},a.createElement("div",{className:"top-bar"},a.createElement("img",{className:"icon-arrow-left",src:u,onClick:r,alt:"go back",loading:"lazy"}),a.createElement(d.T,{size:"p2",weight:"bold",style:{textAlign:"center"}},h("previewPhotos.title",{name:i}))),a.createElement("div",{className:"container"},o.map((e,t)=>a.createElement("img",{className:"img-preview",key:t,src:e,onClick:()=>null==l?void 0:l(t),alt:c,loading:"lazy"})))),",")},k=c.Z.div` position: fixed; z-index: 999; top: 0; left: 0; display: flex; width: 100%; height: 100%; flex-direction: column; background: black; opacity: 0; pointer-events: none; transition: opacity 0.2s linear; &[data-open='true'] { opacity: 1; pointer-events: auto; } `,C=c.Z.div` padding: 1rem; background: white; .icon-close { width: 26px; height: 26px; cursor: pointer; } `,P=c.Z.div` position: relative; flex: 1; overflow: hidden; > img { height: 100%; width: 100%; object-fit: contain; object-position: center; } `,N=c.Z.div` --inner-padding: max(16px, 20%); height: 100%; position: absolute; left: 0; padding: 8px; padding-right: var(--inner-padding); display: flex; align-items: center; top: 0; cursor: pointer; &[data-right] { padding-right: 8px; padding-left: var(--inner-padding); left: unset; right: 0; } &[data-disabled='true'] { cursor: not-allowed; } `,S=c.Z.div` border-radius: 50%; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; padding: 4px; > img { width: 16px; height: 16px; &[data-disabled='true'] { opacity: 0.5; } } ${r.M.tdUp} { padding: 8px; > img { width: 30px; height: 30px; } } `;var z="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m6 12.813 4-4-4-4'/%3e%3c/svg%3e";let PostSingleImageViewPopup=({initialViewIndex:e,images:t,onClose:i,alt:o})=>{let[r,n]=(0,a.useState)(e),[l,d]=(0,a.useState)(!1);(0,a.useEffect)(()=>{setTimeout(()=>{d(!0)},0)},[]);let c=null==t?void 0:t[r],h=0===r,g=!(null==t?void 0:t.length)||r===(null==t?void 0:t.length)-1;return a.createElement(s.h,null,a.createElement(k,{"data-open":l&&!!c},a.createElement(C,null,a.createElement("img",{src:m,className:"icon-close",onClick:i,alt:"close",loading:"lazy"})),c&&r>=0&&a.createElement(a.Fragment,null,a.createElement(P,null,a.createElement("img",{className:"img-preview",src:c,alt:o,loading:"lazy"}),a.createElement(N,{"data-disabled":h,onClick:()=>!h&&n(r-1)},a.createElement(S,null,a.createElement("img",{src:z,style:{transform:"rotate(180deg)"},alt:"left arrow","data-disabled":h,loading:"lazy"}))),a.createElement(N,{"data-right":!0,"data-disabled":g,onClick:()=>!g&&n(r+1)},a.createElement(S,null,a.createElement("img",{src:z,alt:"right arrow","data-disabled":g,loading:"lazy"})))))))},A=(0,p.Z)(c.Z.div` position: absolute; top: 0; right: 0; left: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; `,"hhgcomp-sensitivemask-inner"),M=c.Z.div``,j=c.Z.div` position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 3; background: white; cursor: pointer; &, * { // transition: all 300ms; transform-origin: bottom left; } img { transition: none; } .img-preview { width: 100%; } &[data-is-blurred='true'] { .img-preview { /* Add the blur effect */ -webkit-filter: blur(24px); filter: blur(24px); } } &[data-is-blurred='false'] { background: transparent; cursor: zoom-in; ${A.classSelector} { top: auto; right: auto; left: 8px; bottom: 8px; background: rgba(0, 0, 0, 0); align-items: flex-end; justify-content: flex-start; } } `,SensitiveMask=({image:e,showIcon:t=!0})=>{let[i,o]=(0,a.useState)(!0);return a.createElement(j,{"data-is-blurred":i,onClick:e=>i&&e.stopPropagation()},a.createElement("img",{loading:"lazy",className:"img-preview",src:e}),a.createElement(A,{onClick:e=>{e.stopPropagation(),o(!i)}},t&&a.createElement(M,null,i?a.createElement("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none"},a.createElement("path",{d:"M1.71 2.54a.996.996 0 0 1 0-1.41c.39-.39 1.03-.39 1.42 0l16.31 16.33a.996.996 0 1 1-1.41 1.41l-2.72-2.72c-1.34.52-2.79.82-4.31.82-5 0-9.27-3.11-11-7.5C.77 7.5 2.06 5.8 3.68 4.51zM16 9.47c0-2.76-2.24-5-5-5-.51 0-1 .1-1.47.24L7.36 2.54c1.15-.37 2.37-.57 3.64-.57 5 0 9.27 3.11 11 7.49-.69 1.76-1.79 3.3-3.18 4.53l-3.06-3.06c.14-.46.24-.95.24-1.46m-5 5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14L8.06 8.9c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07l1.57 1.57c-.65.32-1.37.5-2.14.5m2.97-5.33a2.97 2.97 0 0 0-2.64-2.64z",fill:"#fff"})):a.createElement("svg",{width:"23",height:"16",viewBox:"0 0 23 16",fill:"none"},a.createElement("path",{d:"M12 0C5.142 0 1.886 5.879 1.096 7.557c-.132.28-.132.604 0 .884C1.886 10.121 5.142 16 12 16c6.834 0 10.092-5.837 10.896-7.54a1.08 1.08 0 0 0 0-.92C22.092 5.836 18.834 0 12 0m0 3a5 5 0 1 1-.001 10.001 5 5 0 0 1 0-10.001m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6",fill:"#2D87F3"})))))},PostImagePreview=({className:e,images:t=[],style:i,authorName:s,isSensitive:d=!1,alt:c,positionAlert:h="top"})=>{let{data:{env:{isMarryBaby:g}}}=(0,a.useContext)(l.T),{t:p}=(0,n.u)(),m=`+ ${(t.length||0)-4}`,[u,f]=(0,a.useState)(!1),[w,v]=(0,a.useState)(-1),x=t.length>5,y=(0,a.useRef)(!1);return(0,a.useEffect)(()=>()=>{y.current&&(0,r.t)(!1)},[]),(0,a.useEffect)(()=>{u||w>=0?((0,r.t)(!0),y.current=!0):((0,r.t)(!1),y.current=!1)},[u,w]),a.createElement(a.Fragment,null,d&&"top"===h&&a.createElement(E,{message:p("sensitiveMask.contentWarningDescription"),icon:a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},a.createElement("path",{d:"M9 .667A8.336 8.336 0 0 0 .667 9c0 4.6 3.733 8.333 8.333 8.333S17.333 13.6 17.333 9 13.6.667 9 .667m0 9.166A.836.836 0 0 1 8.167 9V5.667c0-.459.375-.834.833-.834s.833.375.833.834V9A.836.836 0 0 1 9 9.833M8.167 11.5v1.667h1.666V11.5z",fill:"#FE921D"}))}),a.createElement(b,{className:e,style:i,"data-image-count":x?5:t.length||0,"data-is-marrybaby":g,"data-cursor-pointer":!d},null==t?void 0:t.slice(0,5).map((e,t)=>{let i=4===t&&x;return a.createElement("div",{className:"img-wrapper",key:t,onClick:()=>{t>=4&&x?f(!0):v(t)}},d&&a.createElement(SensitiveMask,{image:e,showIcon:!i}),!g&&a.createElement("img",{loading:"lazy",className:"img-preview-blur",src:e,alt:c}),a.createElement("img",{loading:"lazy",className:"img-preview",src:e,alt:c}),i&&a.createElement("div",{className:"img-more-overlay"},a.createElement(o.H,{tag:"h1",as:"h2",color:"white"},m)))})),u&&a.createElement(ImagePreviewPopup,{authorName:s||"",images:t,onClose:()=>f(!1),onOpenSingleView:v,alt:c}),w>=0&&a.createElement(PostSingleImageViewPopup,{images:t,initialViewIndex:w,onClose:()=>v(-1),alt:c}),d&&"bottom"===h&&a.createElement(E,{message:p("sensitiveMask.contentWarningDescription.community"),className:"noti-bottom",icon:a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},a.createElement("path",{d:"M9 .667A8.336 8.336 0 0 0 .667 9c0 4.6 3.733 8.333 8.333 8.333S17.333 13.6 17.333 9 13.6.667 9 .667m0 9.166A.836.836 0 0 1 8.167 9V5.667c0-.459.375-.834.833-.834s.833.375.833.834V9A.836.836 0 0 1 9 9.833M8.167 11.5v1.667h1.666V11.5z",fill:"#FE921D"}))}))}},Nd24:function(e,t,i){i.d(t,{M:function(){return Modal}});var a=i("q1tI"),o=i("bSAP"),r=i("i8i4"),n=i("rBCA"),l=i("eePC"),s=i("gEnE"),d=i("iBNF");let c=(0,s.Z)(n.Z.div` position: relative; z-index: 200; background-color: ${d.r.colors.white}; border-radius: ${d.r.borderRadius}; box-shadow: 0px 8px 40px 0px #0000001a; &[data-site-type='marryBaby'] { border-radius: 16px; .hhg-modal__content { position: relative; z-index: 111; height: 100%; padding: 24px; } } .hhg-modal__content { position: relative; z-index: 111; height: 100%; padding: 16px; } .hhg-modal__video { position: relative; z-index: 111; height: 100%; background-color: none; box-shadow: none; } `,"hhgcomp-modal-modal"),h=n.Z.div` position: fixed; top: 0; left: 0; z-index: 201; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; visibility: hidden; opacity: 0; background-color: rgba(0, 0, 0, 0.6); transition: opacity 0.3s ease-in-out; .hhg-modal__close { position: absolute; top: 16px; right: 16px; cursor: pointer; img { width: 100%; height: 100%; border-radius: 50%; } } &[data-type='video'] { z-index: 1001; } &[data-open='true'] { opacity: 1; visibility: visible; } ${c.classSelector} { transition: transform 0.3s ease-in-out; } &.slideTop { ${c.classSelector} { transform: translate(0, -100vh); } &[data-open='true'] { ${c.classSelector} { transform: translate(0); } } } &.scaleUp { ${c.classSelector} { transform: scale(0.9); } &[data-open='true'] { ${c.classSelector} { transform: scale(1); } } } &[data-type='tail'] { justify-content: flex-end; ${c.classSelector} { width: 420px; height: 100%; border-radius: 0; overflow: hidden auto; } } &[data-type='form'] { ${c.classSelector} { width: 496px; height: 548px; max-height: 100%; overflow-y: auto; ${l.M.mbDown} { width: 340px; } } } &[data-type='video'] { ${c.classSelector} { height: 100%; max-height: 539px; ${l.M.mbDown} { height: 192px; width: 100%; height: 100%; border-radius: ${d.r.borderRadius}; max-height: 192px; } } } &[data-type='confirm'] { ${c.classSelector} { width: 100%; max-width: 407px; ${l.M.mbDown} { width: calc(100% - 32px); max-width: calc(100% - 32px); } } } `,g=n.Z.div` position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; align-items: center; &[data-open='false'] { display: none; } &[data-type='video'] { background-color: ${d.r.colors.secondaryDark}; } `,p="hhg-modals",getModalsRoot=()=>{let e=document.getElementById(p);return e||((e=document.createElement("div")).setAttribute("id",p),document.body.append(e)),e},cleanUpModalShow=()=>{let e=document.querySelectorAll('.hhg-modal[data-open="true"]');e.length<1&&document.body.classList.remove("hhc-modal-show")},cleanUpDisabledScroll=()=>{let e=document.querySelectorAll('.hhg-modal[data-open="true"]');e.length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},Modal=({type:e="lead",closeIcon:t,isOpen:i=!0,onClose:n,children:l,className:s="",animationType:d="scaleUp",isStaticBackdrop:p=!1,siteType:m})=>{let[u,f]=(0,a.useState)(!1),w=(0,a.useRef)(null),{width:v}=(0,o.u)();if(!w.current&&u&&(w.current=document.createElement("div")),(0,a.useEffect)(()=>(f(!0),()=>{f(!1),cleanUpModalShow(),cleanUpDisabledScroll()}),[]),(0,a.useEffect)(()=>{if(u){let e=getModalsRoot();return e.appendChild(w.current),()=>{e.removeChild(w.current)}}},[u]),(0,a.useEffect)(()=>{i?document.body.classList.add("hhc-modal-show"):cleanUpModalShow()},[i]),(0,a.useEffect)(()=>{i?(document.body.style.overflow="hidden",document.body.style.paddingRight=v+"px",document.body.classList.add("hhc-disabled-scroll")):cleanUpDisabledScroll()},[i,v]),!u)return null;let x=["hhg-modal__wrapper",s,d].filter(e=>e).join(" ");return(0,r.createPortal)(a.createElement(h,{className:x,"data-open":i,"data-type":e},!p&&a.createElement(g,{"data-open":i,onClick:n,"data-type":e}),!p&&"video"===e&&!!t&&a.createElement("div",{className:"hhg-modal__close",onClick:n},t),a.createElement(c,{className:"hhg-modal","data-open":i,"data-site-type":m},a.createElement("div",{className:"video"===e?"hhg-modal__video":"hhg-modal__content"},!!t&&"video"!==e&&a.createElement("div",{className:"hhg-modal__close",onClick:n},t),l))),w.current)}},"eM4/":function(e,t,i){i.d(t,{u:function(){return a}});var a=(0,i("/npG").k)(e=>({root:{},inner:{},content:{borderRadius:16},header:{borderBottom:`1px solid ${e.colors.neutral[1]}`,marginRight:0,marginBottom:0,padding:"12px"},overlay:{},title:{fontSize:16,fontWeight:700,lineHeight:1.5},body:{},close:{cursor:"pointer",width:"unset",height:"unset",svg:{width:"24px !important",height:"24px !important"}}}))},avJq:function(e,t,i){i.d(t,{L:function(){return LabelSorting}});var a,o,r=i("q1tI"),n=i("2YCo"),l=i("gLxU"),s=i("WvS7");(a=o||(o={})).latest="latest",a.oldest="oldest",a.popular="popular";let LabelSorting=({onChange:e,className:t,style:i,leftLabel:a,rightLabel:o,color:d,value:c,choices:h})=>{let{data:{env:{isMarryBaby:g}}}=(0,r.useContext)(l.T);return r.createElement(s.L,{label:a,rightLabel:r.createElement(s.b,{position:"bottom",align:"end",data:{isShowheader:!1,type:"list",list:h.map(t=>({label:t.label,onClick:()=>e&&e(String(t.value)),selected:t.value===c,className:"bold-item"}))},toggleButtonContent:r.createElement("div",{style:{display:"flex"}},r.createElement(n.T,{style:{display:"flex",alignItems:"center",fontWeight:"normal",marginRight:12},size:"p4"},o),r.createElement("img",{src:g?"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath stroke='%233E3F58' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m8 14 4 4 4-4M16 10l-4-4-4 4'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath fill='%238C8C8C' d='M4.5 7h7a.46.46 0 0 0 .351-.165.56.56 0 0 0 .149-.39q0-.226-.149-.391l-3.5-3.89a.458.458 0 0 0-.703 0l-3.5 3.89a.56.56 0 0 0-.148.39q0 .226.148.391Q4.298 7 4.5 7M11.5 9h-7a.46.46 0 0 0-.352.165.56.56 0 0 0-.148.39q0 .226.148.391l3.5 3.889a.46.46 0 0 0 .703 0l3.5-3.889a.56.56 0 0 0 .149-.39q0-.226-.149-.391A.46.46 0 0 0 11.5 9'/%3e%3c/svg%3e",style:{width:16,height:16,alignSelf:"center"},loading:"lazy"}))}),color:"gray",className:t,style:i})}},YBu3:function(e,t,i){i.d(t,{c:function(){return convertLocalizedStringToNumber},f:function(){return formatPhoneNumber},l:function(){return localizeNumberFormat}});var a=i("A9bs");let localizeNumberFormat=(e,t,i=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:i}).format(e),convertLocalizedStringToNumber=e=>Number(e.replace(/,/gi,".")),formatPhoneNumber=e=>{try{let t=(0,a.parsePhoneNumber)(e,"VN");if(!(null==t?void 0:t.number))throw Error("Invalid number");return(0,a.formatPhoneNumber)(t.number)}catch(t){return console.log("\uD83D\uDE80 ~ formatPhoneNumber ~ error:",t),e}}},"B++p":function(e,t,i){i.d(t,{L:function(){return n}});var a=i("q1tI"),o=i("Ejk3"),r=i("9S3P");let n=(0,a.memo)(({type:e,width:t,height:i,isLight:n})=>{let l=(0,a.useMemo)(()=>{switch(e){case"hellobacsi":return{width:t||"107px",height:i||"24px",src:o.C.getAssetPath("logo/hellobacsi.png"),srcLight:o.C.getAssetPath("logo/hellobacsi-light.png")};case"hellodoktor":return{width:t||"127px",height:i||"24px",src:o.C.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:t||"121px",height:i||"27px",src:o.C.getAssetPath("logo/hellosehat.png")};case"hellojiankang":return{width:t||"87px",height:i||"24px",src:o.C.getAssetPath("logo/hellojiankang.png")};case"hellohealth":return{width:t||"123px",height:i||"24px",src:o.C.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:t||"150px",height:i||"24px",src:o.C.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:t||"99px",height:i||"24px",src:o.C.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:t||"127px",height:i||"24px",src:o.C.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:t||"101px",height:i||"24px",src:o.C.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:t||"111px",height:i||"24px",src:o.C.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:t||"89px",height:i||"24px",src:o.C.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:t||"123px",height:i||"24px",src:o.C.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:t||"105px",height:i||"24px",src:o.C.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:t||"60px",height:i||"57px",src:o.C.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:t||"145px",height:i||"28px",src:o.C.getAssetPath("logo/marrybaby.png")};default:return null}},[e,t,i]),{src:s,width:d,height:c,srcLight:h}=l||{};return a.createElement(r.I,{alt:`${e} logo`,className:"main-logo-icon",src:n&&h||s,style:{width:d,height:c}})})}}]);