1import{_ as S}from"./PageTitle.p0X-QoWh.js";import{_ as g}from"./Headline.TR1H3ZDU.js";import{_ as $,k as u,y as C,o as _,c as d,a as o,h as v,u as t,B as M,b as k,s as T,t as B,T as N,I as q,J as D,g as E,w as F,d as I,q as A,j as P,e as L,m as V,r as H}from"./entry.GpSvTij_.js";import{_ as O}from"./ButtonComp.MORfmYpE.js";import{_ as y}from"./FormInput.3aneSBc3.js";import{_ as j}from"./EntriesGrid.kq8DDSOe.js";import{u as G}from"./vue.f36acd1f.oa52oSxz.js";import{f as J}from"./entryFragment.DIYcuwcD.js";import"./ImageComponent.FJvhk2qd.js";import"./LinkComp.-8XXbenB.js";import"./nuxt-link.oQhfdkmo.js";import"./RichText.d_s5lL83.js";import"./Grid._VdZQDln.js";const U=i=>(q("data-v-c52a52c9"),i=i(),D(),i),z={class:"newsletter-subscribe-form"},K=U(()=>k("h2",{class:"newsletter-subscribe-form__title"}," Möchten Sie in den Medienverteiler aufgenommen werden? ",-1)),Q={ref:"formSubmitButton",type:"submit",value:"Bestellen"},R={key:1},W={__name:"NewsletterSubscribeForm",setup(i){const n=u(""),r=u(""),a=u(void 0),c=u(void 0),b=C(()=>a?"Vielen Dank, wir haben Ihre Anmeldung erhalten.":`Leider ist ein Fehler (Code ${c}
1) passiert, bitte versuchen Sie es später noch einmal.`),p=()=>{const l={name:n,email:r};$fetch("/api/subscribeNewsletter",{method:"POST",body:l}).then(e=>{console.log("result",e),a.value=e.status===201,c.value=e.data.Code}).catch(e=>{a.value=!1,c.value=e.response.status})};return(l,e)=>(_(),d("div",z,[K,o(N,{name:"forms",mode:"out-in"},{default:v(()=>[t(a)===void 0?(_(),d("form",{key:0,class:"newsletter-subscribe-form__form",onSubmit:M(p,["prevent"])},[o(t(y),{type:"text",placeholder:"Name",value:t(n),onInput:e[0]||(e[0]=s=>n.value=s)},null,8,["value"]),o(t(y),{type:"email",placeholder:"Email Adresse",value:t(r),required:!0,onInput:e[1]||(e[1]=s=>r.value=s)},null,8,["value"]),k("input",Q,null,512),o(t(O),{onClicked:e[2]||(e[2]=s=>l.$refs.formSubmitButton.click())},{default:v(()=>[T(" Bestellen ")]),_:1})],32)):(_(),d("p",R,B(t(b)),1))]),_:1})]))}},X=$(W,[["__scopeId","data-v-c52a52c9"]]),Y=E` 2 query media { 3 entry(site: "dsCms", section: "mediaDsCms") { 4 ... on mediaDsCms_mediaDsCms_Entry { 5 ...entryFragment 6 contactPerson 7 media { 8 ... on media_mediaBlock_BlockType { 9 id 10 blockTitle 11 blockText 12 blockLinkName 13 blockLink 14 linkExternal 15 } 16 } 17 } 18 } 19 } 20 ${J} 21`,Z=["innerHTML"],de={__name:"index",async setup(i){let n,r;const{$getMetaObj:a,$setBreadcrumbsFromEntry:c,$intersectionObserver:b}=P(),p=u(null),{data:l}=([n,r]=F(()=>L(()=>H(Y),"$Muh4SqMv50")),n=await n,r(),n),{entry:e}=l.value||{};if(!e)throw I({statusCode:404,statusMessage:"Seite nicht gefunden."});return c(e),G(()=>{var f;const{metaTitle:s="Medien",metaDescription:h="MediaOverview Description Fallback",metaImage:m}=e;return{...a({title:s,description:h,fullPath:"",imageUrl:(f=m==null?void 0:m[0])==null?void 0:f.url})}}),A(()=>{b.observe({elements:p.value.querySelectorAll("section > a, .newsletter-subscribe-form"),effect:"blur"})}),(s,h)=>{const m=S,f=g,w=X,x=j;return _(),d("article",{ref_key:"main",ref:p,class:"media-overview"},[o(m,{content:t(e).title},null,8,["content"]),o(f,{content:t(e).introText},null,8,["content"]),o(x,{entries:s.$get(t(e),["media"])},{default:v(()=>[o(w),t(e).contactPerson?(_(),d("div",{key:0,class:"contact",innerHTML:t(e).contactPerson},null,8,Z)):V("",!0)]),_:1},8,["entries"])],512)}}};export{de 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.