1import{B as e,C as t,D as n,E as r,J as i,L as a,N as o,P as s,R as c,S as l,T as u,U as d,Y as f,_ as ee,b as p,c as m,f as h,g,k as _,q as v,r as te,t as y,v as b,w as x}from"#entry";import{n as ne}from"./BuDX6iJ6.js";import{r as re}from"./B08D0r63.js";var S={id:`header-program`,class:`content-section-wrapper border-t-0! border-b`},C={class:`flex-1 twoca-content pt-6 pb-4 sm:pt-10 sm:pb-8`},w={key:0,class:`text-xl sm:text-2xl pb-2 sm:pb-3`},T=[`innerHTML`],E={class:`text-2xl sm:text-3xl leading-tight sm:leading-tight sm:text-4xl font-bold pb-2 sm:pb-3`},D=[`innerHTML`],O={key:1,class:`text-xl sm:text-2xl font-medium pb-2 sm:pb-5`},k=[`innerHTML`],A=Object.assign(_({__name:`ProgramHeader`,props:{content:Object},setup(e){y();function t(e,t){return t&&=t.replace(`#`,`%23`),e?`background-image: url('data:image/svg+xml,%3C%3Fxml version="1.0" encoding="UTF-8"%3F%3E%3Csvg width="20px" height="20px" viewBox="0 0 23 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"%3E%3Ctitle%3Ebghighlight%3C/title%3E%3Cg id="bghighlight" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square"%3E%3Cline x1="-237.5" y1="260.5" x2="338.5" y2="-315.5" id="Line-Copy" stroke="`+t+`" stroke-opacity="0.2" stroke-width="4"%3E%3C/line%3E%3Cline x1="-248.5" y1="248.5" x2="327.5" y2="-327.5" id="Line-Copy-13" stroke="`+t+`" stroke-opacity="0.2" stroke-width="4"%3E%3C/line%3E%3Cline x1="-225.5" y1="271.5" x2="350.5" y2="-304.5" id="Line-Copy-12" stroke="`+t+`" stroke-opacity="0.2" stroke-width="4"%3E%3C/line%3E%3C/g%3E%3C/svg%3E')`:`background-image: none;`}return(n,r)=>(o(),u(`section`,S,[l(`div`,{class:`content-section flex flex-col`,style:f(t(e.content.page.header.highlight_true_false,e.content.page.header.highlight_color))},[l(`div`,C,[e.content.page.header.format?(o(),u(`div`,w,[l(`p`,{innerHTML:e.content.page.header.format},null,8,T)])):x(``,!0),l(`div`,E,[l(`p`,{innerHTML:e.content.page.header.title},null,8,D)]),e.content.page.header.subtitle?(o(),u(`div`,O,[l(`p`,{innerHTML:e.content.page.header.subtitle},null,8,k)])):x(``,!0)])],4)]))}}),{__name:`ProgramHeader`}),j={id:`program-info`,class:`content-section-wrapper`},M={class:`content-section flex text-xs`},N={class:`twocb-content flex flex-wrap`},P={class:`grid gap-5 program-info-width-col1 pb-5 md:pb-0`},F={key:0},I=[`innerHTML`],L={key:0},R=[`href`,`innerHTML`],z={key:1},B=[`innerHTML`],V=[`href`,`innerHTML`],H={key:0,class:`flex-1`},U=[`innerHTML`],W=[`innerHTML`],G={key:1,class:`flex-1`},K=[`innerHTML`],q=[`innerHTML`],J={key:0,id:`related-program`,class:`content-section-wrapper`},Y={class:`content-section flex flex-col pb-0!`},X={class:`nc-content flex-1 pt-8`},ie=[`innerHTML`],ae={class:`nc-content highlightstartmargin flex-1 flex pb-4 lg:pb-2`},oe={key:0,class:`nc-content-cw`},se={key:0,class:`aspect-video-box`},ce=[`src`],le=[`id`,`data-imageurls`],ue=[`src`],de={class:`pt-[1.2rem] pb-[0.8rem]`},fe=[`innerHTML`],pe=[`innerHTML`],me=[`innerHTML`],he={class:`text-sm nohovercolor`},ge=[`innerHTML`],_e={class:`container flex flex-wrap mx-auto bg-white 3xl:border-x border-black text-base px-6 sm:px-12 md:px-12 lg:px-[4.2rem] text-right`},ve={class:`w-full h-0`},ye={class:`relative bottom-14`},be={class:`nc-content-cw-button flex`},xe=[`innerHTML`],Se={id:`program-archive`,class:`content-section-wrapper`},Ce={class:`content-section flex flex-col`},we={class:`threec-content flex-1 pt-8`},Te=[`innerHTML`],Ee={class:`threec-content flex-1 pb-10 grid md:grid-cols-2 lg:grid-cols-3 gpi-gap`},De=[`placeholder`],Oe=[`innerHTML`],ke=[`value`,`innerHTML`],Ae=[`innerHTML`],je=[`value`,`innerHTML`],Me={class:`threec-content highlightstartmargin flex-1 pb-8 grid md:grid-cols-2 lg:grid-cols-3 gpi-gap`},Ne={class:`-mb-2 xl:-mb-6`},Pe={class:`pb-[0.8rem]`},Fe=[`innerHTML`],Ie=[`innerHTML`],Z=[`innerHTML`],Le={class:`text-sm nohovercolor`},Re=[`innerHTML`],ze=[`innerHTML`],Be=[`innerHTML`],Ve={key:2,class:`md:col-span-2 lg:col-span-3 grid md:grid-cols-2 lg:grid-cols-3 gpi-gap`},Q=Object.assign(_({__name:`ProgramFooter`,props:{content:Object},setup(_){let{$gsap:S}=h(),C=y(),w=C.archiveSearch=``,T=C.archiveProgramLine=``,E=C.archiveFormat=``;function D(e,t){return t&&=t.replace(`#`,`%23`),e?`background-image: url('data:image/svg+xml,%3C%3Fxml version="1.0" encoding="UTF-8"%3F%3E%3Csvg width="16px" height="16px" viewBox="0 0 23 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"%3E%3Ctitle%3Ebghighlight%3C/title%3E%3Cg id="bghighlight" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square"%3E%3Cline x1="-237.5" y1="260.5" x2="338.5" y2="-315.5" id="Line-Copy" stroke="`+t+`" stroke-opacity="0.2" stroke-width="4"%3E%3C/line%3E%3Cline x1="-248.5" y1="248.5" x2="327.5" y2="-327.5" id="Line-Copy-13" stroke="`+t+`" stroke-opacity="0.2" stroke-width="4"%3E%3C/line%3E%3Cline x1="-225.5" y1="271.5" x2="350.5" y2="-304.5" id="Line-Copy-8" stroke="`+t+`" stroke-opacity="0.2" stroke-width="4"%3E%3C/line%3E%3C/g%3E%3C/svg%3E')`:`background-image: none;`}let O=d(null),k=d(!1);function A(){let e=O.value;k.value=!!e&&e.scrollWidth>e.clientWidth+1}ne(O,A);function Q(e){{let t=e.currentTarget.parentNode.parentNode.parentNode.parentNode.querySelector(`.gpiscrollbar`),n=t.querySelector(`.item`).offsetWidth;S.to(t,{scrollTo:{x:t.scrollLeft+n*1},duration:1})}}let He=async function(){C.archiveLoading=!0;let e=await m(C.apiBaseUrl+`/programarchive`,{query:{page:C.archivePage+1,language:C.currentLang,s:w,program_line:T,format:E,post__not_in:C.archiveExcludeId},mode:`cors`,headers:{"Access-Control-Allow-Origin":`*`}}
1).catch(e=>console.log(`fetch error`,e));e&&(C.archivePage=e.page,C.archivePages=e.pages,C.addArchivePosts(e.posts)),C.archiveLoading=!1},$=re(async()=>{C.archiveLoading=!0,C.setArchivePosts([]),C.setArchiveSearch(w,T,E);let e=await m(C.apiBaseUrl+`/programarchive`,{query:{page:C.archivePage,language:C.currentLang,s:w,program_line:T,format:E,post__not_in:C.archiveExcludeId}}).catch(e=>console.log(`fetch error`,e));e&&(C.archivePage=e.page,C.archivePages=e.pages,C.setArchivePosts(e.posts)),C.archiveLoading=!1},300);return(d,m)=>{let h=te;return o(),u(p,null,[l(`section`,j,[l(`div`,M,[l(`div`,N,[l(`div`,P,[_.content.page.header.contact_persons.length?(o(),u(`div`,F,[m[8]||=l(`h3`,{class:`font-bold`},`Contact Persons`,-1),(o(!0),u(p,null,s(_.content.page.header.contact_persons,(e,t)=>(o(),u(`p`,null,[l(`span`,{innerHTML:e.name},null,8,I),e.email?(o(),u(`span`,L,[m[7]||=n(`, `,-1),l(`a`,{href:`mailto:`+e.email,innerHTML:e.email},null,8,R)])):x(``,!0)]))),256))])):x(``,!0),_.content.page.header.supports.length?(o(),u(`div`,z,[m[9]||=l(`h3`,{class:`font-bold`},`Supported by`,-1),(o(!0),u(p,null,s(_.content.page.header.supports,(e,t)=>(o(),u(`p`,null,[e.website?(o(),u(`a`,{key:1,href:e.website,innerHTML:e.name},null,8,V)):(o(),u(`span`,{key:0,innerHTML:e.name},null,8,B))]))),256))])):x(``,!0)]),_.content.page.header.series&&_.content.page.header.categorize_as==`Series`?(o(),u(`div`,H,[l(`h3`,{class:`font-bold`,innerHTML:_.content.page.header.series},null,8,U),l(`p`,{innerHTML:_.content.page.header.series_description},null,8,W)])):x(``,!0),_.content.page.header.format&&_.content.page.header.categorize_as==`Format`?(o(),u(`div`,G,[l(`h3`,{class:`font-bold`,innerHTML:_.content.page.header.format},null,8,K),l(`p`,{innerHTML:_.content.page.header.format_description},null,8,q)])):x(``,!0)])])]),_.content.page.related_program.posts.length?(o(),u(`section`,J,[l(`div`,Y,[l(`div`,X,[l(`h2`,{class:`text-3xl sm:text-4xl font-bold pb-8`,innerHTML:_.content.page.related_program.header},null,8,ie)])]),l(`div`,{ref_key:`scrollEl`,ref:O,class:`content-section flex flex-col pt-0! pr-0! overflow-x-auto overflow-y-hidden gpiscrollbar`},[l(`div`,ae,[(o(!0),u(p,null,s(_.content.page.related_program.posts,(e,n)=>(o(),t(h,{class:i([`flex item`,{hidden:e.exclude_from_archives}]),to:e.url},{default:a(()=>[e.exclude_from_archives?x(``,!0):(o(),u(`div`,oe,[l(`div`,{class:`highlightpadding`,style:f(D(e.highlight_true_false,e.highlight_color))},[e.preview_images.length==1?(o(),u(`div`,se,[l(`img`,{src:e.preview_images[0],class:`w-full hoveropacity object-cover`},null,8,ce)])):x(``,!0),e.preview_images.length>1?(o(),u(`div`,{key:1,class:i([`aspect-video-box`,`imagepreviewgallery`+_.content.index]),id:_.content.index+`.`+e.id,"data-imageurls":encodeURIComponent(JSON.stringify(e.preview_images))},[l(`img`,{src:e.preview_images[0],class:`w-full object-cover`},null,8,ue)],10,le)):x(``,!0),l(`div`,de,[l(`div`,{class:`text-sm`,innerHTML:e.format},null,8,fe),l(`div`,{class:`text-base font-bold`,innerHTML:e.title},null,8,pe),e.subtitle?(o(),u(`div`,{key:0,class:`text-sm pt-0.5 font-medium`,innerHTML:e.subtitle},null,8,me)):x(``,!0)]),l(`div`,he,[l(`p`,{innerHTML:e.text},null,8,ge)])],4)]))]),_:2},1032,[`to`,`class`]))),256))]),m[10]||=l(`div`,{class:`h-8`},null,-1)],512),l(`div`,_e,[l(`div`,ve,[c(l(`div`,ye,[l(`button`,{onClick:Q,class:``},[l(`div`,be,[m[11]||=l(`div`,{class:`flex-1`},null,-1),l(`div`,{class:`font-medium pr-5 leading-none`,innerHTML:v(C).currentLang==`de`?`Mehr`:`More`},null,8,xe),m[12]||=l(`svg`,{class:`h-5 block`,xmlns:`http://www.w3.org/2000/svg`,baseProfile:`tiny`,viewBox:`0 0 60 20`,overflow:`visible`,"xmlns:v":`https://vecta.io/nano`},[l(`path`,{fill:`currentColor`,d:`M60 10.2c.1-.1.1-.3 0-.4 0-.1-.1-.1-.1-.2L50.4.1c-.2-.2-.5-.2-.7 0s-.2.5 0 .7l8.6 8.6H.5c-.3.1-.5.3-.5.6a.47.47 0 0 0 .5.5h57.8l-8.6 8.6c-.2.2-.2.5 0 .7 0 .2.2.2.3.2s.3 0 .4-.1l9.5-9.5c0-.1 0-.1.1-.2z`})],-1)])])],512),[[b,v(k)]])])])])):x(``,!0),l(`section`,Se,[l(`div`,Ce,[l(`div`,we,[l(`h2`,{class:`text-3xl sm:text-4xl font-bold pb-10`,innerHTML:v(C).currentLang==`de`?`Programmarchiv`:`Program Archive`},null,8,Te)]),l(`div`,Ee,[c(l(`input`,{"onUpdate:modelValue":m[0]||=t=>e(w)?w.value=t:w=t,onInput:m[1]||=e=>v($)(),placeholder:v(C).currentLang==`de`?`Suche`:`Search`,class:`md:col-span-2 lg:md:col-span-1 ring-0 focus:ring-0 placeholder:text-black font-medium border-b border-black`},null,40,De),[[ee,v(w)]]),c(l(`select`,{"onUpdate:modelValue":m[2]||=t=>e(T)?T.value=t:T=t,onChange:m[3]||=e=>v($)(),class:`appearance-none rounded-none shadow-none ring-0 focus:ring-0 bg-none placeholder:text-black font-medium border-b border-black`},[l(`option`,{value:``,innerHTML:v(C).currentLang==`de`?`Alle Programmlinien`:`All Program Lines`},null,8,Oe),(o(!0),u(p,null,s(_.content.page.program_archive.program_lines,(e,t)=>(o(),u(`option`,{value:e.slug,innerHTML:e.name},null,8,ke))),256))],544),[[g,v(T)]]),c(l(`select`,{"onUpdate:modelValue":m[4]||=t=>e(E)?E.value=t:E=t,onChange:m[5]||=e=>v($)(),class:`appearance-none rounded-none shadow-none ring-0 focus:ring-0 bg-none placeholder:text-black font-medium border-b border-black`},[l(`option`,{value:``,innerHTML:v(C).currentLang==`de`?`Alle Formate`:`All Formats`},null,8,Ae),(o(!0),u(p,null,s(_.content.page.program_archive.formats,(e,t)=>(o(),u(`option`,{value:e.slug,innerHTML:e.name},null,8,je))),256))],544),[[g,v(E)]])]),l(`div`,Me,[(o(!0),u(p,null,s(v(C).archivePosts,(e,n)=>(o(),t(h,{class:`flex`,to:e.url},{default:a(()=>[l(`div`,Ne,[l(`div`,{class:`highlightpadding-grid`,style:f(D(e.highlight_true_false,e.highlight_color))},[l(`div`,Pe,[l(`div`,{class:`text-sm`,innerHTML:e.format},null,8,Fe),l(`div`,{class:`text-base font-bold`,innerHTML:e.title},null,8,Ie),l(`div`,{class:`text-sm pt-0.5 font-medium`,innerHTML:e.subtitle},null,8,Z)]),l(`div`,Le,[l(`p`,{innerHTML:e.text},null,8,Re)])],4)])]),_:2},1032,[`to`]))),256)),!v(C).archivePosts.length&&!v(C).archiveLoading?(o(),u(`div`,{key:0,class:`highlightpadding-grid md:col-span-2 lg:col-span-3 font-medium`,innerHTML:v(C).currentLang==`de`?`Keine Einträge gefunden`:`No records foun
1d`},null,8,ze)):x(``,!0),v(C).archivePages>v(C).archivePage&&!v(C).archiveLoading?(o(),u(`button`,{key:1,onClick:m[6]||=e=>He(),class:`highlightpadding-grid md:col-span-2 lg:col-span-3 font-bold text-base text-left`,innerHTML:v(C).currentLang==`de`?`Mehr laden`:`Load more`},null,8,Be)):x(``,!0),v(C).archiveLoading?(o(),u(`div`,Ve,[...m[13]||=[r(`<div class="highlightpadding-grid animate-pulse"><div class="bg-[#eee] rounded-xs w-[40%] text-sm mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[80%] text-base font-bold mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[60%] text-base font-medium mb-3">\xA0</div><div class="bg-[#eee] rounded-xs w-full h-36 text-sm">\xA0</div></div><div class="highlightpadding-grid animate-pulse"><div class="bg-[#eee] rounded-xs w-[60%] text-sm mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[70%] text-base font-bold mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[90%] text-base font-medium mb-3">\xA0</div><div class="bg-[#eee] rounded-xs w-full h-36 text-sm">\xA0</div></div><div class="highlightpadding-grid animate-pulse"><div class="bg-[#eee] rounded-xs w-[70%] text-sm mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[90%] text-base font-bold mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[80%] text-base font-medium mb-3">\xA0</div><div class="bg-[#eee] rounded-xs w-full h-36 text-sm">\xA0</div></div><div class="highlightpadding-grid animate-pulse"><div class="bg-[#eee] rounded-xs w-[40%] text-sm mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[80%] text-base font-bold mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[60%] text-base font-medium mb-3">\xA0</div><div class="bg-[#eee] rounded-xs w-full h-36 text-sm">\xA0</div></div><div class="highlightpadding-grid animate-pulse"><div class="bg-[#eee] rounded-xs w-[60%] text-sm mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[70%] text-base font-bold mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[90%] text-base font-medium mb-3">\xA0</div><div class="bg-[#eee] rounded-xs w-full h-36 text-sm">\xA0</div></div><div class="highlightpadding-grid animate-pulse"><div class="bg-[#eee] rounded-xs w-[70%] text-sm mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[90%] text-base font-bold mb-1">\xA0</div><div class="bg-[#eee] rounded-xs w-[80%] text-base font-medium mb-3">\xA0</div><div class="bg-[#eee] rounded-xs w-full h-36 text-sm">\xA0</div></div>`,6)]])):x(``,!0)])])])],64)}}}),{__name:`ProgramFooter`});export{A as n,Q as t};
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.