import{_ as u,o as i,c as s,t as r,e as g,r as d,k as c,d as x,a as l,n as h,i as C,b as T,V as y}from"./app-CNwDlsKB.js";import"./_commonjsHelpers-Cpj98o6Y.js";const B={props:{pilleColor:String,pilleText:String}};function L(e,n,t,k,_,o){return i(),s("div",{class:g(["inhaltsbox_pille",{"pille--red":t.pilleColor==="red"}])},r(t.pilleText),3)}const S=u(B,[["render",L]]),q={components:{Pille:S},props:{headline:String,description:String,linkText:String,link:String,linkTarget:String,linkTitle:String,gtmId:String,image:String,pilleColor:String,pilleText:String,backgroundColor:String},computed:{classes(){var e="elementBoxBackgroundColor_var"+this.backgroundColor,n={"height--large":this.description!==""};return n[e]=!0,n}}},V=["href","target","title","id"],z={class:"bilddetailtext__content"},Q={class:"inhaltsbox_headline"},w={key:0,class:"inhaltsbox_description"},A={class:"inhaltsbox_linkblue"};function N(e,n,t,k,_,o){const a=d("pille");return i(),s("a",{class:g(["inhaltsbox-agenda_bilddetailtext",o.classes]),href:t.link,target:[t.linkTarget!==""?"_blank":"_self"],title:t.linkTitle,id:t.gtmId,style:h({backgroundImage:"url('"+t.image+"')"})},[t.pilleText!==""?(i(),c(a,{key:0,"pille-color":t.pilleColor,"pille-text":t.pilleText},null,8,["pille-color","pille-text"])):x("",!0),l("div",z,[l("div",Q,r(t.headline),1),t.description!==""?(i(),s("div",w,r(t.description),1)):x("",!0),l("div",A,r(t.linkText),1)])],14,V)}const O=u(q,[["render",N]]),D={props:{buttonText:String,linkTitle:String,backgroundColor:String,gtmId:String},methods:{getCssClass(e){return C(e)?"background--light":"background--dark"}}},M={key:0,class:"elementLink elementLink_varBx4"},P=["title","id"],E={key:1,class:"inhaltsbox_link"};function Z(e,n,t,k,_,o){return t.buttonText!==""?(i(),s("div",M,[l("a",{title:t.linkTitle,class:g(o.getCssClass(t.backgroundColor)),id:t.gtmId},[l("span",null,r(t.buttonText),1)],10,P)])):(i(),s("div",E))}const v=u(D,[["render",Z]]),j={components:{Pille:S,SymbolButton:v},props:{headline:String,description:String,buttonText:String,link:String,linkTarget:String,linkTitle:String,gtmId:String,image:String,pilleColor:String,pilleText:String,backgroundColor:String,backgroundColor2:String},methods:{getCssClass(e){return C(e)?"background--light":"background--dark"}}},F=["href","target","title","id"],G={class:"bildtext__image"},H={class:"inhaltsbox_headline"},J={class:"inhaltsbox_description"};function K(e,n,t,k,_,o){const a=d("pille"),b=d("symbol-button");return i(),s("a",{class:g(["inhaltsbox-agenda_bildtext"," elementBoxBackgroundColor_var"+t.backgroundColor]),href:t.link,target:[t.linkTarget!==""?"_blank":"_self"],title:t.linkTitle,id:t.gtmId},[t.pilleText!==""?(i(),c(a,{key:0,"pille-color":t.pilleColor,"pille-text":t.pilleText},null,8,["pille-color","pille-text"])):x("",!0),l("div",G,[l("div",{class:"bildtext__background",style:h({backgroundImage:"url('"+t.image+"')"})},null,4)]),l("div",{class:g(["bildtext__content"," elementBoxBackgroundColor_var"+t.backgroundColor2])},[l("div",{class:g(o.getCssClass(t.backgroundColor2))},[l("div",H,r(t.headline),1),l("div",J,r(t.description),1)],2),T(b,{"button-text":t.buttonText,"link-title":t.linkTitle,"background-color":t.backgroundColor,"gtm-id":t.gtmId},null,8,["button-text","link-title","background-color","gtm-id"])],2)],10,F)}const R=u(j,[["render",K]]),U={components:{Pille:S,VimeoLightbox:y},props:{text:String,link:String,linkTarget:String,icon:String,backgroundImage:String,pilleColor:String,pilleText:String,videoId:String,gtmId:String},data:()=>({showVideo:!1}),methods:{openLink(){if(this.videoId===""){let e=this.linkTarget!==""?"_blank":"_self";window.open(this.link,e)}else this.showVideo=!0},closeLightbox(){this.showVideo=!1}}},W=["id"],X={class:"promotion__icon"},Y={class:"inhaltsbox_headline"};function p(e,n,t,k,_,o){const a=d("pille"),b=d("vimeo-lightbox");return i(),s("div",null,[l("div",{class:"inhaltsbox-agenda_promotion",id:t.gtmId,onClick:n[0]||(n[0]=(...m)=>o.openLink&&o.openLink(...m))},[l("div",{class:"promotion__background",style:h({backgroundImage:"url('"+t.backgroundImage+"')"})},null,4),t.pilleText!==""?(i(),c(a,{key:0,"pille-color":t.pilleColor,"pille-text":t.pilleText},null,8,["pille-color","pille-text"])):x("",!0),l("div",X,[l("span",{class:g(t.icon)},null,2)]),l("div",Y,r(t.text),1)],8,W),e.showVideo?(i(),c(b,{key:0,"video-id":t.videoId,onCloseVimeoLightbox:n[1]||(n[1]=m=>e.showVideo=!1)},null,8,["video-id"])):x("",!0)])}const $=u(U,[["render",p]]),tt={components:{Pille:S,SymbolButton:v},props:{headline:String,description:String,buttonText:String,link:String,linkTarget:String,linkTitle:String,gtmId:String,pilleColor:String,pilleText:String}},et=["href","target","title","id"],nt={class:"inhaltsbox_headline"},lt={class:"inhaltsbox_description"};function it(e,n,t,k,_,o){const a=d("pille"),b=d("symbol-button");return i(),s("a",{class:"inhaltsbox-agenda_text",href:t.link,target:[t.linkTarget!==""?"_blank":"_self"],title:t.linkTitle,id:t.gtmId},[t.pilleText!==""?(i(),c(a,{key:0,"pille-color":t.pilleColor,"pille-text":t.pilleText},null,8,["pille-color","pille-text"])):x("",!0),l("div",null,[l("div",nt,r(t.headline),1),l("div",lt,r(t.description),1)]),T(b,{"button-text":t.buttonText,"link-title":t.linkTitle,"gtm-id":t.gtmId},null,8,["button-text","link-title","gtm-id"])],8,et)}const ot=u(tt,[["render",it]]),at={props:{backgroundColorQuoteShort:String,backgroundColorQuoteLong:String,backgroundImage:String,quoteShort:String,quoteLong:String,author:String},data:()=>({hoverActive:!1,opened:""}),methods:{toggleOpen(){this.opened===""?this.opened="opened":this.opened=""},getCssClass(e,n=!1){return n&&this.backgroundImage!==""?"":C(e)?"background--light":"background--dark"}}};function rt(e,n,t,k,_,o){return i(),s("div",{class:g(["inhaltsbox-agenda_zitat",[t.backgroundImage===""?" elementBoxBackgroundColor_var"+t.backgroundColorQuoteShort:"",e.opened]]),style:h([t.backgroundImage!==""?{backgroundImage:"url('"+t.backgroundImage+"')"}:{}]),onMouseenter:n[0]||(n[0]=a=>e.hoverActive=!0),onMouseleave:n[1]||(n[1]=a=>e.hoverActive=!1),onClick:n[2]||(n[2]=(...a)=>o.toggleOpen&&o.toggleOpen(...a))},[l("div",{class:g(["zitat__quoteshort",o.getCssClass(t.backgroundColorQuoteShort,!0)])},r(t.quoteShort),3),l("div",{class:g(["zitat__quotelong",o.getCssClass(t.backgroundColorQuoteLong)+" elementBoxBackgroundColor_var"+t.backgroundColorQuoteLong])},r(t.quoteLong),3),l("div",{class:g(["zitat__author",[e.hoverActive?o.getCssClass(t.backgroundColorQuoteLong):o.getCssClass(t.backgroundColorQuoteShort,!0)]])},r(t.author),3)],38)}const dt=u(at,[["render",rt]]),gt={components:{BoxBildDetailtext:O,BoxBildText:R,BoxPromotion:$,BoxText:ot,BoxZitat:dt},props:{contentboxType:String,backgroundColor1:String,backgroundColor2:String,backgroundImage:String,icon:String,link:String,linkTarget:String,linkTitle:String,gtmId:String,pilleColor:String,pilleText:String,text1:String,text2:String,text3:String,videoId:String}};function ct(e,n,t,k,_,o){const a=d("box-bild-detailtext"),b=d("box-bild-text"),m=d("box-promotion"),f=d("box-text"),I=d("box-zitat");return t.contentboxType==="bild-mehrtext"?(i(),c(a,{key:0,headline:t.text1,description:t.text2,"link-text":t.text3,link:t.link,"link-target":t.linkTarget,"link-title":t.linkTitle,"gtm-id":t.gtmId,image:t.backgroundImage,"pille-color":t.pilleColor,"pille-text":t.pilleText,"background-color":t.backgroundColor1},null,8,["headline","description","link-text","link","link-target","link-title","gtm-id","image","pille-color","pille-text","background-color"])):t.contentboxType==="bild-text"?(i(),c(b,{key:1,headline:t.text1,description:t.text2,"button-text":t.text3,link:t.link,"link-target":t.linkTarget,"link-title":t.linkTitle,"gtm-id":t.gtmId,image:t.backgroundImage,"pille-color":t.pilleColor,"pille-text":t.pilleText,"background-color":t.backgroundColor1,"background-color2":t.backgroundColor2},null,8,["headline","description","button-text","link","link-target","link-title","gtm-id","image","pille-color","pille-text","background-color","background-color2"])):t.contentboxType==="promotion"?(i(),c(m,{key:2,text:t.text1,link:t.link,"link-target":t.linkTarget,icon:t.icon,"background-image":t.backgroundImage,"pille-color":t.pilleColor,"pille-text":t.pilleText,"video-id":t.videoId,"gtm-id":t.gtmId},null,8,["text","link","link-target","icon","background-image","pille-color","pille-text","video-id","gtm-id"])):t.contentboxType==="text"?(i(),c(f,{key:3,headline:t.text1,description:t.text2,"button-text":t.text3,link:t.link,"link-target":t.linkTarget,"link-title":t.linkTitle,"gtm-id":t.gtmId,"pille-color":t.pilleColor,"pille-text":t.pilleText},null,8,["headline","description","button-text","link","link-target","link-title","gtm-id","pille-color","pille-text"])):t.contentboxType==="zitat"?(i(),c(I,{key:4,"background-color-quote-short":t.backgroundColor1,"background-color-quote-long":t.backgroundColor2,"background-image":t.backgroundImage,"quote-short":t.text1,"quote-long":t.text2,author:t.text3},null,8,["background-color-quote-short","background-color-quote-long","background-image","quote-short","quote-long","author"])):x("",!0)}const kt=u(gt,[["render",ct]]);export{kt as default};