PageSourceSearch

https://printstudios.de/static/react/chunks/DashboardPage-DUarWX1d.js

js printstudios.de collected 2026-10-06 14:04:55 UTC 38,753 bytes, 20 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["chunks/Galaxy-FcRSCW6H.js","chunks/motion-4Pe-0l9l.js","chunks/icons-D33OLVah.js","chunks/ogl-BwG1paxi.js"])))=>i.map(i=>d[i]);
2import{c as N,a as L,S as B,f as T,u as ee,P as te,_ as se}from"./index-DOjRTYqR.js";import{j as e,a as _,A as P}from"./motion-4Pe-0l9l.js";import{p as q,q as R,D,h as W,n as U,A as E,r as x,P as G,s as H,Z as F,X as ae,t as ne,T as re,u as J,v as oe,w as le,x as X,S as ce,y as ie,z as M,I as de,J as xe,K as me,N as pe}from"./icons-D33OLVah.js";import{C as h,a as f,b}from"./Card-CRfFeeMV.js";import{u as S,a as ue,b as he}from"./react-query-B-PjvZ3S.js";import{a as fe,b as k}from"./client-BrDz2RtE.js";import{B as O}from"./Badge-DJlHaYuo.js";import{M as be}from"./Modal-DGCgU3Zp.js";import{B as $}from"./Button-DINrkm76.js";import{I as ge}from"./Input-DCHAd5rh.js";import{T as ye}from"./TypeWriter-CrdWtLjX.js";import{M as je}from"./Marquee-CpEX8SOx.js";import{L as z}from"./router-C_86t40E.js";import"./radix-Bm8LYzHo.js";import"./tanstack-9D8FVQmw.js";import"./recharts-CkBxNeT6.js";import"./gsap-DTZzdSNk.js";import"./GlassSurface-Ca_6sVz_.js";function ve(t){const a=t?`/dashboard/data/crm?year=${t}`:"/dashboard/data/crm";return S({queryKey:["dashboard","crm",t??"all"],queryFn:()=>k(a)})}function Ne(t,a){const n=`/dashboard/data/communications?period=${t}`;return S({queryKey:["dashboard","communications",t],queryFn:()=>k(n)})}function we(t){const a="/dashboard/data/widgets";return S({queryKey:["dashboard","widgets"],queryFn:()=>k(a)})}function ke(){return S({queryKey:["dashboard","lexware"],queryFn:()=>k("/api/lexware/dashboard")})}function Z(){return S({queryKey:["production","threshold"],queryFn:()=>k("/api/production/threshold")})}function _e(){return ue({mutationFn:t=>fe("/api/production/threshold",{threshold:t})})}function Se(){return S({queryKey:["dashboard","calendar"],queryFn:()=>k("/api/timeblocks/dashboard")})}function Ce(){return S({queryKey:["dashboard","angebote"],queryFn:async()=>{try{const a=await k("/api/angebote/dashboard");if(Array.isArray(a)&&a.length>0)return a}catch{}const t=await k("/angebote/data");return Array.isArray(t)?t.slice(0,5):[]}})}const Ae={cyan:{accent:"rgba(56,189,248,0.25)",glow:"rgba(56,189,248,0.5)",text:"text-accent-cyan",iconBg:"bg-accent-cyan/12",stroke:"#38bdf8"},yellow:{accent:"rgba(234,179,8,0.25)",glow:"rgba(234,179,8,0.5)",text:"text-accent-yellow",iconBg:"bg-accent-yellow/12",stroke:"#eab308"},green:{accent:"rgba(34,197,94,0.25)",glow:"rgba(34,197,94,0.5)",text:"text-accent-green",iconBg:"bg-accent-green/12",stroke:"#22c55e"},purple:{accent:"rgba(139,92,246,0.25)",glow:"rgba(139,92,246,0.5)",text:"text-accent-purple",iconBg:"bg-accent-purple/12",stroke:"#8b5cf6"},red:{accent:"rgba(239,68,68,0.25)",glow:"rgba(239,68,68,0.5)",text:"text-accent-red",iconBg:"bg-accent-red/12",stroke:"#ef4444"}};function ze({value:t,isMoney:a}){const[n,i]=x.useState("0"),d=x.useRef(0),{moneyBlurred:l}=L();return x.useEffect(()=>{const u=typeof t=="number"?t:parseFloat(String(t).replace(/[^\d.-]/g,""))||0,c=d.current,m=u-c,r=800,w=performance.now();function j(y){const o=y-w,g=Math.min(o/r,1),C=1-Math.pow(1-g,3),v=c+m*C;d.current=v,typeof t=="string"&&t.includes("€")?i(v.toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g,".")+" €"):typeof t=="string"&&t.includes("k")?i((v/1e3).toFixed(1).replace(".",",")+"k €"):i(Math.round(v).toString()),g<1&&requestAnimationFrame(j)}requestAnimationFrame(j)},[t]),a&&l?e.jsx("span",{className:"text-transparent select-none",style:{textShadow:"0 0 20px rgba(255,255,255,0.5)"},children:"****"}):e.jsx(e.Fragment,{children:n})}function Te({auftraege:t,rechnungen:a,umsatz:n,kunden:i,emails:d,aktivitaet:l}){const u=[{label:"Aufträge",value:t,icon:e.jsx(q,{size:14}),color:"cyan"},{label:"Rechnungen",value:a,icon:e.jsx(R,{size:14}),color:"yellow",isMoney:!1},{label:"Umsatz",value:n,icon:e.jsx(D,{size:14}),color:"green",isMoney:!0},{label:"Kunden",value:i,icon:e.jsx(W,{size:14}),color:"purple"},{label:"E-Mails",value:d,icon:e.jsx(U,{size:14}),color:"red"},{label:"Aktivität",value:l,icon:e.jsx(E,{size:14}),color:"cyan"}];return e.jsx("div",{className:"flex flex-wrap justify-center gap-2 sm:gap-3.5 py-3 perspective-[1000px]",children:u.map((c,m)=>{const r=Ae[c.color];return e.jsxs(_,{initial:{opacity:0,scale:.7,y:20}
2,animate:{opacity:1,scale:1,y:m%2===0?-6:6},transition:{delay:.15+m*.08,duration:.5,type:"spring",stiffness:200},whileHover:{scale:1.08,y:(m%2===0?-6:6)-10,filter:"brightness(1.2)",zIndex:10,transition:{duration:.3}},className:N("relative w-[108px] h-[100px] sm:w-[128px] sm:h-[116px] lg:w-[148px] lg:h-[128px] flex flex-col items-center justify-center text-center","cursor-default"),style:{clipPath:"polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)",background:"linear-gradient(145deg, rgba(15,25,50,0.8), rgba(10,15,35,0.6))"},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{clipPath:"polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)",background:`linear-gradient(180deg, ${r.accent} 0%, transparent 40%)`}}),e.jsx("div",{className:N("w-[26px] h-[26px] rounded-lg flex items-center justify-center mb-0.5",r.iconBg),style:{color:r.stroke},children:c.icon}),e.jsx("div",{className:N("font-mono text-xl font-extrabold leading-tight",r.text),style:{textShadow:`0 0 20px ${r.glow}`},children:e.jsx(ze,{value:c.value,isMoney:c.isMoney})}),e.jsx("div",{className:"text-[0.55rem] text-text-muted uppercase tracking-wide font-bold mt-0.5",children:c.label})]},c.label)})})}const Ee=[{label:"Neuer Auftrag",to:"/workboard",icon:G,accent:!0},{label:"Neue Rechnung",to:"/rechnungen",icon:R,accent:!0},{label:"Neuer Kontakt",to:"/contacts",icon:H,accent:!0}],Me=[{label:"Workboard",to:"/workboard",icon:q},{label:"Rechnungen",to:"/rechnungen",icon:R},{label:"Kunden",to:"/customers",icon:W},{label:"Kontakte",to:"/contacts",icon:H},{label:"Leads",to:"/leads",icon:re},{label:"Angebote",to:"/angebote",icon:J},{label:"Cold Call",to:"/coldcall",icon:oe},{label:"LexWare",to:"/lexware",icon:D},{label:"Numbers",to:"/numbers",icon:le},{label:"Ranked",to:"/profile/ranked",icon:X},{label:"Settings",to:"/settings",icon:ce}];function Le(){const[t,a]=x.useState(!1),[n,i]=x.useState(""),[d,l]=x.useState(""),[u,c]=x.useState(!1),[m,r]=x.useState(null),w=x.useRef(null),j=x.useRef(null);x.useEffect(()=>{if(t){const o=setTimeout(()=>w.current?.focus(),120);return()=>clearTimeout(o)}},[t]),x.useEffect(()=>{if(!t)return;const o=g=>{g.key==="Escape"&&a(!1)};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[t]),x.useEffect(()=>{if(!t)return;const o=g=>{j.current&&!j.current.contains(g.target)&&a(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[t]);const y=x.useCallback(async()=>{const o=n.trim();if(!o){w.current?.focus();return}c(!0),r(null);try{const C=await(await fetch("/api/workboard/quick-add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:o,notes:d.trim()})})).json();C.success?(r({ok:!0,msg:`Job für „${o}" in Upcoming gespeichert!`}),i(""),l(""),setTimeout(()=>{r(null),a(!1)},1800)):r({ok:!1,msg:C.error||"Fehler beim Erstellen"})}catch{r({ok:!1,msg:"Netzwerkfehler"})}finally{c(!1)}},[n,d]);return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex gap-2 flex-wrap",children:[Ee.map((o,g)=>e.jsx(_,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.3+g*.1,type:"spring",stiffness:300},children:e.jsxs(B,{to:o.to,className:"inline-flex items-center gap-1.5 px-3 py-2 text-[0.72rem] font-semibold text-accent-cyan bg-accent-cyan/6 border border-accent-cyan/20 rounded-xl hover:bg-accent-cyan/14 hover:border-accent-cyan/40 hover:-translate-y-0.5 hover:shadow-[0_4px_20px_rgba(56,189,248,0.15)] transition-all",children:[e.jsx(o.icon,{size:13}),o.label]})},o.label)),e.jsxs(_,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.6,type:"spring",stiffness:300},className:"relative",children:[e.jsxs("button",{type:"button",onClick:()=>{a(o=>!o),r(null)},className:`inline-flex items-center gap-1.5 px-3 py-2 text-[0.72rem] font-bold rounded-xl transition-all
3              bg-purple-500/12 text-purple-300 border border-purple-400/30
4              hover:bg-purple-500/22 hover:border-purple-400/55 hover:-translate-y-0.5
5              hover:shadow-[0_4px_24px_rgba(168,85,247,0.3)]
6              active:scale-95`,style:{boxShadow:"0 0 16px rgba(168,85,247,0.18), inset 0 1px 0 rgba(255,255,255,0.06)"},children:[e.jsx(F,{size:13,className:"text-purple-400"}),"Quick Add Job"]}),e.jsx(P,{children:t&&e.jsxs(_,{ref:j,initial:{opacity:0,y:-8,scale:.95}
6,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-8,scale:.95},transition:{duration:.18,ease:"easeOut"},className:"absolute left-0 top-full mt-2 z-50 w-[min(340px,90vw)] rounded-2xl border border-purple-400/30 bg-[#0c0c1a]/95 backdrop-blur-xl shadow-[0_20px_60px_-12px_rgba(168,85,247,0.35)]",children:[e.jsx("div",{className:"pointer-events-none absolute -inset-px rounded-2xl",style:{background:"linear-gradient(135deg, rgba(168,85,247,0.08), transparent 40%)"},"aria-hidden":!0}),e.jsxs("div",{className:"relative p-3.5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[0.78rem] font-bold text-purple-300",children:[e.jsx(F,{size:14,className:"text-purple-400"}),"Quick Add → Upcoming"]}),e.jsx("button",{type:"button",onClick:()=>a(!1),className:"text-white/40 hover:text-white transition-colors",children:e.jsx(ae,{size:14})})]}),e.jsx("input",{ref:w,type:"text",placeholder:"Kundenname / Job-Titel",value:n,onChange:o=>i(o.target.value),onKeyDown:o=>{o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),y())},className:"w-full mb-2 px-3 py-2.5 text-[0.82rem] font-medium rounded-xl border border-white/10 bg-white/[0.04] text-white placeholder-white/35 outline-none focus:border-purple-400/50 focus:bg-white/[0.06] transition-colors"}),e.jsx("textarea",{placeholder:"Notizen (optional)",value:d,onChange:o=>l(o.target.value),onKeyDown:o=>{o.key==="Enter"&&o.metaKey&&(o.preventDefault(),y())},rows:2,className:"w-full mb-3 px-3 py-2 text-[0.78rem] rounded-xl border border-white/10 bg-white/[0.04] text-white placeholder-white/35 outline-none focus:border-purple-400/50 resize-none transition-colors"}),e.jsx(P,{children:m&&e.jsx(_,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:`mb-2 rounded-lg px-3 py-1.5 text-[0.72rem] font-semibold ${m.ok?"bg-emerald-500/14 text-emerald-300 border border-emerald-400/30":"bg-red-500/14 text-red-300 border border-red-400/30"}`,children:m.msg})}),e.jsxs("button",{type:"button",onClick:y,disabled:u||!n.trim(),className:`w-full flex items-center justify-center gap-2 px-3 py-2.5 rounded-xl text-[0.78rem] font-bold transition-all
7                      bg-gradient-to-r from-purple-500/80 to-indigo-500/80 text-white
8                      hover:from-purple-500 hover:to-indigo-500
9                      disabled:opacity-40 disabled:cursor-not-allowed
10                      shadow-[0_6px_24px_-6px_rgba(168,85,247,0.5)]`,children:[u?e.jsx(ne,{size:14,className:"animate-spin"}):e.jsx(G,{size:14}),u?"Speichert…":"In Upcoming speichern"]}),e.jsx("div",{className:"mt-2 text-center text-[0.6rem] text-white/30",children:"Enter = Speichern · Esc = Schließen"})]})]})})]})]}),e.jsxs(_,{initial:{opacity:0}
10,animate:{opacity:1},transition:{delay:.6,duration:.4},className:"flex flex-wrap gap-1.5 justify-center",children:[Me.map(o=>e.jsxs(B,{to:o.to,className:"inline-flex items-center gap-1 px-2.5 py-1 bg-[rgba(15,25,50,0.5)] border border-accent-cyan/8 rounded-lg text-text-secondary text-[0.68rem] font-medium hover:bg-accent-cyan/8 hover:border-accent-cyan/25 hover:text-accent-cyan hover:-translate-y-0.5 transition-all",children:[e.jsx(o.icon,{size:12,className:"opacity-50"}),o.label]},o.label)),e.jsxs("a",{href:"https://zehnersxprintstudios.com/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 px-2.5 py-1 bg-accent-yellow/10 border border-accent-yellow/30 rounded-lg text-amber-200 text-[0.68rem] font-medium hover:bg-accent-yellow/18 hover:-translate-y-0.5 transition-all",children:[e.jsx(ie,{size:12}),"Zehners Tool"]})]})]})}const I={A:"#4ade80",B:"#38bdf8",C:"#fbbf24",D:"#94a3b8"};function Re(){const[t,a]=x.useState(null),{data:n,isLoading:i}=ve(t),{moneyBlurred:d}=L(),l=d?"blur-lg pointer-events-none select-none":"",u=["all","2025","2026"];return e.jsxs(h,{className:"flex flex-col min-h-0 overflow-hidden",children:[e.jsxs(f,{className:"flex-shrink-0",children:[e.jsxs(b,{className:"flex-1",children:[e.jsx(D,{size:14,className:"text-accent-green"}),"Umsatz & Kunden",n?.year_filter&&n.year_filter!=="all"&&e.jsx("span",{className:"text-accent-cyan ml-1",children:n.year_filter})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex gap-1",children:u.map(c=>e.jsx("button",{onClick:()=>a(c==="all"?null:c),className:N("px-2 py-0.5 text-[0.58rem] font-semibold font-mono border rounded",c==="all"&&!t||c===t?"bg-accent-cyan/12 text-accent-cyan border-accent-cyan/40":"bg-transparent text-text-muted border-glass-border hover:text-text-secondary"),children:c==="all"?"Gesamt":c},c))}),e.jsx("a",{href:"/rechnungen",className:"text-[0.62rem] text-accent-cyan opacity-60 hover:opacity-100",children:"Rechnungen →"})]})]}),e.jsx("div",{className:"px-4 pb-4 overflow-y-auto flex-1 min-h-0",children:i?e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-8 w-40 bg-white/5 rounded animate-pulse"}),e.jsx("div",{className:"h-4 w-28 bg-white/5 rounded animate-pulse"})]}):n?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:N("grid grid-cols-2 gap-2 mb-3",l),children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-mono text-2xl font-extrabold text-accent-green leading-none",style:{textShadow:"0 0 20px rgba(74,222,128,0.4)"},children:T(n.total_revenue_gross)}),e.jsx("div",{className:"text-[0.6rem] text-text-muted font-mono mt-0.5",children:"Gesamtumsatz (Brutto)"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-1",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold text-accent-cyan font-mono",children:n.total_invoices}),e.jsx("div",{className:"text-[0.6rem] text-text-muted font-mono",children:"Rechnungen"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold text-text-primary font-mono",children:T(n.avg_order_value)}),e.jsx("div",{className:"text-[0.6rem] text-text-muted font-mono",children:"Ø Auftragswert"})]})]})]}),n.tier_counts&&Object.keys(n.tier_counts).length>0&&e.jsx("div",{className:N("space-y-1 mb-3",l),children:Object.entries(n.tier_counts).map(([c,m])=>{const r=Math.max(...Object.values(n.tier_counts),1);return e.jsxs("div",{className:"flex items-center gap-2 text-[0.65rem]",children:[e.jsxs("span",{className:"w-14 text-right text-text-secondary font-mono",children:["Tier ",c]}),e.jsx("div",{className:"flex-1 h-2 bg-white/[0.03] rounded overflow-hidden",children:e.jsx("div",{className:"h-full rounded transition-all duration-700",style:{width:`${(m/r*100).toFixed(0)}%`,background:I[c]||"#38bdf8"}})}),e.jsx("span",{className:"w-7 font-mono font-semibold text-text-primary",children:m})]},c)})}),n.top_customers&&n.top_customers.length>0&&e.jsxs("div",{className:l,children:[e.jsx("div",{className:"text-[0.6rem] text-text-muted font-mono mb-1",children:"Top Kunden"}),n.top_customers.map(c=>e.jsxs("div",{className:"flex items-center gap-2 text-[0.65rem] mb-0.5",children:[e.jsx("span",{className:"text-text-secondary truncate max-w-[100px]",title:c.name,children:c.name}),e.jsx("div",{className:"flex-1 h-2 bg-white/[0.03] rounded overflow-hidden",children:e.jsx("div",{className:"h-full rounded",style:{width:`${n.total_revenue_gross>0?(c.revenue/n.total_revenue_gross*100).toFixed(0):0}%`,background:I[c.tier]||"#38bdf8"}})}),e.jsx("span",{className:"font-mono font-semibold text-text-primary whitespace-nowrap",children:T(c.revenue)})]},c.name))]})]}):e.jsx("p",{className:"text-text-muted text-xs font-mono",children:"Keine Daten"})})]})}function De(){const{data:t,isLoading:a}=ke(),{moneyBlurred:n}=L(),i=n?"text-transparent select-none [text-shadow:0_0_20px_rgba(255,255,255,0.5)]":"";if(a)return e.jsxs(h,{children:[e.jsx(f,{children:e.jsxs(b,{children:[e.jsx(M,{size:14,className:"text-accent-purple"})," Lexware"]})}),e.jsxs("div",{className:"px-4 pb-4",children:[e.jsx("div",{className:"h-3 w-32 bg-white/5 rounded animate-pulse mb-2"}),e.jsx("div",{className:"h-3 w-24 bg-white/5 rounded animate-pulse"})]})]});if(!t||t.error)return e.jsxs(h,{className:"opacity-50",children:[e.jsx(f,{children:e.jsxs(b,{children:[e.jsx(M,{size:14,className:"text-accent-purple"})," Lexware"]})}),e.jsx("p",{className:"px-4 pb-4 text-text-muted text-xs font-mono",children:"Nicht verfügbar"})]});const d=[{label:"Offene Beträge",value:t.open_amount,color:"text-accent-yellow"},{label:"Überfällig",value:t.overdue_amount,color:"text-accent-red"},{label:"Gesamtumsatz",value:t.total_revenue,color:"text-accent-green"},{label:"Rechnungen",value:t.invoice_count,color:"text-text-primary",raw:!0}];return e.jsxs(h,{children:[e.jsx(f,{children:e.jsxs(b,{children:[e.jsx(M,{size:14,className:"text-accent-purple"})," Lexware"]})}
10),e.jsx("div",{className:"space-y-1 px-4 pb-4",children:d.map(l=>l.value!==void 0&&e.jsxs("div",{className:"flex justify-between items-center py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-text-secondary",children:l.label}),e.jsx("strong",{className:`font-mono ${l.raw?l.color:`${l.color} ${l.raw?"":i}`}`,children:l.raw?l.value:T(l.value)})]},l.label))})]})}function Ke({period:t}){const{data:a,isLoading:n}=Ne(t);return e.jsxs(e.Fragment,{children:[e.jsxs(h,{className:"flex flex-col min-h-0",children:[e.jsxs(f,{className:"flex-shrink-0",children:[e.jsxs(b,{children:[e.jsx(U,{size:14,className:"text-accent-red"}),e.jsx("span",{className:"text-accent-red",children:"Nicht beantwortet"})]}),e.jsx(O,{variant:"red",children:a?.total_unanswered_count??"--"})]}),e.jsx("div",{className:"px-4 pb-4 overflow-y-auto flex-1 min-h-0",children:n?e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-3 w-full bg-white/5 rounded animate-pulse"}),e.jsx("div",{className:"h-3 w-3/4 bg-white/5 rounded animate-pulse"})]}):a?.unanswered_emails&&a.unanswered_emails.length>0?e.jsxs("table",{className:"w-full text-[0.7rem]",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-white/[0.06]",children:[e.jsx("th",{className:"text-left py-1 text-text-muted text-[0.55rem] uppercase font-mono",children:"Datum"}),e.jsx("th",{className:"text-left py-1 text-text-muted text-[0.55rem] uppercase font-mono",children:"Von"}),e.jsx("th",{className:"text-left py-1 text-text-muted text-[0.55rem] uppercase font-mono",children:"Betreff"}),e.jsx("th",{className:"text-left py-1 text-text-muted text-[0.55rem] uppercase font-mono",children:"Prio"})]})}),e.jsx("tbody",{children:a.unanswered_emails.map((i,d)=>{const l=i.email,u=(l.priority_score||0)>7?"red":(l.priority_score||0)>4?"yellow":"cyan",c=u==="red"?"Hoch":u==="yellow"?"Mittel":"Normal";return e.jsxs("tr",{className:"border-b border-white/[0.02] hover:bg-accent-cyan/[0.03]",children:[e.jsx("td",{className:"py-1 text-text-muted font-mono text-[0.63rem] whitespace-nowrap",children:l.date||"—"}),e.jsx("td",{className:"py-1 text-text-secondary max-w-[120px] truncate",children:i.contact_name||l.from||"—"}),e.jsx("td",{className:"py-1 text-text-primary max-w-[180px] truncate",children:l.subject||"—"}),e.jsx("td",{className:"py-1",children:e.jsx(O,{variant:u,children:c})})]},l.id||d)})})]}):e.jsx("p",{className:"text-text-muted text-xs font-mono text-center py-2",children:"Keine offenen E-Mails ✓"})})]}),e.jsxs(h,{children:[e.jsx(f,{children:e.jsxs(b,{children:[e.jsx(E,{size:14})," E-Mail Zeitraum"]})}),e.jsxs("div",{className:"px-4 pb-4 space-y-1",children:[e.jsxs("div",{className:"flex justify-between text-xs py-1 border-b border-white/[0.02]",children:[e.jsx("span",{className:"text-text-secondary",children:"E-Mails gesamt"}),e.jsx("strong",{className:"text-text-primary font-mono",children:a?.period_summary?.total??"--"})]}),e.jsxs("div",{className:"flex justify-between text-xs py-1 border-b border-white/[0.02]",children:[e.jsx("span",{className:"text-text-secondary",children:"Beantwortet"}),e.jsx("strong",{className:"text-accent-green font-mono",children:a?.period_summary?.answered??"--"})]}),a?.today_emails&&a.today_emails.length>0&&e.jsxs("div",{className:"mt-2",children:[e.jsx("div",{className:"text-[0.6rem] text-text-muted font-mono mb-1",children:"Heute eingegangen"}),e.jsx("div",{className:"max-h-[120px] overflow-y-auto space-y-0.5",children:a.today_emails.slice(0,8).map((i,d)=>{const l=(i.direction||"").toUpperCase()==="INBOUND";return e.jsxs("div",{className:"flex gap-1 py-0.5 text-[0.68rem] border-b border-white/[0.02]",children:[e.jsx("span",{className:`font-mono min-w-[14px] ${l?"text-accent-cyan":"text-accent-green"}`,children:l?"←":"→"}),e.jsx("span",{className:"text-text-secondary truncate",children:i.subject||i.from_addr||"—"})]},d)})})]})]})]})]})}function Be({currentJobs:t,onOpenThreshold:a}){const{data:n}=Z(),i=n?.threshold??10,d=Math.min(t/Math.max(i,1)*100,100),l=t>i,u=251.2-251.2*d/100,c=-90+d/100*180;let m,r;return l?(m="ÜBER KAPAZITÄT",r="bg-accent-red/12 text-red-300"):d>=80?(m="Hohe Auslastung",r="bg-accent-orange/12 text-orange-300"):d>=50?(m="Mittlere Auslastung",r="bg-accent-yellow/12 text-yellow-200"):(m="Kapazität frei",r="bg-accent-green/12 text-green-300"),e.jsxs("div",{className:"flex flex-col items-center py-2",children:[e.jsxs("div",{className:"relative w-[220px] h-[120px]",children:[e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[200px] h-[200px] rounded-full border-2 border-accent-cyan/8 pointer-events-none",style:{animation:"pulse 3s ease-in-out infinite"}}),e.jsxs("svg",{viewBox:"0 0 200 120",className:"w-full h-full",children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"gaugeGrad",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[e.jsx("stop",{offset:"0%",stopColor:"#22c55e"}),e.jsx("stop",{offset:"50%",stopColor:"#facc15"}),e.jsx("stop",{offset:"75%",stopColor:"#f97316"}),e.jsx("stop",{offset:"100%",stopColor:"#ef4444"})]})}),e.jsx("path",{d:"M 20 100 A 80 80 0 0 1 180 100",fill:"none",stroke:"rgba(255,255,255,0.06)",strokeWidth:"12",strokeLinecap:"round"}),e.jsx("path",{d:"M 20 100 A 80 80 0 0 1 180 100",fill:"none",stroke:l?"#ef4444":"url
10(#gaugeGrad)",strokeWidth:"12",strokeLinecap:"round",strokeDasharray:"251.2",strokeDashoffset:u,className:"transition-all duration-1000 ease-out"})]}),e.jsxs("div",{className:"absolute bottom-2 left-1/2 -translate-x-1/2 text-center",children:[e.jsx("div",{className:"font-mono text-3xl font-extrabold text-white",style:{textShadow:"0 0 25px rgba(56,189,248,0.6)"},children:t}),e.jsx("div",{className:"font-mono text-[0.55rem] text-white/35 uppercase tracking-[2px]",children:"Jobs"})]}),e.jsx("div",{className:"absolute bottom-5 left-1/2 w-1 h-16 origin-bottom transition-transform duration-1000",style:{transform:`translateX(-50%) rotate(${c}deg)`},children:e.jsx("div",{className:"w-full h-full",style:{background:"linear-gradient(to top, #ef4444, #f87171)",clipPath:"polygon(50% 0%, 0% 100%, 100% 100%)",filter:"drop-shadow(0 0 8px rgba(239,68,68,0.5))"}})})]}),e.jsx("div",{className:N("mt-1 px-3 py-0.5 rounded-lg text-[0.65rem] font-semibold font-mono",r),children:m}),e.jsxs("div",{className:"flex gap-4 mt-1 font-mono text-[0.6rem] text-text-muted",children:[e.jsxs("span",{children:["Aktuell: ",e.jsx("strong",{className:"text-text-primary",children:t})]}),e.jsxs("span",{children:["Schwelle: ",e.jsx("strong",{className:"text-amber-500",children:i})]}),e.jsx("button",{onClick:a,className:"text-accent-purple hover:underline",children:"⚙ SET"})]})]})}function Pe({open:t,onClose:a}){const{data:n}=Z(),i=_e(),d=he(),[l,u]=x.useState(10);x.useEffect(()=>{n?.threshold&&u(n.threshold)},[n]);const c=async()=>{await i.mutateAsync(l),d.invalidateQueries({queryKey:["production","threshold"]}),a()};return e.jsx(be,{open:t,onClose:a,title:"Produktions-Schwellenwert",size:"sm",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(ge,{label:"Maximale Jobs",type:"number",min:1,max:100,value:l,onChange:m=>u(parseInt(m.target.value)||10)}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx($,{variant:"secondary",onClick:a,children:"Abbrechen"}),e.jsx($,{onClick:c,disabled:i.isPending,children:"Speichern"})]})]})})}const Fe=x.lazy(()=>se(()=>import("./Galaxy-FcRSCW6H.js"),__vite__mapDeps([0,1,2,3]))),Oe=["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],$e=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"];function Ie(){const[t,a]=x.useState("");return x.useEffect(()=>{function n(){const d=new Date;a(`${Oe[d.getDay()]}, ${String(d.getDate()).padStart(2,"0")}. ${$e[d.getMonth()]} ${d.getFullYear()} · ${String(d.getHours()).padStart(2,"0")}:${String(d.getMinutes()).padStart(2,"0")}:${String(d.getSeconds()).padStart(2,"0")}`)}n();const i=setInterval(n,1e3);return()=>clearInterval(i)},[]),t}function qe(){return e.jsxs("div",{className:"absolute inset-0 pointer-events-none z-[1]",children:[e.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`
11            linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
12            linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px)
13          `,backgroundSize:"60px 60px",maskImage:"radial-gradient(ellipse at center, black 30%, transparent 80%)",WebkitMaskImage:"radial-gradient(ellipse at center, black 30%, transparent 80%)"}}),e.jsx("div",{className:"absolute left-0 right-0 h-px pointer-events-none",style:{background:"linear-gradient(90deg, transparent, rgba(56,189,248,0.2), transparent)",animation:"globalScan 12s ease-in-out infinite"}})]})}function ct(){const{username:t}=ee(),a=Ie(),[n]=x.useState("week"),[i,d]=x.useState(1),[l,u]=x.useState(!1),c=x.useRef(null),m=x.useRef({x:0,y:0}),{data:r}=we(),{data:w}=Se(),{data:j}=Ce(),y=r?.workboard_stats,o=y?.production??0,g=y?.preparation??0,C=r?.crm_stats?.total_revenue_gross?r.crm_stats.total_revenue_gross>=1e3?`${(r.crm_stats.total_revenue_gross/1e3).toFixed(1).replace(".",",")}k €`:`${Math.round(r.crm_stats.total_revenue_gross)} €`:"0 €",v=x.useCallback(s=>{s>=0&&s<3&&d(s)},[]);x.useEffect(()=>{const s=p=>{["INPUT","TEXTAREA","SELECT"].includes(p.target.tagName)||(p.key==="ArrowRight"&&(p.preventDefault(),v(i+1)),p.key==="ArrowLeft"&&(p.preventDefault(),v(i-1)))};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[i,v]);const Q=s=>{m.current={x:s.changedTouches[0].screenX,y:s.changedTouches[0].screenY}},Y=s=>{const p=m.current.x-s.changedTouches[0].screenX,A=Math.abs(m.current.y-s.changedTouches[0].screenY);Math.abs(p)>60&&Math.abs(p)>A&&v(p>0?i+1:i-1)},K=w?.blocks??w?.entries??w?.timeblocks??[],V=["BETRIEB","ZENTRALE","DATEN"];return e.jsxs("div",{className:"relative w-full h-screen overflow-hidden bg-[#030712] text-text-primary font-sans",children:[e.jsx("div",{className:"absolute inset-0 z-0 pointer-events-none",style:{opacity:.75},children:e.jsx(x.Suspense,{fallback:null,children:e.jsx(Fe,{hueShift:200,density:1.4,glowIntensity:.5,saturation:.7,starSpeed:.4,speed:.8,mouseRepulsion:!0,repulsionStrength:2,twinkleIntensity:.4,rotationSpeed:.06,transparent:!1})})}),e.jsx("style",{children:`
14        @keyframes globalScan {
15          0% { top: 0; opacity: 0; }
16          8% { opacity: 1; }
17          92% { opacity: 1; }
18          100% { top: 100%; opacity: 0; }
19        }
20      `}),e.jsx(qe,{}),e.jsx("div",{className:"relative z-[1] w-full h-full overflow-hidden",onTouchStart:Q,onTouchEnd:Y,children:e.jsxs("div",{ref:c,className:"flex w-[300%] h-full transition-transform duration-700",style:{transform:`translateX(-${i*(100/3)}%)`,transitionTimingFunction:"cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:[e.jsxs("section",{className:"w-1/3 min-w-[33.333%] h-full px-3 sm:px-4 py-3 flex flex-col overflow-hidden",children:[e.jsx("div",{className:"text-[0.6rem] font-mono text-accent-cyan/40 uppercase tracking-[0.15em] mb-2",children:"// BETRIEB"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-3 xl:gap-4 flex-1 min-h-0 overflow-y-auto xl:overflow-visible",children:[e.jsxs("div",{className:"flex flex-col gap-3 min-h-0 overflow-y-auto",children:[e.jsx(Re,{}),e.jsxs(h,{children:[e.jsxs(f,{children:[e.jsxs(b,{children:[e.jsx(de,{size:14,className:"text-accent-cyan"})," Projekte"]}),e.jsx("span",{className:"text-[0.6rem] font-mono bg-accent-green/12 text-accent-green px-1.5 py-0.5 rounded",children:(r?.active_projects??[]).length})]}),e.jsxs("div",{className:"px-4 pb-3 space-y-1",children:[(r?.active_projects??[]).map((s,p)=>e.jsxs("div",{className:"flex justify-between items-center py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-text-secondary truncate flex-1",children:s.name||s.title||"—"}),e.jsx("span",{className:"text-[0.58rem] font-mono bg-accent-cyan/12 text-accent-cyan px-1.5 py-0.5 rounded ml-1",children:s.status||"—"})]},p)),(!r?.active_projects||r.active_projects.length===0)&&e.jsx("p",{className:"text-text-muted text-xs font-mono",children:"Keine aktiven Projekte"})]})]}),e.jsxs(h,{children:[e.jsxs(f,{children:[e.jsxs(b,{children:[e.jsx(X,{size:14,className:"text-accent-yellow"})," Ranked"]}),e.jsx(z,{to:"/profile/ranked",className:"text-[0.62rem] text-accent-cyan o
20pacity-60 hover:opacity-100",children:"Board →"})]}),e.jsxs("div",{className:"px-4 pb-3 space-y-1",children:[(r?.ranked_leaderboard??[]).map((s,p)=>e.jsxs("div",{className:"flex justify-between py-1 border-b border-white/[0.02] text-xs",children:[e.jsxs("span",{className:"text-text-secondary",children:[["🥇","🥈","🥉"][p]||"  "," ",s.name||s.username||"—"]}),e.jsx("span",{className:"text-accent-yellow font-bold font-mono",children:s.score||s.points||0})]},p)),(!r?.ranked_leaderboard||r.ranked_leaderboard.length===0)&&e.jsx("p",{className:"text-text-muted text-xs font-mono",children:"Keine Ranked-Daten"})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-3 min-h-0 overflow-y-auto",children:[e.jsxs(h,{children:[e.jsx(f,{children:e.jsxs(b,{children:[e.jsx(xe,{size:14,className:"text-accent-yellow"})," Produktion"]})}),e.jsx(Be,{currentJobs:o,onOpenThreshold:()=>u(!0)})]}),e.jsxs(h,{children:[e.jsxs(f,{children:[e.jsxs(b,{children:[e.jsx(E,{size:14,className:"text-accent-cyan"})," Letzte Aufträge"]}),e.jsx(z,{to:"/workboard",className:"text-[0.62rem] text-accent-cyan opacity-60 hover:opacity-100",children:"Workboard →"})]}),e.jsxs("div",{className:"px-4 pb-3 space-y-1",children:[y&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex justify-between py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-text-secondary",children:"Produktion"}),e.jsx("span",{className:"text-accent-cyan font-bold font-mono",children:o})]}),e.jsxs("div",{className:"flex justify-between py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-text-secondary",children:"Vorbereitung"}),e.jsx("span",{className:"text-accent-purple font-bold font-mono",children:g})]}),e.jsxs("div",{className:"flex justify-between py-1 text-xs",children:[e.jsx("span",{className:"text-text-secondary",children:"Tickets"}),e.jsx("span",{className:"text-accent-yellow font-bold font-mono",children:y.tickets??0})]})]}),!y&&e.jsx("p",{className:"text-text-muted text-xs font-mono",children:"Keine Aufträge"})]})]}),e.jsx(De,{})]}),e.jsxs("div",{className:"flex flex-col gap-3 min-h-0 overflow-y-auto",children:[e.jsxs(h,{children:[e.jsxs(f,{children:[e.jsxs(b,{children:[e.jsx(J,{size:14,className:"text-accent-green"})," Angebote"]}),e.jsx(z,{to:"/angebote",className:"text-[0.62rem] text-accent-cyan opacity-60 hover:opacity-100",children:"Alle →"})]}),e.jsx("div",{className:"px-4 pb-3 space-y-1",children:j&&j.length>0?j.slice(0,5).map((s,p)=>{const A=(s.status||"").toLowerCase().includes("offen")?"yellow":(s.status||"").toLowerCase().includes("angenommen")?"green":"cyan";return e.jsxs("div",{className:"flex justify-between items-center py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-text-secondary truncate flex-1",children:s.title||s.customer||s.name||"—"}),e.jsx("span",{className:N("text-[0.58rem] font-mono px-1.5 py-0.5 rounded ml-1",A==="green"?"bg-accent-green/12 text-accent-green":A==="yellow"?"bg-accent-yellow/12 text-accent-yellow":"bg-accent-cyan/12 text-accent-cyan"),children:s.status||"—"})]},p)}):e.jsx("p",{className:"text-text-muted text-xs font-mono",children:"Keine Angebote"})})]}),e.jsxs(h,{children:[e.jsxs(f,{children:[e.jsxs(b,{children:[e.jsx(me,{size:14,className:"text-accent-yellow"})," Reminders"]}),e.jsx(z,{to:"/leads",className:"text-[0.62rem] text-accent-cyan opacity-60 hover:opacity-100",children:"Leads →"})]}),e.jsxs("div",{className:"px-4 pb-3 space-y-1",children:[(r?.reminders??[]).map((s,p)=>e.jsxs("div",{className:"flex gap-1 py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-accent-yellow font-mono text-[0.65rem] min-w-[60px]",children:s.date||s.due_date||"—"}),e.jsx("span",{className:"text-text-secondary truncate flex-1",children:s.title||s.lead_name||s.text||"—"})]},p)),(!r?.reminders||r.reminders.length===0)&&e.jsx("p",{className:"text-text-muted text-xs font-mono",children:"Keine Reminders"})]})]})]})]})]}),e.jsxs("section",{className:"w-1/3 min-w-[33.333%] h-full px-6 py-3 flex flex-col gap-2 overflow-hidden",children:[e.jsx("div",{className:"text-[0.6rem] font-mono text-accent-cyan/40 uppercase tracking-[0.15em]",children:"// ZENTRALE"}),e.jsxs("div",{className:"flex justify-between items-start flex-wrap gap-2 flex-shrink-0",children:[e.jsxs(_,{initial:{opacity:0,x:-20}
20,animate:{opacity:1,x:0},transition:{duration:.5,ease:[.25,.46,.45,.94]},children:[e.jsxs("h1",{className:"text-2xl font-black leading-tight",style:{background:"linear-gradient(135deg, #e2e8f0 20%, #38bdf8 50%, #a78bfa 80%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",filter:"drop-shadow(0 0 20px rgba(56,189,248,0.3))",backgroundSize:"200% 200%",animation:"border-flow 6s ease infinite"},children:["Willkommen, ",t||"User"]}),e.jsxs("div",{className:"font-mono text-[0.75rem] text-text-muted font-medium mt-0.5 flex items-center gap-2",children:[e.jsx(te,{color:"#22c55e",size:6}),e.jsx("span",{children:a})]}),e.jsx("div",{className:"font-mono text-[0.6rem] text-accent-cyan/60 mt-1 h-4",children:e.jsx(ye,{texts:["System operational · All services running","Produktion aktiv · Workboard synchronisiert","CRM verbunden · Lexware sync OK","Printstudios CM-System v14"],speed:45,pauseTime:3e3})})]}),e.jsx(Le,{})]}),e.jsx(Te,{auftraege:o+g,rechnungen:r?.crm_stats?.total_invoices??0,umsatz:C,kunden:r?.crm_stats?.total_customers??0,emails:r?.crm_stats?.followup_count??0,aktivitaet:r?.today_ranked??0}),e.jsxs(h,{className:"flex-1 min-h-0 flex flex-col overflow-hidden",children:[e.jsx(f,{className:"flex-shrink-0",children:e.jsxs(b,{children:[e.jsx(E,{size:14})," Aktivitäts-Feed"]})}),e.jsx("div",{className:"px-4 pb-4 overflow-y-auto flex-1 min-h-0",children:e.jsx("p",{className:"text-text-muted text-xs font-mono text-center py-4",children:"Aktivitäten werden beim Laden der Kommunikationsdaten befüllt."})})]})]}),e.jsxs("section",{className:"w-1/3 min-w-[33.333%] h-full px-4 py-3 flex flex-col overflow-hidden",children:[e.jsx("div",{className:"text-[0.6rem] font-mono text-accent-cyan/40 uppercase tracking-[0.15em] mb-2",children:"// DATEN"}),e.jsxs("div",{className:"grid grid-cols-2 gap-3 flex-1 min-h-0",children:[e.jsx("div",{className:"col-span-2",children:e.jsx(Ke,{period:n})}),e.jsxs(h,{children:[e.jsx(f,{children:e.jsxs(b,{children:[e.jsx(pe,{size:14,className:"text-accent-cyan"})," Heute"]})}),e.jsx("div",{className:"px-4 pb-3 space-y-1",children:K.length>0?K.slice(0,6).map((s,p)=>e.jsxs("div",{className:"flex gap-2 py-1 border-b border-white/[0.02] text-xs",children:[e.jsx("span",{className:"text-accent-cyan font-semibold font-mono text-[0.65rem] min-w-[40px]",children:s.start_time||s.time||"—"}),e.jsx("span",{className:"text-text-secondary flex-1",children:s.title||s.label||s.description||"—"})]},p)):e.jsx("p",{className:"text-text-muted text-xs font-mono text-center py-2",children:"Keine Termine heute"})})]})]})]})]})}),e.jsx("div",{className:"absolute bottom-10 left-0 right-0 z-[5] opacity-40",children:e.jsxs(je,{speed:45,gap:64,children:[e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-cyan/70 uppercase tracking-[0.2em]",children:"PRINTSTUDIOS CM-SYSTEM"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-purple/60 uppercase tracking-[0.2em]",children:"PRODUKTION"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-green/60 uppercase tracking-[0.2em]",children:"WORKBOARD"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-yellow/60 uppercase tracking-[0.2em]",children:"ANGEBOTE"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-cyan/60 uppercase tracking-[0.2em]",children:"RECHNUNGEN"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-purple/60 uppercase tracking-[0.2em]",children:"LEXWARE"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-green/60 uppercase tracking-[0.2em]",children:"CRM"}),e.jsx("span",{className:"text-[0.55rem] font-mono text-accent-yellow/60 uppercase tracking-[0.2em]",children:"COLD CALL"})]})}),e.jsx("nav",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 z-10 flex gap-2 items-center px-3.5 py-1.5 bg-[rgba(3,7,18,0.7)] backdrop-blur-xl border border-accent-cyan/10 rounded-[20px]",children:V.map((s,p)=>e.jsxs("button",{onClick:()=>v(p),className:"flex items-center gap-1.5 px-2 py-1 rounded-xl transition-all",children:[e.jsx("span",{className:N("w-2 h-2 rounded-full transition-all flex-shrink-0",p===i?"bg-accent-cyan shadow-[0_0_12px_rgba(56,189,248,0.6),0_0_24px_rgba(56,189,248,0.3)] w-2.5 h-2.5":"bg-text-muted hover:bg-accent-cyan/60 hover:shadow-[0_0_8px_rgba(56,189,248,0.4)]")}),e.jsx("span",{className:N("font-mono text-[0.55rem] font-bold tracking-[0.12em] transition-colors",p===i?"text-accent-cyan":"text-text-muted hover:text-text-secondary"),children:s})]},s))}),e.jsx(Pe,{open:l,onClose:()=>u(!1)})]})}export{ct as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.