PageSourceSearch

https://perspektivschule.de/_nuxt/index.RREuU4RV.js

js perspektivschule.de collected 2026-10-08 09:44:17 UTC 5,147 bytes, 1 lines download raw bytes

1import{_ as U}from"./Index.vue.qW-KrM4t.js";import{d as S,w as T,c as C,o as H,e as x,f as m,g as A,h as r,m as k,p as F,i as n,F as G,a as P,b as j,j as q,k as p,l as g,q as $,t as b,_ as M,N as W}from"./entry.Dy47IYJV.js";import{a as J}from"./index.vue.DWsEsiAf.js";import{g as K,_ as Q}from"./Index.vue.JIVRSh6g.js";import{u as N,a as V}from"./useStrapi.Bcp2HlFr.js";import{a as X,b as Y,P as Z}from"./content.CfdEoGGV.js";import"./measure.Cz9lNhUx.js";import{a as ee,b as te,_ as ae}from"./index.vue.reVU3iY7.js";import{_ as oe}from"./Index.vue.D_lo6vhj.js";import{_ as se}from"./Index.vue.C3n4QrG5.js";import{_ as ne}from"./ArticleTeaserCard.vue.DEDIL79Y.js";import"./ChevronDown.BEiSC_Se.js";import"./Index.vue.DwODfYR0.js";import"./index.vue.C2Fjpgjl.js";import"./Index.vue.Cp-9_eJq.js";import"./use-outside-click.Dz4AgVOQ.js";import"./use-resolve-button-type.D1n_CL3R.js";import"./Skip.vue.BdBKFGn5.js";import"./Index.vue.DYz5PhlB.js";import"./Index.vue.DNCYIblT.js";import"./Index.Bs4sBbt5.js";import"./Close.Df5VfrD_.js";import"./Index.vue.CzRVTlHE.js";import"./client-only.DPmKhfN9.js";import"./index.C68sEgmF.js";import"./Index.vue.6rSOz6_c.js";import"./EventTeaserCard.vue.CLvl-SRT.js";function z(c){let o,t=c[0],a=1;for(;a<c.length;){const s=c[a],u=c[a+1];if(a+=2,(s==="optionalAccess"||s==="optionalCall")&&t==null)return;s==="access"||s==="optionalAccess"?(o=t,t=u(t)):(s==="call"||s==="optionalCall")&&(t=u((...f)=>t.call(o,...f)),o=void 0)}return t}const ce=S({__name:"LatestArticles",async setup(c){let o,t;const{find:a}=N(),{data:s,refresh:u}=([o,t]=T(()=>V("articles",()=>a("articles",{populate:["Image","Tags.Tag"],pagination:{page:1,pageSize:3},sort:"ReleaseDate:desc"}))),o=await o,t(),o),f=C(()=>z([s,"access",_=>_.value,"optionalAccess",_=>_.data])?z([s,"access",_=>_.value,"optionalAccess",_=>_.data]):[]);return H(()=>{u()}),x(),(_,w)=>{const l=se;return m(),A(l,{class:"mb-8 lg:mb-16"},{default:r(()=>[(m(!0),k(G,null,F(n(f),h=>(m(),A(ne,{article:h,"title-as":"h3",class:"col-span-12 md:col-span-6 lg:col-span-4"},null,8,["article"]))),256))]),_:1})}}});function i(c){let o,t=c[0],a=1;for(;a<c.length;){const s=c[a],u=c[a+1];if(a+=2,(s==="optionalAccess"||s==="optionalCall")&&t==null)return;s==="access"||s==="optionalAccess"?(o=t,t=u(t)):(s==="call"||s==="optionalCall")&&(t=u((...f)=>t.call(o,...f)),o=void 0)}return t}const le={key:0},ie={key:0},re=S({__name:"index",async setup(c){let o,t;const{t:a}=P({useScope:"local"}),{find:s}=N(),{locale:u}=P(),f=K(),{data:_,refresh:w}=([o,t]=T(()=>V("page",()=>s("page-home",{populate:["Video","Video.Preview","Hero.Image","Hero.Links",...X,...Y,...Z],locale:u.value}))),o=await o,t(),o),l=C(()=>i([_,"access",d=>d.value,"optionalAccess",d=>d.data]));H(()=>{w()});const h=x(),D=j(),O=q().public.BASE_URL.replace(/\/$/,""),R=C(()=>f.map(d=>({locale:d.locale,path:O+D.resolve({name:d.name}).href})));return(d,_e)=>{const B=U,v=M,y=W,L=J,I=Q;return m(),A(I,{seo:i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.Seo]),localizedLinks:n(R)},{hero:r(()=>[p(oe,{attributes:i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.PageIntro])},null,8,["attributes"])]),default:r(()=>[p(v,{slim:""},{default:r(()=>[p(B,{content:i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.Text])},null,8,["content"])]),_:1}),i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.Video])?(m(),A(ee,{key:0,attributes:i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.Video])},null,8,["attributes"])):g("",!0),p(v,{"divider-top":""},{footer:r(()=>[p(L,{to:n(h)({name:"events"})},{default:r(()=>[p(y,{variant:"primary-outline"},{default:r(()=>[$(b(n(a)("show_events")),1)]),_:1})]),_:1},8,["to"])]),default:r(()=>[i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.EventsHeadline])?(m(),k("h2",le,b(i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.EventsHeadline])),1)):g("",!0),p(te)]),_:1}),p(v,{"divider-top":"","divider-bottom":""},{footer:r(()=>[p(L,{to:n(h)({name:"articles"})},{default:r(()=>[p(y,{variant:"primary-outline"},{default:r(()=>[$(b(n(a)("show_articles")),1)]),_:1})]),_:1},8,["to"])]),default:r(()=>[i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.ArticlesHeadline])?(m(),k("h2",ie,b(i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.ArticlesHeadline])),1)):g("",!0),p(ce)]),_:1}),i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.Content])?(m(),A(ae,{key:1,content:i([n,"call",e=>e(l),"optionalAccess",e=>e.attributes,"optionalAccess",e=>e.Content])},null,8,["content"])):g("",!0)]),_:1},8,["seo","localizedLinks"])}}});function E(c){const o=c;o.__i18n=o.__i18n||[],o.__i18n.push({locale:"",resource:{de:{show_articles:t=>{const{normalize:a}=t;return a(["Alle Artikel"])},show_events:t=>{const{normalize:a}=t;return a(["Alle Veranstaltungen"])}},en:{show_articles:t=>{const{normalize:a}=t;return a(["all articles"])},show_events:t=>{const{normalize:a}=t;return a(["all events"])}}}})}typeof E=="function"&&E(re);export{re 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.