PageSourceSearch

https://perspektivschule.de/_nuxt/Index.vue.Cp-9_eJq.js

js perspektivschule.de collected 2026-10-08 09:44:01 UTC 1,074 bytes, 1 lines download raw bytes

1import{d as p,r as i,s as m,o as v,f as l,g as r,h,ad as g,ae as y,i as w,V as S,H as _,T as x}from"./entry.Dy47IYJV.js";const L=p({__name:"Index",props:{as:{type:String,default:"div"},active:{type:Boolean,default:!1},hideDelay:{type:Number,default:0},showDelay:{type:Number,default:0}},setup(o){const t=o,s=i(t.active);m(()=>t.active,e=>{e?setTimeout(()=>{s.value=!0},t.showDelay):setTimeout(()=>{s.value=!1},t.hideDelay)});const a=i(null);v(()=>{!t.active&&a.value&&(console.log("h-0"),a.value.classList.add("h-0"))});const c=e=>{let n=e.scrollHeight;e.classList.add("h-0"),e.style.height=n+"px"},d=e=>{e.classList.remove("h-0"),e.style.height=""},u=e=>{e.style.height=e.scrollHeight+"px",setTimeout(()=>{e.style.height="0px"},10)},f=e=>{e.style.height=""};return(e,n)=>(l(),r(x,{name:"slide-toggle",onEnter:c,onAfterEnter:d,onBeforeLeave:u,onAfterLeave:f},{default:h(()=>[g((l(),r(S(o.as),{class:"overflow-hidden transition-all duration-200 slide-toggle",ref_key:"element",ref:a},{default:h(()=>[_(e.$slots,"default")]),_:3},512)),[[y,w(s)]])]),_:3}))}});export{L as _};

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.