"use strict";(self.webpackChunkhhgHealthCareV1=self.webpackChunkhhgHealthCareV1||[]).push([[5419],{54378:function(e,n,t){var a,r,i,l=t(73884);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n .content-part-heading {\n margin-bottom: 16px;\n }\n\n "," {\n width: calc(100% + 32px);\n border-top: 1px solid\n ",";\n margin: 0 -16px;\n padding: 16px 16px 0 16px;\n }\n }\n\n &.new-layout .content-part {\n display: block;\n width: 100%;\n\n > .content-part-heading {\n margin-bottom: 10px;\n }\n\n .content-part-grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 16px;\n width: 100%;\n }\n\n "," {\n width: calc(100% + 32px);\n\n .content-part-grid {\n grid-template-columns: 1fr;\n }\n }\n }\n"]);return E=function(){return e},e}function M(){var e=(0,x.A)(["\n display: flex;\n gap: 4px;\n\n ",".new-layout .content-part .content-part-grid > & {\n &:not(:last-child) {\n margin-bottom: 0;\n }\n }\n\n &::before {\n content: '';\n display: block;\n background: black;\n border-radius: 50%;\n width: 4px;\n height: 4px;\n margin: 10px;\n flex-shrink: 0;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n a > * {\n pointer-events: none;\n }\n"]);return M=function(){return e},e}var z,F,Y=y.Ay.div.withConfig({componentId:"sc-a17556ae-0"})(E(),b.M.mbDown,b.M.mbDown,(function(e){return e.theme.colors.neutral100}),b.M.mbDown),D=y.Ay.div.withConfig({componentId:"sc-a17556ae-1"})(M(),Y),_=t(54378),A=t(11966);function N(){return N=Object.assign?Object.assign.bind():function(e){for(var n=1;n0,E=b("training-process")&&h.length>0,M=b("awards-and-recognitions")&&p.length>0,z=b("training-process")&&f.length>0,F=b("training-process")&&u.length>0,N=b("doctor-information")&&g.length>0;return(0,a.FD)(Y,{className:"ms-MY"===c?"new-layout":"",children:[y&&(0,a.FD)("div",{className:"content-part".concat(r?" mt-[16px]":""),children:[!r&&(0,a.Y)(o.I,{icon:"ms-MY"===c?(0,a.Y)(q,{className:"w-[24px] h-[24px]"}):(0,a.Y)(P.A,{}),iconPosition:"left",size:"md",className:"content-part-heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:i({id:"ms-MY"===c?"doctor.tabs.workExperience":"admin.expForm.exp",defaultMessage:"ms-MY"===c?"Work Experience":"Experience"})})}),(0,a.Y)("div",{className:"content-part-grid",children:d.map((function(e,n){return(0,a.Y)(D,{children:(0,a.FD)("div",{className:"info",children:[(0,a.Y)(v.T,{size:"p2",children:e.title}),(0,a.Y)(v.T,{size:"p4",color:l.w.colors.gray500,children:e.organization}),e.start&&(0,a.Y)(v.T,{size:"p4",color:l.w.colors.gray500,children:"".concat(e.start," - ").concat(e.end||i({id:"common.date.present",defaultMessage:"Present"}))})]})},"".concat(e.title,"-").concat(n))}))})]}),E&&(0,a.FD)("div",{className:"content-part",children:[(0,a.Y)(o.I,{icon:"ms-MY"===c?(0,a.Y)(j,{className:"w-[24px] h-[24px]"}):(0,a.Y)(A.A,{}),iconPosition:"left",size:"md",className:"content-part-heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:i({id:"ms-MY"===c?"doctor.tabs.trainingProcess":"admin.eduForm.edu",defaultMessage:"Education"})})}),(0,a.Y)("div",{className:"content-part-grid",children:h.map((function(e,n){return(0,a.Y)(D,{children:(0,a.FD)("div",{className:"info",children:[(0,a.Y)(v.T,{size:"p2",children:e.school}),(0,a.Y)(v.T,{size:"p4",color:l.w.colors.gray500,children:e.field}),e.start&&(0,a.Y)(v.T,{size:"p4",color:l.w.colors.gray500,children:"".concat(e.start," - ").concat(e.end||i({id:"common.date.present",defaultMessage:"Present"}))})]})},"".concat(e.school,"-").concat(n))}))})]}),M&&(0,a.FD)("div",{className:"content-part",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(_.A,{}),iconPosition:"left",size:"md",className:"content-part-heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:i({id:"ms-MY"===c?"doctor.tabs.awardsAndRecognitions":"admin.awardsForm.awards",defaultMessage:"ms-MY"===c?"Awards and Recognitions":"Awards and Recognition"})})}),(0,a.Y)("div",{className:"content-part-grid",children:p.map((function(e,n){return(0,a.Y)(D,{children:(0,a.FD)("div",{className:"info",children:[(0,a.Y)(v.T,{size:"p2",children:e.name}),(0,a.Y)(v.T,{size:"p4",color:l.w.colors.gray500,children:e.year})]})},"".concat(e.name,"-").concat(n))}))})]}),z&&(0,a.FD)("div",{className:"content-part",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(V.A,{}),iconPosition:"left",size:"md",className:"content-part-heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:i({id:"admin.publicationsForm.title",defaultMessage:"Publications"})})}),(0,a.Y)("div",{className:"content-part-grid",children:f.map((function(e,n){return(0,a.Y)(D,{children:e.url?(0,a.Y)("a",{href:e.url,target:"_blank",rel:"noreferrer",children:(0,a.Y)(v.T,{size:"p2",children:e.name})}):(0,a.Y)(v.T,{size:"p2",children:e.name})},"".concat(e.name,"-").concat(n))}))})]}),F&&(0,a.FD)("div",{className:"content-part",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(I.A,{}),iconPosition:"left",size:"md",className:"content-part-heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:i({id:"admin.membershipForm.title",defaultMessage:"Membership"})})}),(0,a.Y)("div",{className:"content-part-grid",children:u.map((function(e,n){return(0,a.Y)(D,{children:(0,a.Y)(v.T,{size:"p2",children:e.name})},"".concat(e.name,"-").concat(n))}))})]}),N&&(0,a.FD)("div",{className:"content-part",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(B.A,{}),iconPosition:"left",size:"md",className:"content-part-heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:i({id:"admin.languageForm.title",defaultMessage:"Language spoken"})})}),(0,a.Y)("div",{className:"content-part-grid",children:g.map((function(e,n){return(0,a.Y)(D,{children:(0,a.Y)(v.T,{size:"p2",children:e})},"".concat(e,"-").concat(n))}))})]})]})},J=t(96477),Q=t(57656),U=t(76013),$=t(40959);function G(){return G=Object.assign?Object.assign.bind():function(e){for(var n=1;n0&&r&&(0,a.FD)("div",{className:"working-hours",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(ee,{}),iconPosition:"left",size:"md",className:"pb-[8px]",children:(0,a.Y)(s.H,{tag:"h6",as:"h2",color:l.w.colors.secondaryDark,children:t({id:"hospital.regularHours",defaultMessage:"Regular Hours"})})}),(0,a.Y)("div",{className:"week-working-time",children:de.map((function(e){return r&&(0,a.FD)("div",{className:"working-time",children:[(0,a.Y)(v.T,{size:"p2",className:"date",children:t({id:"hospital.workingDays.".concat(e)})}),(0,a.Y)(v.T,{size:"s3",type:"semiBold",className:"time",children:r[e]?r[e].join(", "):t({id:"hospital.status_closed",defaultMessage:"Closed"})})]},"working-time-".concat(e))}))}),i===$.ffg.AVAILABLE&&(0,a.Y)(v.T,{color:l.w.colors.success,size:"p4",type:"caption",className:"mt-[16px]",children:t({id:"hospital.emergencyHours",defaultMessage:"emergencyHours"})})]}),c.length>0&&(0,a.FD)("div",{className:"list-insurances",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(ce,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,a.Y)(s.H,{tag:"h6",as:"h2",color:l.w.colors.secondaryDark,children:t({id:"hospital.inNetworkInsurance",defaultMessage:"In-network Insurance"})})}),(0,a.Y)(Q.l,{size:"base",color:"var(--gray800)",children:t({id:"doctorPage.insuranceIntro",defaultMessage:"We accept the following insurance plans:"})}),(0,a.Y)(g.D6,{children:c.map((function(e,n){return(0,a.FD)("div",{className:"insurance",children:[(0,a.Y)("div",{className:"logo",children:(0,a.Y)("img",{src:e.logo,loading:"lazy"})}),(0,a.Y)(v.T,{size:"p4",color:l.w.colors.gray500,type:"bold",className:"mt-[8px]",children:e.name})]},e.name+n)}))})]}),d.length>0&&(0,a.FD)("div",{className:"hospital-payment",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(se,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,a.Y)(s.H,{tag:"h6",as:"h2",color:l.w.colors.secondaryDark,children:t({id:"hospitalPage.acceptedPayments",defaultMessage:"Accepted payments"})})}),(0,a.Y)("div",{className:"accepted-payments",children:d.map((function(e){return(0,a.FD)(g.NJ,{children:[(0,a.Y)("div",{className:"logo",children:(0,a.Y)("img",{src:e.logo,alt:"".concat(e.name," Logo"),loading:"lazy"})}),(0,a.Y)(v.T,{size:"n1",children:e.name})]},e.id)}))})]})]})};function pe(){var e=(0,x.A)(["\n "," {\n display: block;\n padding-top: 16px;\n }\n"]);return pe=function(){return e},e}function fe(){var e=(0,x.A)(["\n display: flex;\n flex-direction: column;\n gap: 24px;\n\n hr {\n margin: 32px 0;\n }\n\n .heading {\n margin-bottom: 16px;\n font-size: 16px;\n line-height: 24px;\n padding-left: 8px;\n\n &::after {\n width: 2px;\n height: 15px;\n margin-top: 4px;\n }\n }\n\n .list-services {\n & > *:not(:last-child) {\n margin-bottom: 16px;\n }\n }\n"]);return fe=function(){return e},e}function ue(){var e=(0,x.A)(["\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin-top: 16px;\n\n .expertise {\n background: ",";\n padding: 8px 16px;\n border-radius: 40px;\n }\n"]);return ue=function(){return e},e}function me(){var e=(0,x.A)(["\n .doctor-about-text {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: -0.2px;\n word-break: break-word;\n\n &[data-is-expanded='false'] {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 5;\n line-clamp: 5;\n }\n }\n\n .see-more-button[data-size='sm'] {\n padding: 0;\n margin-top: 8px;\n text-decoration: underline;\n text-underline-offset: 2px;\n font-size: 14px;\n line-height: 22px;\n font-weight: 400;\n transition: none;\n color: ",";\n\n &:hover,\n &:focus-visible,\n &:active {\n background: transparent;\n background-color: transparent;\n box-shadow: none;\n transform: none;\n opacity: 1;\n filter: none;\n color: ",";\n }\n }\n"]);return me=function(){return e},e}var ge,ve,we,xe=y.Ay.div.withConfig({componentId:"sc-46f9d964-0"})(pe(),b.M.mbDown),be=y.Ay.div.withConfig({componentId:"sc-46f9d964-1"})(fe()),ye=y.Ay.div.withConfig({componentId:"sc-46f9d964-2"})(ue(),(function(e){return e.theme.colors.neutral50})),Ee=y.Ay.div.withConfig({componentId:"sc-46f9d964-3"})(me(),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase})),Me=t(90332),ze=t(20607),Fe=t(70931);function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var n=1;n0&&n++,2===n)return!0}));return-1===t?[e.join("\n").replace(/\n/g,"
")]:[e.slice(0,t+1).join("\n").replace(/\n/g,"
"),e.slice(t+1).join("\n").replace(/\n/g,"
")]}),[v.description]),Y=(0,r.useMemo)((function(){return F.filter((function(e){return e.trim()})).join("

")}),[F]),D=(0,r.useRef)(null),_=(0,r.useState)(!1),A=_[0],N=_[1],k=(0,p.y)({wrapperRef:D}).isDescriptionCollapsible,C=(0,r.useMemo)((function(){return v.experiences.map((function(e){try{return JSON.parse(e.description)}catch(n){return e.description}})).filter((function(e){return e.content}))}),[v.experiences]),O=function(e){return"string"===typeof e?e:(null===e||void 0===e?void 0:e.year)?"".concat(e.year," ").concat(null===e||void 0===e?void 0:e.content):(null===e||void 0===e?void 0:e.content)?e.content:""},H=(0,u.Bi)(v.experiences.length),j=(0,Fe.oq)({locale:y,isMobile:M,contentAdTag:"Doctor"}),B=!x||"doctor-information"===x,I=B,V=B||"professional-strengths"===x,T=(B||"work-experience"===x)&&C.length>0&&!v.experience.length&&!v.education.length,S=!B&&"work-experience"===x,L=v.experience.length>0,R=S&&T&&L;return(0,a.Y)(xe,{children:(0,a.FD)(be,{children:[I&&(0,a.FD)("div",{className:"info-section",children:["ms-MY"===y?(0,a.FD)("div",{className:"flex items-center gap-2 mb-[10px]",children:[(0,a.Y)(Ce,{}),(0,a.Y)(d.T,{size:"title1",className:"text-gray800 text-center",fw:700,children:E({id:"doctor.tabs.doctorInformation",defaultMessage:"Doctor Information"})})]}):(0,a.Y)(i.a,{className:"heading",as:"h4",color:l.w.colors.secondaryDark,children:E({id:"doctorPage.about",defaultMessage:"About the doctor"})}),Y?(0,a.FD)(Ee,{ref:D,children:[(0,a.Y)("p",{className:"doctor-about-text","data-is-expanded":A,dangerouslySetInnerHTML:{__html:Y}}),k&&(0,a.Y)(c.B,{size:"sm",color:"ghost",className:"see-more-button","data-padding-none":!0,onClick:function(){return N(!A)},children:E(A?{id:"hospitalCard.seeLess",defaultMessage:"See Less"}:{id:"hospitalCard.seeMore",defaultMessage:"See More"})})]}):null,M&&w&&I&&Y&&(0,a.Y)(ze.z,{className:"ad-container",adUnitPath:j,size:[[320,100],[300,250]],divId:"ad-hospital-mobile-top-banner",pos:["TopBanner"],adDefaultSize:[320,100],customTargetings:{Doctor_ID:[v.id]},style:{paddingBottom:24,marginTop:16,marginBottom:-16}})]}),V&&v.expertise.length>0&&(0,a.FD)("div",{className:"expertise-section",children:[(0,a.Y)(o.I,{icon:"ms-MY"===y?(0,a.Y)(He,{className:"w-[24px] h-[24px]"}):(0,a.Y)(_e,{}),iconPosition:"left",size:"md",children:"ms-MY"===y?(0,a.Y)(d.T,{size:"title1",className:"text-gray800",fw:700,children:E({id:"doctor.tabs.professionalStrengths",defaultMessage:"Professional Strengths"})}):(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:E({id:"admin.expertise.heading",defaultMessage:"Area of expertise"})})}),(0,a.Y)(ye,{children:v.expertise.map((function(e){return(0,a.Y)("div",{className:"expertise",children:(0,a.Y)(d.T,{size:"s3",children:e.name})},e.id)}))})]}),I&&!!(null===(n=v.services)||void 0===n?void 0:n.length)&&(0,a.FD)("div",{className:"service-section",children:[(0,a.Y)(o.I,{icon:(0,a.Y)(je.A,{}),iconPosition:"left",size:"md",className:"mb-[16px]",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:E({id:"doctorPage.service",defaultMessage:"Service"})})}),(0,a.Y)("div",{className:"list-services",children:v.services.map((function(e,n){return(0,a.Y)(J.R,{service:e},"Service-".concat(n+1))}))})]}),R&&(0,a.Y)(i.a,{className:"heading",as:"h4",color:l.w.colors.secondaryDark,children:E({id:"doctor.tabs.workExperience",defaultMessage:"Work Experience"})}),T&&(0,a.FD)("div",{className:"exp-section",children:[!R&&(0,a.Y)(o.I,{icon:(0,a.Y)(P.A,{}),iconPosition:"left",size:"md",className:"heading",children:(0,a.Y)(s.H,{tag:"h6",color:l.w.colors.secondaryDark,children:E(S?{id:"doctor.tabs.workExperience",defaultMessage:"Work Experience"}:{id:"doctorPage.educationAndExperience",defaultMessage:"Education & experience"})})}),(0,a.Y)(Q.eV,{children:C.map((function(e,n){return(0,a.Y)("li",{children:(0,a.Y)(d.T,{size:"base",children:O(e)})},H[n])}))})]}),(0,a.Y)(W,{doctorInfo:v,activeTab:B?void 0:x,hideWorkExperienceTileTitle:R}),I&&v.hospital&&(0,a.FD)("div",{className:"hospital-info",children:[(0,a.Y)(i.a,{className:"heading",color:l.w.colors.secondaryDark,as:"h4",children:E({id:"doctorPage.detailsAddress",defaultMessage:"Address Details"})}),(0,a.Y)(he,{hospitalInfo:v.hospital})]}),M&&w&&I&&!!(null===(t=v.services)||void 0===t?void 0:t.length)&&(0,a.Y)(ze.z,{className:"ad-container",adUnitPath:j,size:[[320,100],[300,250]],divId:"ad-hospital-mobile-mid-banner1",pos:["MidBanner1"],adDefaultSize:[320,100],customTargetings:{Doctor_ID:[v.id]},style:{paddingBottom:24}}),I&&z.length>0&&(0,a.FD)(a.FK,{children:[(0,a.Y)(s.H,{tag:"h6",as:"h2",color:l.w.colors.secondaryDark,className:"border-heading mb-[16px]",children:E({id:"landing.faq",defaultMessage:"Frequently Asked Questions"})}),(0,a.Y)(g.F9,{children:(0,a.Y)(Me.nD,{content:z.map((function(e){return{title:e.question,content:e.answer}}))})})]})]})})}},96477:function(e,n,t){t.d(n,{R:function(){return u}});var a=t(2445),r=t(73884),i=t(3873),l=t(95780),c=t(55908),o=t(6442),s=t(24537);function d(){var e=(0,s.A)(["\n background: ",";\n border-radius: 6px;\n padding: 16px;\n"]);return d=function(){return e},e}var h=t(27317).Ay.div.withConfig({componentId:"sc-411e078a-0"})(d(),(function(e){return e.theme.colors.neutral50})),p=t(71584),f=t(51524);function u(e){var n=e.service,t=(0,o.A)().formatMessage,s=(0,r.useRef)(null),d=(0,r.useState)(!0),u=d[0],m=d[1],g=(0,c.y)({wrapperRef:s}).isDescriptionCollapsible;return(0,a.FD)(h,{children:[(0,a.Y)(i.T,{size:"p4",type:"semiBold",children:n.name}),(0,a.FD)(f.ns,{"data-is-collapsed":u,ref:s,children:[(0,a.Y)(i.T,{size:"p4",className:"description",children:n.description}),g&&(0,a.Y)(l.B,{size:"sm",color:"ghost",className:"see-more-button",onClick:function(){return m(!u)},"data-padding-none":!0,children:t(u?{id:"hospitalCard.seeMore",defaultMessage:"See More"}:{id:"hospitalCard.seeLess",defaultMessage:"See Less"})})]}),(0,a.Y)(p.S,{price:n.price,priceType:n.price_type,priceTo:n.price_to||void 0})]})}},2809:function(e,n,t){t.d(n,{E:function(){return Y},S:function(){return F}});var a=t(2445),r=t(73884),i=t(2594),l=t(35291),c=t(21995),o=t(32485),s=t.n(o),d=t(10905),h=t(66031),p=t(88491),f=t(73419),u=t(6442),m=t(24537);function g(){var e=(0,m.A)(["\n background: ",";\n border-radius: 6px;\n padding: 16px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n div {\n font-size: 16px;\n line-height: 24px;\n\n ul > li {\n list-style-type: disc;\n list-style-position: inside;\n margin-left: 15px;\n }\n ol > li {\n list-style-type: decimal;\n list-style-position: inside;\n margin-left: 15px;\n }\n\n strong {\n font-weight: bold;\n }\n\n em {\n font-style: italic;\n }\n }\n"]);return g=function(){return e},e}var v,w=t(27317).Ay.div.withConfig({componentId:"sc-dbbb00b1-0"})(g(),(function(e){return e.theme.colors.blue50})),x=t(8859),b=t(40568),y=t(84251),E=t(40279);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var n=1;n]/i.test(null!==n&&void 0!==n?n:"")}),[n]);(0,r.useEffect)((function(){if(_&&g.current){var e=g.current.querySelectorAll("li"),n=e.length>0?Array.from(e):Array.from(g.current.children);M(n.length)}}),[n,_]),(0,r.useEffect)((function(){if(_&&g.current){var e=g.current.querySelectorAll("li");(e.length>0?Array.from(e):Array.from(g.current.children)).forEach((function(e,n){var t=e;n>=2&&!f?t.classList.add("hidden"):t.classList.remove("hidden")}))}}),[n,f,_]),(0,r.useLayoutEffect)((function(){if(!_&&g.current){if(!l||o){var e=g.current;if(!f){var n=e.scrollHeight-e.clientHeight>2;D(n)}}}else D(!1)}),[n,f,_,l,o]),(0,r.useEffect)((function(){!o&&l&&m(!1)}),[o,l]);var A=_?w>2:Y,N=(0,a.FD)("div",{className:"flex flex-col gap-[16px]",children:[(0,a.Y)("div",{ref:g,className:s()("text-sm leading-[22px] text-gray800","[&_ul]:list-none [&_ul]:pl-0 [&_ul]:m-0 [&_ul]:flex [&_ul]:flex-col [&_ul]:gap-4","[&_ol]:list-none [&_ol]:pl-0 [&_ol]:m-0 [&_ol]:flex [&_ol]:flex-col [&_ol]:gap-4","[&_li]:relative [&_li]:pl-7","[&_li]:before:content-['\u2022'] [&_li]:before:absolute [&_li]:before:left-[6px] [&_li]:before:top-0 [&_li]:before:text-blue200 [&_li]:before:text-sm [&_li]:before:leading-[22px]","[&_strong]:font-semibold","[&_em]:italic",!_&&!f&&"line-clamp-4"),dangerouslySetInnerHTML:{__html:n}}),A&&(0,a.Y)("button",{onClick:function(){return m(!f)},className:"size-fit pl-[30px] underline text-[12px] leading-[18px] text-blue600 transition-opacity hover:opacity-80",children:i({id:f?"hospitalCard.seeLess":"hospitalCard.seeMore",defaultMessage:f?"Show less":"See more"})})]});return(0,a.FD)("div",{className:s()("border border-blue100 border-solid p-4 flex flex-col gap-4",l?"rounded-lg":"rounded-2xl",t),style:{background:"linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(227,242,255,1) 100%)"},children:[(0,a.FD)("div",{className:s()("flex items-center justify-between",l&&"cursor-pointer"),onClick:l?d:void 0,children:[(0,a.FD)("div",{className:"flex items-center gap-2",children:[(0,a.Y)(z,{width:24,height:24,className:"shrink-0"}),(0,a.Y)("h6",{className:s()("font-bold text-primaryBase tracking-tight",l?"text-[15px] leading-6":"text-[17px] leading-6"),children:i({id:"doctor.glance.highlights",defaultMessage:"Highlights"})})]}),l&&(0,a.Y)(x.A,{width:24,height:24,className:s()("shrink-0 transition-transform duration-300",o&&"rotate-180")})]}),l?(0,a.Y)(y.S,{in:o,transitionDuration:250,transitionTimingFunction:"ease",children:N}):N]})},Y=function(e){var n=e.glance,t=e.className,o=(0,u.A)().formatMessage,m=(0,f.$)().locale,g=(0,p.d)().isMobileOrTablet,v=(0,r.useState)(!1),b=v[0],y=v[1],E=[c.L.Vietnam,c.L.Malaysia],M=g&&E.includes(m);return(0,a.FD)(w,{className:t,children:[(0,a.FD)("div",{className:"flex items-center justify-between",onClick:M?function(){y(!b)}:void 0,children:[(0,a.Y)(i.H,{className:"border-heading",tag:"h6",color:l.w.colors.secondaryDark,children:o({id:"admin.doctor.atAGlance",defaultMessage:"At a glance"})}),M&&(0,a.Y)(x.A,{width:24,height:24,className:s()("transition-transform duration-500 ease-in-out",b&&"rotate-180")})]}),(0,a.Y)(d.N,{initial:!1,children:(b||!M)&&(0,a.Y)(h.m.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25,ease:"easeInOut"},style:{overflow:"hidden"},children:(0,a.Y)("div",{dangerouslySetInnerHTML:{__html:n}})})})]})}},86680:function(e,n,t){t.d(n,{D6:function(){return b},F9:function(){return Y},NJ:function(){return F},OI:function(){return E},Qz:function(){return v},Rz:function(){return y},jB:function(){return x},lO:function(){return w},lp:function(){return M},t3:function(){return z}});var a=t(24537),r=t(26115),i=t(27317);function l(){var e=(0,a.A)(["\n margin-bottom: 32px;\n & > * {\n margin-top: 24px;\n }\n ol {\n padding-left: 22px;\n li {\n padding-left: 4px;\n\n margin-top: 8px;\n list-style-type: disc;\n }\n }\n\n .list-categories {\n margin-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n\n .patient-guide {\n &[data-is-collapsed='true'] {\n p {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n }\n }\n\n p {\n white-space: pre-line;\n }\n }\n\n .see-more-button[data-size='sm'] {\n padding: 0;\n }\n\n .accepted-payments {\n display: flex;\n gap: 16px;\n flex-wrap: wrap;\n }\n\n .featured-doctors {\n .featured-doctor-item {\n height: 100%;\n }\n }\n"]);return l=function(){return e},e}function c(){var e=(0,a.A)(["\n border-bottom: 1px dashed\n ",";\n padding-bottom: 24px;\n .week-working-time {\n max-width: 450px;\n .working-time {\n display: flex;\n margin-top: 8px;\n justify-content: space-between;\n\n .date {\n min-width: 100px;\n }\n\n .time {\n text-align: right;\n }\n }\n }\n"]);return c=function(){return e},e}function o(){var e=(0,a.A)(["\n .hospital-see-more {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: -0.2px;\n margin-top: 16px;\n white-space: pre-line;\n\n &:last-child {\n margin-top: 0;\n\n "," {\n margin-top: 16px;\n }\n }\n }\n\n &[data-is-collapsed='true'] {\n p {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n }\n }\n"]);return o=function(){return e},e}function s(){var e=(0,a.A)(["\n display: flex;\n gap: 24px;\n flex-wrap: wrap;\n text-align: center;\n\n "," {\n gap: 16px;\n }\n .insurance {\n width: calc((100% - 24px * 4) / 5);\n\n "," {\n width: calc((100% - 16px * 2) / 3);\n }\n\n .logo {\n height: 62px;\n border-radius: 6px;\n border: 1px solid ",";\n padding: 10px;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n }\n }\n"]);return s=function(){return e},e}function d(){var e=(0,a.A)(["\n border: 1px solid ",";\n border-radius: 6px;\n padding: 16px;\n\n .arrow {\n transition: all 300ms ease-out;\n\n &[data-is-collapsed='false'] {\n transform: rotate(180deg);\n }\n }\n"]);return d=function(){return e},e}function h(){var e=(0,a.A)(["\n height: 0px;\n overflow: hidden;\n transition: height 300ms ease-out;\n"]);return h=function(){return e},e}function p(){var e=(0,a.A)(["\n background: ",";\n border-radius: 6px;\n margin-top: 16px;\n padding: 16px;\n\n &[data-is-has-promotion='true'] {\n position: relative;\n border-left: 6px solid ",";\n }\n"]);return p=function(){return e},e}function f(){var e=(0,a.A)(["\n position: absolute;\n top: 0;\n right: 0;\n\n .text-promotion {\n position: absolute;\n top: 10px;\n right: 5px;\n transform: rotate(45deg);\n }\n"]);return f=function(){return e},e}function u(){var e=(0,a.A)(["\n text-align: center;\n .logo {\n width: 100px;\n height: 55px;\n padding: 8px 12px;\n border: 1px solid ",";\n border-radius: 6px;\n margin-bottom: 4px;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n }\n"]);return u=function(){return e},e}function m(){var e=(0,a.A)(["\n border: 1px solid ",";\n border-radius: 8px;\n padding: 0 16px;\n"]);return m=function(){return e},e}function g(){var e=(0,a.A)(["\n padding: 16px 0;\n\n &:not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n .question {\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n }\n\n .answer {\n margin-top: ","px;\n overflow: hidden;\n transition: all 0.3s ease-out;\n height: ","px;\n white-space: pre-line;\n }\n"]);return g=function(){return e},e}var v=i.Ay.div.withConfig({componentId:"sc-9c10e22a-0"})(l()),w=i.Ay.div.withConfig({componentId:"sc-9c10e22a-1"})(c(),(function(e){return e.theme.colors.neutral100})),x=i.Ay.div.withConfig({componentId:"sc-9c10e22a-2"})(o(),r.M.mbDown),b=i.Ay.div.withConfig({componentId:"sc-9c10e22a-3"})(s(),r.M.mbDown,r.M.mbDown,(function(e){return e.theme.colors.neutral200})),y=i.Ay.div.withConfig({componentId:"sc-9c10e22a-4"})(d(),(function(e){return e.theme.colors.neutral100})),E=i.Ay.div.withConfig({componentId:"sc-9c10e22a-5"})(h()),M=i.Ay.div.withConfig({componentId:"sc-9c10e22a-6"})(p(),(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.green600})),z=i.Ay.div.withConfig({componentId:"sc-9c10e22a-7"})(f()),F=i.Ay.div.withConfig({componentId:"sc-9c10e22a-8"})(u(),(function(e){return e.theme.colors.neutral200})),Y=i.Ay.div.withConfig({componentId:"sc-9c10e22a-9"})(m(),(function(e){return e.theme.colors.neutral100}));i.Ay.div.withConfig({componentId:"sc-9c10e22a-10"})(g(),(function(e){return e.theme.colors.neutral100}),(function(e){return e.isCollapsed?0:16}),(function(e){var n=e.answerHeight;return e.isCollapsed?0:n}))},55908:function(e,n,t){t.d(n,{y:function(){return r}});var a=t(73884);function r(e){var n=e.wrapperRef,t=(0,a.useState)(!1),r=t[0],i=t[1],l=(0,a.useRef)(0),c=(0,a.useRef)(0);return(0,a.useEffect)((function(){if(n.current){var e=n.current.querySelector("p");e&&(i(e.offsetHeight