PageSourceSearch

https://mvlg.de/_next/static/chunks/3-jxb1fav-9t9.js

js mvlg.de collected 2026-10-02 10:51:47 UTC 50,231 bytes, 23 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98919,233898,694351,151326,e=>{"use strict";var t=e.i(475254);let a=(0,t.default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",0,a],98919);let s=["admin","blab_admin"];function n(e,t){var a;return!!e&&("admin"===("string"==typeof e.rolle?e.rolle.trim().toLowerCase():"")||(!(a=e.adminRoles)?[]:Array.from(new Set((Array.isArray(a)?a:String(a).split(",")).map(e=>String(e).trim().toLowerCase()).filter(e=>s.includes(e))))).includes(t))}function r(e){if(!e)return!1;let t="string"==typeof e.code?e.code.trim().toLowerCase():"",a="string"==typeof e.email?e.email.trim().toLowerCase():"",s="string"==typeof e.rolle?e.rolle.trim().toLowerCase():"";return"as"===t||"[email protected]"===a||"admin"===s||n(e,"admin")}e.s(["isAdminUser",0,r,"isBlabAdminUser",0,function(e){return r(e)||n(e,"blab_admin")}],233898);let i=(0,t.default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);e.s(["Home",0,i],694351);let l=(0,t.default)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);var o=e.i(263544);let d=(0,t.default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),c=(0,t.default)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]),u=(0,t.default)("user-plus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]),h="bg-black/8 text-slate-900 dark:bg-white/14 dark:text-white",m=[{path:"/",name:"Startseite",icon:i,hasPage:!0,activeClasses:"bg-accent text-accent-foreground"},{name:"Aktuelles",path:"/aktuelles",icon:l,activeClasses:h,hasPage:!1,children:[{name:"Nachrichten",path:"/aktuelles/news",activeClasses:h},{name:"Termine",path:"/aktuelles/termine",activeClasses:h},{name:"Speiseplan",path:"/aktuelles/speiseplan",activeClasses:h},{name:"Rundschreiben (intern)",path:"/intern/rundschreiben",activeClasses:h}]},{name:"Schule",path:"/schule",icon:o.School,hasPage:!1,activeClasses:h,children:[{name:"Mediathek",path:"/mediathek",activeClasses:h},{name:"Schulleitung",path:"/schule/schulleitung",activeClasses:h},{name:"Lehrkräfte",path:"/schule/lehrkraefte",activeClasses:h},{name:"MINT-Profil",path:"/schule/mint-ec",activeClasses:h},{name:"SHF/IS",path:"/schule/shf-is",activeClasses:h},{name:"Sekretariat",path:"/schule/sekretariat",activeClasses:h},{name:"Bibliothek",path:"/schule/bibliothek",activeClasses:h}]},{name:"Schulgemeinschaft",path:"/schulgemeinschaft",icon:u,hasPage:!0,activeClasses:h,children:[{name:"Überblick",path:"/schulgemeinschaft",activeClasses:h},{name:"SV",path:"/schulgemeinschaft/sv",activeClasses:h},{name:"Arbeitsgemeinschaften",path:"/schulgemeinschaft/arbeitsgemeinschaften",activeClasses:h},{name:"SEB",path:"/schulgemeinschaft/seb",activeClasses:h},{name:"Förderverein",path:"/schulgemeinschaft/foerderverein",activeClasses:h},{name:"Schulsozialarbeit",path:"/schulgemeinschaft/schulsozialarbeit",activeClasses:h},{name:"Steuergruppe",path:"/schulgemeinschaft/steuergruppe",activeClasses:h},{name:"Ehemalige",path:"/schulgemeinschaft/ehemalige",activeClasses:h},{name:"Berufsberatung",path:"/schulgemeinschaft/berufsberatung",activeClasses:h}]},{name:"Lernen",path:"/lernen",icon:d,activeClasses:h,children:[{name:"Lernen am MvLG",path:"/lernen",activeClasses:h},{name:"Wie wir lernen",path:"/lernen/wie-wir-lernen",activeClasses:h},{name:"Was wir lernen",path:"/lernen/faecher-profile",activeClasses:h},{name:"Gemeinsam stark",path:"/lernen/gemeinsam-stark",activeClasses:h},{name:"Orientierungsstufe",path:"/lernen/orientierungsstufe",activeClasses:h},{name:"MSS",path:"/lernen/mss",activeClasses:h}]},{name:"Organisation",path:"/organisation",icon:c,activeClasses:h,hasPage:!1,children:[{name:"Stundenplan",path:"/intern/stundenplan",activeClasses:h},{name:"Vertretungsplan",path:"/intern/vertretungsplan/week",activeClasses:h},{name:"Vertretungsliste",path:"/intern/vertretungsliste",activeClasses:h},{name:"Wer ist wo?",path:"/intern/wer-ist-wo",activeClasses:h},{name:"Pinnwand",path:"/intern/pinnwand",activeClasses:h},{name:"AG-Liste (Lehrkräfte)",path:"/intern/ags",activeClasses:h},{name:"Tag der offenen Tür (Lehrkräfte)",path:"/intern/tdot",activeClasses:h},{name:"Fachräume",path:"/intern/fachbereiche",activeClasses:h},{name:"Downloads/Formulare",path:"/organisation/formulare",activeClasses:h}]}];e.s(["default",0,m],151326)},989291,e=>{"use strict";
1var t=e.i(843476),a=e.i(618566),s=e.i(657688),n=e.i(217255),r=e.i(522016),i=e.i(98919),l=e.i(519455),o=e.i(233898);function d(){let{data:e,status:a}=(0,n.useSession)();if("authenticated"!==a)return null;let s=e?.user;return(0,o.isBlabAdminUser)(s)?(0,t.jsx)(r.default,{href:"/intern/admin",children:(0,t.jsxs)(l.Button,{type:"button",size:"sm",className:"\n          gap-2 rounded-full shadow-md border-none\n          bg-white/95 text-sky-900 hover:bg-white\n          dark:bg-slate-900 dark:text-slate-100 dark:border-slate-500\n        ",children:[(0,t.jsx)(i.Shield,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Admin"})]})}):null}var c=e.i(151326),u=e.i(694351);function h(e){return e?"/"!==e&&e.endsWith("/")?e.slice(0,-1):e:"/"}function m(e,t){let a=h(e),s=h(t);return"/"===s?"/"===a:a===s||a.startsWith(`${s}/`)}let p={default:"max-w-5xl",wide:"max-w-6xl",full:"max-w-none"};function x({children:e,showAdminButton:n=!1,width:r="full"}){let{sectionTitle:i,icon:l}=function(e){let t,a=h(e);for(let e of c.default){if(m(a,e.path)){let a={sectionTitle:e.name,pageTitle:e.name,icon:e.icon,matchLength:h(e.path).length};(!t||a.matchLength>t.matchLength)&&(t=a)}for(let s of e.children??[])if(m(a,s.path)){let a={sectionTitle:e.name,pageTitle:s.name,icon:e.icon,matchLength:h(s.path).length};(!t||a.matchLength>t.matchLength)&&(t=a)}}return t?{sectionTitle:t.sectionTitle,pageTitle:t.pageTitle,icon:t.icon}:{sectionTitle:"Max-von-Laue-Gymnasium",pageTitle:"Willkommen",icon:u.Home}}((0,a.usePathname)()),o=p[r];return(0,t.jsxs)("div",{className:"relative w-full overflow-hidden bg-gradient-to-r from-[#163b66] via-[#245f99] to-[#163b66] shadow-sm",children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,t.jsx)("div",{className:"absolute -left-16 -top-10 h-32 w-32 rounded-full bg-white/10 blur-2xl"}),(0,t.jsx)("div",{className:"absolute right-[-3rem] top-3 h-40 w-40 rounded-full bg-sky-300/15 blur-3xl"}),(0,t.jsx)("div",{className:"absolute left-1/2 bottom-[-3rem] h-28 w-28 rounded-full bg-indigo-300/15 blur-3xl"})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(135deg,rgba(255,255,255,0.10),transparent_35%,transparent_65%,rgba(255,255,255,0.06))]"}),(0,t.jsx)("div",{className:`relative mx-auto ${o} px-3 py-4 md:px-4 md:py-5`,children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsxs)("div",{className:"flex items-center gap-2.5 md:gap-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-white/15 bg-white/10 text-white shadow-md shadow-black/10 backdrop-blur-md md:h-11 md:w-11",children:(0,t.jsx)(l,{className:"h-5 w-5"})}),(0,t.jsxs)("div",{className:"min-w-0 text-white",children:[(0,t.jsx)("div",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.18em] text-white/78 sm:text-xs",children:i||"Max-von-Laue-Gymnasium"}),e&&(0,t.jsx)("div",{className:"mt-1 max-w-3xl text-sm leading-relaxed text-white/85 md:text-[15px]",children:e})]})]})}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[n&&(0,t.jsx)(d,{}),(0,t.jsx)("div",{className:"hidden md:flex",children:(0,t.jsx)("div",{className:"rounded-2xl border border-white/15 bg-white/90 px-3 py-2 shadow-md backdrop-blur",children:(0,t.jsx)(s.default,{src:"/assets/icons/mvlg-blau.svg",alt:"Logo des Max-von-Laue-Gymnasiums",width:132,height:44,className:"h-9 w-auto lg:h-10",priority:!0})})})]})]})})]})}function f({children:e,width:s="default",bannerTitle:n,bannerText:r,showAdminButton:i=!1}){let l=(0,a.usePathname)(),o="/"===l,d=l.startsWith("/aktuelles/speiseplan"),c=l.startsWith("/intern/gsw");return(0,t.jsxs)("div",{className:"w-full",children:[!o&&!c&&(0,t.jsx)("div",{className:"mvlg-page-banner m-0 p-0",children:(0,t.jsx)(x,{title:n,showAdminButton:i,width:d?"wide":"default",children:r})}),(0,t.jsx)("div",{className:"mvlg-page-content "+(o||c?"p-0 bg-transparent border-0 shadow-none":d?"speiseplan-page-root px-2 py-3 md:px-6 md:py-10":"px-2 py-2 md:p-10"),children:e})]})}e.s(["default",0,function({children:e}){let s=(0,a.usePathname)(),n="/"===s,r=s.startsWith("/intern/gsw"),i=s.startsWith("/aktuelles/speiseplan")||s.startsWith("/organisation/vertretungsplan")||s.startsWith("/organisation/stundenplan")||s.startsWith("/organisation/raumplan"),l="mvlg-content-card 
1w-full mx-auto bg-white text-slate-900 dark:bg-slate-900 dark:text-slate-100 rounded-xl md:rounded-2xl shadow-lg md:shadow-xl overflow-hidden border-0 md:ring-1 md:ring-slate-200 dark:md:ring-slate-700",o=n?"mvlg-content-card w-full mx-auto bg-transparent text-slate-900 dark:bg-transparent dark:text-slate-100 rounded-none shadow-none overflow-visible border-0 max-w-6xl":r?"w-full mx-auto bg-transparent text-slate-900 dark:text-slate-100 rounded-none shadow-none overflow-hidden border-0":i?`${l} max-w-none xl:max-w-[1800px]`:`${l} max-w-6xl`;return(0,t.jsx)("div",{className:o,children:(0,t.jsx)(f,{width:r?"full":i?"wide":"default",children:e})})}],989291)},184035,e=>{"use strict";var t=e.i(843476),a=e.i(618566);e.s(["default",0,function({children:e}){let s=(0,a.usePathname)(),n="/"===s,r=s.startsWith("/aktuelles/speiseplan")||s.startsWith("/organisation/vertretungsplan")||s.startsWith("/organisation/stundenplan")||s.startsWith("/organisation/raumplan");return n?(0,t.jsx)("div",{className:"mx-auto w-full max-w-6xl px-4 md:px-6 xl:px-8",children:e}):r?(0,t.jsx)("div",{className:"mx-auto w-full xl:max-w-[1800px]",children:e}):(0,t.jsx)("div",{className:"mx-auto w-full max-w-6xl",children:e})}])},973525,e=>{"use strict";var t=e.i(843476),a=e.i(475254);let s=(0,a.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),n=(0,a.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),r=(0,a.default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var i=e.i(263488),l=e.i(522016);e.s(["default",0,function(){return(0,t.jsx)("footer",{className:"relative w-full text-white mt-8 no-print",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-107.5 md:max-w-300 py-6 md:py-8",children:(0,t.jsxs)("div",{className:"rounded-3xl bg-white/8 border border-white/15 backdrop-blur-md shadow-[0_18px_45px_rgba(0,0,0,0.45)] px-4 py-4 md:px-8 md:py-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3 md:grid md:grid-cols-4 md:gap-6 text-xs md:text-sm",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 justify-center md:justify-start",children:[(0,t.jsx)("a",{href:"https://www.google.com/maps?q=Max-von-Laue-Gymnasium+Koblenz",target:"_blank",rel:"noopener noreferrer",className:"hover:text-amber-200 transition-colors",children:(0,t.jsx)(s,{className:"w-4 h-4 md:w-5 md:h-5 text-amber-300"})}),(0,t.jsxs)("span",{className:"text-white/90",children:["Max-von-Laue-Gymnasium,",(0,t.jsx)("br",{}),"Südallee 1, 56068 Koblenz"]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,t.jsx)(r,{className:"w-4 h-4 md:w-5 md:h-5 text-amber-300"}),(0,t.jsxs)("span",{className:"text-white/90",children:["Schulleitung: Dr. Frank",(0,t.jsx)("br",{}),"Zimmerschied"]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 justify-center md:justify-start",children:[(0,t.jsx)(n,{className:"w-4 h-4 md:w-5 md:h-5 text-amber-300"}),(0,t.jsx)("span",{className:"text-white/90",children:(0,t.jsx)("a",{href:"tel:0261914830",className:"underline-offset-2 hover:underline hover:text-amber-200 transition-colors",children:"0261 / 914 83 0"})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 justify-center md:justify-end",children:[(0,t.jsx)(i.Mail,{className:"w-4 h-4 md:w-5 md:h-5 text-amber-300"}),(0,t.jsx)("span",{className:"text-white/90 text-center md:text-right",children:(0,t.jsx)("a",{href:"mailto:[email protected]",className:"underline-offset-2 hover:underline hover:text-amber-200 transition-colors",children:"[email protected]"})})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col sm:flex-row items-center justify-center sm:justify-end gap-1 sm:gap-4 text-[0.7rem] sm:text-xs text-white/70",children:[(0,t.jsx)(l.default,{href:"/impressum",className:"hover:text-amber-200 transition-colors underline-offset-2 hover:underline",children:"Impressum"}),(0,t.jsx)("span",{className:"hidden sm:inline text-white/40",children:"•"}),(0,t.jsx)(l.default,{href:"/datenschutz",className:"hover:text-amber-200 transition-colors underline-offset-2 hover:underline",children:"Datenschutz"})]}),(0,t.jsx)("div",{className:"mt-3 text-[0.65rem] sm:text-xs text-amber-300/90 text-center tracking-[0.16em] uppercase",children:"Staatliche Schule • Träger: Stadt Koblenz"})]})})})}],973525)},673439,e=>{"use strict";var t=e.i(843476),a=e.i(98919),s=e.i(475254);let n=(0,s.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),r=(0,s.default)("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),i=(0,s.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var l=e.i(233898),o=e.i(217255),d=e.i(530909),c=e.i(522016),u=e.i(618566),h=e.i(271645),m=e.i(151326);e.s(["AppSidebar",0,function({className:e,...s}){let[p,x]=(0,h.useState)(!1),[f,b]=(0,h.useState)(!1),[g,v]=(0,h.useState)(!1),[w,y]=(0,h.useState)(null),{data:j,status:k}=(0,o.useSession)(),N=j?.user,C="authenticated"===k&&(0,l.isBlabAdminUser)(N),S=(0,h.useMemo)(()=>"authenticated"!==k||function(e){return!!e&&"object"==typeof e&&((0,l.isAdminUser)(e)||!!e&&(!!e.isTeacher||!!e.kuerzel||!!e.code||"teacher"===e.role)||"rolle"in e&&"user"===e.rolle)}(N)?m.default:m.default.map(e=>({...e,children:e.children?.map(e=>"/intern/ags"===e.path?{...e,name:"AG-Liste",path:"/schulgemeinschaft/arbeitsgemeinschaften/liste"}:e)})),[k,N]),M=(0,u.usePathname)(),{open:T,toggleSidebar:L,isMobile:E,setOpenMobile:z}=(0,d.useSidebar)(),_=()=>{E&&z(!1)},P=e=>M===e||M.startsWith(e+"/");function A(e){let t=S.find(e=>e.children?.some(e=>M===e.path));return t?e===t:!!P(e.path)||(e.children?.some(e=>M===e.path)??!1)}(0,h.useEffect)(()=>{x(!0);let e="true"===localStorage.getItem("darkMode");b(e),document.documentElement.classList.toggle("dark",e),v(window.matchMedia?.("(display-mode: standalone)").matches||!0===window.navigator.standalone)},[]),(0,h.useEffect)(()=>{p&&(localStorage.setItem("darkMode",JSON.stringify(f)),document.documentElement.classList.toggle("dark",f))},[f,p]),(0,h.useEffect)(()=>{let e=S.find(A);y(e?.path??null)},[M,S]);let R="border shadow-sm transition-colors dark:border-white/15 dark:bg-white/10 dark:text-slate-100 dar
1k:hover:bg-white/16",I="h-11 rounded-xl border-slate-400/55 bg-white/30 text-slate-700 hover:bg-white/55 hover:text-slate-900 px-4",B="h-10 w-10 rounded-full border-slate-400/55 bg-white/30 text-slate-700 hover:bg-white/55 hover:text-slate-900 !justify-center !px-0";return(0,t.jsxs)(d.Sidebar,{collapsible:"icon",variant:"sidebar",className:["overflow-hidden rounded-sm xl:top-16 xl:h-[calc(100dvh-4rem)]","bg-transparent dark:bg-transparent text-slate-100",e].filter(Boolean).join(" "),style:{"--sidebar-width-icon":"4.5rem"},...s,children:[(0,t.jsx)(d.SidebarHeader,{className:"flex items-center justify-center px-4 pt-4 pb-3 bg-transparent border-b border-slate-900/8 dark:border-white/10",children:(0,t.jsx)(d.SidebarTrigger,{"aria-label":"Navigation öffnen",className:"\n            inline-flex h-10 w-10 items-center justify-center rounded-xl border\n            border-slate-400/70 bg-white/45 text-slate-700\n            shadow-[0_2px_8px_rgba(15,23,42,0.12)]\n            hover:bg-white/70 hover:text-slate-900\n            dark:border-white/15 dark:bg-white/10 dark:text-slate-100\n            dark:hover:bg-white/16 dark:hover:text-white\n          "})}),(0,t.jsx)(d.SidebarContent,{className:(T?"":"xl:px-0")+" min-h-0 flex-1 overflow-y-auto bg-transparent px-2 py-2",children:(0,t.jsx)(d.SidebarMenu,{className:`
2            items-start
3            ${T?"":"xl:items-center xl:px-0"}
4          `,children:S.map(e=>{var a;let s;return(0,t.jsxs)(d.SidebarMenuItem,{className:`
5                w-full
6                ${T?"":"xl:flex xl:justify-center"}
7              `,children:[(0,t.jsxs)("div",{className:"xl:hidden",children:[!1===e.hasPage?(0,t.jsxs)("button",{type:"button",onClick:()=>y(t=>t===e.path?null:e.path),className:"\n                      w-full px-5 py-4 flex items-center\n                      text-base font-semibold opacity-90\n                      [&_svg]:!h-6 [&_svg]:!w-6\n                    ",children:[(0,t.jsx)(e.icon,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"ml-3 text-base",children:e.name}),(0,t.jsx)(n,{className:"ml-auto h-5 w-5 transition-transform "+(w===e.path?"rotate-180":"")})]}):(0,t.jsx)(d.SidebarMenuButton,{asChild:!0,className:`
8                      w-full flex items-center py-4 px-5
9                      [&_svg]:!h-6 [&_svg]:!w-6
10                      ${P(e.path)?e.activeClasses:""}
11                    `,children:(a=e.path,s="/"===a&&g?"/?home=1":a,(0,t.jsxs)(c.default,{href:s,onClick:_,children:[(0,t.jsx)(e.icon,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"ml-3 text-base",children:e.name})]}))}),e.children&&w===e.path&&(0,t.jsx)(d.SidebarMenuSub,{className:"ml-5 border-l border-slate-700/20 pl-3 dark:border-white/14",children:e.children.map(e=>(0,t.jsx)(d.SidebarMenuSubItem,{children:(0,t.jsx)(d.SidebarMenuSubButton,{asChild:!0,className:"flex h-auto min-h-7 items-center whitespace-normal py-2 text-sm leading-snug text-slate-700/90 dark:text-slate-100/86 "+(M===e.path?e.activeClasses:""),children:(0,t.jsx)(c.default,{href:e.path,onClick:_,children:e.name})})},e.path))})]}),(0,t.jsx)("div",{className:"hidden xl:block",children:e.children?(0,t.jsxs)("div",{className:"group w-full",children:[(0,t.jsxs)(d.SidebarMenuButton,{type:"button",onClick:()=>{T||L(),y(t=>t===e.path?null:e.path)},className:`
12                        w-full flex items-center py-4
13                        ${T?"px-5":"xl:!justify-center xl:!px-0"}
14                        ${A(e)?e.activeClasses:""}
15                      `,children:[(0,t.jsx)(e.icon,{className:"h-6 w-6"}),T&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"ml-3 text-base",children:e.name}),(0,t.jsx)(n,{className:"ml-auto h-5 w-5 transition-transform "+(w===e.path?"rotate-180":"")})]})]}),T&&w===e.path&&(0,t.jsx)(d.SidebarMenuSub,{className:"mx-5 mt-1 border-slate-700/18 px-3 py-1 dark:border-white/14",children:e.children.map(e=>(0,t.jsx)(d.SidebarMenuSubItem,{children:(0,t.jsx)(d.SidebarMenuSubButton,{asChild:!0,className:`
16                                flex h-auto min-h-7 items-center whitespace-normal py-2 text-sm leading-snug
17                                ${T?"px-3":"xl:!justify-center xl:!px-0"}
18                                ${M===e.path?e.activeClasses:""}
19                              `,children:(0,t.jsx)(c.default,{href:e.path,children:e.name})})},e.path))})]}):(0,t.jsx)(d.SidebarMenuButton,{asChild:!0,className:`
20                      flex items-center py-4
21                      ${T?"px-5":"xl:!justify-center xl:!px-0"}
22                      ${P(e.path)?e.activeClasses:""}
23                    `,children:(0,t.jsxs)(c.default,{href:"/"===e.path&&g?"/?home=1":e.path,onClick:()=>{T||L()},children:[(0,t.jsx)(e.icon,{className:"h-6 w-6"}),T&&(0,t.jsx)("span",{className:"ml-3 text-base",children:e.name})]})})})]},e.path)})})}),(0,t.jsx)(d.SidebarFooter,{className:"mt-auto shrink-0 bg-transparent border-t border-slate-900/8 p-2 dark:border-white/10",children:(0,t.jsxs)("div",{className:`flex ${T?"flex-col gap-2":"flex-col items-center gap-2"}
23`,children:[C&&(0,t.jsx)(d.SidebarMenuButton,{asChild:!0,className:`${R} ${T?I:B}`,children:(0,t.jsxs)(c.default,{href:"/intern/admin",title:"Admin",children:[(0,t.jsx)(a.Shield,{className:"h-5 w-5"}),T&&(0,t.jsx)("span",{className:"ml-3",children:"Admin"})]})}),(0,t.jsxs)(d.SidebarMenuButton,{onClick:()=>b(e=>!e),className:`${R} ${T?I:B}`,children:[p&&f?(0,t.jsx)(r,{className:"h-5 w-5"}):(0,t.jsx)(i,{className:"h-5 w-5"}),T&&(0,t.jsx)("span",{className:"ml-3",children:p&&f?"Light Mode":"Dark Mode"})]})]})})]})}],673439)},885048,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(618566);let n="installPromptDismissed";e.s(["default",0,function(){let e=(0,s.usePathname)(),[r,i]=(0,a.useState)(!1),[l,o]=(0,a.useState)(null),[d,c]=(0,a.useState)(!1),u=e?.startsWith("/intern");(0,a.useEffect)(()=>{"true"===localStorage.getItem(n)&&c(!0)},[]),(0,a.useEffect)(()=>{let e=e=>{e.preventDefault(),i(!0),o(e)};return window.addEventListener("beforeinstallprompt",e),()=>window.removeEventListener("beforeinstallprompt",e)},[]);let h=/iphone|ipad|ipod/.test(window.navigator.userAgent.toLowerCase()),m=window.matchMedia("(display-mode: standalone)").matches||!0===window.navigator.standalone;if(!(!u&&!d&&!m&&(r||h)))return null;function p(){c(!0),localStorage.setItem(n,"true")}async function x(){l&&(l.prompt(),"accepted"===(await l.userChoice).outcome&&p())}return(0,t.jsxs)("div",{className:"\n      fixed bottom-4 left-1/2 -translate-x-1/2\n      z-50 w-[92%] max-w-sm\n      bg-white dark:bg-slate-900\n      text-slate-900 dark:text-slate-100\n      rounded-xl shadow-xl border border-slate-200 dark:border-slate-700\n      px-4 py-3 flex items-center justify-between gap-3\n      animate-in fade-in slide-in-from-bottom-4 duration-300\n    ",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"text-sm font-semibold",children:"App installieren?"}),(0,t.jsx)("span",{className:"text-xs text-slate-500 dark:text-slate-400",children:"Schnellzugriff auf Stunden- & Vertretungsplan."})]}),r&&(0,t.jsx)("button",{onClick:x,className:"\n            text-xs bg-sky-600 hover:bg-sky-700 text-white\n            py-1 px-3 rounded-md shadow\n          ",children:"Installieren"}),!r&&h&&(0,t.jsx)("span",{className:"text-xs text-sky-500",children:"Über „Teilen → Zum Home-Bildschirm“."}),(0,t.jsx)("button",{onClick:p,className:"text-slate-400 hover:text-slate-600 dark:hover:text-slate-300",children:"✕"})]})}])},530909,e=>{"use strict";let t;var a=e.i(843476),s=e.i(991918),n=e.i(225913);let r=(0,e.i(475254).default)("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]]);var i=e.i(271645),l=e.i(519455),o=e.i(793479),d=e.i(772436),c=e.i(326999),u=e.i(995926),h=e.i(975157);function m({...e}){return(0,a.jsx)(c.Root,{"data-slot":"sheet",...e})}function p({...e}){return(0,a.jsx)(c.Portal,{"data-slot":"sheet-portal",...e})}function x({className:e,...t}){return(0,a.jsx)(c.Overlay,{"data-slot":"sheet-overlay",className:(0,h.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function f({className:e,children:t,side:s="right",...n}){return(0,a.jsxs)(p,{children:[(0,a.jsx)(x,{}),(0,a.jsxs)(c.Content,{"data-slot":"sheet-content",className:(0,h.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===s&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===s&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===s&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===s&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...n,children:[t,(0,a.jsxs)(c.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,a.jsx)(u.XIcon,{className:"size-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function b({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sheet-header",className:(0,h.cn)("flex flex-col gap-1.5 p-4",e),...t})}function g({className:e,...t}){return(0,a.jsx)(c.Title,{"data-slot":"sheet-title",className:(0,h.cn)("text-foreground font-semibold",e),...t})}function v({className:e,...t}
23){return(0,a.jsx)(c.Description,{"data-slot":"sheet-description",className:(0,h.cn)("text-muted-foreground text-sm",e),...t})}function w({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"skeleton",className:(0,h.cn)("bg-accent animate-pulse rounded-md",e),...t})}var y=e.i(981140),j=e.i(820783),k=e.i(30030),N=e.i(726330),C=e.i(610772),S=e.i(853660),M=e.i(774606),T=e.i(296626),L=e.i(248425),E=Symbol("radix.slottable"),z=e.i(369340),_=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),P=i.forwardRef((e,t)=>(0,a.jsx)(L.Primitive.span,{...e,ref:t,style:{..._,...e.style}}));P.displayName="VisuallyHidden";var[A,R]=(0,k.createContextScope)("Tooltip",[S.createPopperScope]),I=(0,S.createPopperScope)(),B="TooltipProvider",D="tooltip.open",[H,W]=A(B),$=e=>{let{__scopeTooltip:t,delayDuration:s=700,skipDelayDuration:n=300,disableHoverableContent:r=!1,children:l}=e,o=i.useRef(!0),d=i.useRef(!1),c=i.useRef(0);return i.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,a.jsx)(H,{scope:t,isOpenDelayedRef:o,delayDuration:s,onOpen:i.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:i.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,n)},[n]),isPointerInTransitRef:d,onPointerInTransitChange:i.useCallback(e=>{d.current=e},[]),disableHoverableContent:r,children:l})};$.displayName=B;var O="Tooltip",[G,F]=A(O),U=e=>{let{__scopeTooltip:t,children:s,open:n,defaultOpen:r,onOpenChange:l,disableHoverableContent:o,delayDuration:d}=e,c=W(O,e.__scopeTooltip),u=I(t),[h,m]=i.useState(null),p=(0,C.useId)(),x=i.useRef(0),f=o??c.disableHoverableContent,b=d??c.delayDuration,g=i.useRef(!1),[v,w]=(0,z.useControllableState)({prop:n,defaultProp:r??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(D))):c.onClose(),l?.(e)},caller:O}),y=i.useMemo(()=>v?g.current?"delayed-open":"instant-open":"closed",[v]),j=i.useCallback(()=>{window.clearTimeout(x.current),x.current=0,g.current=!1,w(!0)},[w]),k=i.useCallback(()=>{window.clearTimeout(x.current),x.current=0,w(!1)},[w]),N=i.useCallback(()=>{window.clearTimeout(x.current),x.current=window.setTimeout(()=>{g.current=!0,w(!0),x.current=0},b)},[b,w]);return i.useEffect(()=>()=>{x.current&&(window.clearTimeout(x.current),x.current=0)},[]),(0,a.jsx)(S.Root,{...u,children:(0,a.jsx)(G,{scope:t,contentId:p,open:v,stateAttribute:y,trigger:h,onTriggerChange:m,onTriggerEnter:i.useCallback(()=>{c.isOpenDelayedRef.current?N():j()},[c.isOpenDelayedRef,N,j]),onTriggerLeave:i.useCallback(()=>{f?k():(window.clearTimeout(x.current),x.current=0)},[k,f]),onOpen:j,onClose:k,disableHoverableContent:f,children:s})})};U.displayName=O;var V="TooltipTrigger",q=i.forwardRef((e,t)=>{let{__scopeTooltip:s,...n}=e,r=F(V,s),l=W(V,s),o=I(s),d=i.useRef(null),c=(0,j.useComposedRefs)(t,d,r.onTriggerChange),u=i.useRef(!1),h=i.useRef(!1),m=i.useCallback(()=>u.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),(0,a.jsx)(S.Anchor,{asChild:!0,...o,children:(0,a.jsx)(L.Primitive.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...n,ref:c,onPointerMove:(0,y.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(h.current||l.isPointerInTransitRef.current||(r.onTriggerEnter(),h.current=!0))}),onPointerLeave:(0,y.composeEventHandlers)(e.onPointerLeave,()=>{r.onTriggerLeave(),h.current=!1}),onPointerDown:(0,y.composeEventHandlers)(e.onPointerDown,()=>{r.open&&r.onClose(),u.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:(0,y.composeEventHandlers)(e.onFocus,()=>{u.current||r.onOpen()}),onBlur:(0,y.composeEventHandlers)(e.onBlur,r.onClose),onClick:(0,y.composeEventHandlers)(e.onClick,r.onClose)})})});q.displayName=V;var K="TooltipPortal",[X,Z]=A(K,{forceMount:void 0}),Y=e=>{let{__scopeTooltip:t,forceMount:s,children:n,container:r}=e,i=F(K,t);return(0,a.jsx)(X,{scope:t,forceMount:s,children:(0,a.jsx)(T.Presence,{present:s||i.open,children:(0,a.jsx)(M.Portal,{asChild:!0,container:r,children:n})})})};Y.displayName=K;var J="TooltipContent",Q=i.forwardRef((e,t)=>
23{let s=Z(J,e.__scopeTooltip),{forceMount:n=s.forceMount,side:r="top",...i}=e,l=F(J,e.__scopeTooltip);return(0,a.jsx)(T.Presence,{present:n||l.open,children:l.disableHoverableContent?(0,a.jsx)(en,{side:r,...i,ref:t}):(0,a.jsx)(ee,{side:r,...i,ref:t})})}),ee=i.forwardRef((e,t)=>{let s=F(J,e.__scopeTooltip),n=W(J,e.__scopeTooltip),r=i.useRef(null),l=(0,j.useComposedRefs)(t,r),[o,d]=i.useState(null),{trigger:c,onClose:u}=s,h=r.current,{onPointerInTransitChange:m}=n,p=i.useCallback(()=>{d(null),m(!1)},[m]),x=i.useCallback((e,t)=>{let a,s=e.currentTarget,n={x:e.clientX,y:e.clientY},r=function(e,t){let a=Math.abs(t.top-e.y),s=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),r=Math.abs(t.left-e.x);switch(Math.min(a,s,n,r)){case r:return"left";case n:return"right";case a:return"top";case s:return"bottom";default:throw Error("unreachable")}}(n,s.getBoundingClientRect());d(((a=[...function(e,t,a=5){let s=[];switch(t){case"top":s.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":s.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":s.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":s.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a})}return s}(n,r),...function(e){let{top:t,right:a,bottom:s,left:n}=e;return[{x:n,y:t},{x:a,y:t},{x:a,y:s},{x:n,y:s}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let a=0;a<e.length;a++){let s=e[a];for(;t.length>=2;){let e=t[t.length-1],a=t[t.length-2];if((e.x-a.x)*(s.y-a.y)>=(e.y-a.y)*(s.x-a.x))t.pop();else break}t.push(s)}t.pop();let a=[];for(let t=e.length-1;t>=0;t--){let s=e[t];for(;a.length>=2;){let e=a[a.length-1],t=a[a.length-2];if((e.x-t.x)*(s.y-t.y)>=(e.y-t.y)*(s.x-t.x))a.pop();else break}a.push(s)}return(a.pop(),1===t.length&&1===a.length&&t[0].x===a[0].x&&t[0].y===a[0].y)?t:t.concat(a)}(a))),m(!0)},[m]);return i.useEffect(()=>()=>p(),[p]),i.useEffect(()=>{if(c&&h){let e=e=>x(e,h),t=e=>x(e,c);return c.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[c,h,x,p]),i.useEffect(()=>{if(o){let e=e=>{let t=e.target,a={x:e.clientX,y:e.clientY},s=c?.contains(t)||h?.contains(t),n=!function(e,t){let{x:a,y:s}=e,n=!1;for(let e=0,r=t.length-1;e<t.length;r=e++){let i=t[e],l=t[r],o=i.x,d=i.y,c=l.x,u=l.y;d>s!=u>s&&a<(c-o)*(s-d)/(u-d)+o&&(n=!n)}return n}(a,o);s?p():n&&(p(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,h,o,u,p]),(0,a.jsx)(en,{...e,ref:l})}),[et,ea]=A(O,{isInside:!1}),es=((t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e})).displayName="TooltipContent.Slottable",t.__radixId=E,t),en=i.forwardRef((e,t)=>{let{__scopeTooltip:s,children:n,"aria-label":r,onEscapeKeyDown:l,onPointerDownOutside:o,...d}=e,c=F(J,s),u=I(s),{onClose:h}=c;return i.useEffect(()=>(document.addEventListener(D,h),()=>document.removeEventListener(D,h)),[h]),i.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;t?.contains(c.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,h]),(0,a.jsx)(N.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,a.jsxs)(S.Content,{"data-state":c.stateAttribute,...u,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,a.jsx)(es,{children:n}),(0,a.jsx)(et,{scope:s,isInside:!0,children:(0,a.jsx)(P,{id:c.contentId,role:"tooltip",children:r||n})})]})})});Q.displayName=J;var er="TooltipArrow",ei=i.forwardRef((e,t)=>{let{__scopeTooltip:s,...n}=e,r=I(s);return ea(er,s).isInside?null:(0,a.jsx)(S.Arrow,{...r,...n,ref:t})});function el({delayDuration:e=0,...t}){return(0,a.jsx)($,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function eo({...e}){return(0,a.jsx)(el,{children:(0,a.jsx)(U,{"data-slot":"tooltip",...e})})}function ed({...e}){return(0,a.jsx)(q,{"data-slot":"tooltip-trigger",...e})}function ec({className:e,sideOffset:t=0,children:s,...n}){return(0,a.jsx)(Y,{children:(0,a.jsxs)(Q,{"data-slot":"tooltip-content",sideOffset:t,className:(0,h.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
23de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...n,children:[s,(0,a.jsx)(ei,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}ei.displayName=er;let eu=i.createContext(null);function eh(){let e=i.useContext(eu);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}let em=(0,n.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Sidebar",0,function({side:e="left",variant:t="sidebar",collapsible:s="offcanvas",className:n,children:r,...i}){let{isMobile:l,state:o,openMobile:d,setOpenMobile:c}=eh();return"none"===s?(0,a.jsx)("div",{"data-slot":"sidebar",className:(0,h.cn)("bg-sidebar text-sidebar-foreground flex h-full w-60 flex-col",n),...i,children:r}):l?(0,a.jsx)(m,{open:d,onOpenChange:c,...i,children:(0,a.jsxs)(f,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-60 p-0 [&>button]:hidden border border-white/10 shadow-xl",style:{"--sidebar-width":"18rem"},side:e,children:[(0,a.jsxs)(b,{className:"sr-only",children:[(0,a.jsx)(g,{children:"Sidebar"}),(0,a.jsx)(v,{children:"Displays the mobile sidebar."})]}),(0,a.jsx)("div",{className:"flex h-full w-full flex-col",children:r})]})}):(0,a.jsxs)("div",{className:"group peer text-sidebar-foreground hidden xl:block","data-state":o,"data-collapsible":"collapsed"===o?s:"","data-variant":t,"data-side":e,"data-slot":"sidebar",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem"},children:[(0,a.jsx)("div",{"data-slot":"sidebar-gap",className:(0,h.cn)("relative bg-transparent transition-[width] duration-200 ease-linear","w-(--sidebar-width)","group-data-[collapsible=offcanvas]:w-0","group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,a.jsx)("div",{"data-slot":"sidebar-container",className:(0,h.cn)("fixed top-[var(--mvlg-header-offset,88px)] bottom-6 z-50 hidden xl:flex","w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear","left"===e?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","group-data-[collapsible=icon]:w-(--sidebar-width-icon)",n),...i,children:(0,a.jsxs)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:(0,h.cn)("relative flex h-full w-full flex-col text-slate-900 dark:text-slate-100","bg-[#d7e5f4]/74 dark:bg-slate-950/64","backdrop-blur-2xl backdrop-saturate-150","ring-1 ring-white/28 dark:ring-white/10","shadow-[10px_0_34px_rgba(12,32,62,0.20)] dark:shadow-[10px_0_34px_rgba(0,0,0,0.34)]","rounded-3xl overflow-hidden"),children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-px bg-white/45 dark:bg-white/10"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-10 bg-gradient-to-b from-white/42 to-transparent"}),r]})})]})},"SidebarContent",0,function({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,h.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})},"SidebarFooter",0,function({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,h.cn)("flex flex-col gap-2 p-2",e),...t})},"SidebarGroup",0,function({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,h.cn)("relative flex w-full min-w-0 flex-col p-2",e),...t})},"SidebarGroupAction",0,function({className:e,asChild:t=!1,...n}){let r=t?s.Slot:"button";return(0,a.jsx)(r,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:(0,h.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e),...n})},"SidebarGroupContent",0,function({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,h.cn)("w-full text-sm",e),...t})},"SidebarGroupLabel",0,function({className:e,asChild:t=!1,...n}){let r=t?s.Slot:"div";return(0,a.jsx)(r,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:(0,h.cn)("text-sidebar-foreground
23/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...n})},"SidebarHeader",0,function({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,h.cn)("flex flex-col gap-2 p-3",e),...t})},"SidebarInput",0,function({className:e,...t}){return(0,a.jsx)(o.Input,{"data-slot":"sidebar-input","data-sidebar":"input",className:(0,h.cn)("bg-background h-8 w-full shadow-none",e),...t})},"SidebarInset",0,function({className:e,...t}){return(0,a.jsx)("main",{"data-slot":"sidebar-inset",className:(0,h.cn)("bg-background relative flex w-full flex-1 flex-col","lg:peer-data-[variant=inset]:m-2 lg:peer-data-[variant=inset]:ml-0 lg:peer-data-[variant=inset]:rounded-xl lg:peer-data-[variant=inset]:shadow-sm lg:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})},"SidebarMenu",0,function({className:e,...t}){return(0,a.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,h.cn)("flex w-full min-w-0 flex-col gap-1",e),...t})},"SidebarMenuAction",0,function({className:e,asChild:t=!1,showOnHover:n=!1,...r}){let i=t?s.Slot:"button";return(0,a.jsx)(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:(0,h.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",n&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),...r})},"SidebarMenuBadge",0,function({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:(0,h.cn)("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t})},"SidebarMenuButton",0,function({asChild:e=!1,isActive:t=!1,variant:n="default",size:r="default",tooltip:i,className:l,...o}){let d=e?s.Slot:"button",{isMobile:c,state:u}=eh(),m=(0,a.jsx)(d,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":r,"data-active":t,className:(0,h.cn)(em({variant:n,size:r}),l),...o});return i?("string"==typeof i&&(i={children:i}),(0,a.jsxs)(eo,{children:[(0,a.jsx)(ed,{asChild:!0,children:m}),(0,a.jsx)(ec,{side:"right",align:"center",hidden:"collapsed"!==u||c,...i})]})):m},"SidebarMenuItem",0,function({className:e,...t}){return(0,a.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,h.cn)("group/menu-item relative",e),...t})},"SidebarMenuSkeleton",0,function({className:e,showIcon:t=!1,...s}){let n=i.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return(0,a.jsxs)("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:(0,h.cn)("flex h-8 items-center gap-2 rounded-md px-2",e),...s,children:[t&&(0,a.jsx)(w,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,a.jsx)(w,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})},"SidebarMenuSub",0,function({className:e,...t}){return(0,a.jsx)("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:(0,h.cn)("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t})},"SidebarMenuSubButton",0,function({asChild:e=!1,size:t="md",isActive:n=!1,className:r,...i}){let l=e?s.Slot:"a";return(0,a.jsx)(l,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":t,"data-active":n,className:(0,h.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focu
23s-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",r),...i})},"SidebarMenuSubItem",0,function({className:e,...t}){return(0,a.jsx)("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:(0,h.cn)("group/menu-sub-item relative",e),...t})},"SidebarProvider",0,function({open:e,onOpenChange:t,className:s,style:n,children:r,...l}){let o=function(){let[e,t]=i.useState(!1);return i.useEffect(()=>{let e=window.matchMedia("(max-width: 1279px)"),a=()=>t(e.matches);return(a(),"function"==typeof e.addEventListener)?(e.addEventListener("change",a),()=>e.removeEventListener("change",a)):(e.addListener(a),()=>e.removeListener(a))},[]),e}(),[d,c]=i.useState(!1),u=function(){let[e,t]=(0,i.useState)({});return(0,i.useEffect)(()=>{let e=document.cookie.split("; "),a={};e.forEach(e=>{let[t,s]=e.split("=");a[t]=decodeURIComponent(s)}),t(a);let s=()=>{let e=document.cookie.split("; "),a={};e.forEach(e=>{let[t,s]=e.split("=");a[t]=decodeURIComponent(s)}),t(a)};return document.addEventListener("cookiechange",s),()=>{document.removeEventListener("cookiechange",s)}},[]),{cookieStore:e,getCookie:t=>e[t]||null}}(),[m,p]=i.useState("true"===u.getCookie("sidebar_state")),x=e??m,f=i.useCallback(e=>{let a="function"==typeof e?e(x):e;t?t(a):p(a),document.cookie=`sidebar_state=${a}; path=/; max-age=604800`},[t,x]),b=i.useCallback(()=>o?c(e=>!e):f(e=>!e),[o,f,c]);i.useEffect(()=>{let e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),b())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[b]);let g=x?"expanded":"collapsed",v=i.useMemo(()=>({state:g,open:x,setOpen:f,isMobile:o,openMobile:d,setOpenMobile:c,toggleSidebar:b}),[g,x,f,o,d,c,b]);return(0,a.jsx)(eu.Provider,{value:v,children:(0,a.jsx)(el,{delayDuration:0,children:(0,a.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",...l,style:n,className:(0,h.cn)("group/sidebar-wrapper flex min-h-svh w-full bg-transparent",s),children:r})})})},"SidebarRail",0,function({className:e,...t}){let{toggleSidebar:s}=eh();return(0,a.jsx)("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:s,title:"Toggle Sidebar",className:(0,h.cn)("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})},"SidebarSeparator",0,function({className:e,...t}){return(0,a.jsx)(d.Separator,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:(0,h.cn)("bg-sidebar-border mx-2 w-auto",e),...t})},"SidebarTrigger",0,function({className:e,onClick:t,...s}){let{open:n,toggleSidebar:i}=eh();return(0,a.jsxs)(l.Button,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:(0,h.cn)("size-7",e),onClick:e=>{t?.(e),i()},...s,children:[(0,a.jsx)(r,{className:"h-6 w-6 transition-transform "+(n?"-rotate-90":"rotate-0")}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})},"useSidebar",0,eh],530909)}]);

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.