import{_ as $,o as t,c as i,F as p,x as L,p as w,a,t as r,d as _,l as o,f as W,u as ve,W as ke,y as P,s as q,k as c,cg as be,h as Be,R as Ne,S as Ee,by as _e,b as A,bz as E,q as I,N as we,aa as Se,Q as pe,a7 as Pe}from"./BDipKYNj.js";import{_ as $e}from"./WebShareLink-BsyPwWaZ.mjs";import{_ as Le}from"./WebFavoriteContentToggle-DCnb__y8.mjs";import{_ as Te}from"./WebImage-CIpNTik-.mjs";import{c as j}from"./useObjUtils-BkiPlnVH.mjs";import{u as We}from"./useImageUrl-1XbeiwSF.mjs";import"./interval-BL6FusVZ.mjs";import"./nuxt-link-BWzEhDJx.mjs";const Me={props:{sectionLinks:{type:Array},padTop:{type:Boolean,default:!1}}},Oe=["href"],je={property:"name"},qe={key:1,property:"name"},He={key:2,class:"spacer"},Ue=["content"];function Ve(e,s,n,h,y,l){const d=W;return t(),i("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList",class:"sectionLinks",style:w({fontFamily:e.$ss.primaryFontFamily,paddingTop:n.padTop?"8px":0})},[(t(!0),i(p,null,L(n.sectionLinks,(u,v)=>{var b,g,f;return t(),i("li",{key:u.label,property:"itemListElement",typeof:"ListItem"},[u.url?(t(),i("a",{key:0,href:u.url,property:"item",typeof:"WebPage",style:w({color:(b=e.$ss)!=null&&b.useNewDesign?e.$ss.colors.tertiary:(f=(g=e.$ss)==null?void 0:g.contentStyle)==null?void 0:f.sectionColor})},[a("span",je,r(u.label),1)],12,Oe)):(t(),i("span",qe,r(u.label),1)),v+1<n.sectionLinks.length?(t(),i("span",He,[_(d,{icon:"mdi:chevron-right","icon-color":"#000"})])):o("",!0),a("meta",{property:"position",content:v+1},null,8,Ue)])}),128))],4)}const Ce=$(Me,[["render",Ve],["__scopeId","data-v-6794a9ad"]]),ze={class:"ebm-share-wrapper"},Re={class:"ebm-share-list"},Ze={key:0,class:"ebm-share-item email-icon"},Qe=["href"],Ge={__name:"WebShareLinksNew",props:{title:{type:String,required:!0},description:{type:String,default:""},useEmail:{type:Boolean,default:!0},path:{type:String,required:!0}},setup(e){const s=e,{$ss:n}=ve(),h=ke(()=>"https://"+n.new.general.rootDomain+s.path),y=ke(()=>`mailto:?subject=${s.title}&body=${h.value}%0D%0A${s.description??""}`),l=d=>d==="flipboard"?"simple-icons:flipboard":d==="twitter"?"fa6-brands:x-twitter":`mingcute:${d==null?void 0:d.toLowerCase()}-line`;return(d,u)=>{var g;const v=W,b=$e;return t(),i("div",ze,[a("ul",Re,[(t(!0),i(p,null,L((g=c(n).contentStyle)==null?void 0:g.socialShareLinks,f=>(t(),i("li",{key:f,class:P(`ebm-share-item ${f}-icon`)},[_(b,{network:f,url:c(h),title:e.title,description:e.description},{default:q(()=>[_(v,{icon:l(f),"icon-color":"#868686",width:20},null,8,["icon"])]),_:2},1032,["network","url","title","description"])],2))),128)),e.useEmail?(t(),i("li",Ze,[a("a",{href:c(y),"aria-label":"email"},[_(v,{icon:"mdi:email-outline","icon-color":"#868686",width:20})],8,Qe)])):o("",!0)])])}}},Je=$(Ge,[["__scopeId","data-v-02b60bfd"]]),Ke={class:"above-line"},Xe=["href"],Ye={key:1,class:"breadcrumb"},et=["innerHTML"],tt=["innerHTML"],it={key:3,class:"event-info"},nt={class:"column"},st={class:"content"},ot={class:"content"},at=["href"],lt={class:"column"},rt={class:"content"},ct={key:0,class:"address"},mt={key:1},dt={key:4,class:"author-row"},ut={key:0,class:"byline-group"},yt={key:0},ht={key:1},gt={key:1,class:"all-authors"},ft={key:0,class:"company-link"},kt=["href"],vt={key:1,class:"author"},bt=["href"],_t={key:0},wt=["href"],St={key:0},pt={key:2,class:"dot first"},Lt={class:"date-read-time"},Tt={key:0,class:"date"},Ct={key:1,class:"dot second"},At={key:2,class:"read-time"},It={key:3,class:"duration"},Dt={key:0,class:"below-line"},Ft={ref:"viafouraElement",class:"viafoura"},xt=["vf-container-id"],Bt={class:"print-favorite"},Nt=["href"],Et={key:1,class:"image-wrapper"},Pt={__name:"WebContentTitleNew",props:{item:{type:Object,required:!0},showImage:{type:Boolean,default:!1},showSummary:{type:Boolean,default:!1},showDate:{type:Boolean,default:!0},hideSocialLinks:{type:Boolean,default:!1},sectionLinkDisplay:{type:String,default:"primary-section"},textAlign:{type:String,default:"left"}},setup(e){var F,x,B,H,U,V,z,R,Z,Q,G;const s=e,{$ss:n}=ve(),{viafoura:h,commentWidget:y}=be(),{path:l}=Be(),d=(x=(F=s.item)==null?void 0:F.bodyBlocks)!=null&&x.length?s.item.bodyBlocks.map(k=>k.settings.text).join(""):"",u=Math.ceil(((B=d.split(" "))==null?void 0:B.length)/200),v=Ne(!1),b=(u===1?"< ":"")+u,g=(H=s.item)!=null&&H.authors?j((U=s.item)==null?void 0:U.authors):[],f=(V=s.item)!=null&&V.contributors?j((z=s.item)==null?void 0:z.contributors):[],T=(R=s.item)!=null&&R.company?`/${s.item.company.id}`:"",N=(Z=s.item)!=null&&Z.duration?`${Math.floor(s.item.duration/60)>0?`${Math.floor(s.item.duration/60)} hour${Math.floor(s.item.duration/60)>1?"s":""}`:""} ${s.item.duration%60>0?`${s.item.duration%60} minutes`:""}`:"",m=[...(((G=(Q=s.item)==null?void 0:Q.primarySection)==null?void 0:G.hierarchy)??[]).map(k=>({url:`/${k.alias}`,label:k.name}))];function D(){y==null||y.scrollIntoView({block:"center"})}return Ee(()=>{var k;v.value=((k=n.modules)==null?void 0:k.memberships)&&_e.isLoggedIn()}),(k,S)=>{var K,X,Y,ee,te,ie,ne,se,oe,ae,le,re,ce,me,de,ue,ye,he,ge,fe;const Ae=Ce,J=W,Ie=pe,De=Je,Fe=Le,xe=Te;return t(),i("div",{class:P(["web-content-title-new",e.textAlign])},[a("div",Ke,[e.sectionLinkDisplay==="primary-section"?(t(),i("a",{key:0,href:(X=(K=e.item)==null?void 0:K.primarySection)==null?void 0:X.canonicalPath,class:"section"},r((ee=(Y=e.item)==null?void 0:Y.primarySection)==null?void 0:ee.name),9,Xe)):e.sectionLinkDisplay==="breadcrumb"?(t(),i("div",Ye,[(m==null?void 0:m.length)>0?(t(),A(Ae,{key:0,"section-links":m})):o("",!0)])):o("",!0),a("h1",{class:"title-text",innerHTML:e.item.name},null,8,et),e.showSummary&&((te=e.item)!=null&&te.explicitTeaser)?(t(),i("div",{key:2,class:"teaser-text",innerHTML:e.item.explicitTeaser},null,8,tt)):o("",!0),e.showDate&&((ie=e.item)==null?void 0:ie.type)==="Event"?(t(),i("div",it,[a("div",nt,[a("div",st,[S[0]||(S[0]=a("label",null,"Dates:",-1)),a("div",null,r(("useApStylePubDate"in k?k.useApStylePubDate:c(E))(e.item)),1)]),a("div",ot,[S[1]||(S[1]=a("label",null,"Website:",-1)),e.item.website?(t(),i("a",{key:0,class:"event-website",href:e.item.website},r(e.item.website),9,at)):o("",!0)])]),a("div",lt,[a("div",rt,[S[2]||(S[2]=a("label",null,"Address:",-1)),a("div",null,[e.item.address1?(t(),i("div",ct,r(e.item.address1)+" "+r(e.item.address2),1)):o("",!0),e.item.cityStateZip?(t(),i("div",mt,r(e.item.cityStateZip)+" "+r(e.item.country),1)):o("",!0)])])])])):o("",!0),e.showDate&&e.item.type!=="Event"?(t(),i("div",dt,[e.item.byline||e.item.source?(t(),i("div",ut,[e.item.byline?(t(),i("p",yt,[S[3]||(S[3]=a("strong",null,"By",-1)),I(" "+r(e.item.byline),1)])):o("",!0),e.item.source?(t(),i("p",ht,[S[4]||(S[4]=a("strong",null,"Source",-1)),I(" "+r(e.item.source),1)])):o("",!0)])):o("",!0),(ne=c(g))!=null&&ne.length||(se=c(f))!=null&&se.length||c(T)?(t(),i("div",gt,[c(T)?(t(),i("div",ft,[I(r((ae=(oe=e.item)==null?void 0:oe.labels)!=null&&ae.includes("Sponsored")?"Sponsored":"Related To")+": ",1),a("a",{href:c(T)},r(e.item.company.name),9,kt)])):(le=c(g))!=null&&le.length||(re=c(f))!=null&&re.length?(t(),i("div",vt,[(t(!0),i(p,null,L(c(g),(C,O)=>(t(),i("div",{key:C.id},[a("a",{href:`/${C.id}`},r(C.name.trim()),9,bt),O<c(g).length-1||c(f).length?(t(),i("span",_t,", ")):o("",!0)]))),128)),(t(!0),i(p,null,L(c(f),(C,O)=>(t(),i("div",{key:C.id},[a("a",{href:`/${C.id}`},r(C.name),9,wt),O<c(f).length-1?(t(),i("span",St,", ")):o("",!0)]))),128))])):o("",!0)])):o("",!0),(ce=c(g))!=null&&ce.length||(me=c(f))!=null&&me.length||c(T)?(t(),i("div",pt)):o("",!0),a("div",Lt,[("useApStylePubDate"in k?k.useApStylePubDate:c(E))(e.item)?(t(),i("div",Tt,r(("useApStylePubDate"in k?k.useApStylePubDate:c(E))(e.item)),1)):o("",!0),b>0?(t(),i("div",Ct)):o("",!0),e.item.type!=="Webinar"&&b>0?(t(),i("div",At,r(b)+" min read ")):(t(),i("div",It,r(c(N)),1))])])):o("",!0)]),e.hideSocialLinks?o("",!0):(t(),i("div",Dt,[a("div",null,[we(a("div",{class:"comment-count",onClick:D},[_(Ie,null,{default:q(()=>[_(J,{icon:"mdi:comment-text-outline","icon-color":"#868686",width:20}),a("div",Ft,[a("vf-conversations-count",{ref:"vfComponent","vf-container-id":e.item.contentId},null,8,xt)],512)]),_:1})],512),[[Se,c(h).initialized&&c(y)]])]),_(De,{"content-id":e.item.contentId,title:e.item.name,description:e.item.description,"use-email":!0,path:c(l)},null,8,["content-id","title","description","path"]),a("div",Bt,[a("a",{href:`/print/content/${e.item.contentId}`,target:"_blank","aria-label":"print"},[_(J,{icon:"mdi:printer-outline","icon-color":"#868686",width:20})],8,Nt),c(v)?(t(),A(Fe,{key:0,"content-id":e.item.contentId,"content-url":e.item.siteContext.path},null,8,["content-id","content-url"])):o("",!0)])])),e.showImage&&((ue=(de=e.item)==null?void 0:de.primaryImage)!=null&&ue.src)?(t(),i("div",Et,[_(xe,{"image-border-radius":!1,"image-drop-shadow":!1,image:(he=(ye=e.item)==null?void 0:ye.primaryImage)==null?void 0:he.src,"lazy-load":!1,"is-logo":e.item.primaryImage?e.item.primaryImage.isLogo:!1,"image-shaping":"crop",alt:(fe=(ge=e.item)==null?void 0:ge.primaryImage)==null?void 0:fe.alt,credit:e.item.primaryImage?e.item.primaryImage.credit:"","credit-position":"top","content-type":e.item.contentType||e.item.type,"aspect-ratio":"full-teaser"},null,8,["image","is-logo","alt","credit","content-type"])])):o("",!0)],2)}}},$t={props:{sponsors:{type:Array}}},Wt=["href"],Mt={key:0};function Ot(e,s,n,h,y,l){return t(),i("div",{class:"sponsors",style:w({fontFamily:e.$ss.primaryFontFamily})},[s[0]||(s[0]=a("label",null,"Sponsor: ",-1)),(t(!0),i(p,null,L(n.sponsors,(d,u)=>(t(),i("div",{key:d.id,class:"sponsor"},[a("a",{href:d.path},r(d.name),9,Wt),u+1<n.sponsors.length?(t(),i("span",Mt,", ")):o("",!0)]))),128))],4)}const jt=$($t,[["render",Ot],["__scopeId","data-v-22a9d902"]]),qt={props:{item:{type:Object,required:!0},showDate:{type:Boolean,default:!1},imagePosition:{type:String,default:"none"},showSectionLinks:{type:Boolean,default:!0},showSummary:{type:Boolean,default:!1},textAlign:{type:String,default:"left"},sectionLinks:{type:Array},imageAspectRatio:{type:[Number,String],default:"1.8"},showAuthorTitle:{type:Boolean,default:!1}},setup(){const{viafoura:e,commentWidget:s}=be();return{page:Pe("page"),viafoura:e,commentWidget:s}},data(){return{showFavoriteToggle:!1}},computed:{useApStylePubDate(){return E},useStripEdgesAndNodes(){return j},itemUrl(){var e;return(e=this.item.siteContext)==null?void 0:e.path},isEvent(){return this.item.type==="Event"},authors(){var e,s;return(e=this.item)!=null&&e.authors?this.useStripEdgesAndNodes((s=this.item)==null?void 0:s.authors):[]},contributors(){var e,s;return(e=this.item)!=null&&e.contributors?this.useStripEdgesAndNodes((s=this.item)==null?void 0:s.contributors):[]},companyLink(){return this.item.company?`/${this.item.company.id}`:""},sponsors(){var e,s;return(e=this.item)!=null&&e.sponsors?this.useStripEdgesAndNodes((s=this.item)==null?void 0:s.sponsors):[]},title(){return this.item.name},imageAlt(){var e,s,n,h,y,l;return(s=(e=this==null?void 0:this.item)==null?void 0:e.primaryImage)!=null&&s.displayName?(h=(n=this==null?void 0:this.item)==null?void 0:n.primaryImage)==null?void 0:h.displayName:((l=(y=this==null?void 0:this.item)==null?void 0:y.primaryImage)==null?void 0:l.alt)??""},imageUrl(){var n;const{src:e,isLogo:s}=((n=this.item)==null?void 0:n.primaryImage)??{};return e?We(e,s?"fill":"crop",s):""}},mounted(){var e;this.showFavoriteToggle=((e=this.$ss.modules)==null?void 0:e.memberships)&&_e.isLoggedIn()},methods:{handleCommentCountClick(){var e;(e=this.commentWidget)==null||e.scrollIntoView({block:"center"})},getAuthorLink(e){return e.alias??"/"+e.id}}},Ht={key:0,class:"image-wrapper"},Ut={key:0},Vt={key:0},zt={class:"main-header"},Rt=["innerHTML"],Zt={class:"date-wrapper"},Qt=["vf-container-id"],Gt=["innerHTML"],Jt={key:1,class:"event-location"},Kt={key:0},Xt={key:1},Yt={key:2},ei={key:3},ti=["href"],ii={key:3,class:"byline-group"},ni={key:0},si={key:1},oi=["href"],ai={key:0},li={key:1},ri=["href"],ci={key:0},mi=["href"];function di(e,s,n,h,y,l){var T,N,M;const d=Te,u=Ce,v=Le,b=W,g=pe,f=jt;return t(),i("div",{class:P(["web-content-title",n.imagePosition!=="none"&&l.imageUrl?"image-"+n.imagePosition:""])},[n.imagePosition!=="none"&&l.imageUrl?(t(),i("div",Ht,[_(d,{"image-border-radius":!1,"image-drop-shadow":!1,image:l.imageUrl,"lazy-load":!1,"is-logo":n.item.primaryImage?n.item.primaryImage.isLogo:!1,"image-shaping":"crop",alt:l.imageAlt,credit:n.item.primaryImage?n.item.primaryImage.credit:"","credit-position":"top","content-type":n.item.contentType||n.item.type,"aspect-ratio":"full-teaser"},null,8,["image","is-logo","alt","credit","content-type"])])):o("",!0),a("div",{class:P(["text-box",n.textAlign])},[(t(!0),i(p,null,L(n.item.labels,m=>(t(),i("div",{key:m,class:"sponsored",style:w({color:e.$ss.contentStyle.sponsoredTextColor,fontFamily:e.$ss.primaryFontFamily})},[m==="Sponsored"||m==="Members Only"||m==="Supported"||m==="Sponsored Video Training"||m==="Opinion"?(t(),i("span",Ut,[I(r(m)+" ",1),m!=="Opinion"?(t(),i("span",Vt,"Content")):o("",!0)])):o("",!0)],4))),128)),n.showSectionLinks&&n.sectionLinks&&n.sectionLinks.length>0?(t(),A(u,{key:0,"section-links":n.sectionLinks,"pad-top":n.imagePosition!=="none"},null,8,["section-links","pad-top"])):o("",!0),a("div",zt,[a("h1",{class:"title-text",innerHTML:l.title},null,8,Rt),y.showFavoriteToggle&&n.item.contentId?(t(),A(v,{key:0,"content-id":n.item.contentId,"content-url":(N=(T=n.item)==null?void 0:T.siteContext)==null?void 0:N.path},null,8,["content-id","content-url"])):o("",!0)]),a("div",{class:"date-summary",style:w({flexDirection:e.$ss.contentStyle.dateLocation==="above_summary"?"column":"column-reverse"})},[a("div",Zt,[n.showDate&&l.useApStylePubDate(n.item)?(t(),i("div",{key:0,class:"date",style:w({color:e.$ss.contentStyle.dateTextColor,fontFamily:e.$ss.primaryFontFamily})},r(l.useApStylePubDate(n.item)),5)):o("",!0),we(a("div",{class:"comment-count",onClick:s[0]||(s[0]=(...m)=>l.handleCommentCountClick&&l.handleCommentCountClick(...m))},[_(g,null,{default:q(()=>[_(b,{icon:"mdi:comment-text-outline","icon-color":e.$ss.contentStyle.dateTextColor,width:20},null,8,["icon-color"]),a("div",{ref:"viafouraElement",class:"viafoura",style:w({color:e.$ss.contentStyle.dateTextColor,fontFamily:e.$ss.primaryFontFamily})},[a("vf-conversations-count",{ref:"vfComponent","vf-container-id":h.page.pageData.id},null,8,Qt)],4)]),_:1})],512),[[Se,h.viafoura.initialized&&h.commentWidget]])]),a("div",null,[n.showSummary&&((M=n.item)!=null&&M.explicitTeaser)?(t(),i("div",{key:0,class:"teaser-text",innerHTML:n.item.explicitTeaser},null,8,Gt)):o("",!0),l.isEvent?(t(),i("div",Jt,[n.item.address1?(t(),i("p",Kt,r(n.item.address1),1)):o("",!0),n.item.address2?(t(),i("p",Xt,r(n.item.address2),1)):o("",!0),n.item.cityStateZip?(t(),i("p",Yt,r(n.item.cityStateZip),1)):o("",!0),n.item.country?(t(),i("p",ei,r(n.item.country),1)):o("",!0)])):o("",!0),l.isEvent&&n.item.website?(t(),i("a",{key:2,class:"event-website",href:n.item.website},r(n.item.website),9,ti)):o("",!0),n.item.byline||n.item.source?(t(),i("div",ii,[n.item.byline?(t(),i("p",ni,[s[1]||(s[1]=a("strong",null,"By",-1)),I(" "+r(n.item.byline),1)])):o("",!0),n.item.source?(t(),i("p",si,[s[2]||(s[2]=a("strong",null,"Source",-1)),I(" "+r(n.item.source),1)])):o("",!0)])):o("",!0),l.authors.length?(t(),i("div",{key:4,class:"author",style:w({fontFamily:e.$ss.primaryFontFamily,display:n.showAuthorTitle?"block":"flex"})},[(t(!0),i(p,null,L(l.authors,(m,D)=>{var F,x,B;return t(),i("div",{key:m.id},[a("a",{href:l.getAuthorLink(m),style:w({color:(F=e.$ss)!=null&&F.useNewDesign?e.$ss.colors.primary.main:(B=(x=e.$ss)==null?void 0:x.baseStyles)==null?void 0:B.linkColor})},r(m.name.trim()),13,oi),n.showAuthorTitle&&m.title?(t(),i("span",ai,", "+r(m.title),1)):o("",!0),D<l.authors.length-1&&!n.showAuthorTitle?(t(),i("span",li,", ")):o("",!0)])}),128))],4)):o("",!0),l.contributors.length?(t(),i("div",{key:5,class:"author",style:w({fontFamily:e.$ss.primaryFontFamily})},[(t(!0),i(p,null,L(l.contributors,(m,D)=>(t(),i("span",{key:m.id},[a("a",{href:`/${m.id}`},r(m.name),9,ri),D<l.contributors.length-1?(t(),i("span",ci,", ")):o("",!0)]))),128))],4)):o("",!0)])],4),l.companyLink?(t(),i("div",{key:1,class:"company-link",style:w({fontFamily:e.$ss.primaryFontFamily})},[s[3]||(s[3]=a("strong",null,"Related To: ",-1)),a("a",{href:l.companyLink},r(n.item.company.name),9,mi)],4)):o("",!0),l.sponsors.length?(t(),A(f,{key:2,sponsors:l.sponsors},null,8,["sponsors"])):o("",!0)],2)],2)}const ui=$(qt,[["render",di]]),wi={__name:"ContentTitleBlock",props:{data:{type:Object,required:!0,validator(e){return["item"].every(s=>s in e)}},settings:{type:Object,required:!0,validator(e){return["showDate","imagePosition","showSummary","textAlign"].every(s=>s in e)}},page:{type:Object,required:!0,validator(e){return["name","pageData"].every(s=>s in e)}}},setup(e){const s=e;function n(){var l,d;const y=[...(((l=s.data.primarySection)==null?void 0:l.hierarchy)??[]).map(u=>({url:`/${u.alias}`,label:u.name}))];return(d=s.settings)!=null&&d.showCurrentPageName&&s.page.name&&y.push({label:s.page.name}),y}return(h,y)=>{var u,v,b,g;const l=Pt,d=ui;return(u=h.$ss)!=null&&u.useNewDesign?(t(),A(l,{key:0,item:e.data.item,"show-image":((v=e.settings)==null?void 0:v.imagePosition)!=="none","show-summary":e.settings.showSummary,"show-date":e.settings.showDate,"hide-social-links":(b=e.settings)==null?void 0:b.hideSocialLinks,"text-align":e.settings.textAlign,"section-links":n(),"section-link-display":((g=e.settings)==null?void 0:g.sectionLinkDisplay)??"primary-section"},null,8,["item","show-image","show-summary","show-date","hide-social-links","text-align","section-links","section-link-display"])):(t(),A(d,{key:1,item:e.data.item,"image-aspect-ratio":e.settings.imageAspectRatio??"1.8","show-date":e.settings.showDate,"image-position":e.settings.imagePosition,"show-summary":e.settings.showSummary,"text-align":e.settings.textAlign,"show-author-title":e.settings.showAuthorTitle,"section-links":n(),"show-section-links":e.page.pageData.type!=="Contact"},null,8,["item","image-aspect-ratio","show-date","image-position","show-summary","text-align","show-author-title","section-links","show-section-links"]))}}};export{wi as default};