PageSourceSearch

https://www.flyo.ch/_next/static/chunks/app/layout-62dc596056b34470.js?dpl=dpl_3qNEoqR2i8qF9WioMfR7qYX4jMCt

js flyo.ch collected 2026-10-08 14:57:14 UTC 24,257 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1743:()=>{},3708:()=>{},3844:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var a=r(5155),s=r(2115),n=r(1900),o=r(6999),i=r(2972);function l(){let[e,t]=(0,s.useState)("system");(0,s.useEffect)(()=>{"light"===localStorage.theme?t("light"):"dark"===localStorage.theme?t("dark"):t("system")},[]);let r=e=>{"light"===e&&(localStorage.theme="light"),"dark"===e&&(localStorage.theme="dark"),"system"===e&&localStorage.removeItem("theme"),document.documentElement.classList.toggle("dark","dark"===localStorage.theme||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches),t(e)},l=t=>`rounded-full p-1.5 transition-colors ${e===t?"bg-foreground/10 text-foreground":"text-muted-foreground hover:text-foreground"}`;return(0,a.jsxs)("div",{className:"flex items-center gap-0.5 rounded-full border border-border/50 bg-muted/40 p-0.5",children:[(0,a.jsx)("button",{type:"button",onClick:()=>r("light"),className:l("light"),"aria-label":"Light mode",children:(0,a.jsx)(n.A,{className:"size-3.5"})}),(0,a.jsx)("button",{type:"button",onClick:()=>r("dark"),className:l("dark"),"aria-label":"Dark mode",children:(0,a.jsx)(o.A,{className:"size-3.5"})}),(0,a.jsx)("button",{type:"button",onClick:()=>r("system"),className:l("system"),"aria-label":"System mode",children:(0,a.jsx)(i.A,{className:"size-3.5"})})]})}},4247:(e,t,r)=>{Promise.resolve().then(r.bind(r,3837)),Promise.resolve().then(r.t.bind(r,8500,23)),Promise.resolve().then(r.t.bind(r,8437,23)),Promise.resolve().then(r.t.bind(r,2593,23)),Promise.resolve().then(r.t.bind(r,5348,23)),Promise.resolve().then(r.t.bind(r,1743,23)),Promise.resolve().then(r.bind(r,3844)),Promise.resolve().then(r.bind(r,4697)),Promise.resolve().then(r.bind(r,4368)),Promise.resolve().then(r.bind(r,7141)),Promise.resolve().then(r.bind(r,6854)),Promise.resolve().then(r.bind(r,4766)),Promise.resolve().then(r.bind(r,1904)),Promise.resolve().then(r.bind(r,3771)),Promise.resolve().then(r.bind(r,3388)),Promise.resolve().then(r.bind(r,8129)),Promise.resolve().then(r.bind(r,9501)),Promise.resolve().then(r.bind(r,5849)),Promise.resolve().then(r.bind(r,7588)),Promise.resolve().then(r.bind(r,9502)),Promise.resolve().then(r.bind(r,4351)),Promise.resolve().then(r.bind(r,2723)),Promise.resolve().then(r.bind(r,7050)),Promise.resolve().then(r.bind(r,6763)),Promise.resolve().then(r.t.bind(r,3708,23)),Promise.resolve().then(r.t.bind(r,6783,23))},4697:(e,t,r)=>{"use strict";r.d(t,{DemoOverlay:()=>u});var a=r(5155),s=r(2115),n=r(5266),o=r(3210),i=r(1628),l=r(4222),d=r(9239);let c="flyo_demo_overlay_v3";function u(){let[e,t]=(0,s.useState)(!1),[r,u]=(0,s.useState)(!1),[m,h]=(0,s.useState)(""),[x,g]=(0,s.useState)("idle"),[f,p]=(0,s.useState)(!1),b=(0,s.useRef)(!1),v=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e,r;try{if(localStorage.getItem(c))return}catch{}let a=()=>{b.current||(b.current=!0,setTimeout(()=>t(!0),300))},s=setTimeout(a,8e3),n=0,o=()=>{b.current||n||(n=requestAnimationFrame(()=>{n=0;let e=document.documentElement.scrollHeight-window.innerHeight;e>0&&window.scrollY/e>.35&&(clearTimeout(s),a(),window.removeEventListener("scroll",o))}))};window.addEventListener("scroll",o,{passive:!0});let i=document.querySelector("footer");if(i){let t=-1,a=r=>{r!==t&&(t=r,e?.disconnect(),(e=new IntersectionObserver(([e])=>p(e.isIntersecting),{rootMargin:`0px 0px ${r}px 0px`})).observe(i))};v.current?(r=new ResizeObserver(e=>{a(Math.round(e[0].borderBoxSize?.[0]?.blockSize??e[0].contentRect.height)+32)})).observe(v.current):a(32)}return()=>{clearTimeout(s),n&&cancelAnimationFrame(n),window.removeEventListener("scroll",o),e?.disconnect(),r?.disconnect()}},[]);let j=e&&!r&&!f;(0,s.useEffect)(()=>(document.body.classList.toggle("demo-overlay-active",j),()=>{document.body.classList.remove("demo-overlay-active")}),[j]);let w=()=>{t(!1),setTimeout(()=>{u(!0);try{localStorage.setItem(c,"1")}catch{}},400)},y=async e=>{e.preventDefault(),g("loading");try{(await fetch("/api/demo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:m})})).ok?(g("success"),setTimeout(w,3500)):g("error")}catch{g("error")}};return r?null:(0,a.jsx)("div",{className:(0,l.cn)("fixed inset-x-3 bottom-[calc(0.75rem+env(safe-area-inset-bottom))] z-40 flex justify-center pointer-events-none sm:inset-x-4 sm:bottom-8","transition-all duration-500 ease-out motion-reduce:transition-none",e?f?"translate-y-0 opacity-0":"translate-y-0 opacity-100":"translate-y-10 opacity-0",j?"visible":"invisible"),"aria-live":"polite","aria-hidden":!j,inert:!j,children:(0,a.jsx)("div",{ref:v,className:(0,l.cn)("overlay-shiny-border relative isolate w-full max-w-3xl rounded-2xl p-px shadow-[0_18px_50px_-18px_rgba(15,23,42,0.38)] motion-reduce:animate-none before:absolute before:-inset-1 before:-z-10 before:rounded-[inherit] before:bg-linear-to-r before:from-pink-500 before:to-violet-600 before:opacity-30 before:blur-xl before:saturate-125 dark:shadow-[0_18px_55px_-16px_rgba(0,0,0,0.75)] dark:before:opacity-45 sm:rounded-3xl sm:before:blur-2xl",j?"pointer-events-auto":"pointer-events-none"),children:(0,a.jsxs)("div",{className:(0,l.cn)("flex flex-col items-stretch gap-2.5 rounded-[calc(var(--radius-2xl)-1px)] border border-white/70 px-3 py-3 sm:flex-row sm:items-center sm:gap-4 sm:rounded-[calc(var(--radius-3xl)-1px)] sm:px-5 sm:py-3","bg-white/95 text-neutral-950 backdrop-blur-xl dark:border-white/10 dark:bg-neutral-950/92 dark:text-white"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5 sm:contents",children:[(0,a.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg border border-violet-200/70 bg-vi
1olet-100/80 dark:border-violet-400/15 dark:bg-violet-400/10 sm:size-12 sm:rounded-xl",children:(0,a.jsx)(n.A,{className:"size-4 text-violet-700 dark:text-violet-300 sm:size-5"})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"text-sm font-semibold leading-tight text-neutral-950 dark:text-white sm:text-lg",children:"30 Tage kostenlos testen"}),(0,a.jsx)("p",{className:"mt-0.5 text-[11px] leading-snug text-neutral-600 dark:text-neutral-400 sm:mt-1 sm:text-sm",children:"Keine Kreditkarte n\xf6tig"})]})]}),"success"===x?(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-3 sm:w-auto sm:shrink-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-violet-700 dark:text-violet-300 sm:px-2 sm:text-base",children:"✓ Wir melden uns!"}),(0,a.jsx)("button",{type:"button",onClick:w,"aria-label":"Schliessen",className:(0,l.cn)("flex size-9 shrink-0 items-center justify-center rounded-full","text-neutral-500 hover:bg-neutral-100 hover:text-neutral-950 dark:text-neutral-400 dark:hover:bg-white/10 dark:hover:text-white","outline-none transition-colors focus-visible:ring-2 focus-visible:ring-violet-500/60"),children:(0,a.jsx)(o.A,{className:"size-4"})})]}):(0,a.jsxs)("form",{onSubmit:y,className:"grid w-full grid-cols-[minmax(0,1fr)_2.25rem] gap-2 sm:w-auto sm:shrink-0 sm:grid-cols-[13rem_auto]",children:[(0,a.jsx)("input",{type:"email",required:!0,placeholder:"[email protected]",value:m,onChange:e=>h(e.target.value),disabled:"loading"===x,"aria-invalid":"error"===x,"aria-describedby":"error"===x?"demo-overlay-error":void 0,className:(0,l.cn)("h-9 min-w-0 w-full rounded-md border border-neutral-300 bg-white px-2.5 text-base text-neutral-950 shadow-sm sm:h-11 sm:px-3","placeholder:text-neutral-400 hover:border-neutral-400","outline-none transition focus:border-violet-500 focus:ring-3 focus:ring-violet-500/15","dark:border-neutral-700 dark:bg-neutral-900 dark:text-white dark:placeholder:text-neutral-500 dark:hover:border-neutral-600 dar
1k:focus:border-violet-400 dark:focus:ring-violet-400/20","disabled:cursor-wait disabled:opacity-60","error"===x&&"border-red-500 dark:border-red-400")}),(0,a.jsxs)(d.$,{size:"lg",type:"submit",disabled:"loading"===x,"aria-label":"loading"===x?"Demo wird gestartet":"Demo starten",className:"h-9 w-9 rounded-md p-0 text-sm max-sm:rounded-full sm:h-11 sm:w-auto sm:px-5",children:[(0,a.jsx)("span",{className:"sm:hidden","aria-hidden":"true",children:"loading"===x?"…":(0,a.jsx)(i.A,{className:"size-4"})}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"loading"===x?"…":"Demo starten"})]}),"error"===x&&(0,a.jsx)("span",{id:"demo-overlay-error",role:"alert",className:"col-span-full text-xs text-red-600 dark:text-red-400",children:"Fehler – bitte erneut versuchen."})]})]})})})}},6763:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var a=r(5155),s=r(2115),n=r(4222);let o={operational:"bg-green-500",maintenance:"bg-blue-500",degraded:"bg-amber-500",down:"bg-red-500",unknown:"bg-muted-foreground/50"},i={operational:"bg-green-500/60",maintenance:"bg-blue-500/60",degraded:"bg-amber-500/70",down:"bg-red-500/70",unknown:"bg-transparent"};function l({className:e}){let t=(0,s.useRef)(null),[r,l]=(0,s.useState)(null),[d,c]=(0,s.useState)(!1),u=(0,s.useRef)(0),m=(0,s.useRef)(!1),h=(0,s.useCallback)(async()=>{if(!m.current&&!(u.current&&Date.now()-u.current<6e4)){m.current=!0;try{let e=await fetch("/api/status",{cache:"no-store"});if(!e.ok)throw Error(`status endpoint responded with ${e.status}`);let t=await e.json();l(t),u.current=Date.now()}catch{l(null)}finally{m.current=!1,c(!0)}}},[]);(0,s.useEffect)(()=>{let e=t.current;if(!e)return;if("u"<typeof IntersectionObserver){let e=setTimeout(()=>void h(),0);return()=>clearTimeout(e)}let r=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&h()},{rootMargin:"120px",threshold:0});return r.observe(e),()=>r.disconnect()},[h]);let x=r?.state??"unknown",g=r?.label??"Systemstatus",f=r?[r.affected.length>0?`Betroffen: ${r.affected.join(", ")}`:null,r.announcement?.title,r.monitors.total>0?`${r.monitors.up}/${r.monitors.total} Services online`:null].filter(Boolean).join(" \xb7 "):void 0;return(0,a.jsxs)("a",{ref:t,href:"https://status.flyo.cloud/",target:"_blank",rel:"noopener noreferrer",title:f?`${g} — ${f}`:"Systemstatus von Flyo ansehen",className:(0,n.cn)("group flex items-center gap-2 text-xs sm:text-sm text-muted-foreground hover:text-foreground transition-colors",e),children:[(0,a.jsxs)("span",{className:"relative flex w-2 h-2 shrink-0",children:["unknown"!==x&&"operational"!==x&&(0,a.jsx)("span",{"aria-hidden":"true",className:(0,n.cn)("absolute inset-0 rounded-full motion-safe:animate-ping",i[x])}),(0,a.jsx)("span",{"aria-hidden":"true",className:(0,n.cn)("relative w-2 h-2 rounded-full transition-colors duration-500",o[x])})]}),(0,a.jsx)("span",{className:(0,n.cn)("group-hover:underline transition-opacity duration-500",d?"opacity-100":"opacity-50"),children:d?g:"Systemstatus wird geladen"}),(0,a.jsx)("span",{className:"sr-only",children:" – Systemstatus von Flyo"})]})}},6783:()=>{},7050:(e,t,r)=>{"use strict";r.d(t,{Header:()=>O});var a=r(5155),s=r(2115),n=r(5772);function o(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{src:"/flyo_dark.svg",alt:"Flyo Logo",width:80,height:20,style:{height:"auto"},className:"block dark:hidden"}),(0,a.jsx)(n.default,{src:"/flyo_white.svg",alt:"Flyo Logo",width:80,height:20,style:{height:"auto"},className:"hidden dark:block"})]})}var i=r(8500),l=r.n(i),d=r(4397),c=r(8460),u=r(1071),m=r(4222);function h({className:e,children:t,viewport:r=!0,...s}){return(0,a.jsxs)(d.bL,{"data-slot":"navigation-menu","data-viewport":r,className:(0,m.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...s,children:[t,r&&(0,a.jsx)(v,{})]})}function x({className:e,...t}){return(0,a.jsx)(d.B8,{"data-slot":"navigation-menu-list",className:(0,m.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),...t})}function g({className:e,...t}){return(0,a.jsx)(d.q7,{"data-slot":"navigation-menu-item",className:(0,m.cn)("relative",e),...t})}let f=(0,c.F)("group inline-flex w-max items-center justify-center rounded-xl bg-transparent px-4 py-3 text-base font-medium text-foreground
1/80 disabled:pointer-events-none disabled:opacity-50 outline-none transition-[background-color,color,box-shadow] hover:bg-white/80 hover:text-primary focus:bg-white/80 focus:text-primary data-[state=open]:bg-white/80 data-[state=open]:text-primary dark:hover:bg-white/12 dark:hover:text-primary dark:focus:bg-white/12 dark:focus:text-primary dark:data-[state=open]:bg-white/12 dark:data-[state=open]:text-primary focus-visible:ring-ring/50 focus-visible:ring-[3px] focus-visible:outline-1");function p({className:e,children:t,...r}){return(0,a.jsxs)(d.l9,{"data-slot":"navigation-menu-trigger",className:(0,m.cn)(f(),"group",e),...r,children:[t," ",(0,a.jsx)(u.hw,{icon:"fa-thin fa-chevron-down",className:"relative -top-px ml-2 text-[10px] transition duration-300 group-data-[state=open]:rotate-180"})]})}function b({className:e,...t}){return(0,a.jsx)(d.UC,{"data-slot":"navigation-menu-content",className:(0,m.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover/95 group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:backdrop-blur-xl group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",e),...t})}function v({className:e,...t}){return(0,a.jsx)("div",{className:(0,m.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,a.jsx)(d.LM,{"data-slot":"navigation-menu-viewport",className:(0,m.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-xl border border-border/60 bg-popover/95 text-popover-foreground shadow-lg backdrop-blur-xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),...t})})}function j({className:e,...t}){return(0,a.jsx)(d.N_,{"data-slot":"navigation-menu-link",className:(0,m.cn)("flex flex-col gap-1 rounded-lg p-2.5 text-sm outline-none transition-[background-color,color,box-shadow] focus-visible:ring-ring/50 focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...t})}var w=r(3321);function y(e,t){let r=function(e){if(!e||e.startsWith("#")||/^[a-z]+:/i.test(e))return null;let[t]=e.split(/[?#]/);return t.replace(/\/+$/,"")||"/"}(t);return!!r&&(e===r||"/"!==r&&e.startsWith(`${r}/`))}function N({items:e}){let t=(0,w.usePathname)();return(0,a.jsx)(h,{children:(0,a.jsx)(x,{children:e.map(e=>{let r,s;return r=e.children&&e.children.length>0,s=y(t,e.href)||e.children?.some(e=>y(t,e.href)),r?(0,a.jsxs)(g,{children:[(0,a.jsx)(p,{className:(0,m.cn)(s&&"bg-white/80 text-primary shadow-sm dark:bg-white/12 dark:text-primary"),children:e.label}),(0,a.jsx)(b,{children:(0,a.jsx)("ul",{className:"grid w-170 grid-cols-3 gap-0.5 p-2",children:e.children.map(e=>{let r="string"==typeof e.properties?.subtitle?e.properties.subtitle:null,s="string"==typeof e.properties?.badge?e.properties.badge:null;return(0,a.jsx)("li",{className:"flex",children:(0,a.jsx)(j,{asChild:!0,active:y(t,e.href),children:(0,a.jsxs)(l(),{href:e.href??"/",target:e.target,"aria-current":y(t,e.href)?"page":void 0,className:"group flex h-full w-full flex-row cursor-pointer select-none items-center gap-3 rounded-lg px-3 py-2.5 no-underline outline-hidden transition-colors hover:bg-accent focus:bg-accent data-[active=true]:bg-accent",children:[e.properties?.faicon&&(0,a.jsx)("div",{className:"flex size-9 shrink-0 items-center justify-center rounded-lg bg-muted transition-colors group-hover:bg-background group-data-[active=true]:bg-background",children:(0,a.jsx)(u.hw,{icon:e.properties.faicon,className:"text-base text-primary"})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-sm font-medium leading-none",children:e.label}),s&&(0,a.jsx)(u.ab,{size:"xs",className:"font-semibold shadow-sm",children:s})]}),r&&(0,a.jsx)("p",{className:"mt-1 line-clamp-2 text-xs leading-snug text-muted-foreground",children:r})]})]})})},e.slug)})})})]},e.slug):(0,a.jsx)(g,{children:(0,a.jsx)(j,{asChild:!0,active:s,className:(0,m.cn)(f(),s&&"bg-white/80 text-primary shadow-sm dark:bg-white/12 dark:text-primary"),children:(0,a.jsx)(l(),{href:e.href??"/",target:e.target,"aria-current":s?"page":void 0,children:e.label})})},e.slug)})})})}var k=r(3210),z=r(6200);function S({...e}){return(0,a.jsx)(z.bL,{"data-slot":"sheet",...e})}function P({...e}){return(0,a.jsx)(z.l9,{"data-slot":"sheet-trigger",...e})}function _({...e}){return(0,a.jsx)(z.ZL,{"data-slot":"sheet-portal",...e})}function C({className:e,...t}){return(0,a.jsx)(z.hJ,{"data-slot":"sheet-overlay",className:(0,m.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 $({className:e,children:t,side:r="right",showCloseButton:s=!0,...n}){return(0,a.jsxs)(_,{children:[(0,a.jsx)(C,{}),(0,a.jsxs)(z.UC,{"data-slot":"sheet-content","aria-describedby":void 0,className:(0,m.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"===r&&"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"===r&&"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"===r&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===r&&"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,s&&(0,a.jsxs)(z.bm,{className:"ring-offset-background focus-visible:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,a.jsx)(k.A,{className:"size-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function E({className:e,...t}){return(0,a.jsx)(z.hE,{"data-slot":"sheet-title",className:(0,m.cn)("text-foreground font-semibold",e),...t})}var L=r(9239);function I({items:e,secondaryItems:t=[]}
1){let[r,n]=(0,s.useState)(!1);return(0,a.jsxs)(S,{open:r,onOpenChange:n,children:[(0,a.jsx)(P,{asChild:!0,children:(0,a.jsxs)(L.$,{variant:"ghost",size:"icon",children:[(0,a.jsx)(u.hw,{icon:"fa-solid fa-bars",className:"text-lg"}),(0,a.jsx)("span",{className:"sr-only",children:"Menu"})]})}),(0,a.jsxs)($,{side:"left",className:"w-80 overflow-y-auto [&>button]:size-10 [&>button>svg]:size-5",children:[(0,a.jsx)(E,{className:"sr-only",children:"Navigation"}),(0,a.jsxs)("nav",{className:"flex flex-col gap-1 px-2 pt-4",children:[e.map(e=>e.children&&e.children.length>0?(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"px-3 py-1.5 text-[11px] font-semibold text-muted-foreground uppercase tracking-wide",children:e.label}),(0,a.jsx)("div",{className:"flex flex-col gap-0.5 pl-2",children:e.children.map(e=>{let t="string"==typeof e.properties?.subtitle?e.properties.subtitle:null,r="string"==typeof e.properties?.badge?e.properties.badge:null;return(0,a.jsxs)(l(),{href:e.href??"/",target:e.target,onClick:()=>n(!1),className:"flex items-center gap-3 rounded-md px-3 py-2.5 text-sm transition-colors hover:bg-accent hover:text-accent-foreground",children:[e.properties?.faicon?(0,a.jsx)(u.hw,{icon:e.properties.faicon,className:"text-base text-primary shrink-0"}):(0,a.jsx)(u.hw,{icon:"fa-thin fa-arrow-right",className:"text-base text-muted-foreground shrink-0"}),(0,a.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{children:e.label}),r&&(0,a.jsx)(u.ab,{size:"sm",className:"py-0 text-[10px]",children:r})]}),t&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground leading-snug",children:t})]})]},e.slug)})})]},e.slug):(0,a.jsx)(l(),{href:e.href??"/",target:e.target,onClick:()=>n(!1),className:"flex items-center gap-3 rounded-md px-3 py-2.5 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground",children:e.label},e.slug)),t.map(e=>(0,a.jsx)(l(),{href:e.href??"/",target:e.target,onClick:()=>n(!1),className:"flex items-center gap-3 rounded-md px-3 py-2.5 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground",children:e.label},`secondary-${e.slug}`))]})]})]})}function T({items:e}){return 0===e.length?null:(0,a.jsx)("div",{"aria-hidden":"true",className:"sr-only",children:(0,a.jsx)("ul",{children:e.map((e,t)=>(0,a.jsxs)("li",{children:[(0,a.jsx)(l(),{href:e.href??"/",target:e.target,tabIndex:-1,children:e.label}),e.children&&e.children.length>0&&(0,a.jsx)("ul",{children:e.children.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:e.href??"/",target:e.target,tabIndex:-1,children:e.label})},`${e.slug}-${t}`))})]},`${e.slug}-${t}`))})})}function O({navigation:e,navigationSecondary:t}){let r=e?.items??[],n=t?.items??[],[i,d]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=window.scrollY,t=()=>{let t=window.scrollY;t<=40?d(!0):d(t<e),e=t};return t(),window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[]),(0,a.jsx)("header",{className:`fixed inset-x-0 z-50 px-4 sm:px-6 lg:px-8 max-w-dvw transition-all duration-300 ${i?"translate-y-0 opacity-100":"-translate-y-full opacity-0 pointer-events-none"}`,children:(0,a.jsx)("div",{className:"container-content mx-auto",children:(0,a.jsxs)("div",{className:`
2            rounded-4xl backdrop-blur-xs
3            border border-gray-400/30 dark:border-gray-700/50
4            bg-white/45 dark:bg-gray-700/10
5            pr-6 pl-3 py-2
6          `,children:[(0,a.jsxs)("div",{className:"hidden lg:grid grid-cols-[1fr_auto_1fr] items-center transition-all duration-300",children:[(0,a.jsx)("div",{className:"justify-self-start",children:(0,a.jsx)(N,{items:r})}),(0,a.jsx)("div",{className:"justify-self-center py-2 transition-all duration-300",children:(0,a.jsx)(l(),{href:"/",children:(0,a.jsx)("div",{className:"origin-center transition-transform duration-300",children:(0,a.jsx)(o,{})})})}),(0,a.jsx)("div",{className:"justify-self-end",children:(0,a.jsx)("div",{className:"flex items-center gap-2",children:n.length>0&&(0,a.jsx)(N,{items:n})})})]}),(0,a.jsxs)("div",{className:"flex lg:hidden items-center justify-between py-1 transition-all duration-300",children:[(0,a.jsx)(I,{items:r,secondaryItems:n}),(0,a.jsx)(l(),{href:"/",children:(0,a.jsx)("div",{className:"origin-right transition-transform duration-300",children:(0,a.jsx)(o,{})})})]}),(0,a.jsx)(T,{items:[...r,...n]})]})})})}}},e=>{e.O(0,[334,74,500,60,805,79,329,441,794,358],()=>e(e.s=4247)),_N_E=e.O()}]);

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.