1import{j as I,N as R,P as k,O as N,al as E,c1 as ct,c$ as Ct,aE as V,c3 as St,_ as F,r as s,o as c,c as v,a as u,w as l,g as B,t as D,F as K,e as Y,l as _,U as $t,h as f,G as L,V as kt,ak as J,a7 as Q,$ as j,bd as ht,bb as bt,p as W,a5 as dt,Y as Ot,S as pt,E as mt,J as ft,am as Tt,cV as wt,c2 as Bt,a6 as Nt,a2 as Ft,k as Lt,K as jt,d0 as It,u as Rt,L as G,d1 as Ht,bu as Mt}from"./index-D-iuxWOd.js";import{m as Ut,B as Gt}from"./BlockDivider-DABsdPv0.js";import{T as q}from"./TeaserMapper-D0iPVvbm.js";import{P as Et}from"./PaginationWrapper-DjmXJtp0.js";import{N as zt}from"./NativeAd-BpYkkt_r.js";import"./SeedingAllianceSDKLoader-Yf9-dXXq.js";import"./index-BXk4ke_e.js";var Wt=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,_t=(t,e,r,n)=>{for(var o=n>1?void 0:n?qt(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&Wt(e,r,o),o};let O=class extends I(R){get topics(){return this.authorTopics?this.authorTopics.map(e=>{const[r]=e.link??[];if(r&&"content"in r&&r.content&&"tagOrSectionUrl"in r.content&&r.content.tagOrSectionUrl&&"title"in r.content&&r.content.title)return r.content}).filter(e=>e!=null):[]}handleTagButtonClick(e){e&&this.navigate(e)}};_t([k({required:!0})],O.prototype,"authorTopics",2);O=_t([N({name:"AuthorTopics",components:{DnmHeadline:E,DnmHorizontalList:ct,DnmHorizontalSlider:Ct,DnmIcon:V,DnmTagButton:St}})],O);const Vt={key:0,class:"authorTopics"};function Kt(t,e,r,n,o,i){const a=s("DnmHeadline"),h=s("DnmIcon"),d=s("DnmTagButton"),m=s("DnmHorizontalList"),y=s("DnmHorizontalSlider");return t.topics.length>0?(c(),v("section",Vt,[u(a,{class:"authorTopics__headline","data-testid":"author-topics-headline","headline-style":"headline3",tag:"h3"},{default:l(()=>[B(D(t.$t("authorTopics.title")),1)]),_:1}),u(y,null,{default:l(()=>[u(m,{wrap:""},{default:l(()=>[(c(!0),v(K,null,Y(t.topics,(g,S)=>(c(),_(d,{onOnClick:x=>t.handleTagButtonClick(g==null?void 0:g.tagOrSectionUrl),"data-testid":`author-topics-dnm-tag-button-${S}`,key:S,title:g==null?void 0:g.title,url:g==null?void 0:g.tagOrSectionUrl,brightness:"light",class:"authorTopics__tagButton"},{icon:l(()=>[$t(t.$slots,"icon",{},()=>[u(h,{"icon-name":"chevronRight","icon-style":"regular"})],!0)]),default:l(()=>[B(D(g==null?void 0:g.title)+" ",1)]),_:2},1032,["onOnClick","data-testid","title","url"]))),128))]),_:3})]),_:3})])):f("",!0)}const Yt=F(O,[["render",Kt],["__scopeId","data-v-50173f61"]]);var rt;try{"__c"in O&&((rt=O.__c).componentFileName??(rt.componentFileName=Object.create(null)),Object.defineProperty(O.__c,"componentFileName",{value:"app/pages/contentPage/authorProfilePage/authorTopics/AuthorTopics.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}var Jt=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,X=(t,e,r,n)=>{for(var o=n>1?void 0:n?Qt(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&Jt(e,r,o),o};const Xt=L("edition");let $=class extends kt{get instagramUrl(){var t,e;return(t=this.authorProfile)!=null&&t.instagram?this.authorProfile.instagram:((e=this.edition.social_media.instagram)==null?void 0:e.url)||""}get facebookUrl(){var t,e;return(t=this.authorProfile)!=null&&t.facebook?this.authorProfile.facebook:((e=this.edition.social_media.facebook)==null?void 0:e.url)||""}get linkedinUrl(){var t,e;return this.edition.hideLinkedinLink?"":(t=this.authorProfile)!=null&&t.linkedin?this.authorProfile.linkedin:((e=this.edition.social_media.linkedin)==null?void 0:e.url)||""}get showComponent(){return!!this.instagramUrl||!!this.linkedinUrl||!!this.facebookUrl}};X([k({required:!0})],$.prototype,"authorProfile",2);X([Xt.Getter("getEdition")],$.prototype,"edition",2);$=X([N({name:"AuhtorContact",components:{DnmDivider:J,DnmHeadline:E,DnmHorizontalList:ct,DnmIcon:V,DnmLink:Q}})],$);const Zt={key:0,class:"authorContact"},xt={class:"authorContact__text"},te={class:"authorContact__text"},ee={class:"authorContact__text"},oe={class:"authorContact__text"};function re(t,e,r,n,o,i){const a=s("DnmHeadline"),h=s("DnmDivider"),d=s("DnmIcon"),m=s("DnmLink"),y=s("DnmHorizontalList");return t.showComponent?(c(),v("div",Zt,[u(a,{class:"authorContact__headline","data-testid":"author-contact-headline","headline-style":"headline3",tag:"h3"},{default:l(()=>[B(D(t.$t("authorContact.title")),1)]),_:1}),u(h,{"divider-type":"dashed-thin",class:"authorContact__divider"}),u(y,{class:"authorContact__container",wrap:""},{default:l(()=>[t.authorProfile.email?(c(),_(m,{key:0,href:`mailto:${t.authorProfile.email}`,class:"authorContact__wrapper authorContact__link","data-testid":"author-contact-email"},{default:l(()=>[u(d,{"icon-name":"newsletter","icon-style":"light"}),j("span",xt,D(t.$t("authorContact.email")),1)]),_:1},8,["href"])):f("",!0),t.facebookUrl?(c(),_(m,{key:1,href:t.facebookUrl,class:"authorContact__wrapper authorContact__link","data-testid":"author-contact-facebook",target:"_blank"},{default:l(()=>[u(d,{"icon-name":"facebook","icon-style":"brand"}
1),j("span",te,D(t.$t("authorContact.facebook")),1)]),_:1},8,["href"])):f("",!0),t.instagramUrl?(c(),_(m,{key:2,href:t.instagramUrl,class:"authorContact__wrapper authorContact__link","data-testid":"author-contact-instagram",target:"_blank"},{default:l(()=>[u(d,{"icon-name":"instagram","icon-style":"brand"}),j("span",ee,D(t.$t("authorContact.instagram")),1)]),_:1},8,["href"])):f("",!0),t.linkedinUrl?(c(),_(m,{key:3,href:t.linkedinUrl,class:"authorContact__wrapper authorContact__link","data-testid":"author-contact-linkedin",target:"_blank"},{default:l(()=>[u(d,{"icon-name":"linkedin","icon-style":"brand"}),j("span",oe,D(t.$t("authorContact.linkedIn")),1)]),_:1},8,["href"])):f("",!0)]),_:1}),u(h,{"divider-type":"dashed-thin"})])):f("",!0)}const ne=F($,[["render",re],["__scopeId","data-v-07d646f7"]]);var nt;try{"__c"in $&&((nt=$.__c).componentFileName??(nt.componentFileName=Object.create(null)),Object.defineProperty($.__c,"componentFileName",{value:"app/pages/contentPage/authorProfilePage/authorContact/AuthorContact.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}var ae=Object.defineProperty,ie=Object.getOwnPropertyDescriptor,gt=(t,e,r,n)=>{for(var o=n>1?void 0:n?ie(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&ae(e,r,o),o};let T=class extends I(R){handleTeaserClick({article:e}){this.navigate(e.url)}};gt([k({required:!0})],T.prototype,"authorRecommendations",2);T=gt([N({name:"AuthorRecommendations",components:{DnmHeadline:E,DnmTeaserGrid:ht}})],T);const se={class:"authorRecommendations"};function le(t,e,r,n,o,i){const a=s("DnmHeadline"),h=s("DnmTeaserGrid");return c(),v("section",se,[u(a,{class:"authorRecommendations__headline","data-testid":"authorRecommendations-headline","headline-style":"blockLine",tag:"h2"},{default:l(()=>[B(D(t.$t("authorRecommendations.title")),1)]),_:1}),u(h,{onOnTeaserClick:t.handleTeaserClick,articles:t.authorRecommendations,"mobile-sizes":["large"],class:"authorRecommendations__teaserGrid","data-testid":"authorRecommendations-teaserGrid"},null,8,["onOnTeaserClick","articles"])])}const ue=F(T,[["render",le],["__scopeId","data-v-fa3de0e7"]]);var at;try{"__c"in T&&((at=T.__c).componentFileName??(at.componentFileName=Object.create(null)),Object.defineProperty(T.__c,"componentFileName",{value:"app/pages/contentPage/authorProfilePage/authorRecommendations/AuthorRecommendations.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}var ce=Object.defineProperty,he=Object.getOwnPropertyDescriptor,P=(t,e,r,n)=>{for(var o=n>1?void 0:n?he(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&ce(e,r,o),o};const de=L("edition"),b=L("authorStoriesBlock"),ot=4,z=6;let p=class extends I(R){constructor(){super(...arguments),this.emits=["onLatestArticlesEmpty"],this.hideLoadMoreButton=!1,this.nativeAdTeaser=bt,this.fetchingData=!1}async mounted(){var e;(e=this.latestAuthorStories)!=null&&e.length||this.initiallyLoadStories()}get teaserMapper(){return new q(this.edition)}async initiallyLoadStories(){this.fetchingData=!0;const r=(await this.getAuthorStories(this.cursor,ot)).splice(0,ot);r.length>0&&await this.appendStoryBlocks([r]),this.fetchingData=!1}async unmounted(){await this.clearState()}async handleLoadNextStories(){if(this.fetchingData)return;this.fetchingData=!0;const e=await this.getAuthorStories(this.cursor,z);await this.appendStoryBlock(e),this.fetchingData=!1}splitStoriesIntoBlocks(e,r){const n=[];for(;e.length>0;)n.push(e.splice(0,r));return n}handleStoryClick({article:e}){this.navigate(e.url)}async getAuthorStories(e,r){try{const n=await this.getPartialContent({name:"storiesByAuthor",parameters:{count:r,cursorMark:e,authorNames:this.authorName?[this.authorName]:void 0,authorIds:this.authorId?[this.authorId]:void 0}});if(n!=null&&n.storiesByAuthor&&n.storiesByAuthor.count>0){const o=new q(this.edition),{count:i,total:a,cursorMark:h,items:d}=n.storiesByAuthor;h&&await this.setCursor(h);const m=Math.ceil(a/z),y=this.latestAuthorStories.length+Math.ceil(i/z);return await this.setAllStoriesFetched(m<=y),o.map(d)}return W.error("Invalid or empty response from storiesByAuthor",{cookResponse:n}),this.$emit("onEmptyAuthorStories"),[]}catch(n){return W.error("Failed to fetch storiesByAuthor",{error:n}),this.$emit("onEmptyAuthorStories"),[]}}serverPrefetch(){return this.initiallyLoadStories()}};P([dt("getPartialContent")],p.prototype,"getPartialContent",2);P([b.Action("appendStoryBlock")],p.prototype,"appendStoryBlock",2);P([b.Action("setAllStoriesFetched")],p.prototype,"setAllStoriesFetched",2);P([b.Action("appendStoryBlocks")],p.prototype,"appendStoryBlocks",2);P([Ot("getOrigin")],p.prototype,"origin",2);P([b.Action("clearState")],p.prototype,"clearState",2);P([b.Action("setCursor")],p.prototype,"setCursor",2);P([b.Getter("getCursor")],p.prototype,"cursor",2);P([b.Getter("getAllStoriesFetched")],p.prototype,"allStoriesFetched",2);P([de.Getter("getEdition")],p.prototype,"edition",2);P([b.Getter("getStoryBlocks")],p.prototype,"latestAuthorStories",2);P([k({required:!1})],p.prototype,"authorName",2);P([k({required:!1})],p.prototype,"authorId",2);p=P([N({name:"AuthorLatestStories",components:{DnmButton:pt,DnmContentWrapper:mt,DnmDivider:J,DnmLink:Q,DnmParagraph:ft,DnmTeaserGrid:ht,DnmHeadline:E,PaginationWrapper:Et,NativeAd:zt}})],p);const pe={key:0,class:"authorStories","data-testid":"latest-author-articles"};function me(t,e,r,n,o,i){const a=s("DnmHeadline"),h=s("DnmDivider"),d=s("NativeAd"),m=s("DnmTeaserGrid"),y=s("PaginationWrapper");return t.latestAuthorStories.length>0?(c(),v("section",pe,[u(a,{class:"authorStories__headline","data-testid":"authorStories-headline","headline-style":"blockLine",tag:"h2"},{default:l(()=>[B(D(t.$t("authorStories.headline")),1)]),_:1}),u(y,{"button-label":t.$t("paginationWrapper.loadMoreArticles"),"hide-button":t.allStoriesFetched,loading:t.fetchingData,onOnButtonClick:t.handleLoadNextStories,"animate-new-elements":"",class:"authorStories__
1content","content-wrapper-size":"large","data-testid":"latest-stories-pagination-wrapper"},{default:l(()=>[(c(!0),v(K,null,Y(t.latestAuthorStories,(g,S)=>(c(),v("div",{key:S},[S>0?(c(),_(h,{key:0,class:"authorStories__divider"})):f("",!0),u(m,{onOnTeaserClick:t.handleStoryClick,articles:g,"mobile-sizes":["medium","medium","medium"],class:"authorStories__child","data-testid":"author-article","hide-author":""},Tt({_:2},[S===0?{name:"articleSlot1",fn:l(()=>[u(d,{"data-testid":"nativeAdTeaserTeaserMobile","teaser-style-mobile":t.nativeAdTeaser.TeaserMMobile,"teaser-style-desktop":t.nativeAdTeaser.TeaserMDesktop},null,8,["teaser-style-mobile","teaser-style-desktop"])]),key:"0"}:void 0,S===0?{name:"articleSlot5",fn:l(()=>[u(d,{"teaser-style-mobile":t.nativeAdTeaser.TeaserMMobile,"teaser-style-desktop":t.nativeAdTeaser.TeaserMDesktop},null,8,["teaser-style-mobile","teaser-style-desktop"])]),key:"1"}:void 0]),1032,["onOnTeaserClick","articles"])]))),128))]),_:1},8,["button-label","hide-button","loading","onOnButtonClick"])])):f("",!0)}const fe=F(p,[["render",me],["__scopeId","data-v-4660228f"]]);var it;try{"__c"in p&&((it=p.__c).componentFileName??(it.componentFileName=Object.create(null)),Object.defineProperty(p.__c,"componentFileName",{value:"app/pages/contentPage/authorProfilePage/authorLatestStories/AuthorLatestStories.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}class _e extends wt{mapSingle(e){var r,n;if(!(!e.id||!e.href||!("fields"in e)||!((r=e.fields)!=null&&r.firstname)||!((n=e.fields)!=null&&n.surname)))return{firstname:e.fields.firstname,lastname:e.fields.surname,id:e.id.toString(),href:e.href,pictureUrl:this.mapPictureUrl(e)}}mapPictureUrl(e){var r,n,o,i,a,h;if(((o=(n=(r=e.authorPicture)==null?void 0:r[0])==null?void 0:n.content)==null?void 0:o.__typename)==="AuthorPicture")return(h=(a=(i=e.authorPicture[0])==null?void 0:i.content.fields)==null?void 0:a.square)==null?void 0:h.href_full}}var ge=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,Pt=(t,e,r,n)=>{for(var o=n>1?void 0:n?Pe(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&ge(e,r,o),o};let w=class extends I(R){get fullName(){return`${this.author.firstname} ${this.author.lastname}`}handleButtonClick(){this.navigate(this.author.href)}};Pt([k({required:!0})],w.prototype,"author",2);w=Pt([N({components:{DnmSectionCard:Bt}})],w);function ye(t,e,r,n,o,i){const a=s("DnmSectionCard");return c(),_(a,{"button-text":t.$t("authorSlider.buttonText"),"button-url":t.author.href,headline:t.fullName,image:t.author.pictureUrl,onOnButtonClick:e[0]||(e[0]=h=>t.handleButtonClick()),"full-width":"",stretch:""},null,8,["button-text","button-url","headline","image"])}const De=F(w,[["render",ye]]);var st;try{"__c"in w&&((st=w.__c).componentFileName??(st.componentFileName=Object.create(null)),Object.defineProperty(w.__c,"componentFileName",{value:"app/components/authorCard/AuthorCard.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}var Ae=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,H=(t,e,r,n)=>{for(var o=n>1?void 0:n?ve(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&Ae(e,r,o),o};const Z=L("authorsModule");let A=class extends I(R){constructor(){super(...arguments),this.emits=["onEmptyOtherAuthors"],this.excludeIds=[]}get filteredAuthors(){var e;return((e=this.authors)==null?void 0:e.filter(r=>!this.excludeIds.includes(parseInt(r.id,10))))||[]}async mounted(){this.authors||await this.getAuthors()}async serverPrefetch(){await this.getAuthors()}async getAuthors(){try{const e=await this.getPartialContent({name:"authors"});if(!(e!=null&&e.authors)){await this.clearAuthorsStore(),this.$emit("onEmptyOtherAuthors");return}const r=new _e,n=e.authors.map(o=>{if((o==null?void 0:o.__typename)==="Person")return r.map(o)}).filter(o=>!!o);await this.setAuthors(n)}catch(e){W.error(e),this.$emit("onEmptyOtherAuthors"),await this.clearAuthorsStore()}}};H([k({type:Array})],A.prototype,"excludeIds",2);H([dt("getPartialContent")],A.prototype,"getPartialContent",2);H([Z.Action("clearContent")],A.prototype,"clearAuthorsStore",2);H([Z.Action("setContent")],A.prototype,"setAuthors",2);H([Z.Getter("getContent")],A.prototype,"authors",2);A=H([N({components:{AuthorCard:De,DnmBlockWrapper:Nt,DnmCardSlider:Ft}})],A);function Ce(t,e,r,n,o,i){var m;const a=s("AuthorCard"),h=s("DnmCardSlider"),d=s("DnmBlockWrapper");return((m=t.filteredAuthors)==null?void 0:m.length)>0?(c(),_(d,{key:0,"wrapper-size":"large",class:"authorsSlider"},{title:l(()=>[B(D(t.$t("authorSlider.title")),1)]),default:l(()=>[u(h,{"content-wrapper-size":"large"},{default:l(()=>[(c(!0),v(K,null,Y(t.filteredAuthors,y=>(c(),_(a,{author:y,key:y.id,"data-testid":"author-slider-author-card"},null,8,["author"]))),128))]),_:1})]),_:1})):f("",!0)}const Se=F(A,[["render",Ce]]);var lt;try{"__c"in A&&((lt=A.__c).componentFileName??(lt.componentFileName=Object.create(null)),Object.defineProperty(A.__c,"componentFileName",{value:"app/components/
1authorSlider/AuthorSlider.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}var $e=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,M=(t,e,r,n)=>{for(var o=n>1?void 0:n?ke(e,r):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(o=(n?a(e,r,o):a(o))||o);return n&&o&&$e(e,r,o),o};const yt=L("edition");L("authorStoriesBlock");const be=L("authorsModule");let C=class extends I(R){constructor(){super(...arguments),this.hideAuthorStories=!1,this.hideOtherAuthors=!1,this.context=Lt(()=>{var m;const e=jt(),{t:r}=It();if((m=e.getters["edition/getEdition"])!=null&&m.hideAuthorPageMetaData)return{};const n=r("authorProfilePage.metaData.title",{authorFullName:this.authorFullName}),o=e.getters.getOrigin;let i=r("authorProfilePage.metaData.description",{authorFullName:this.authorFullName});e.getters["edition/isReichweitenportal"]?i+=r("authorProfilePage.metaData.rwp"):i+=r("authorProfilePage.metaData.digital");const a={data:this.content,description:i,origin:o,title:n},h=e.getters["authorStoriesBlock/getStoryBlocks"];h&&h[0]&&h[0].length>0&&([a.stories]=h);const d=Ut(a,e);return Rt(d),{}})}get editorialGuidelinesUrl(){return this.edition.links.editorialGuideline}get authorProfilePicture(){var o,i,a;const e=this.authorProfileContext;if(!(e&&"authorPicture"in e&&((o=e.authorPicture)!=null&&o.length)))return"";const r=e.authorPicture[0];if(!(r&&"content"in r))return"";const n=r.content;return n&&"fields"in n&&((a=(i=n.fields)==null?void 0:i.square)==null?void 0:a.href_full)||""}get authorProfileContext(){if(G(this.content.context,"authorRecommendations"))return this.content.context}get authorProfileFields(){if(G(this.authorProfileContext,"fields"))return this.authorProfileContext.fields}get authorFullName(){var e,r;return`${(e=this.authorProfileFields)==null?void 0:e.firstname} ${(r=this.authorProfileFields)==null?void 0:r.surname}`}get authorDescription(){return G(this.authorProfileContext,"authorProfileDescription")&&typeof this.authorProfileContext.authorProfileDescription=="string"&&this.authorProfileContext.authorProfileDescription?this.authorProfileContext.authorProfileDescription:""}get authorTopics(){return this.authorProfileContext&&"topAuthorTopics"in this.authorProfileContext&&this.authorProfileContext.topAuthorTopics?this.authorProfileContext.topAuthorTopics:[]}get authorRecommendations(){if(this.authorProfileContext&&"authorRecommendations"in this.authorProfileContext&&this.authorProfileContext.authorRecommendations&&this.authorProfileContext.authorRecommendations.length>0){const e=new q(this.edition);return this.authorProfileContext.authorRecommendations.map(r=>{var n,o,i,a;if(r&&G(r.content,"section")&&((a=(i=(o=(n=r.content.section)==null?void 0:n.sectionConfiguration)==null?void 0:o.fields)==null?void 0:i.activeEditions)!=null&&a.includes(this.edition.shortcut)))return e.map(r)}).filter(Boolean)}return[]}get showAuthorDescription(){return!!this.authorDescription}};M([k({required:!0})],C.prototype,"content",2);M([yt.Getter("getEdition")],C.prototype,"edition",2);M([yt.Getter("isReichweitenportal")],C.prototype,"isReichweitenportal",2);M([be.Getter("getContent")],C.prototype,"authors",2);C=M([N({name:"AuhtorProfilePage",components:{DnmAuthorHeader:Ht,AuthorSlider:Se,DnmButton:pt,DnmContentWrapper:mt,DnmDivider:J,DnmIcon:V,DnmIconLink:Mt,DnmLink:Q,DnmParagraph:ft,BlockDivider:Gt,AuthorContact:ne,AuthorRecommendations:ue,AuthorTopics:Yt,AuthorLatestStories:fe}})],C);const Oe={"data-testid":"author-profile-page-container"},Te=["innerHTML"];function we(t,e,r,n,o,i){var tt;const a=s("DnmAuthorHeader"),h=s("DnmDivider"),d=s("DnmContentWrapper"),m=s("DnmIcon"),y=s("DnmButton"),g=s("AuthorTopics"),S=s("AuthorContact"),x=s("AuthorRecommendations"),Dt=s("AuthorLatestStories"),At=s("AuthorSlider"),vt=s("BlockDivider");return c(),v("article",Oe,[j("header",null,[u(a,{image:t.authorProfilePicture,name:t.authorFullName,title:(tt=t.authorProfileFields)==null?void 0:tt.role,class:"authorProfilePage__authorHeader"},null,8,["image","name","title"])]),j("main",null,[u(vt,null,{separator:l(()=>[u(d,{size:"extraLarge"},{default:l(()=>[u(h,{"divider-type":"solid-thin",class:"authorProfilePage__divider"})]),_:1})]),default:l(()=>{var et;return[t.showAuthorDescription?(c(),_(d,{key:0,size:"large"},{default:l(()=>[t.authorDescription?(c(),v("div",{key:0,innerHTML:t.authorDescription,class:"authorProfilePage__description","data-testid":"author-profile-page-description"},null,8,Te)):f("",!0),t.editorialGuidelinesUrl?(c(),_(y,{key:1,onClick:e[0]||(e[0]=U=>t.navigate(t.editorialGuidelinesUrl,!0)),"button-style":"tertiary","data-testid":"author-profile-page-guidelines-button","icon-position-left":""},{icon:l(()=>[u(m,{"icon-name":"edit","icon-style":"regular"})]),default:l(()=>[B(D(t.$t("authorProfilePage.guidelines"))+" ",1)]),_:1})):f("",!0)]),_:1})):f("",!0),t.authorTopics||t.authorProfileFields?(c(),_(d,{key:1,size:"large"},{default:l(()=>[t.authorTopics?(c(),_(g,{key:0,"author-topics":t.authorTopics},null,8,["author-topics"])):f("",!0),t.authorProfileFields?(c(),_(S,{key:1,"author-profile":t.authorProfileFields},null,8,["author-profile"])):f("",!0)]),_:1})):f("",!0),t.authorRecommendations.length>0?(c(),_(d,{key:2,size:"large","data-testid":"author-profile-page-recommendations"},{default:l(()=>[u(x,{"author-recommendations":t.authorRecommendations},null,8,["author-recommendations"])]),_:1})):f("",!0),!t.hideAuthorStories&&((et=t.authorProfileContext)!=null&&et.id)?(c(),_(d,{key:3,size:"large"},{default:l(()=>[u(Dt,{onOnEmptyAuthorStories:e[1]||(e[1]=U=>
1t.hideAuthorStories=!0),"author-id":t.authorProfileContext.id},null,8,["author-id"])]),_:1})):f("",!0),t.hideOtherAuthors?f("",!0):(c(),_(d,{key:4,size:"page"},{default:l(()=>{var U;return[u(At,{onOnEmptyOtherAuthors:e[2]||(e[2]=Be=>t.hideOtherAuthors=!0),"exclude-ids":[(U=t.authorProfileContext)==null?void 0:U.id]},null,8,["exclude-ids"])]}),_:1}))]}),_:1})])])}const qe=F(C,[["render",we],["__scopeId","data-v-2a7d5049"]]);var ut;try{"__c"in C&&((ut=C.__c).componentFileName??(ut.componentFileName=Object.create(null)),Object.defineProperty(C.__c,"componentFileName",{value:"app/pages/contentPage/authorProfilePage/AuthorProfilePage.vue"}))}catch(t){console.error("injectFileNamePlugin",t)}export{qe as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.