PageSourceSearch

https://openluchtfilmfestival.nl/assets/admin-CuEPmhge.js

js openluchtfilmfestival.nl collected 2026-10-07 03:53:09 UTC 29,513 bytes, 2 lines download raw bytes

1import{l as k,r as s,j as r,a0 as Me,E as u,a1 as Ie,a2 as Y,a3 as Oe,p as Ae,a4 as De,v as J,a5 as Le,P as ze,x as j,A as He,a6 as Q,z as Z,a7 as Be,a8 as $e,a9 as Ge,aa as Fe,B as ee,ab as _,I as Ve,u as Ke,ac as Ue,T as te,M as We,d as qe,_ as Xe,ad as Ye,X as Je,s as Qe,O as Ze}from"./index-BqPjVr92.js";import{R as et,P as tt,C as ae,a as at,T as re,D as oe,O as ne}from"./index-DoXD7hyL.js";import{R as rt}from"./index-D9AkVgfZ.js";import{U as ot}from"./users-BxepyfgN.js";import{P as nt,N as st}from"./palette-IMoNGk-u.js";const it=[["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-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],lt=k("house",it);const dt=[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]],ct=k("images",dt);const ut=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],se=k("layout-dashboard",ut);const pt=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],ft=k("log-out",pt);const bt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],mt=k("panel-left",bt),O=768;function ht(){const[e,t]=s.useState(void 0);return s.useEffect(()=>{const a=window.matchMedia(`(max-width: ${O-1}px)`),o=()=>{t(window.innerWidth<O)};return a.addEventListener("change",o),t(window.innerWidth<O),()=>a.removeEventListener("change",o)},[]),!!e}var xt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gt=xt.reduce((e,t)=>{const a=Me(`Primitive.${t}`),o=s.forwardRef((n,i)=>{const{asChild:d,...p}=n,l=d?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r.jsx(l,{...p,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),vt="Separator",q="horizontal",wt=["horizontal","vertical"],ie=s.forwardRef((e,t)=>{const{decorative:a,orientation:o=q,...n}=e,i=yt(o)?o:q,p=a?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return r.jsx(gt.div,{"data-orientation":i,...p,...n,ref:t})});ie.displayName=vt;function yt(e){return wt.includes(e)}var le=ie;const de=s.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},n)=>r.jsx(le,{ref:n,decorative:a,orientation:t,className:u("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));de.displayName=le.displayName;const Nt=et,jt=tt,ce=s.forwardRef(({className:e,...t},a)=>r.jsx(ne,{className:u("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));ce.displayName=ne.displayName;const St=Y("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ue=s.forwardRef(({side:e="right",className:t,children:a,...o},n)=>r.jsxs(jt,{children:[r.jsx(ce,{}),r.jsxs(ae,{ref:n,className:u(St({side:e}),t),...o,children:[r.jsxs(at,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background cursor-pointer transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[r.jsx(Ie,{className:"h-4 w-4"}),r.jsx("span",{className:"sr-only",children:"Close"})]}),a]})]}));ue.displayName=ae.displayName;const pe=({className:e,...t})=>r.jsx("div",{className:u("flex flex-col space-y-2 text-center sm:text-left",e),...t});pe.displayName="SheetHeader";const fe=s.forwardRef(({className:e,...t},a)=>r.jsx(re,{ref:a,className:u("text-lg font-semibold text-foreground",e),...t}));fe.displayName=re.displayName;const be=s.forwardRef(({className:e,...t},a)=>r.jsx(oe,{ref:a,className:u("text-sm text-muted-foreground",e),...t}));be.displayName=oe.displayName;function X({className:e,...t}){return r.jsx("div",{className:u("animate-pulse rounded-md bg-primary/10",e),...t})}var Ct=Symbol("radix.slottable");function Tt(e){const t=({children:a})=>r.jsx(r.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=Ct,t}var[P]=He("Tooltip",[Q]),M=Q(),me="TooltipProvider",Rt=700,D="tooltip.open",[kt,z]=P(me),he=e=>{const{__scopeTooltip:t,delayDuration:a=Rt,skipDelayDuration:o=300,disableHoverableContent:n=!1,children:i}=e,d=s.useRef(!0),p=s.useRef(!1),l=s.useRef(0);return s.useEffect(()=>{const f=l.current;return()=>window.clearTimeout(f)},[]),r.jsx(kt,{scope:t,isOpenDelayedRef:d,delayDuration:a,onOpen:s.useCallback(()=>{window.clearTimeout(l.current),d.current=!1},[]),onClose:s.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>d.current=!0,o)},[o]),isPointerInTransitRef:p,onPointerInTransitChange:s.useCallback(f=>{p.current=f},[]),disableHoverableContent:n,children:i})};he.displayName=me;var R="Tooltip",[_t,E]=P(R),xe=e=>{const{__scopeTooltip:t,children:a,open:o,defaultOpen:n,onOpenChange:i,disableHoverableContent:d,delayDuration:p}=e,l=z(R,e.__scopeTooltip),f=M(t),[c,m]=s.useState(null),g=Oe(),b=s.useRef(0),x=d??l.disableHoverableContent,v=p??l.delayDuration,w=s.useRef(!1),[N,h]=Ae({prop:o,defaultProp:n??!1,onChange:W=>{W?(l.onOpen(),document.dispatchEvent(new CustomEvent(D))):l.onClose(),i?.(W)},caller:R}),y=s.useMemo(()=>N?w.current?"delayed-open":"instant-open":"closed",[N]),C=s.useCallback(()=>{window.clearTimeout(b.current),b.current=0,w.current=!1,h(!0)},[h]),T=s.useCallback(()=>{window.clearTimeout(b.current),b.current=0,h(!1)},[h]),U=s.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{w.current=!0,h(!0),b.current=0},v)},[v,h]);return s.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),r.jsx(De,{...f,children:r.jsx(_t,{scope:t,contentId:g,open:N,stateAttribute:y,trigger:c,onTriggerChange:m,onTriggerEnter:s.useCallback(()=>{l.isOpenDelayedRef.current?U():C()},[l.isOpenDelayedRef,U,C]),onTriggerLeave:s.useCallback(()=>{x?T():(window.clearTimeout(b.current),b.current=0)},[T,x]),onOpen:C,onClose:T,disableHoverableContent:x,children:a})})};xe.displayName=R;var L="TooltipTrigger",ge=s.forwardRef((e,t)=>{const{__scopeTooltip:a,...o}=e,n=E(L,a),i=z(L,a),d=M(a),p=s.useRef(null),l=J(t,p,n.onTriggerChange),f=s.useRef(!1),c=s.useRef(!1),m=s.useCallback(()=>f.current=!1,[]);return s.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),r.jsx(Le,{asChild:!0,...d,children:r.jsx(ze.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...o,ref:l,onPointerMove:j(e.onPointerMove,g=>{g.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:j(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:j(e.onPointerDown,()=>{n.open&&n.onClose(),f.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:j(e.onFocus,()=>{f.current||n.onOpen()}),onBlur:j(e.onBlur,n.onClose),onClick:j(e.onClick,n.onClose)})})});ge.displayName=L;var H="TooltipPortal",[Et,Pt]=P(H,{forceMount:void 0}),ve=e=>{const{__scopeTooltip:t,forceMount:a,children:o,container:n}=e,i=E(H,t);return r.jsx(Et,{scope:t,forceMount:a,children:r.jsx(Z,{present:a||i.open,children:r.jsx(Be,{asChild:!0,container:n,children:o})})})};ve.displayName=H;var S="TooltipContent",we=s.forwardRef((e,t)=>
vendor: 4,595 bytes, line 1
1{const a=Pt(S,e.__scopeTooltip),{forceMount:o=a.forceMount,side:n="top",...i}=e,d=E(S,e.__scopeTooltip);return r.jsx(Z,{present:o||d.open,children:d.disableHoverableContent?r.jsx(ye,{side:n,...i,ref:t}):r.jsx(Mt,{side:n,...i,ref:t})})}),Mt=s.forwardRef((e,t)=>{const a=E(S,e.__scopeTooltip),o=z(S,e.__scopeTooltip),n=s.useRef(null),i=J(t,n),[d,p]=s.useState(null),{trigger:l,onClose:f}=a,c=n.current,{onPointerInTransitChange:m}=o,g=s.useCallback(()=>{p(null),m(!1)},[m]),b=s.useCallback((x,v)=>{const w=x.currentTarget,N={x:x.clientX,y:x.clientY},h=Lt(N,w.getBoundingClientRect()),y=zt(N,h),C=Ht(v.getBoundingClientRect()),T=$t([...y,...C]);p(T),m(!0)},[m]);return s.useEffect(()=>()=>g(),[g]),s.useEffect(()=>{if(l&&c){const x=w=>b(w,c),v=w=>b(w,l);return l.addEventListener("pointerleave",x),c.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",x),c.removeEventListener("pointerleave",v)}}},[l,c,b,g]),s.useEffect(()=>{if(d){const x=v=>{const w=v.target,N={x:v.clientX,y:v.clientY},h=l?.contains(w)||c?.contains(w),y=!Bt(N,d);h?g():y&&(g(),f())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,c,d,f,g]),r.jsx(ye,{...e,ref:i})}),[It,Ot]=P(R,{isInside:!1}),At=Tt("TooltipContent"),ye=s.forwardRef((e,t)=>{const{__scopeTooltip:a,children:o,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:d,...p}=e,l=E(S,a),f=M(a),{onClose:c}=l;return s.useEffect(()=>(document.addEventListener(D,c),()=>document.removeEventListener(D,c)),[c]),s.useEffect(()=>{if(l.trigger){const m=g=>{g.target?.contains(l.trigger)&&c()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[l.trigger,c]),r.jsx($e,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:m=>m.preventDefault(),onDismiss:c,children:r.jsxs(Ge,{"data-state":l.stateAttribute,...f,...p,ref:t,style:{...p.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:[r.jsx(At,{children:o}),r.jsx(It,{scope:a,isInside:!0,children:r.jsx(rt,{id:l.contentId,role:"tooltip",children:n||o})})]})})});we.displayName=S;var Ne="TooltipArrow",Dt=s.forwardRef((e,t)=>{const{__scopeTooltip:a,...o}=e,n=M(a);return Ot(Ne,a).isInside?null:r.jsx(Fe,{...n,...o,ref:t})});Dt.displayName=Ne;function Lt(e,t){const a=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(a,o,n,i)){case i:return"left";case n:return"right";case a:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function zt(e,t,a=5){const o=[];switch(t){case"top":o.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":o.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":o.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":o.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return o}function Ht(e){const{top:t,right:a,bottom:o,left:n}=e;return[{x:n,y:t},{x:a,y:t},{x:a,y:o},{x:n,y:o}]}function Bt(e,t){const{x:a,y:o}=e;let n=!1;for(let i=0,d=t.length-1;i<t.length;d=i++){const p=t[i],l=t[d],f=p.x,c=p.y,m=l.x,g=l.y;c>o!=g>o&&a<(m-f)*(o-c)/(g-c)+f&&(n=!n)}return n}function $t(e){const t=e.slice();return t.sort((a,o)=>a.x<o.x?-1:a.x>o.x?1:a.y<o.y?-1:a.y>o.y?1:0),Gt(t)}function Gt(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const n=e[o];for(;t.length>=2;){const i=t[t.length-1],d=t[t.length-2];if((i.x-d.x)*(n.y-d.y)>=(i.y-d.y)*(n.x-d.x))t.pop();else break}t.push(n)}t.pop();const a=[];for(let o=e.length-1;o>=0;o--){const n=e[o];for(;a.length>=2;){const i=a[a.length-1],d=a[a.length-2];if((i.x-d.x)*(n.y-d.y)>=(i.y-d.y)*(n.x-d.x))a.pop();else break}a.push(n)}return a.pop(),t.length===1&&a.length===1&&t[0].x===a[0].x&&t[0].y===a[0].y?t:t.concat(a)}var Ft=he,Vt=xe,Kt=ge,Ut=ve,je=we;const Wt=Ft,qt=Vt,Xt=Kt,Se=s.forwardRef(({className:e,sideOffset:t=4,...a},o)=>r.jsx(Ut,{children:r.jsx(je,{ref:o,sideOffset:t,className:u("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs 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
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)",e),...a})}));Se.displayName=je.displayName;const Yt="sidebar_state",Jt=3600*24*7,Qt="16rem",Zt="18rem",ea="3rem",ta="b",Ce=s.createContext(null);function I(){const e=s.useContext(Ce);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}const Te=s.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:n,children:i,...d},p)=>{const l=ht(),[f,c]=s.useState(!1),[m,g]=s.useState(e),b=t??m,x=s.useCallback(h=>{const y=typeof h=="function"?h(b):h;a?a(y):g(y),document.cookie=`${Yt}=${y}; path=/; max-age=${Jt}`},[a,b]),v=s.useCallback(()=>l?c(h=>!h):x(h=>!h),[l,x,c]);s.useEffect(()=>{const h=y=>{y.key===ta&&(y.metaKey||y.ctrlKey)&&(y.preventDefault(),v())};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[v]);const w=b?"expanded":"collapsed",N=s.useMemo(()=>({state:w,open:b,setOpen:x,isMobile:l,openMobile:f,setOpenMobile:c,toggleSidebar:v}),[w,b,x,l,f,c,v]);return r.jsx(Ce.Provider,{value:N,children:r.jsx(Wt,{delayDuration:0,children:r.jsx("div",{style:{"--sidebar-width":Qt,"--sidebar-width-icon":ea,...n},className:u("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",o),ref:p,...d,children:i})})})});Te.displayName="SidebarProvider";const Re=s.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:n,...i},d)=>{const{isMobile:p,state:l,openMobile:f,setOpenMobile:c}=I();return a==="none"?r.jsx("div",{className:u("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",o),ref:d,...i,children:n}):p?r.jsx(Nt,{open:f,onOpenChange:c,...i,children:r.jsxs(ue,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Zt},side:e,children:[r.jsxs(pe,{className:"sr-only",children:[r.jsx(fe,{children:"Sidebar"}),r.jsx(be,{children:"Displays the mobile sidebar."})]}),r.jsx("div",{className:"flex h-full w-full flex-col",children:n})]})}):r.jsxs("div",{ref:d,className:"group peer hidden text-sidebar-foreground md:block","data-state":l,"data-collapsible":l==="collapsed"?a:"","data-variant":t,"data-side":e,children:[r.jsx("div",{className:u("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),r.jsx("div",{className:u("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...i,children:r.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:n})})]})});Re.displayName="Sidebar";const ke=s.forwardRef(({className:e,onClick:t,...a},o)=>{const{toggleSidebar:n}=I();return r.jsxs(ee,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:u("h-7 w-7",e),onClick:i=>{t?.(i),n()},...a,children:[r.jsx(mt,{}),r.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})});ke.displayName="SidebarTrigger";const aa=s.forwardRef(({className:e,...t},a)=>{const{toggleSidebar:o}=I();return r.jsx("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:u("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});aa.displayName="SidebarRail";const ra=s.forwardRef(({className:e,...t},a)=>r.jsx("main",{ref:a,className:u("relative flex w-full flex-1 flex-col bg-background","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));ra.displayName="SidebarInset";const oa=s.forwardRef(({className:e,...t},a)=>r.jsx(Ve,{ref:a,"data-sidebar":"input",className:u("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));oa.displayName="SidebarInput";const _e=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,"data-sidebar":"header",className:u("flex flex-col gap-2 p-2",e),...t}));_e.displayName="SidebarHeader";const Ee=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,"data-sidebar":"footer",className:u("flex flex-col gap-2 p-2",e),...t}));
1Ee.displayName="SidebarFooter";const na=s.forwardRef(({className:e,...t},a)=>r.jsx(de,{ref:a,"data-sidebar":"separator",className:u("mx-2 w-auto bg-sidebar-border",e),...t}));na.displayName="SidebarSeparator";const Pe=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,"data-sidebar":"content",className:u("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));Pe.displayName="SidebarContent";const B=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,"data-sidebar":"group",className:u("relative flex w-full min-w-0 flex-col p-2",e),...t}));B.displayName="SidebarGroup";const $=s.forwardRef(({className:e,asChild:t=!1,...a},o)=>{const n=t?_:"div";return r.jsx(n,{ref:o,"data-sidebar":"group-label",className:u("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring 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),...a})});$.displayName="SidebarGroupLabel";const sa=s.forwardRef(({className:e,asChild:t=!1,...a},o)=>{const n=t?_:"button";return r.jsx(n,{ref:o,"data-sidebar":"group-action",className:u("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring cursor-pointer transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a})});sa.displayName="SidebarGroupAction";const G=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,"data-sidebar":"group-content",className:u("w-full text-sm",e),...t}));G.displayName="SidebarGroupContent";const F=s.forwardRef(({className:e,...t},a)=>r.jsx("ul",{ref:a,"data-sidebar":"menu",className:u("flex w-full min-w-0 flex-col gap-1",e),...t}));F.displayName="SidebarMenu";const V=s.forwardRef(({className:e,...t},a)=>r.jsx("li",{ref:a,"data-sidebar":"menu-item",className:u("group/menu-item relative",e),...t}));V.displayName="SidebarMenuItem";const ia=Y("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring cursor-pointer 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 disabled:cursor-not-allowed 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_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_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"}}),K=s.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:n,className:i,...d},p)=>{const l=e?_:"button",{isMobile:f,state:c}=I(),m=r.jsx(l,{ref:p,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:u(ia({variant:a,size:o}),i),...d});return n?(typeof n=="string"&&(n={children:n}),r.jsxs(qt,{children:[r.jsx(Xt,{asChild:!0,children:m}),r.jsx(Se,{side:"right",align:"center",hidden:c!=="collapsed"||f,...n})]})):m});K.displayName="SidebarMenuButton";const la=s.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},n)=>{const i=t?_:"button";return r.jsx(i,{ref:n,"data-sidebar":"menu-action",className:u("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring cursor-pointer transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md: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",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o})});la.displayName="SidebarMenuAction";const da=s.forwardRef(({className:e,...t},a)=>r.jsx("div",{ref:a,"data-sidebar":"menu-badge",className:u("pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground","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}));da.displayName="SidebarMenuBadge";const ca=s.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{const n=s.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return r.jsxs("div",{ref:o,"data-sidebar":"menu-skeleton",className:u("flex h-8 items-center gap-2 rounded-md px-2",e),...a,children:[t&&r.jsx(X,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),r.jsx(X,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":n}})]})});ca.displayName="SidebarMenuSkeleton";const ua=s.forwardRef(({className:e,...t},a)=>r.jsx("ul",{ref:a,"data-sidebar":"menu-sub",className:u("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));ua.displayName="SidebarMenuSub";const pa=s.forwardRef(({...e},t)=>r.jsx("li",{ref:t,...e}));pa.displayName="SidebarMenuSubItem";const fa=s.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...n},i)=>{const d=e?_:"a";return r.jsx(d,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:u("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring cursor-pointer 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 disabled:cursor-not-allowed aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...n})});fa.displayName="SidebarMenuSubButton";const ba=[{title:"Overzicht",url:"/admin",icon:se}],ma=[{title:"Homepage",url:"/admin/homepage",icon:se},{title:"Foto's",url:"/admin/media",icon:ct},{title:"Films",url:"/admin/films",icon:te},{title:"Locatie",url:"/admin/locatie",icon:We},{title:"Duurzaamheid",url:"/admin/duurzaamheid",icon:qe},{title:"Partners",url:"/admin/sponsors",icon:ot}],ha=[{title:"Huisstijl",url:"/admin/branding",icon:nt}],xa=[{title:"Homepage",url:"/",icon:lt},{title:"Ticketpagina",url:"/tickets",icon:Xe},{title:"Pers",url:"/pers",icon:st}];function A({label:e,items:t,currentPath:a}){return r.jsxs(B,{children:[r.jsx($,{className:"font-mono-cinema text-[10px] uppercase tracking-[0.18em] text-gold/80",children:e}),r.jsx(G,{children:r.jsx(F,{children:t.map(o=>{const n=o.url==="/admin"?a==="/admin":a===o.url||a.startsWith(o.url+"/");return r.jsx(V,{children:r.jsx(K,{asChild:!0,isActive:n,children:r.jsxs(Je,{to:o.url,className:"flex items-center gap-2",children:[r.jsx(o.icon,{className:"h-4 w-4"}),r.jsx("span",{children:o.title})]})})},o.url)})})})]})}function ga(){const e=Ke(),t=Ue({select:o=>o.location.pathname});async function a(){await Qe.auth.signOut(),e({to:"/auth"})}return r.jsxs(Re,{collapsible:"icon",children:[r.jsx(_e,{className:"border-b border-sidebar-border",children:r.jsxs("div",{className:"flex items-center gap-2 px-2 py-3",children:[r.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-gold/15 text-gold",children:r.jsx(te,{className:"h-4 w-4"})}),r.jsxs("div",{className:"min-w-0 leading-tight",children:[r.jsx("p",{className:"font-mono-cinema text-[9px] uppercase tracking-[0.2em] text-gold/80",children:"Admin"}),r.jsx("p",{className:"truncate font-display text-sm",children:"Openluchtfilmfestival"})]})]})}),r.jsxs(Pe,{children:[r.jsx(A,{label:"Dashboard",items:ba,currentPath:t}),r.jsx(A,{label:"Inhoud",items:ma,currentPath:t}),r.jsx(A,{label:"Instellingen",items:ha,currentPath:t}),r.jsxs(B,{children:[r.jsx($,{className:"font-mono-cinema text-[10px] uppercase tracking-[0.18em] text-gold/80",children:"Snelkoppelingen"}),r.jsx(G,{children:r.jsx(F,{children:xa.map(o=>r.jsx(V,{children:r.jsx(K,{asChild:!0,tooltip:o.title,children:r.jsxs("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2",children:[r.jsx(o.icon,{className:"h-4 w-4"}),r.jsx("span",{className:"flex-1",children:o.title}),r.jsx(Ye,{className:"h-3 w-3 opacity-60"})]})})},o.url))})})]})]}),r.jsx(Ee,{className:"border-t border-sidebar-border",children:r.jsxs(ee,{variant:"ghostLine",size:"sm",onClick:a,className:"w-full justify-start gap-2",children:[r.jsx(ft,{className:"h-4 w-4"})," Uitloggen"]})})]})}function Sa(){return r.jsx(Te,{children:r.jsxs("div",{className:"flex min-h-screen w-full bg-background",children:[r.jsx(ga,{}),r.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[r.jsxs("header",{className:"sticky top-0 z-30 flex h-12 items-center gap-3 border-b border-border bg-background/85 px-3 backdrop-blur",children:[r.jsx(ke,{}),r.jsx("span",{className:"font-mono-cinema text-[10px] uppercase tracking-[0.2em] text-gold",children:"Openluchtfilmfestival — beheer"})]}),r.jsx("main",{className:"min-w-0 flex-1",children:r.jsx(Ze,{})})]})]})})}export{Sa as component};
2//# sourceMappingURL=admin-CuEPmhge.js.map

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.