"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6962],{"9UvD":function(e,t,a){a.d(t,{c:function(){return ClosingMessage}});var i=a("BGKE");a("q1tI");var r=a("rrs9"),o=a("SPK5"),n=a("OAL+"),l=a("Q7Fe");let ClosingMessage=e=>{let{title:t,content:a}=e;return a&&t?(0,i.BX)(o.k,{gap:10,w:"100%",sx:e=>({borderRadius:8,padding:"12px 16px",backgroundColor:e.colors.yellow50}),children:[(0,i.tZ)("div",{children:(0,i.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.tZ)("path",{d:"M22.2389 18.451L13.4419 3.816C13.1349 3.305 12.5959 3 11.9999 3C11.4039 3 10.8649 3.305 10.5589 3.815L1.76088 18.451C1.44888 18.97 1.44088 19.619 1.73888 20.146C2.03588 20.673 2.59688 21 3.20288 21H20.7979C21.4029 21 21.9649 20.673 22.2619 20.146C22.5599 19.619 22.5509 18.97 22.2389 18.451ZM12.4999 18H11.4999C11.2239 18 10.9999 17.776 10.9999 17.5V16.5C10.9999 16.224 11.2239 16 11.4999 16H12.4999C12.7759 16 12.9999 16.224 12.9999 16.5V17.5C12.9999 17.776 12.7759 18 12.4999 18ZM11.9999 14C11.4479 14 10.9999 13.552 10.9999 13V10C10.9999 9.448 11.4479 9 11.9999 9C12.5519 9 12.9999 9.448 12.9999 10V13C12.9999 13.552 12.5519 14 11.9999 14Z",fill:"#FE921D"})})}),(0,i.BX)(n.K,{spacing:4,children:[t&&(0,i.BX)(r.T,{size:"p2",weight:"semiBold",children:[t," dfdf"]}),a&&(0,i.tZ)(l.G,{size:"p1",content:a})]})]}):null}},"DN/R":function(e,t,a){a.r(t),a.d(t,{CollapsibleFaqs:function(){return CollapsibleFaqs}});var i=a("BGKE"),r=a("q1tI"),o=a("vaiB"),n=a("JULU"),l=a("dDsW"),d=a("Q7Fe"),c=a("iv2E"),s=a("sJ9w"),h=a("P5LW"),p=a("rIrU"),g=a("rBCA"),m=a("iBNF"),u=a("kO4G");let v=(0,g.Z)("div",{target:"e16m9hch0"})("position:relative;display:flex;justify-content:space-between;padding:12px 16px;background-color:white;cursor:pointer;transition:background-color 300ms ease-out;&:hover{background-color:",m.r.colors.neutral50,";}.icon{width:10%;margin-top:4px;text-align:end;",u.M.mbUp,"{width:5%;}&[data-is-hidden='false']{img{transform:rotate(180deg);}}img{width:24px;height:24px;transition:transform 300ms ease-out;}}"),x=(0,g.Z)("div",{target:"e16m9hch1"})(".content-wrapper{padding:24px;background:",m.r.colors.neutral50,";border-radius:",m.r.borderRadius,";.learn-more{margin-top:10px;p{display:inline;}a{text-decoration:none;}}}"),b=(0,g.Z)("div",{target:"e16m9hch2"})("margin-block:16px;background-color:",m.r.colors.teal50,";padding:16px;.faq-title{margin-bottom:16px;font-size:20px;padding:16px 0 16px 20px;&:after{height:40px;top:50%;transform:translateY(-50%);}}"),CollapsibleFaqsCard=e=>{var t;let{postContent:a,onShowClick:n,isShowed:g}=e,m=(0,r.useRef)(null),{formatMessage:u}=(0,l.Z)();(0,s.b)(m,g);let{locale:b,router:{asPath:y}}=(0,h.h)();return(0,i.BX)(i.HY,{children:[(0,i.BX)(v,{onClick:()=>{void 0!==n&&n(g?"hide":"show")},children:[(0,i.tZ)(o.T,{size:"lg",type:"bold",className:"heading",children:a.title}),(0,i.tZ)("div",{className:"icon","data-is-hidden":!g,children:(0,i.tZ)("img",{loading:"lazy",src:"".concat(p.Nr,"/chevronDown.svg"),alt:"Icon Chevron","data-event-category":"FAQ","data-event-action":"Arrow Click","data-event-label":"https://".concat(c.domainLocales[b]).concat(p.sb).concat(y)})})]}),(0,i.tZ)(x,{ref:m,children:(0,i.BX)("div",{className:"content-wrapper",children:[(0,i.tZ)("div",{className:"content",children:(0,i.tZ)(d.G,{size:"c1",content:a.content})}),a.learnMore?(0,i.BX)("div",{className:"learn-more",children:[(0,i.tZ)(o.T,{size:"c1",type:"bold",children:"".concat(u({id:"categoryPage.faqs.learnMore",defaultMessage:"Learn More"}),": ")}),(0,i.tZ)("a",{href:a.learnMore.permalink,children:(0,i.tZ)(o.T,{size:"c1",color:"#2685f1",children:(0,i.tZ)("span",{"data-event-category":"FAQ","data-event-action":"Internal Link Click","data-event-label":"https://".concat(c.domainLocales[b]).concat(p.sb).concat(a.learnMore.permalink),dangerouslySetInnerHTML:{__html:null==a?void 0:null===(t=a.learnMore)||void 0===t?void 0:t.title}})})})]}):null]})})]})},CollapsibleFaqs=e=>{let{isMobile:t,posts:a,title:o}=e,{formatMessage:d}=(0,l.Z)(),[c,s]=(0,r.useState)(-1),handleShowFAQ=(e,t)=>{s("show"===e?t:-1)};return(0,i.BX)(b,{children:[(0,i.tZ)(n.a,{size:"lg",className:"faq-title",children:o||d({id:"categoryPage.faqs",defaultMessage:"FAQs"})}),(0,i.tZ)("div",{children:a.map((e,a)=>(0,i.tZ)(CollapsibleFaqsCard,{isMobile:t,postContent:e,onShowClick:e=>{handleShowFAQ(e,a)},isShowed:c===a},a))})]})}},"gMY+":function(e,t,a){a.d(t,{f:function(){return CommunityBanner}});var i=a("BGKE"),r=a("q1tI"),o=a("h7+k"),n=a("iBNF"),l=a("gjhv"),d=a("G7ij"),c=a("rrs9"),s=a("Eso5"),h=a("SPK5"),p=a("Wgwc"),g=a.n(p),m=a("dDsW"),u=a("09QT"),v=a("oQBk"),x=a("CJtR"),b=a("7mej"),y=a("hXNO"),f=a("P5LW"),Z=a("rIrU"),C=a("rBCA"),w=a("kO4G");let k=(0,C.Z)("div",{target:"ejjtm1q0"})("width:100%;display:flex;flex-direction:column;align-items:flex-start;padding:24px;gap:16px;",w.M.mbDown,"{padding:16px;}.community{width:100%;display:flex;align-items:flex-start;gap:24px;}background:",n.r.colors.primary50,";border-radius:",n.r.borderRadius,";.thumbnail-header{width:80px;background:transparent;/* White */\n border:4px solid #ffffff;border-radius:8px;",w.M.mbDown,"{width:48px;}}.detail{width:100%;}.detail-general{min-height:50px;width:100%;display:flex;",w.M.mbUp,"{justify-content:space-between;}}"),N=(0,C.Z)(h.k,{target:"ejjtm1q1"})("border-radius:8px;.thumbnail{display:block;min-width:48px;width:48px;height:48px;img{border-radius:8px;}}"),Desktop=e=>{let{topics:t,dueDate:a}=e,{formatMessage:s}=(0,m.Z)(),h=(0,r.useMemo)(()=>t[0],[t]),{locale:p}=(0,f.h)();(0,r.useEffect)(()=>{h.joined||((0,u.d)(v.y.TOGETHER.POST_TOGETHER_JOIN_TOPIC,{method:"POST",data:{ids:[h.id]}},"together"),h.joined=!0)},[h.joined]);let{countMembers:y,countPosts:C,community:w}=h;return(0,i.BX)(k,{children:[(0,i.BX)("div",{className:"community",children:[(0,i.tZ)("div",{className:"thumbnail-header",children:(0,i.tZ)("a",{href:"/community/".concat(w.slug,"/").concat(h.slug),"data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,x.UC)(p),"/community/").concat(w.slug,"/").concat(h.slug),children:(0,i.tZ)("img",{loading:"lazy",className:"thumbnail",src:h.thumbnail||"".concat(Z.Nr,"/pregnancy-community.svg"),alt:"thumbnail"})})}),(0,i.tZ)("div",{className:"detail",children:(0,i.BX)("div",{className:"detail-general",children:[(0,i.BX)("div",{children:[(0,i.tZ)("a",{href:"/community/".concat(w.slug,"/").concat(h.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,x.UC)(p),"/community/").concat(w.slug,"/").concat(h.slug),children:(0,i.tZ)(o.H,{tag:"h4",fontWeight:"bold",color:n.r.colors.gray800,className:"grow",children:h.name})}),(0,i.tZ)(b.g,{postsCount:C,membersCount:y})]}),(0,i.tZ)("a",{href:"/community/".concat(w.slug,"/").concat(h.slug),"data-event-category":"Health Tool","data-event-action":"Together Discussion Click","data-event-label":"".concat((0,x.UC)(p),"/community/").concat(w.slug,"/").concat(h.slug),className:"pointer-event-child-none",children:(0,i.tZ)(d.B,{bg:"#e0f8ee",size:"md",leftIcon:(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M14.9852 4.49251C14.7904 4.49832 14.6054 4.57975 14.4696 4.71956L6.74988 12.4393L4.28015 9.96956C4.21104 9.89758 4.12827 9.84012 4.03667 9.80053C3.94508 9.76094 3.8465 9.74003 3.74672 9.73901C3.64694 9.73799 3.54796 9.7569 3.45558 9.79462C3.36319 9.83233 3.27926 9.8881 3.20871 9.95866C3.13815 10.0292 3.08238 10.1132 3.04466 10.2055C3.00694 10.2979 2.98804 10.3969 2.98905 10.4967C2.99007 10.5965 3.01098 10.695 3.05057 10.7866C3.09016 10.8782 3.14763 10.961 3.21961 11.0301L6.21961 14.0301C6.36026 14.1707 6.551 14.2497 6.74988 14.2497C6.94876 14.2497 7.1395 14.1707 7.28015 14.0301L15.5302 5.78011C15.6385 5.67476 15.7126 5.53913 15.7425 5.39099C15.7725 5.24285 15.757 5.08912 15.6981 4.94993C15.6392 4.81074 15.5396 4.69259 15.4124 4.61097C15.2852 4.52935 15.1363 4.48806 14.9852 4.49251Z",fill:"#008C50"})}),children:(0,i.tZ)(c.T,{c:"#008c50",children:s({id:"together.embed.topicCard.joinDiscussion",defaultMessage:"Join Discussion"})})})})]})})]}),(0,i.tZ)(c.T,{size:"p4",color:n.r.colors.gray800,children:s({id:"pregnancyTool.communityBanner.message",defaultMessage:"Looking for other moms who may give birth in ? Connect with parents-to-be and share your stories in the ."},{"due-date":function(){return(0,i.tZ)(c.T,{as:"span",size:"p4",color:n.r.colors.gray800,weight:"semiBold",children:g()(a).format(Z.DH)})},member:function(){return y>=1e3?(0,i.tZ)(c.T,{as:"span",size:"p4",color:n.r.colors.gray800,weight:"semiBold",children:(0,l.a)(y)}):null},topicName:function(){return(0,i.tZ)(c.T,{as:"span",size:"p4",color:n.r.colors.gray800,weight:"semiBold",children:h.name})}})})]})},Mobile=e=>{let{topics:t,dueDate:a}=e,{formatMessage:h}=(0,m.Z)(),p=(0,r.useMemo)(()=>t[0],[t]),{locale:y}=(0,f.h)();(0,r.useEffect)(()=>{p.joined||((0,u.d)(v.y.TOGETHER.POST_TOGETHER_JOIN_TOPIC,{method:"POST",data:{ids:[p.id]}},"together"),p.joined=!0)},[p.joined]);let{countMembers:C,countPosts:w,community:N}=p;return(0,i.BX)(k,{children:[(0,i.BX)("div",{className:"community",children:[(0,i.tZ)("div",{className:"thumbnail-header",children:(0,i.tZ)("a",{href:"/community/".concat(N.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,x.UC)(y),"/community/").concat(N.slug,"/").concat(p.slug),children:(0,i.tZ)("img",{loading:"lazy",className:"thumbnail",src:p.thumbnail||"".concat(Z.Nr,"/pregnancy-community.svg"),alt:"thumbnail"})})}),(0,i.tZ)("div",{className:"detail",children:(0,i.tZ)("div",{className:"detail-general",children:(0,i.BX)("div",{children:[(0,i.tZ)("a",{href:"/community/".concat(N.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,x.UC)(y),"/community/").concat(N.slug,"/").concat(p.slug),children:(0,i.tZ)(o.H,{tag:"h4",fontWeight:"bold",color:n.r.colors.gray800,className:"grow",children:p.name})}),(0,i.tZ)(b.g,{postsCount:w,membersCount:C})]})})})]}),(0,i.tZ)("div",{className:"detail-message",children:(0,i.tZ)(c.T,{size:"p4",color:n.r.colors.gray800,children:h({id:"pregnancyTool.communityBanner.message",defaultMessage:"Looking for other moms who may give birth in ? Connect with parents-to-be and share your stories in the ."},{"due-date":function(){return(0,i.tZ)(c.T,{as:"span",size:"p4",color:n.r.colors.gray800,weight:"semiBold",children:g()(a).format(Z.DH)})},member:function(){return C>=1e3?(0,i.tZ)(c.T,{as:"span",size:"p4",color:n.r.colors.gray800,weight:"semiBold",children:(0,l.a)(C)}):null},topicName:function(){return(0,i.tZ)(c.T,{as:"span",size:"p4",color:n.r.colors.gray800,weight:"semiBold",children:p.name})}})})}),(0,i.tZ)(s.x,{w:"100%",children:(0,i.tZ)("a",{href:"/community/".concat(N.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Discussion Click","data-event-label":"".concat((0,x.UC)(y),"/community/").concat(N.slug,"/").concat(p.slug),children:(0,i.tZ)(d.B,{fullWidth:!0,size:"md",bg:"#e0f8ee",className:"ask",leftIcon:(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M14.9852 4.49251C14.7904 4.49832 14.6054 4.57975 14.4696 4.71956L6.74988 12.4393L4.28015 9.96956C4.21104 9.89758 4.12827 9.84012 4.03667 9.80053C3.94508 9.76094 3.8465 9.74003 3.74672 9.73901C3.64694 9.73799 3.54796 9.7569 3.45558 9.79462C3.36319 9.83233 3.27926 9.8881 3.20871 9.95866C3.13815 10.0292 3.08238 10.1132 3.04466 10.2055C3.00694 10.2979 2.98804 10.3969 2.98905 10.4967C2.99007 10.5965 3.01098 10.695 3.05057 10.7866C3.09016 10.8782 3.14763 10.961 3.21961 11.0301L6.21961 14.0301C6.36026 14.1707 6.551 14.2497 6.74988 14.2497C6.94876 14.2497 7.1395 14.1707 7.28015 14.0301L15.5302 5.78011C15.6385 5.67476 15.7126 5.53913 15.7425 5.39099C15.7725 5.24285 15.757 5.08912 15.6981 4.94993C15.6392 4.81074 15.5396 4.69259 15.4124 4.61097C15.2852 4.52935 15.1363 4.48806 14.9852 4.49251Z",fill:"#008C50"})}),children:(0,i.tZ)(c.T,{c:"#008c50",children:h({id:"together.embed.topicCard.joinDiscussion",defaultMessage:"Join Discussion"})})})})})]})},Revamp=e=>{let{topics:t,dueDate:a}=e,o=(0,y.d)(),{formatMessage:s}=(0,m.Z)(),p=(0,r.useMemo)(()=>t[0],[t]),{locale:C}=(0,f.h)();(0,r.useEffect)(()=>{p.joined||((0,u.d)(v.y.TOGETHER.POST_TOGETHER_JOIN_TOPIC,{method:"POST",data:{ids:[p.id]}},"together"),p.joined=!0)},[p.joined]);let{countMembers:w,countPosts:k,community:B}=p;return(0,i.BX)(N,{p:16,gap:16,bg:n.r.colors.blue50,direction:"column",children:[(0,i.BX)(h.k,{gap:16,children:[(0,i.tZ)("a",{href:"/community/".concat(B.slug,"/").concat(p.slug),className:"thumbnail pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,x.UC)(C),"/community/").concat(B.slug,"/").concat(p.slug),children:(0,i.tZ)("img",{loading:"lazy",src:p.thumbnail||"".concat(Z.Nr,"/pregnancy-community.svg"),alt:"thumbnail",width:48,height:48})}),(0,i.BX)(h.k,{gap:4,direction:"column",children:[(0,i.tZ)("a",{href:"/community/".concat(B.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,x.UC)(C),"/community/").concat(B.slug,"/").concat(p.slug),children:(0,i.tZ)(c.T,{size:o?"h4":"h5",as:"p",weight:"bold",color:n.r.colors.gray800,children:p.name})}),(0,i.tZ)(b.g,{postsCount:k,membersCount:w,size:"small"})]})]}),(0,i.tZ)(c.T,{size:o?"p3":"p4",color:n.r.colors.gray800,children:s({id:"pregnancyTool.communityBanner.message",defaultMessage:"Looking for other moms who may give birth in ? Connect with parents-to-be and share your stories in the ."},{"due-date":function(){return(0,i.tZ)(c.T,{as:"span",size:o?"p3":"p4",color:n.r.colors.gray800,weight:"semiBold",children:g()(a).format(Z.DH)})},member:function(){return w>=1e3?(0,i.tZ)(c.T,{as:"span",size:o?"p3":"p4",color:n.r.colors.gray800,weight:"semiBold",children:(0,l.a)(w)}):null},topicName:function(){return(0,i.tZ)(c.T,{as:"span",size:o?"p3":"p4",color:n.r.colors.gray800,weight:"semiBold",children:p.name})}})}),(0,i.tZ)("a",{href:"/community/".concat(B.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Due Date - Guide and Support - Join Community","data-event-label":"".concat((0,x.UC)(C),"/community/").concat(B.slug,"/").concat(p.slug),children:(0,i.tZ)(d.B,{fullWidth:!0,size:"md",variant:"secondary",leftIcon:(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M14.9852 4.49251C14.7904 4.49832 14.6054 4.57975 14.4696 4.71956L6.74988 12.4393L4.28015 9.96956C4.21104 9.89758 4.12827 9.84012 4.03667 9.80053C3.94508 9.76094 3.8465 9.74003 3.74672 9.73901C3.64694 9.73799 3.54796 9.7569 3.45558 9.79462C3.36319 9.83233 3.27926 9.8881 3.20871 9.95866C3.13815 10.0292 3.08238 10.1132 3.04466 10.2055C3.00694 10.2979 2.98804 10.3969 2.98905 10.4967C2.99007 10.5965 3.01098 10.695 3.05057 10.7866C3.09016 10.8782 3.14763 10.961 3.21961 11.0301L6.21961 14.0301C6.36026 14.1707 6.551 14.2497 6.74988 14.2497C6.94876 14.2497 7.1395 14.1707 7.28015 14.0301L15.5302 5.78011C15.6385 5.67476 15.7126 5.53913 15.7425 5.39099C15.7725 5.24285 15.757 5.08912 15.6981 4.94993C15.6392 4.81074 15.5396 4.69259 15.4124 4.61097C15.2852 4.52935 15.1363 4.48806 14.9852 4.49251Z",fill:n.r.colors.primaryBase})}),children:(0,i.tZ)(c.T,{c:n.r.colors.primaryBase,children:s({id:"together.embed.topicCard.joinDiscussion",defaultMessage:"Join Discussion"})})})})]})},CommunityBanner=e=>{let t=(0,y.d)();return e.isRevamp?(0,i.tZ)(Revamp,{...e}):t?(0,i.tZ)(Mobile,{...e}):(0,i.tZ)(Desktop,{...e})}},I1O0:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var i=a("BGKE"),r=a("q1tI"),o=a("rrs9"),n=a("G7ij"),l=a("h8tX"),d=a("Eso5"),c=a("Iblh"),s=a("dDsW"),h=a("VDZw"),p=a("UbCi"),g=a("/npG"),m=a("mYVa"),u=(0,g.k)((e,t)=>{let{backgroundColor:a,desktopImage:i,mobileImage:r,buttonColor:o}=t;return{root:{backgroundColor:a||e.colors.blue[0],borderRadius:(0,m.h)(8),padding:(0,m.h)(16),[e.fn.largerThan("sm")]:{padding:(0,m.h)(40)}},modalBody:{backgroundColor:"transparent",padding:0},modalContent:{backgroundColor:"transparent",overflow:"hidden"},wrapper:{position:"relative",zIndex:1,display:"flex",flexDirection:"column",justifyContent:"space-between",gap:16,width:"calc(100% - 120px)",borderRadius:(0,m.h)(8),minHeight:(0,m.h)(200),[e.fn.largerThan("sm")]:{maxWidth:(0,m.h)(344),minHeight:(0,m.h)(240)}},bg:{position:"absolute",bottom:0,right:0,zIndex:0,width:(0,m.h)(132),height:(0,m.h)(180),backgroundImage:"url(".concat(r||p.C.getAssetPath("sc-pages/doctor-mobile.png"),")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center right",[e.fn.largerThan("sm")]:{backgroundImage:"url(".concat(i||p.C.getAssetPath("sc-pages/doctor.png"),")"),right:(0,m.h)(40),width:(0,m.h)(320),height:(0,m.h)(320)}},info:{display:"flex",flexDirection:"column",gap:(0,m.h)(8)},heading:{textTransform:"uppercase"},content:{},exit:{position:"absolute",right:(0,m.h)(10),top:(0,m.h)(10),zIndex:1,backgroundColor:e.fn.lighten(o||e.fn.primaryColor(),.75),borderRadius:(0,m.h)(8),padding:"".concat((0,m.h)(5)," ").concat((0,m.h)(8))},exitText:{}}}),v=(0,r.forwardRef)((e,t)=>{let{title:a,message:p,messageColor:g,backgroundColor:m,buttonColor:v,titleColor:x,desktopImage:b,mobileImage:y,styles:f,className:Z,classNames:C,onChange:w,onItemClick:k,defaultSection:N,...B}=e,{formatMessage:T}=(0,s.Z)(),[M,z]=(0,r.useState)(""),[E,{open:A,close:L}]=(0,c.q)(!1),{classes:I,cx:D,theme:j}=u({backgroundColor:m,desktopImage:b,mobileImage:y,buttonColor:v},{name:"ConfirmLeavePage",styles:f,classNames:C}),[F,S]=(0,r.useState)(),X=(0,r.useCallback)(e=>{e.preventDefault();let t=e.target.closest("a");t&&(A(),z(t.getAttribute("href")),null==w||w(!0))},[]);(0,r.useImperativeHandle)(t,()=>({setSuggestSection:S})),(0,r.useEffect)(()=>(document.querySelectorAll('#navigation-v2 a:not([data-banner-navigate="true"]), footer a').forEach(e=>{e.addEventListener("click",X)}),()=>{document.querySelectorAll('#navigation-v2 a:not([data-banner-navigate="true"]), footer a').forEach(e=>e.removeEventListener("click",X))}),[]);let O=F||N;return(0,i.tZ)(i.HY,{children:(0,i.tZ)(l.u,{classNames:{body:I.modalBody,content:I.modalContent},opened:E,onClose:()=>{L(),null==w||w(!1)},centered:!0,zIndex:500,size:744,title:"",withCloseButton:!1,children:(0,i.BX)(d.x,{className:D(I.root,Z),...B,children:[(0,i.BX)(d.x,{className:I.wrapper,children:[(0,i.BX)(d.x,{className:I.info,children:[(0,i.tZ)(o.T,{size:"h1",as:"h3",color:x||j.colors.blue[7],className:I.heading,children:a}),(0,i.tZ)(o.T,{className:I.content,size:"s1",color:g,children:p})]}),(0,i.tZ)(d.x,{children:(0,i.tZ)(n.B,{variant:"primary",color:v,...null==O?void 0:O.btnTracking,onClick:()=>{(null==O?void 0:O.hash)&&(null==k||k(O.hash)),L()},children:(null==O?void 0:O.cta)||""})})]}),(0,i.tZ)(d.x,{className:I.exit,component:"a",href:M,children:(0,i.BX)(o.T,{size:"s4",color:v||j.colors.blue[7],className:I.exitText,children:[(0,i.tZ)(d.x,{sx:{display:"inline-block",verticalAlign:"middle"},onClick:()=>{L()},children:T({id:"confirmLeavingPopup.exit",defaultMessage:"Exit"})})," ",(0,i.tZ)(h.Z,{size:18,color:"currentColor",style:{verticalAlign:"middle"}})]})}),(0,i.tZ)(d.x,{className:I.bg})]})})})})},UcrG:function(e,t,a){a.d(t,{W:function(){return CountDownTimer}});var i=a("BGKE"),r=a("q1tI"),o=a("rrs9"),n=a("Eso5"),l=a("nCpW"),d=a("Wgwc"),c=a.n(d),s=a("dDsW"),h=(0,a("/npG").k)((e,t)=>{let{isEnd:a,hasUnit:i}=t;return{root:{backgroundColor:a?e.colors.gray[1]:"#FAF4E6",display:"flex",alignItems:"center",borderRadius:8,justifyContent:"space-between",padding:4},heading:{flexGrow:1,textAlign:"center",textTransform:"uppercase",padding:"0 10px"},listing:{display:"flex",alignItems:"center",...i&&{marginBottom:10}},item:{position:"relative",width:35,height:32,borderRadius:4,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:a?"#BFBFBF":"#FDC42D"},divider:{"&:before":{content:'":"',display:"inline-block",marginLeft:4,marginRight:4},"&:first-child":{"&:before":{content:"none"}}},text:{fontWeight:600,textAlign:"center"},unit:{position:"absolute",left:0,right:0,top:"100%",textAlign:"center"}}});let formatNumber=e=>1===String(e).length?"0".concat(e):e,CountDownTimer=e=>{let{endDate:t,onEnd:a,label:d,hasUnit:p,styles:g,classNames:m,className:u}=e,{formatMessage:v}=(0,s.Z)(),[x,b]=(0,r.useState)(0),[y,f]=(0,r.useState)(!1),{classes:Z,cx:C}=h({isEnd:y,hasUnit:p},{name:"CountDownTimer",styles:g,classNames:m}),w=(0,l.Y)(()=>b(e=>e+1),1e3),k=(0,r.useMemo)(()=>{let e=c().duration(c()(t).diff(c()()));return 1>Math.round(e.asSeconds())?(f(!0),null==a||a(),w.stop(),{day:0,hour:0,minute:0,second:0}):{day:Math.round(e.days()),hour:Math.round(e.hours()),minute:Math.round(e.minutes()),second:Math.round(e.seconds())}},[x]);return(0,r.useEffect)(()=>(w.start(),w.stop),[]),(0,i.BX)(n.x,{className:C(u,Z.root),children:[(0,i.tZ)(o.T,{size:"s4",className:Z.heading,children:y?v({id:"common.ended"}):d||v({id:"common.startIn"})}),(0,i.BX)(n.x,{className:Z.listing,children:[(0,i.BX)(n.x,{className:Z.item,children:[(0,i.tZ)("span",{className:Z.text,children:formatNumber(k.day)}),p&&(0,i.tZ)("span",{className:Z.unit,children:v({id:"common.day"})})]}),(0,i.tZ)(n.x,{className:Z.divider}),(0,i.BX)(n.x,{className:Z.item,children:[(0,i.tZ)("span",{className:Z.text,children:formatNumber(k.hour)}),p&&(0,i.tZ)("span",{className:Z.unit,children:v({id:"common.hour"})})]}),(0,i.tZ)(n.x,{className:Z.divider}),(0,i.BX)(n.x,{className:Z.item,children:[(0,i.tZ)("span",{className:Z.text,children:formatNumber(k.minute)}),p&&(0,i.tZ)("span",{className:Z.unit,children:v({id:"common.minute"})})]}),(0,i.tZ)(n.x,{className:Z.divider}),(0,i.BX)(n.x,{className:Z.item,children:[(0,i.tZ)("span",{className:Z.text,children:formatNumber(k.second)}),p&&(0,i.tZ)("span",{className:Z.unit,children:v({id:"common.second"})})]})]})]})}},YbGd:function(e,t,a){a.d(t,{s:function(){return DropdownSearch}});var i=a("BGKE"),r=a("q1tI"),o=a("rBCA"),n=a("CEkh"),l=a("iBNF");let d=(0,o.Z)("div",{target:"e84i48q0"})("position:relative;border:1px solid ",l.r.colors.gray200,";background-position:right 16px center;border-radius:",l.r.borderRadius,";&[data-has-icons='true']{border:none;img,svg{display:inline-block;max-width:16px;}span{display:inline-block;vertical-align:middle;}&:hover{box-shadow:none;}> div{position:relative;display:flex;width:100%;box-sizing:border-box;align-items:center;}> div::after{position:absolute;z-index:0;padding:8px 16px;}&[data-is-open='false']{> div::after{top:50%;right:0;width:52px;height:36px;background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.99968 11.7259L6.81551 8.54171C6.47051 8.19671 5.91051 8.19671 5.56551 8.54171C5.22051 8.88671 5.22051 9.44671 5.56551 9.79171L9.41051 13.6367C9.73635 13.9625 10.2638 13.9625 10.5888 13.6367L14.4338 9.79171C14.7788 9.44671 14.7788 8.88671 14.4338 8.54171C14.0888 8.19671 13.5288 8.19671 13.1838 8.54171L9.99968 11.7259Z' fill='%23595959'/%3E%3C/svg%3E%0A\");background-position:center;background-repeat:no-repeat;content:'';transform:translateY(-50%);}}&[data-is-open='true']{> div::after{top:50%;right:0;width:52px;height:36px;background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.66675 10.0001C1.66675 5.39175 5.39175 1.66675 10.0001 1.66675C14.6084 1.66675 18.3334 5.39175 18.3334 10.0001C18.3334 14.6084 14.6084 18.3334 10.0001 18.3334C5.39175 18.3334 1.66675 14.6084 1.66675 10.0001ZM12.4084 13.5834C12.7334 13.9084 13.2584 13.9084 13.5834 13.5834C13.9001 13.2584 13.9001 12.7251 13.5834 12.4084L11.1751 10.0001L13.5834 7.59175C13.9084 7.26675 13.9084 6.74175 13.5834 6.41675C13.2584 6.09175 12.7334 6.09175 12.4084 6.41675L10.0001 8.82508L7.59175 6.41675C7.26675 6.09175 6.74175 6.09175 6.41675 6.41675C6.2607 6.57244 6.17301 6.78382 6.17301 7.00425C6.17301 7.22468 6.2607 7.43606 6.41675 7.59175L8.82508 10.0001L6.41675 12.4084C6.2607 12.5641 6.17301 12.7755 6.17301 12.9959C6.17301 13.2163 6.2607 13.4277 6.41675 13.5834C6.74175 13.9084 7.26675 13.9084 7.59175 13.5834L10.0001 11.1751L12.4084 13.5834Z' fill='%238C8C8C'/%3E%3C/svg%3E%0A\");background-position:center;background-repeat:no-repeat;content:'';transform:translateY(-50%);}}}&:hover{box-shadow:0 0 2px 2px ",l.r.colors.primary200,";}"),c=(0,o.Z)("div",{target:"e84i48q1"})("cursor:pointer;&[data-dropdown-open]{padding:11px 15px 11px 15px;border:1px solid ",l.r.colors.primaryBase,";border-radius:",l.r.borderRadius,";box-shadow:0 0 2px 2px ",l.r.colors.primary200,";}"),s=(0,o.Z)("ul",{target:"e84i48q2"})("position:absolute;z-index:100;top:100%;right:0;left:0;display:block;max-height:500px;margin-top:4px;background:",l.r.colors.white,";border-radius:",l.r.borderRadius,";box-shadow:-1px 1px 2px rgba(67,70,74,0.0001),-2px 2px 5px rgba(67,86,100,0.123689);cursor:pointer;overflow-y:auto;&[data-has-icons='true']{border:1px solid ",l.r.colors.gray200,";background:white;box-shadow:none;filter:drop-shadow(0px 10px 16px rgba(0,0,0,0.04));}"),h=(0,o.Z)("li",{target:"e84i48q3"})("display:flex;width:100%;align-items:center;justify-content:flex-start;padding:6px 18px 6px 16px;&:hover,:active{background:",l.r.colors.gray100,";}.dropdown-label{line-height:20px;}&[data-disabled='true']{cursor:not-allowed;color:#bfbfbf;& > *{pointer-events:none;}}"),p=(0,o.Z)("div",{target:"e84i48q4"})("width:24px;height:24px;flex-shrink:0;"),g=(0,o.Z)(n.a,{target:"e84i48q5"})("input[data-icon='true']{padding-right:36px;padding-left:48px;}.displayIcon{img{width:24px;max-width:unset;height:24px;}}"),DropdownSearch=e=>{let{className:t,style:a,id:o,placeholder:n,placeholderIcon:l,onChange:m,value:u,options:v,dropdownLabelTrackingAttributes:x,disabled:b,onSearchChange:y,useSearchFilter:f=!0,onFocus:Z,hasIcons:C=!0,keepSearch:w=!1,...k}=e,[N,B]=(0,r.useState)(""),[T,M]=(0,r.useState)(!1),z=(0,r.useRef)(null),filterOptions=(e,t)=>{let a="".concat(t).toLowerCase();return e.filter(e=>"".concat(e.value).toLowerCase().includes(a)||"".concat(e.label).toLowerCase().includes(a))},E=(0,r.useMemo)(()=>N&&f?filterOptions(v,N):u?v.filter(e=>e.value!==u.value):v,[N,v,u]);return(0,i.BX)(d,{className:t,"data-dropdown-open":T||void 0,id:o,"data-has-icons":!0,"data-is-open":T,ref:z,onBlur:function(e){(!e.relatedTarget||"id"in e.relatedTarget&&e.relatedTarget.id!==o)&&M(!1)},style:a,tabIndex:0,...k,children:[(0,i.tZ)(c,{onClick:e=>{var t,a;(null===(a=e.target)||void 0===a?void 0:null===(t=a.getAttribute)||void 0===t?void 0:t.call(a,"data-is-open"))==="true"&&(B(""),m(null,""),null==y||y("")),b||M(!0)},"data-is-open":T,...x,children:(0,i.tZ)(g,{"data-icon":C,name:"dropdown-input",displayIcon:l,size:"md",onChange:e=>{m(null,e),B(e),null==y||y(N)},placeholder:n,value:u&&u.value?"".concat(u.label):N,isDisabled:b,onFocus:()=>{null==Z||Z()},onBlur:()=>{w||setTimeout(()=>{B("")},300)},...x})}),T&&E.length>0&&(0,i.tZ)(s,{onClick:e=>{var t,a;(null===(a=e.target)||void 0===a?void 0:null===(t=a.getAttribute)||void 0===t?void 0:t.call(a,"data-is-open"))==="true"&&(B(""),m(null,"")),b||M(!T)},className:"dropdown-option","data-has-icons":C,children:E.map(e=>(0,i.BX)(h,{"data-selected":u&&u.value===e.value||void 0,onClick:()=>{e.disabled||b||null==m||m(e,e.value)},"data-disabled":!!e.disabled&&e.disabled,children:[e.icon&&(0,i.tZ)(p,{className:"option-icon",children:e.icon}),(0,i.tZ)("div",{className:"dropdown-label",children:e.label})]},"".concat(o,"-").concat(e.value)))})]})}},"t1+Z":function(e,t,a){a.d(t,{H6:function(){return d},Xc:function(){return n},YP:function(){return c},wh:function(){return l}});var i=a("rBCA"),r=a("iBNF"),o=a("kO4G");let n=(0,i.Z)("div",{target:"e11mfqw70"})("display:block;"),l=(0,i.Z)("div",{target:"e11mfqw71"})("position:relative;display:flex;align-items:center;justify-content:space-between;cursor:pointer;"),d=(0,i.Z)("div",{target:"e11mfqw72"})("padding:12px;background:",r.r.colors.neutral50,";border-radius:",r.r.borderRadius,";",o.M.mbUp,"{padding:1rem;}p{font-size:16px;font-style:normal;font-weight:normal;line-height:24px;}"),c=(0,i.Z)("div",{target:"e11mfqw73"})("overflow:hidden;height:0;transition:height 0.4s ease;margin-top:8px;overflow-wrap:anywhere;&[data-expand='true']{margin-bottom:0.5rem;",o.M.mbUp,"{margin-bottom:1rem;}}")},"+xBH":function(e,t,a){a.d(t,{l:function(){return ExpandedCard}});var i=a("BGKE"),r=a("q1tI"),o=a("vaiB"),n=a("CJtR"),l=a("WFk/"),d=a("Q7Fe"),c=a("P5LW"),s=a("NA5z"),h=a.n(s),p=a("+Qvv"),g=a.n(p),m=a("t1+Z");let ExpandedCard=e=>{let{title:t,content:a,contentString:s,isMobile:p,iconPosition:u,className:v,style:x,defaultExpand:b,isExpand:y,onChange:f,dataEventCategory:Z,dataEventAction:C,dataEventLabel:w,richTextProps:k}=e,{locale:N,router:B}=(0,c.h)(),[T,M]=(0,r.useState)(y||!1),[z,E]=(0,r.useState)(0),A=(0,r.useRef)(null);return(0,r.useEffect)(()=>{b&&setTimeout(()=>{M(b)},100)},[]),(0,r.useEffect)(()=>{var e;M(!!y),E((null===(e=A.current)||void 0===e?void 0:e.clientHeight)||0)},[y]),(0,i.BX)(m.Xc,{className:v,style:x,children:[(0,i.BX)(m.wh,{onClick:()=>{f?f(!T):M(e=>!e)},"data-event-category":Z||"Expand Info","data-event-action":C||"Click","data-event-label":w||(0,n.jw)({locale:N,slug:B.asPath}),children:[(0,i.tZ)("div",{style:{position:"absolute",right:"right"===u?0:"unset",left:"left"===u?0:"unset",display:"flex"},children:T?(0,i.tZ)(h(),{width:p?"16":"20",viewBox:"0 0 12 3"}):(0,i.tZ)(g(),{width:p?"16":"20",viewBox:"0 0 16 16"})}),(0,i.tZ)("div",{style:{flex:1,paddingRight:"right"===u?"28px":"0"},children:"string"==typeof t?(0,i.tZ)(o.T,{size:"p2",type:T?"bold":"regular",children:(0,i.tZ)(l.U,{children:t})}):t})]}),(0,i.BX)(m.YP,{"data-expand":T,style:T?{height:z+8}:{},children:[s?(0,i.tZ)(m.H6,{ref:A,children:(0,i.tZ)(d.G,{content:s,...k})}):null,!s&&a?(0,i.tZ)(m.H6,{ref:A,children:a}):null]})]})}},GO43:function(e,t,a){a.d(t,{B:function(){return ExpertAuthorCard}});var i=a("BGKE"),r=a("h7+k"),o=a("xMoD"),n=a("9uQI"),l=a("G7ij"),d=a("rrs9"),c=a("dHcq"),s=a("SPK5"),h=a("OAL+"),p=a("Eso5"),g=a("dDsW"),m=a("hXNO"),u=a("rIrU");let ExpertAuthorCard=e=>{let{expert:t}=e,{formatMessage:a}=(0,g.Z)(),v=(0,m.d)();return(0,i.tZ)(c.Z,{padding:8,pb:22,radius:16,sx:{border:"2px solid ".concat(o.t.neutral[0])},children:(0,i.BX)(s.k,{gap:24,children:[(0,i.tZ)("div",{children:(0,i.tZ)(n.A,{src:t.avatarThumbnail,withIndicator:!0,indicatorConfig:{size:18,label:(0,i.tZ)("img",{loading:"lazy",width:"18",height:"18",src:"".concat(u.Nr,"/article-").concat(t.role,".svg"),alt:""})}})}),(0,i.BX)(h.K,{spacing:8,w:"100%",pr:14,children:[(0,i.BX)(s.k,{justify:"space-between",align:"center",children:[(0,i.tZ)(r.H,{tag:"h5",children:t.displayName}),!v&&(0,i.tZ)(l.B,{variant:"ghost",size:"sm",compact:!0,rightIcon:(0,i.tZ)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",children:(0,i.tZ)("path",{d:"M7.45117 13.5L11.9512 9L7.45117 4.5",stroke:"#2D87F3","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round"})}),children:(0,i.tZ)("a",{href:t.profileUrl,children:a({id:"expert.content.readMore",defaultMessage:"View Profile"})})})]}),((null==t?void 0:t.organisation)||(null==t?void 0:t.specialty))&&(0,i.tZ)(p.x,{component:(null==t?void 0:t.organisationUrl)?"a":"span",href:null==t?void 0:t.organisationUrl,...(null==t?void 0:t.organisationUrl)&&{target:"_blank"},children:(0,i.tZ)(d.T,{size:"n1",color:o.t.gray[6],children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:"".concat((null==t?void 0:t.specialty)&&(null==t?void 0:t.specialty)).concat(t.organisation?" \xb7 ".concat(t.organisation,""):"")}})})}),(0,i.tZ)(d.T,{size:"p4",lineClamp:2,color:o.t.gray[4],children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:t.description}})}),v&&(0,i.tZ)(l.B,{variant:"ghost",size:"sm",compact:!0,w:"fit-content",rightIcon:(0,i.tZ)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",children:(0,i.tZ)("path",{d:"M7.45117 13.5L11.9512 9L7.45117 4.5",stroke:"#2D87F3","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round"})}),p:0,children:(0,i.tZ)("a",{href:t.profileUrl,children:a({id:"expert.content.readMore",defaultMessage:"View Profile"})})})]})]})})}},"w/Id":function(e,t,a){a.d(t,{T:function(){return ExpertRelativeArticleCard}});var i=a("BGKE"),r=a("q1tI"),o=a("iBNF"),n=a("OaJP"),l=a("dDsW"),d=a("/tR3"),c=a("Rhq+"),s=a("ns0B"),h=a.n(s),p=a("YFqc"),g=a.n(p),m=a("09QT"),u=a("oQBk"),v=a("UJaG"),x=a("4QfM"),b=a("iv2E"),y=a("P5LW"),f=a("rIrU"),Z=a("o0qI"),C=a("KBam"),w=a("05Ua"),k=a("vaiB"),N=a("h7+k"),B=a("rBCA"),T=a("kO4G");let M=(0,B.Z)("h6",{target:"e1kexjbs0"})("color:",o.r.colors.gray600,";font-size:14px;font-weight:",o.r.sizes.fwBold,";line-height:22px;"),z=(0,B.Z)(g(),{target:"e1kexjbs1"})("display:inline-block;width:100%;height:100%;color:inherit;text-decoration:none;"),E=(0,B.Z)("article",{target:"e1kexjbs2"})("display:flex;width:100%;box-sizing:border-box;padding:16px 16px 16px 0;background-color:",o.r.colors.white,";cursor:pointer;.content{display:flex;width:100%;flex-direction:column;.inner-content{display:flex;flex-direction:column;a{text-decoration:none;}.title a{display:-webkit-box;overflow:hidden;margin-top:4px;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.text{display:-webkit-box;overflow:hidden;max-width:100%;margin-top:4px;-webkit-box-orient:vertical;-webkit-line-clamp:2;}}}.footer{display:flex;.author{width:calc(100% - 20px);}.bookmark{display:flex;width:12px;height:16px;margin-left:8px;cursor:pointer;svg{width:100%;height:100%;}}}.banner{position:relative;min-width:100px;max-width:100px;max-width:100%;height:100%;max-height:100%;border-radius:",o.r.borderRadius,";img{width:100%;height:100%;border-radius:",o.r.borderRadius,";object-fit:cover;object-position:center;pointer-events:none;}}&[data-size='sm'][data-direction='horizontal']{padding:20px 0;.label{margin-bottom:0;}.banner{width:100px;height:100px;margin:0 16px 0 0;",T.M.mbDown,"{min-width:100px;max-width:100px;height:100px;margin:0 16px 0 0;}}.text{display:none;}}&[data-direction='horizontal']{.footer{margin-top:auto;}}&[data-size='md'][data-direction='horizontal']{padding:16px 0;.banner{min-width:200px;max-width:200px;height:150px;margin:0 24px 0 0;}",T.M.mbDown,"{.text{display:none;}.banner{min-width:100px;max-width:100px;height:100px;margin:0 16px 0 0;}.specialty{display:none;}}}&[data-direction='vertical']{flex-direction:column;padding:0 0 0 0;&[data-size='sm']{.banner{height:150px;}.text{display:none;}.title{margin-top:0;margin-bottom:12px;}}&[data-size='lg']{.banner{max-height:312px;",T.M.mbDown,"{max-height:192px;}}.content{margin-top:16px;}.footer{margin-top:16px;}.text{display:-webkit-box;margin-top:8px;margin-bottom:16px;-webkit-box-orient:vertical;-webkit-line-clamp:3;}}.banner{min-width:100%;height:468px;margin:0;}}&[data-is-expert]{.inner-content label.text{display:none;}.specialty > [data-tag='h6']{font-size:13px;font-weight:400;line-height:19px;}&[data-size='md'] .footer .author .avatar{margin-right:8px;}",T.M.mbUp,"{&[data-size='md'] .footer .author .avatar{width:40px;height:40px;margin-right:16px;}}.title{",T.M.mbDown,"{margin-bottom:8px;}}&[data-direction='horizontal']{.footer{margin-top:auto;}}}"),A=(0,B.Z)("div",{target:"e1kexjbs3"})("display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin-top:8px;.author{display:flex;align-items:center;.avatar,.expert-avatar{flex-shrink:0;img{width:100%;height:100%;border-radius:50%;}}.poster{display:flex;align-items:center;white-space:pre-wrap;p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-weight:400;-webkit-line-clamp:3;a{color:",o.r.colors.gray800,";text-decoration:none;}span{color:",o.r.colors.gray400,";}}}.expert{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;a{text-decoration:none;}}.avatar{width:24px;height:24px;margin-right:8px;",T.M.mbDown,"{margin-right:4px;}&[data-size='lg']{",T.M.mbUp,"{width:32px;height:32px;margin-right:12px;}}}.expert-avatar{",T.M.mbUp,"{width:40px;height:40px;margin-right:16px;}",T.M.mbDown,"{width:32px;height:32px;margin-right:8px;}&[data-size='lg']{",T.M.mbUp,"{width:64px;height:64px;margin-right:16px;}",T.M.mbDown,"{width:40px;height:40px;margin-right:16px;}}}}"),CardAuthor=e=>{let{avatarImg:t,authorName:a,authorLink:r,uploadTime:o,size:n}=e;return(0,i.tZ)(A,{children:(0,i.BX)("div",{className:"author",children:[(0,i.tZ)("div",{className:"avatar","data-size":n,children:t}),(0,i.tZ)("div",{className:"poster",children:(0,i.BX)(k.T,{size:"lg"===n?"p3":"p4",children:[(0,i.BX)(g(),{prefetch:!1,href:r||"",children:[a," •\xa0"]}),(0,i.tZ)("span",{children:o})]})})]})})},CardExpert=e=>{let{isMobile:t,avatarImg:a,name:r,link:n,size:l="lg",specialty:d}=e;return(0,i.tZ)(A,{children:(0,i.BX)("div",{className:"author",children:[(0,i.tZ)("div",{className:"expert-avatar","data-size":l,children:a}),(0,i.tZ)("div",{className:"expert",children:t?(0,i.tZ)(g(),{href:n||"",prefetch:!1,children:(0,i.BX)(i.HY,{children:[(0,i.tZ)(N.H,{tag:"h6",className:"expert__name",color:o.r.colors.gray600,children:r}),(0,i.tZ)(k.T,{color:o.r.colors.gray500,size:"p3",className:"specialty",children:d})]})}):(0,i.tZ)(g(),{href:n||"",prefetch:!1,children:"lg"===l?(0,i.BX)(i.HY,{children:[(0,i.tZ)(N.H,{tag:"h6",className:"expert__name",color:o.r.colors.gray600,children:r}),(0,i.tZ)(k.T,{color:o.r.colors.gray500,size:"p3",className:"specialty",children:d})]}):(0,i.BX)(i.HY,{children:[(0,i.tZ)(M,{color:o.r.colors.gray600,className:"expert__name",children:r}),(0,i.tZ)(k.T,{color:o.r.colors.gray500,size:"p4",className:"specialty",children:d})]})})})]})})},ExpertArticleCard=e=>{let{isMobile:t=!0,direction:a="horizontal",size:r="md",banner:o,isBookmarkDisplayed:n=!1,type:l="author",section:d="normal",onBookmark:c,categoryName:s,styleLabel:h,title:p,styleTitle:m,text:u,specialty:v,avatarImg:x,authorName:b,authorLink:y,articleLink:f,uploadTime:Z,isBookmark:C=!1,className:w,style:B,categoryLink:T,styleBanner:M,dataEventCategoryForCategory:A,dataEventActionForCategory:L,dataEventLabelForCategory:I,dataEventCategoryForTitle:D,dataEventActionForTitle:j,dataEventLabelForTitle:F,dataEventCategoryForBanner:S,dataEventActionForBanner:X,dataEventLabelForBanner:O,dataEventCategoryForBookmark:U,dataEventActionForBookmark:H,dataEventLabelForBookmark:R,onClickCategoryName:G}=e;return(0,i.BX)(E,{className:w,"data-size":r,style:B,"data-direction":a,"data-is-expert":"expert"===l||void 0,children:[(0,i.tZ)("div",{className:"banner",style:M,children:(0,i.tZ)(z,{href:f||"#","data-event-category":S,"data-event-action":X,"data-event-label":O,children:o})}),(0,i.BX)("div",{className:"content",children:[(0,i.BX)("div",{className:"inner-content",children:[(0,i.BX)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,i.tZ)(k.T,{style:h,className:"label",size:t||"home"!==d||"lg"!==r||"author"!==l?"c2":"c1",type:"caption",children:(0,i.tZ)(z,{"data-event-category":A,"data-event-action":L,"data-event-label":I,href:T||"#",onClick:e=>{G&&G(e)},children:s})}),n&&(0,i.tZ)("a",{"data-event-category":U,"data-event-action":H,"data-event-label":R,className:"bookmark",onClick:e=>{e.stopPropagation(),c&&c()},children:C?(0,i.tZ)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",children:(0,i.tZ)("path",{d:"M13 17L7 12.5556L1 17V2.77778C1 2.30628 1.18061 1.8541 1.5021 1.5207C1.82359 1.1873 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.1873 12.4979 1.5207C12.8194 1.8541 13 2.30628 13 2.77778V17Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,i.tZ)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",children:(0,i.tZ)("path",{d:"M13 17L7 12.5556L1 17V2.77778C1 2.30628 1.18061 1.8541 1.5021 1.5207C1.82359 1.1873 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.1873 12.4979 1.5207C12.8194 1.8541 13 2.30628 13 2.77778V17Z",stroke:"#262626",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,i.tZ)(N.H,{tag:"lg"===r&&"expert"===l?"h4":"lg"===r&&"home"===d?t?"h4":"h3":"lg"===r?"h4":"h5",style:m,className:"title",as:"lg"===r?"h2":"h3",children:(0,i.tZ)(z,{href:f||"#","data-event-category":D,"data-event-action":j,"data-event-label":F,children:p})}),u&&(0,i.tZ)(g(),{href:f||"#",prefetch:!1,children:(0,i.tZ)(k.T,{size:"lg"===r?"p3":"p4",className:"text",children:u})})]}),(0,i.tZ)("div",{className:"footer",children:"author"===l?(0,i.tZ)(CardAuthor,{size:r,avatarImg:x,authorName:b,authorLink:y,uploadTime:Z}):(0,i.tZ)(CardExpert,{size:r,isMobile:t,avatarImg:x,specialty:v||"",name:b,link:y})})]})]})},ExpertArticleCardWrapper=e=>{let{article:t,avatarImg:a,avatarImgRenderer:o,authorName:n,authorLink:l,title:d,text:s,...p}=e,{state:k,dispatch:N}=(0,r.useContext)(Z.I),{userInfo:B}=k||{},{bookmarks:T=[]}=B||{},[M,z]=(0,r.useState)(-1!==T.indexOf(t.id)),[E,A]=(0,r.useState)(!1),{locale:L}=(0,y.h)(),I=(0,x.X4)(t),D=(0,C.kO)({article:t,locale:L,version:"short"}),bookmarkArticle=e=>{if(null==B?void 0:B.id)z(e=>!e),M?(async()=>{let{_status:t}=await (0,m.d)(u.y.SSO.DELETE_BOOKMARK,{method:"DELETE",data:{host_name:b.domainLocales[L],post_ids:[e]}},"sso");1===t&&N({type:w.H.REMOVE_BOOKMARKS,payload:{bookmarks:[e],bookmarkId:e}})})():(async()=>{let{_status:t,_data:a}=await (0,m.d)(u.y.SSO.CREATE_BOOKMARK,{method:"POST",data:{host_name:b.domainLocales[L],post_ids:[e]}},"sso");1===t&&N({type:w.H.ADD_BOOKMARKS,payload:{bookmarks:[e],bookmarkId:e,isFirstTimeBookmark:a.first_time_bookmark}})})();else{let t=window.location.href,a=encodeURIComponent("".concat(t).concat(t.includes("?")?"&":"?","source=bookmark,").concat(e));f.Ew?c.u.getState().triggerLogin({source:"bookmark,".concat(e)}):window.location.href=f.MO?"".concat(f.MO,"?returnUrl=").concat(a):t}};return(0,r.useEffect)(()=>{A(!0)},[]),(0,r.useEffect)(()=>{z(-1!==T.indexOf(t.id))},[T.length]),(0,i.tZ)(ExpertArticleCard,{dataEventCategoryForBookmark:"Bookmark",dataEventActionForBookmark:"Click",dataEventLabelForBookmark:"https://".concat(b.domainLocales[L]).concat(t.permalinkDecode),...p,title:d?h()(d):"",text:s?h()(s):"",avatarImg:(0,i.tZ)(g(),{href:l||I.permalink,prefetch:!1,children:a||o&&o(I.avatar,I.name)||(0,i.tZ)("img",{loading:"lazy",src:I.avatar,alt:I.name})}),authorName:(0,i.tZ)(i.HY,{children:(0,i.tZ)(v.x,{...D})}),authorLink:l||I.permalink,isBookmarkDisplayed:E,isBookmark:M,onBookmark:()=>bookmarkArticle(t.id)})},L=(0,B.Z)("div",{target:"eh4dhtq0"})("display:flex;flex-direction:column;align-items:center;.see-more-btn{margin-top:16px;}"),I=(0,B.Z)("div",{target:"eh4dhtq1"})("margin-top:0px;& >:not(:last-child){margin-bottom:8px;}background-color:",o.r.colors.neutral50,";"),D=(0,B.Z)("div",{target:"eh4dhtq2"})("background-color:",o.r.colors.white,";.banner{width:100%;min-height:192px;}",T.M.mbUp,"{padding:24px 16px 24px 0;}",T.M.mbDown,"{padding:24px 0;}&[data-size='custom']{.avatar[data-size='lg']{width:unset;height:unset;margin-top:16px;margin-right:16px;}}"),j=(0,B.Z)("div",{target:"eh4dhtq3"})("padding:16px;",T.M.mbDown,"{padding:0;}background-color:",o.r.colors.white,";"),F=(0,B.Z)("div",{target:"eh4dhtq4"})("display:flex;align-items:flex-start;justify-content:space-between;padding:0;background-color:",o.r.colors.white,";> div{width:calc(50% - 8px);}"),S=(0,B.Z)("div",{target:"eh4dhtq5"})("display:flex;width:50%;align-self:stretch;justify-content:stretch;background-color:",o.r.colors.white,";justify-self:stretch;& > div > div{height:100%;}.banner{min-height:312px;}"),X=(0,B.Z)("div",{target:"eh4dhtq6"})("display:flex;width:50%;flex-direction:column;align-items:stretch;align-self:stretch;justify-content:center;padding-top:8px;background-color:",o.r.colors.white,";.banner{min-height:150px;}.content .new .text{margin:6px 0;}& >:last-child{flex:1;}"),O=(0,B.Z)("div",{target:"eh4dhtq7"})("padding:0 0 8px 0;background-color:",o.r.colors.neutral50,";marin-bottom:8px;&[data-size='custom']{.avatar[data-size='md']{width:40px;height:40px;margin-right:16px;}}"),U=(0,B.Z)("div",{target:"eh4dhtq8"})("width:50%;padding:0 16px 24px 0;background-color:",o.r.colors.white,";&[data-size='custom']{.avatar[data-size='md']{width:40px;height:40px;margin-right:16px;}}"),H=(0,B.Z)("div",{target:"eh4dhtq9"})("display:flex;flex-wrap:wrap;"),R=(0,B.Z)("div",{target:"e3jvn260"})("position:relative;img{border-radius:50%;}.avatar{object-fit:cover;}.badge{position:absolute;right:0;bottom:0;}"),ExpertRelativeArticleCard=e=>{let{isMobile:t,trendingPosts:a=[]}=e,{locale:c}=(0,y.h)(),{formatMessage:s}=(0,l.Z)(),[h,p]=(0,r.useState)(4),getAuthorUrl=e=>(0,d.Lb)(e);return(0,i.BX)(L,{children:[t?(0,i.BX)(I,{children:[a.slice(0,1).map((e,t)=>{var a,r,o;return(0,i.tZ)(D,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+1),dataEventLabelForTitle:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+1),dataEventLabelForBanner:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+1),dataEventLabelForCategory:"https://".concat(b.domainLocales[c]).concat(e.category.permalinkDecode),type:"expert",size:"lg",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{src:e.featureImageMobile||e.featureImage||f.YS,alt:e.postName,loading:"lazy"}),avatarImgRenderer:(t,a)=>{var r,o;return(0,i.BX)(R,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(f.Nr,"/reviewer-").concat(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role,".svg"),alt:"badge",className:"badge",style:{width:18,height:18}})]})},categoryLink:e.category.permalink,articleLink:e.permalink,direction:"vertical",categoryName:null===(o=e.category)||void 0===o?void 0:o.displayName,title:e.postName,text:e.excerpt,styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)}),a.slice(1,h).map((e,t)=>{var a,r,o;return(0,i.tZ)(j,{children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventActionForCategory:"Top Category Title",dataEventCategoryForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(b.domainLocales[c]).concat(e.category.permalinkDecode),type:"expert",size:"md",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{src:e.featureImageMobileXs||e.featureImage||f.YS,loading:"lazy",style:{width:"100%",height:"100%"},alt:e.postName}),styleLabel:{color:e.category.textColor},categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(o=e.category)||void 0===o?void 0:o.displayName,title:e.postName,text:e.excerpt,avatarImgRenderer:(t,a)=>{var r,o;return(0,i.BX)(R,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(f.Nr,"/reviewer-").concat(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})]}):(0,i.BX)("div",{style:{backgroundColor:o.r.colors.white,width:"100%"},children:[(0,i.BX)(F,{children:[(0,i.tZ)(S,{children:a.slice(0,1).map(e=>{var t,a,r,o,n,l;return(0,i.tZ)(D,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click 1",dataEventLabelForTitle:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click 1",dataEventLabelForCategory:"https://".concat(b.domainLocales[c]).concat(e.category.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click 1",dataEventLabelForBanner:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),type:"expert",direction:"vertical",size:"lg",authorName:null==e?void 0:null===(t=e.author)||void 0===t?void 0:t.displayName,specialty:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.specialty,banner:(0,i.tZ)("img",{src:e.featureImageMobile||e.featureImage||f.YS,alt:e.postName,style:{width:"100%",height:"100%"},loading:"lazy"},e.id),styleLabel:{color:e.category.textColor},categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(r=e.category)||void 0===r?void 0:r.displayName,title:e.postName,text:e.excerpt,avatarImg:(0,i.BX)(R,{children:[(0,i.tZ)("img",{loading:"lazy",src:null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.thumbnailAvatar,className:"avatar",alt:s({id:"articlePage.authorAvatarAlt"}),style:{width:64,height:64}}),(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(f.Nr,"/reviewer-").concat(null==e?void 0:null===(l=e.author)||void 0===l?void 0:l.role,".svg"),alt:"badge",className:"badge",style:{width:24,height:24}})]}),uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})}),(0,i.tZ)(X,{children:a.slice(1,4).map((e,t)=>{var a,r,o;return(0,i.tZ)(O,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(b.domainLocales[c]).concat(e.category.permalinkDecode),type:"expert",size:"md",direction:"horizontal",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{loading:"lazy",src:e.featureImageMobileXs||e.featureImage||f.YS,alt:e.postName,style:{width:"100%",height:"100%"}}),categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(o=e.category)||void 0===o?void 0:o.displayName,title:e.postName,text:"",avatarImgRenderer:(t,a)=>{var r,o;return(0,i.BX)(R,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(f.Nr,"/reviewer-").concat(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})})]}),(0,i.tZ)(H,{children:a.slice(4,h).map((e,t)=>{var a,r,o;return(0,i.tZ)(U,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(b.domainLocales[c]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(b.domainLocales[c]).concat(e.category.permalinkDecode),type:"expert",size:"md",direction:"horizontal",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{loading:"lazy",src:e.featureImageMobileXs||e.featureImage||f.YS,alt:e.postName,style:{width:"100%",height:"100%"}}),categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(o=e.category)||void 0===o?void 0:o.displayName,title:e.postName,text:"",avatarImgRenderer:(t,a)=>{var r,o;return(0,i.BX)(R,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(f.Nr,"/reviewer-").concat(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})})]}),a.length>h?(0,i.tZ)(n.B,{size:"md",className:"see-more-btn",onClick:()=>p(e=>e+4),children:s({id:"experts.moreArticles",defaultMessage:"More Articles"})}):null]})}},"2CO7":function(e,t,a){a.d(t,{m:function(){return ExploreCategoryWrapper}});var i=a("BGKE"),r=a("q1tI"),o=a("h7+k"),n=a("OaJP"),l=a("vaiB"),d=a("iBNF"),c=a("ns0B"),s=a.n(c),h=a("dDsW"),p=a("09QT"),g=a("/tR3"),m=a("oQBk"),u=a("CJtR"),v=a("hXNO"),x=a("P5LW"),b=a("rIrU"),y=a("Y+p1"),f=a.n(y),Z=a("E27v"),C=a("A28A"),w=a("VIdu"),k=a("rBCA");let N=(0,k.Z)("div",{target:"e1pyymsi0"})(".line{width:100%;border:none;border-top:1px dashed ",null===d.r||void 0===d.r?void 0:d.r.colors.neutral100,";&:last-child(){display:none;}}");var B=a("1LUM"),T=a("CBW8"),M=a("1KiM");let ExploreCategory=e=>{let{posts:t,categoryInfo:a}=e,{query:o,locale:n,asPath:l}=(0,x.h)(),handleClickSameCategory=e=>{e.preventDefault()},d=(0,v.d)(),c=(0,w.od)({countryAdTag:(0,w.Em)(n,{isMobile:!0}),contentAdTag:(0,w.WV)(n,l.split("?")[0])});return(0,i.tZ)(N,{children:t.map((e,l)=>{let s=e.category.permalink.split("/").filter(Boolean),h=f()(o.slug,s);return(0,i.BX)(r.Fragment,{children:[(0,i.BX)("div",{className:"wrapper",children:[(0,i.tZ)(M.ArticleCardWrapper,{className:"article-card ".concat(h&&"no-replace-click"),type:"author",size:"md",direction:"horizontal",article:e,onClickCategoryName:h?handleClickSameCategory:()=>void 0},l),l===t.length-1?"":(0,i.tZ)("hr",{className:"line"})]}),1===l&&C.V.includes(n)&&(d?(0,i.tZ)(Z.d,{}):(0,i.tZ)(Z.P,{})),3===l&&d&&(0,i.tZ)(T.o,{children:(0,i.tZ)(B.AdBlock,{adUnitPath:c,size:[[300,250],[300,600]],divId:"div-gpt-ad-midbanner2-mobile-"+(null==a?void 0:a.termId),pos:["MidBanner2"]})})]},e.id)})})};var z=a("c6Yx");let E=(0,k.Z)("div",{target:"ec166x20"})("margin-bottom:24px;.title{display:flex;gap:20px;margin-bottom:24px;}.see-all{display:inline-flex;}"),ExploreCategoryWrapper=e=>{let{category:t,keywords:a,posts:c,...y}=e,{formatMessage:f}=(0,h.Z)(),Z=(0,v.d)(),[C,w]=(0,r.useState)(!1),{locale:k,router:{asPath:N}}=(0,x.h)(),B=decodeURI(N.replace(/\//gi,""))===b.rN[k],[T,M]=(0,r.useState)(),handleKeywordChange=async(e,t)=>{if(-1===e){w(!1);return}let a=await (0,p.d)(m.y.ARTICLE.GET_ARTICLE_BY_TAG,{params:{categoryId:t,tagId:e}});M((0,g.Ex)(a)),w(!0)},A=(0,r.useMemo)(()=>{var e;return B?C&&(null==T?void 0:null===(e=T.posts)||void 0===e?void 0:e.slice(0,3))||(null==c?void 0:c.slice(0,3)):C&&(null==T?void 0:T.posts.slice(0,3))||c},[C,B,null==T?void 0:T.posts,c]);return A&&0!==A.length?(0,i.BX)(E,{...y,children:[(0,i.BX)("div",{className:"title",children:[(0,i.tZ)(o.H,{tag:"h3",children:f({id:"categoryPage.explore"},{CatName:s()(t.categoryName)})}),!Z&&B&&(0,i.tZ)("a",{href:t.permalink,className:"see-all pointer-event-child-none","data-event-category":"Category Tag","data-event-action":"See All Click","data-event-label":"".concat((0,u.UC)(k)).concat(t.permalink),children:(0,i.BX)(n.B,{color:"ghost",size:"sm",children:[(0,i.tZ)(l.T,{size:"s4",type:"semiBold",color:d.r.colors.primaryBase,children:f({id:"categoryPage.seeAll",defaultMessage:"See all"})}),(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M9.80322 8.99999L6.93746 6.13424C6.62696 5.82374 6.62696 5.31974 6.93746 5.00924C7.24796 4.69874 7.75196 4.69874 8.06246 5.00924L11.523 8.46974C11.8162 8.76299 11.8162 9.23774 11.523 9.53024L8.06246 12.9907C7.75196 13.3012 7.24796 13.3012 6.93746 12.9907C6.62696 12.6802 6.62696 12.1762 6.93746 11.8657L9.80322 8.99999Z",fill:"#2D87F3"})})]})})]}),a&&a.length>0&&(0,i.tZ)(z.v,{keywords:a,onKeywordChange:e=>handleKeywordChange(e,t.termId)}),(0,i.tZ)(ExploreCategory,{posts:A,categoryInfo:{permalink:t.permalink,termId:String(t.termId)}}),Z&&B&&(0,i.tZ)("a",{href:t.permalink,className:"pointer-event-child-none","data-event-category":"Category Tag","data-event-action":"See All Click","data-event-label":"".concat((0,u.UC)(k)).concat(t.permalink),children:(0,i.BX)(n.B,{color:"ghost",size:"sm",isBlock:!0,children:[(0,i.tZ)(l.T,{size:"s3",type:"semiBold",color:d.r.colors.primaryBase,children:f({id:"categoryPage.seeAll",defaultMessage:"See all"})}),(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M9.80322 8.99999L6.93746 6.13424C6.62696 5.82374 6.62696 5.31974 6.93746 5.00924C7.24796 4.69874 7.75196 4.69874 8.06246 5.00924L11.523 8.46974C11.8162 8.76299 11.8162 9.23774 11.523 9.53024L8.06246 12.9907C7.75196 13.3012 7.24796 13.3012 6.93746 12.9907C6.62696 12.6802 6.62696 12.1762 6.93746 11.8657L9.80322 8.99999Z",fill:"#2D87F3"})})]})})]}):null}},K27U:function(e,t,a){a.d(t,{e:function(){return FaqAccordion}});var i=a("BGKE"),r=a("q1tI"),o=a("h7+k"),n=a("9uQI"),l=a("rrs9"),d=a("8vDj"),c=a("Q7Fe"),s=a("hXNO"),h=a("rBCA"),p=a("iBNF"),g=a("kO4G");let m=(0,h.Z)("div",{target:"e10ls6lp0"})("&[data-template='health-tool'],&[data-template='due-date']{.accordion{.mantine-Accordion-control{padding:12px 0;border-bottom:1px solid ",e=>e.borderColor,";}.mantine-Accordion-panel{padding:0;}.mantine-Accordion-label{overflow:unset;}.mantine-Accordion-item{border:none;&[data-active='true']{.mantine-Accordion-label .mantine-Text-root{font-weight:700;}}&:last-child{.mantine-Accordion-control{border-bottom:none;}}}.mantine-Accordion-content{padding:1rem 0;}}}&[data-template='due-date']{.accordion{.mantine-Accordion-control{&[aria-expanded='true']{border-color:transparent;}}.mantine-Accordion-content{padding:1rem;border-radius:8px;background-color:",e=>e.bgContentColor,";}}}&[data-template='category']{display:flex;flex-direction:column;align-items:center;padding:16px;gap:16px;width:360px;/* Neutral/Neutral-50 */\n background:",p.r.colors.neutral50,";border-radius:4px;",g.M.mbDown,"{width:auto;margin-inline:-16px;margin-block:24px;}.title-heading{padding-left:16px;border-left:5px solid ",p.r.colors.primaryBase,";}.accordion{.mantine-Accordion-control{padding:16px;border-radius:4px;}.mantine-Accordion-label{border-radius:4px;overflow:unset;}.mantine-Accordion-item{background-color:#ffffff;border:none;margin-bottom:2px;.mantine-Accordion-chevron{> div{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjk5OTcgMTQuMDcxTDguMTc4NjYgMTAuMjVDNy43NjQ2NiA5LjgzNTk1IDcuMDkyNjYgOS44MzU5NSA2LjY3ODY2IDEwLjI1QzYuMjY0NjYgMTAuNjY0IDYuMjY0NjYgMTEuMzM2IDYuNjc4NjYgMTEuNzVMMTEuMjkyNyAxNi4zNjRDMTEuNjgzNyAxNi43NTUgMTIuMzE2NyAxNi43NTUgMTIuNzA2NyAxNi4zNjRMMTcuMzIwNyAxMS43NUMxNy43MzQ3IDExLjMzNiAxNy43MzQ3IDEwLjY2NCAxNy4zMjA3IDEwLjI1QzE2LjkwNjcgOS44MzU5NSAxNi4yMzQ3IDkuODM1OTUgMTUuODIwNyAxMC4yNUwxMS45OTk3IDE0LjA3MVoiIGZpbGw9IiM1OTU5NTkiLz4KPC9zdmc+Cg==);}}&[data-active='true']{.mantine-Accordion-chevron{> div{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjcwNDMgOS45MjkwMkwxNS41MjUzIDEzLjc1QzE1LjkzOTMgMTQuMTY0IDE2LjYxMTMgMTQuMTY0IDE3LjAyNTMgMTMuNzVDMTcuNDM5MyAxMy4zMzYgMTcuNDM5MyAxMi42NjQgMTcuMDI1MyAxMi4yNUwxMi40MTEzIDcuNjM2MDJDMTIuMDIwMyA3LjI0NTAyIDExLjM4NzMgNy4yNDUwMiAxMC45OTczIDcuNjM2MDJMNi4zODMyNSAxMi4yNUM1Ljk2OTI1IDEyLjY2NCA1Ljk2OTI1IDEzLjMzNiA2LjM4MzI1IDEzLjc1QzYuNzk3MjUgMTQuMTY0IDcuNDY5MjUgMTQuMTY0IDcuODgzMjUgMTMuNzVMMTEuNzA0MyA5LjkyOTAyWiIgZmlsbD0iIzU5NTk1OSIvPgo8L3N2Zz4K);}}}}.mantine-Accordion-content{padding:1rem;padding-top:0;a{color:",p.r.colors.primaryBase,";}}}}");var u=a("Oeb5");let FaqAccordion=e=>{let{faqs:t,title:a,template:h="health-tool",titleProps:p,dataEventCategory:g,dataEventAction:v,dataEventLabel:x,expandFirst:b,...y}=e,f=(0,s.d)(),Z=(0,d.rZ)(),C=Z.colors.neutral[1];return(0,i.tZ)(m,{borderColor:C,"data-template":h,...y,children:(0,i.tZ)(u.b,{headingTitle:a&&(0,i.tZ)(o.H,{tag:"h5",className:"title-heading",children:a}),icon:(0,i.tZ)(i.HY,{}),...p,children:(0,i.tZ)(n.l,{className:"accordion",defaultValue:b?"0":void 0,children:t.map((e,t)=>(0,i.BX)(n.l.Item,{value:String(t),children:[(0,i.tZ)(n.l.Control,{"data-event-category":g,"data-event-action":v,"data-event-label":null==x?void 0:x(e),className:"pointer-event-child-none",children:r.isValidElement(e.title)?e.title:(0,i.tZ)(l.T,{as:"span",size:"p2",children:e.title})}),(0,i.tZ)(n.l.Panel,{children:r.isValidElement(e.description)?e.description:(0,i.tZ)(c.G,{content:e.description,size:f?"p2":"p3"})})]},t))})})})}},xvJX:function(e,t,a){a.d(t,{o:function(){return GamingMechanismStepCard}});var i=a("BGKE");a("q1tI");var r=a("vaiB"),o=a("iBNF"),n=a("rBCA"),l=a("kO4G"),d=a("rIrU");let c=(0,n.Z)("div",{target:"e1wgsb2n0"})("position:relative;border-radius:",o.r.borderRadius,";background-color:",o.r.colors.white,";filter:drop-shadow(0px 16px 24px rgba(0,0,0,0.06))\n drop-shadow(0px 2px 8px rgba(0,0,0,0.04))\n drop-shadow(0px 0px 1px rgba(0,0,0,0.04));"),s=(0,n.Z)("div",{target:"e1wgsb2n1"})("position:absolute;display:flex;justify-content:center;background-image:url('",d.Nr,"/step.png');background-repeat:no-repeat;",l.M.mbUp,"{width:160px;height:50px;margin-top:24px;left:-18px;background-size:160px 50px;.text{margin-top:4px;text-transform:uppercase;}}",l.M.mbDown,"{width:120px;height:32px;margin-top:16px;left:-14px;background-size:120px 32px;}"),h=(0,n.Z)("div",{target:"e1wgsb2n2"})("padding:24px;li + li{margin-bottom:8px;}",l.M.mbUp,"{line-height:1.5;font-size:18px;}",l.M.mbDown,"{line-height:1.3;font-size:16px;margin-bottom:16px;}"),p=(0,n.Z)("div",{target:"e1wgsb2n3"})("width:120px;height:120px;margin:auto;",l.M.mbUp,"{margin-top:88px;}",l.M.mbDown,"{margin-top:72px;}"),GamingMechanismStepCard=e=>(0,i.BX)(c,{children:[(0,i.tZ)(s,{children:(0,i.tZ)(r.T,{size:"lg",type:"bold",color:o.r.colors.primary700,className:"text",children:e.steps.title})}),(0,i.tZ)(p,{children:(0,i.tZ)("img",{loading:"lazy",src:e.steps.icon,alt:""})}),(0,i.tZ)(h,{dangerouslySetInnerHTML:{__html:e.steps.description||""}})]})},AZgL:function(e,t,a){a.d(t,{Z:function(){return goTopButton}});var i=a("BGKE"),r=a("rIrU"),o=a("rBCA"),n=a("kO4G");let l=(0,o.Z)("div",{target:"eowiwqg0"})(n.M.mbUp,"{position:fixed;right:87px;bottom:50px;img{width:37px;height:37px;}}",n.M.mbDown,"{display:none;}");var goTopButton=()=>(0,i.tZ)(l,{children:(0,i.tZ)("img",{loading:"lazy",src:"".concat(r.Nr,"/chevronUpCircle.svg"),className:"button-image",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},alt:""})})},"2kea":function(e,t,a){a.d(t,{d:function(){return HealthToolBreadcrumb}});var i=a("BGKE"),r=a("9uQI"),o=a("7Ci/"),n=a("CJtR"),l=a("hXNO"),d=a("P5LW"),c=a("Sdnq");let HealthToolBreadcrumb=e=>{let{pageItem:t,...a}=e,s=(0,l.d)(),{locale:h}=(0,d.h)();return(0,i.tZ)(o.W,{size:"lg",my:16,...a,children:(0,i.tZ)(r.B,{children:(t||[]).map(e=>({dataEventCategory:"Breadcrumb",dataEventAction:"Click",dataEventLabel:(0,c.b)(e.value)?e.value:"".concat((0,n.UC)(h)).concat(e.value),label:e.label||"",value:(0,c.b)(e.value)?e.value:"".concat((0,n.UC)(h)).concat(e.value)})).map(e=>(0,i.tZ)(r.B.Item,{href:e.value,...e,size:s?"p3":"p4",children:e.label},e.value))})})}},rY9m:function(e,t,a){var i=a("BGKE"),r=a("q1tI"),o=a("PCmN"),n=a("OaJP"),l=a("7Ci/"),d=a("OAL+"),c=a("SPK5"),s=a("KeOA"),h=a("dDsW"),p=a("sKr0"),g=a("hXNO"),m=a("P5LW"),u=a("0VOb");t.Z=e=>{let{toolLink:t,onRecalculate:a,onSave:v,saveLabel:x,tracking:b}=e,y=(0,g.d)(),{locale:f}=(0,m.h)(),{formatMessage:Z}=(0,h.Z)(),[C,w]=(0,r.useState)(!1);return(0,i.BX)(i.HY,{children:[(0,i.tZ)(o.j,{locale:f,url:t,open:C,onClose:()=>w(!1),onCopied:()=>{(0,u.c)({type:"success",title:"Success",message:"Link copied successfully"})},onShared:()=>w(!1)}),y?(0,i.tZ)(l.W,{fluid:!0,px:0,children:(0,i.BX)(d.K,{children:[v&&(0,i.tZ)(n.B,{size:"lg",color:"primary",onClick:v,...null==b?void 0:b.save,children:x||"Save"}),(0,i.tZ)(n.B,{style:{width:"100%"},size:"lg",color:"secondary",onClick:a,...null==b?void 0:b.reCalculate,children:Z({id:"tools.recalculate",defaultMessage:"Re-calculate"})})]})}):(0,i.tZ)(l.W,{size:"sm",children:(0,i.BX)(d.K,{sx:{gap:32},children:[(0,i.tZ)(c.k,{justify:"center",children:(0,i.tZ)(p.n.BottomNavHorizonal,{shareUrl:t,showFull:!0,iconSize:24,styles:{heading:{fontSize:12}}})}),(0,i.BX)(s.M,{cols:2,children:[v&&(0,i.tZ)(n.B,{size:"lg",onClick:v,...null==b?void 0:b.save,children:x||"Save"}),(0,i.tZ)(n.B,{size:"lg",color:"secondary",onClick:a,...null==b?void 0:b.reCalculate,children:Z({id:"tools.recalculate",defaultMessage:"Re-calculate"})})]})]})})]})}},mWp1:function(e,t,a){a.d(t,{b:function(){return HealthToolCard}});var i=a("BGKE");a("q1tI");var r=a("UpS/"),o=a("iv2E"),n=a("P5LW"),l=a("rIrU"),d=a("rBCA"),c=a("iBNF");let s=(0,d.Z)("div",{target:"e9xpx3w0"})("display:flex;width:95px;flex-direction:column;align-items:center;margin:auto auto 16px auto;& >:first-of-type{margin-bottom:8px;}& >:last-child{width:100%;min-height:32px;margin-bottom:8px;text-align:center;word-wrap:break-word;}"),h=(0,d.Z)("div",{target:"e9xpx3w1"})("display:flex;overflow:hidden;width:56px;height:56px;align-items:center;justify-content:center;background:",c.r.colors.primary50,";border-radius:50%;& > img{width:32px;height:32px;object-fit:contain;}"),p=(0,d.Z)("div",{target:"e9xpx3w2"})("display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;color:",c.r.colors.gray600,";font-size:12px;font-weight:600;-webkit-line-clamp:2;line-height:16px;text-decoration:none;text-overflow:ellipsis;"),g=(0,d.Z)("span",{target:"e9xpx3w3"})("width:100%;height:100%;position:relative;img{width:100%;height:100%;}"),HealthToolCard=e=>{let{cardInfo:t}=e,{locale:a}=(0,n.h)();return(0,i.tZ)("a",{className:"no-replace-click",href:t.url,style:{textDecoration:"none"},"data-event-category":"Other Health Tools","data-event-action":"Click","data-event-label":"https://".concat(o.domainLocales[a]).concat(t.url),children:(0,i.BX)(s,{children:[(0,i.tZ)(h,{children:(0,i.tZ)(g,{children:(0,i.tZ)(r.I,{src:t.image||"".concat(l.Nr,"/avatar.jpg"),style:{objectFit:"contain"},alt:t.title})})}),(0,i.tZ)(p,{children:t.title})]})})}},usqR:function(e,t,a){a.d(t,{E:function(){return HealthtoolDisclaimer}});var i=a("BGKE"),r=a("q1tI"),o=a("rBCA"),n=a("iBNF"),l=a("kO4G"),d=a("rrs9"),c=a("8vDj"),s=a("Eso5"),h=a("/Ds5"),p=a("dDsW"),g=a("zb6h"),m=a("rIrU");let u=(0,o.Z)("div",{target:"e1xbp8sz0"})("padding-bottom:1.5rem;&[data-bordered='true']{border-bottom:1px solid ",n.r.colors.neutral100,";}&[data-bordered='false']{padding-bottom:0;margin-bottom:0;}",l.M.mbDown,"{&[data-bordered='true']{padding-top:1.5rem;}}.ht-disclaimer{gap:8px;display:inline-flex;align-items:center;cursor:pointer;}.ht-disclaimer-desc{color:#595959;font-size:14px;font-weight:600;line-height:22px;text-transform:uppercase;}.ht-disclaimer-down{color:black;}.ht-disclaimer-expanded{font-size:12px;color:#595959;line-height:1.4;padding-top:8px;overflow:hidden;}.ht-disclaimer-info-svg{transition:all 0.3s ease;&[data-show='true']{transform:rotateZ(180deg);}}"),HealthtoolDisclaimer=e=>{let{description:t,bordered:a=!0,contentSize:o="p4",headingSize:l="p3",icon:v,HeadingWrapper:x,ContentWrapper:b,expand:y=!0}=e,[f,Z]=(0,r.useState)(y),{formatMessage:C}=(0,p.Z)(),w=(0,c.rZ)();if(!t)return null;let k=x||d.T,N=b||d.T;return(0,i.BX)(u,{"data-bordered":String(!!a),children:[(0,i.BX)(s.x,{className:"ht-disclaimer",onClick:()=>Z(!f),children:[v||(0,i.tZ)(g.Z,{size:18}),(0,i.tZ)(k,{size:l,weight:"semiBold",color:w.colors.gray[6],transform:"uppercase",span:!0,children:C({id:"dueDatePage.disclaimer"})}),(0,i.tZ)("img",{src:"".concat(m.uQ,"/arrow-down.svg"),alt:"",loading:"lazy",className:"ht-disclaimer-info-svg","data-show":f})]}),(0,i.tZ)(h.E.div,{animate:f?{height:"auto"}:{height:0},transition:{duration:.3},style:{overflow:"hidden"},children:(0,i.tZ)(N,{size:o,color:n.r.colors.gray600,as:"div",style:{marginTop:8},dangerouslySetInnerHTML:{__html:t}})})]})}},JizU:function(e,t,a){a.d(t,{I:function(){return HealthToolErrorScreen}});var i=a("BGKE"),r=a("UbCi"),o=a("rrs9"),n=a("G7ij"),l=a("8vDj"),d=a("SPK5"),c=a("dDsW"),s=a("P5LW");let HealthToolErrorScreen=e=>{let t=(0,l.rZ)(),{formatMessage:a}=(0,c.Z)(),{router:h}=(0,s.h)();return(0,i.BX)(d.k,{py:16,maw:400,gap:16,direction:"column",align:"center",...e,children:[(0,i.tZ)("img",{src:r.C.getAssetPath("health-tools/404.svg"),style:{width:"160px",height:"160px",objectFit:"contain",maxWidth:"100%"},alt:"",loading:"lazy"}),(0,i.tZ)(o.T,{size:"h3",align:"center",color:t.colors.gray[8],children:"Oops"}),(0,i.tZ)(o.T,{size:"p3",align:"center",color:t.colors.gray[7],children:a({id:"dueDatePage.error.description"})}),(0,i.tZ)(n.B,{variant:"secondary",size:"lg",onClick:()=>h.push("/health-tools"),children:a({id:"dueDatePage.explore_other_tools",defaultMessage:"Explore other tools"})})]})}},"9/ee":function(e,t,a){a.d(t,{F:function(){return HealthToolMorePopup}});var i=a("BGKE"),r=a("q1tI"),o=a("dDsW"),n=a("tMVq"),l=a("Pm4m"),d=a("rBCA"),c=a("iBNF"),s=a("rIrU");let h=(0,d.Z)("div",{target:"e1qtjs4v0"})("box-shadow:0px 4px 8px rgba(0,0,0,0.04),0px 0px 2px rgba(0,0,0,0.06),0px 0px 1px rgba(0,0,0,0.04);border-radius:4px;position:absolute;top:56px;right:16px;z-index:",s.kg.adBlock,";background-color:",c.r.colors.white,";&:before{content:'';position:absolute;top:-10px;right:8px;width:0px;height:0px;border:5px solid transparent;border-bottom-color:",c.r.colors.white,";}img{width:18px;height:18px;}.share-group{margin-top:16px;}"),p=(0,d.Z)("div",{target:"e1qtjs4v1"})("display:flex;gap:8px;padding:12px 24px;cursor:pointer;&:hover{background-color:",c.r.colors.gray100,";}"),HealthToolMorePopup=e=>{let{isMobile:t,shareUrl:a,onRecalculate:d,onClose:c}=e,[s,g]=(0,r.useState)(!1),m=(0,r.useRef)(null),{formatMessage:u}=(0,o.Z)();return(0,n.t)(m,()=>{c()}),(0,i.tZ)(h,{ref:m,children:s?(0,i.tZ)(l.d,{className:"share-group",shareUrl:a,isMobile:t}):(0,i.BX)(i.HY,{children:[(0,i.BX)(p,{onClick:d,children:[(0,i.tZ)("img",{src:"/svg/rotate-left.svg",style:{transform:"rotateY(180deg)"},alt:"",loading:"lazy"}),(0,i.tZ)("div",{children:u({id:"ovulationPage.recalculate"})})]}),(0,i.BX)(p,{onClick:()=>g(!0),children:[(0,i.tZ)("img",{src:"/svg/share-article.svg",alt:"",loading:"lazy"}),(0,i.tZ)("div",{children:u({id:"tools.shareResultOn"})})]})]})})}},Psub:function(e,t,a){a.d(t,{j:function(){return AdditionalInfo}});var i=a("BGKE"),r=a("rrs9"),o=a("G7ij"),n=a("iZ8j"),l=a("Eso5"),d=a("RZSM"),c=a("dDsW"),s=a("ZpEA"),h=a("/npG"),p=a("mYVa"),g=(0,h.k)(e=>({root:{padding:(0,p.h)(8),borderRadius:(0,p.h)(12),backgroundColor:e.colors.neutral[0],border:"1px solid ".concat(e.colors.gray[1]),display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{gap:(0,p.h)(24)}},thumbnail:{backgroundColor:e.colors.green[0],borderRadius:(0,p.h)(8),[e.fn.largerThan("sm")]:{width:(0,p.h)(192),flexShrink:0}},thumbnailImg:{borderRadius:"inherit"},info:{display:"flex",flexDirection:"column",gap:(0,p.h)(4),textAlign:"left",[e.fn.smallerThan("sm")]:{padding:"".concat((0,p.h)(16)," ").concat((0,p.h)(8))},[e.fn.largerThan("sm")]:{padding:"".concat((0,p.h)(8)," 0")}},btn:{padding:0,height:(0,p.h)(22),"&,&:hover":{backgroundColor:"transparent",color:e.fn.primaryColor()}},btnIcon:{marginTop:(0,p.h)(1)}}));let AdditionalInfo=e=>{let{heading:t,content:a,image:h,ctaTitle:p,ctaUrl:m,styles:u,className:v,classNames:x}=e,{formatMessage:b}=(0,c.Z)(),{classes:y,cx:f}=g(void 0,{name:"AdditionalInfo",styles:u,classNames:x}),Z=(0,s.t)(m?[m]:[]),{isExternalUrl:C}=(null==Z?void 0:Z[0])||{},w={href:m,target:C?"_blank":"_self",className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Additional Information","data-event-label":m};return t||a?(0,i.BX)(l.x,{className:f(v,y.root),children:[h&&(0,i.tZ)(l.x,{component:m?"a":"div",className:y.thumbnail,...m&&w,children:(0,i.tZ)(d.o,{ratio:1.5,children:(0,i.tZ)("img",{loading:"lazy",src:h,alt:t,className:y.thumbnailImg})})}),(0,i.BX)(l.x,{className:y.info,children:[t&&(0,i.tZ)(r.T,{size:"s2",children:t}),a&&(0,i.tZ)(r.T,{size:"p4",children:a}),m&&(0,i.tZ)("a",{...w,children:(0,i.tZ)(o.B,{classNames:{root:y.btn,icon:y.btnIcon},rightIcon:(0,i.tZ)(n.Z,{size:18,useCurrentColor:!0}),children:p||b({id:"articlePage.readMore"})})})]})]}):null}},"1+YQ":function(e,t,a){a.d(t,{M:function(){return BrandingBanner}});var i=a("BGKE"),r=a("kO4G"),o=a("Eso5"),n=a("0D4Z"),l=a("ZpEA"),d=(0,a("/npG").k)(e=>({root:{},picture:{display:"block",width:"100%",height:0,paddingBottom:"".concat(96/343*100,"%"),position:"relative",[e.fn.largerThan("sm")]:{paddingBottom:"".concat(108/748*100,"%")}},img:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",borderRadius:8}}));let BrandingBanner=e=>{let{image:t,imageMobile:a,ctaUrl:c,loading:s,styles:h,className:p,classNames:g}=e,{classes:m,cx:u}=d(void 0,{name:"BrandingBanner",styles:h,classNames:g}),v=(0,l.t)(c?[c]:[]),{isExternalUrl:x}=(null==v?void 0:v[0])||{};return t?(0,i.tZ)(o.x,{component:c?"a":"div",className:u(p,m.root),...c&&{href:c,target:x?"_blank":"_self",className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Additional Information","data-event-label":c},children:s?(0,i.tZ)(o.x,{className:m.picture,children:(0,i.tZ)(n.O,{className:m.img})}):t?(0,i.BX)("picture",{className:m.picture,children:[(0,i.tZ)("source",{media:"(min-width: ".concat(r.B.BREAK_POINT_TABLET,"px)"),srcSet:t}),(0,i.tZ)("img",{className:m.img,loading:"lazy",src:a,alt:""})]}):null}):null}},H5Wj:function(e,t,a){a.r(t),a.d(t,{HistoryAccordion:function(){return u}});var i=a("BGKE"),r=a("q1tI"),o=a("iBNF"),n=a("vaiB"),l=a("7Ci/"),d=a("A725"),c=a("dDsW"),s=a("hXNO"),h=a("P5LW"),p=a("tQmg"),g=a("huhZ"),m=a("S5Gw");let u=r.memo(e=>{let{article:t}=e,{formatMessage:a}=(0,c.Z)(),{locale:r}=(0,h.h)(),u=(0,s.d)();return(0,i.tZ)(m.Sources,{title:a({id:"articlePage.history"}),children:(0,i.tZ)(l.W,{p:6,children:(0,i.BX)(d.T,{bulletSize:8,lineWidth:1,styles:{item:{"&::before":{borderColor:o.r.colors.primaryBase}},itemBody:{transform:"translateY(-8px)"},itemBullet:{borderColor:o.r.colors.primaryBase,backgroundColor:"#ffffff","&[data-active='true']":{backgroundColor:o.r.colors.primaryBase}}},children:[(0,i.tZ)(d.T.Item,{active:!0,title:(0,i.tZ)(n.T,{size:u?"s3":"s4",type:"semiBold",children:a({id:"articlePage.history.current",defaultMessage:"Current Version"})})}),(0,i.tZ)(d.T.Item,{title:(0,i.tZ)(n.T,{size:u?"s3":"s4",type:"semiBold",children:(0,p.m)(t.postModified,r,"YYYY-MM-DD HH:mm:ss")}),children:(0,i.tZ)(g.ArticleAuthorHistory,{expert:null==t?void 0:t.expert,author:null==t?void 0:t.author,articleReviewed:null==t?void 0:t.articleReviewed,updater:null==t?void 0:t.editLast,reviewer:null==t?void 0:t.reviewer,updatedAt:(null==t?void 0:t.modifiedTime)||""})})]})})})})}}]);