1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14740],{3232:(e,t,r)=>{r.r(t),r.d(t,{MotionPreset:()=>c});var n=r(12465),o=r(36853),l=r(64671),s=r(73863),i=r(91529),a=r(90204);let d=l.P,u={duration:.5,ease:[.22,1,.36,1]};function c(e){let{ref:t,children:r,className:c,component:m="div",transition:p=u,delay:f=0,inView:h=!0,inViewMargin:x="0px",inViewOnce:g=!0,blur:b=!1,slide:y=!1,fade:w=!1,zoom:v=!1,motionProps:N={}}=e,j=o.useRef(null);o.useImperativeHandle(t,()=>j.current);let _=(0,s.W)(j,{once:g,margin:x}),k=(0,i.I)(),C=(0,a.a)(),E={},L={};if(!k&&y){let e=!0===y?void 0:y.offset,t=void 0!==e?C?Math.min(e,24):e:C?16:24,r=!0===y?"left":y.direction??"left",n="up"===r||"down"===r?"y":"x";E[n]="left"===r||"up"===r?-t:t,L[n]=0}if(w&&(E.opacity=!0===w?0:w.initialOpacity??0,L.opacity=!0===w?1:w.opacity??1),!k&&v&&(E.scale=!0===v?.5:v.initialScale??.5,L.scale=!0===v?1:v.scale??1),!k&&b){let e=parseFloat(function(e){if(!0===e)return"12px";let t=/^(\d+(?:\.\d+)?)px$/.exec(String(e).trim());return t?`${t[1]}px`:"12px"}(b));C&&(e=Math.min(e,10));let t=`${e}px`;E.opacity="number"==typeof E.opacity?E.opacity:0,L.opacity="number"==typeof L.opacity?L.opacity:1,E.filter=`blur(${t})`,L.filter="blur(0px)","number"!=typeof E.y&&"number"!=typeof E.x&&(E.y=C?12:10,L.y=0)}let S=d[m]||l.P.div,$=N.style;return(0,n.jsx)(S,{ref:j,initial:"hidden",animate:!h||_?"visible":"hidden",variants:{hidden:E,visible:L},transition:{...p,delay:(p?.delay??0)+f},className:c,...N,style:$,children:r})}},8727:(e,t,r)=>{r.d(t,{FAQAccordion:()=>s});var n=r(12465),o=r(19404),l=r(3232);function s(e){let{faqs:t,className:r,itemClassName:s,triggerClassName:i,contentClassName:a,defaultValue:d}=e;return(0,n.jsx)(o.Accordion,{type:"single",collapsible:!0,className:r??"w-full space-y-3",defaultValue:d,children:t.map((e,t)=>(0,n.jsx)(l.MotionPreset,{component:"div",fade:!0,slide:{direction:"up",offset:20},delay:.05*t,transition:{duration:.4},children:(0,n.jsxs)(o.AccordionItem,{value:`item-${t}`,className:`group rounded-[12px] border border-border/70 px-2 transition-all duration-300 data-[state=open]:border-border data-[state=open]:bg-muted/40 ${s??""}`,children:[(0,n.jsx)(o.AccordionTrigger,{className:`text-left transition-all duration-300 group-hover:translate-x-0.5 hover:text-primary hover:no-underline ${i??""}`,children:e.question}),(0,n.jsx)(o.AccordionContent,{className:`text-muted-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-top-1 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:slide-out-to-top-1 ${a??""}`,children:e.answer})]})},t))})}},14740:(e,t,r)=>{r.d(t,{BlogMarkdownContent:()=>M,K:()=>q});var n=r(12465),o=r(36853),l=r(14499),s=r(57993),i=r(50588),a=r(38168),d=r(80626),u=r(70232),c=r(64203),m=r(16191),p=r(45153);let f={info:u.default,tip:c.default,warning:m.default},h={info:"bg-muted/50 border-border text-foreground",tip:"bg-emerald-500/10 border-emerald-500/30 text-foreground",warning:"bg-red-500/10 border-red-500/30 text-foreground"},x={info:"border-border bg-background/80 text-muted-foreground",tip:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",warning:"border-red-500/30 bg-red-500/10 text-red-700 dark:text-red-300"};function g(e){let{variant:t="info",children:r,className:o,streamIndex:l}=e,s=f[t]??f.info,i=h[t]??h.info,a=x[t]??x.info;return(0,n.jsxs)("div",{className:(0,p.cn)("flex gap-4 rounded-xl border p-5 my-8",i,null!=l?"animate-in fade-in slide-in-from-bottom-2 duration-300 [animation-fill-mode:forwards]":void 0,o),role:"note",children:[(0,n.jsx)("span",{className:(0,p.cn)("shrink-0 flex items-center justify-center w-9 h-9 rounded-full border",a),children:(0,n.jsx)(s,{className:"h-4 w-4"})}),(0,n.jsx)("div",{className:"min-w-0 flex-1 prose prose-slate dark:prose-invert max-w-none text-[15px] leading-[1.7] [&_p]:my-2.5 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-3 [&_ol]:my-3 [&_ul]:space-y-1 [&_ol]:space-y-1 [&_li]:my-0.5 [&_code]:rounded [&_code]:bg-muted/80 [&_code]:px-1.5 [&_code]:py-0.5 [&_pre]:my-3 [&_pre]:rounded-lg [&_pre]:p-4",children:r})]})}function b(e){let{variant:t="info"}=e,r=h[t]??h.info;
1return(0,n.jsxs)("div",{className:(0,p.cn)("flex gap-4 rounded-xl border p-5 my-8 animate-in fade-in duration-200",r),role:"presentation",children:[(0,n.jsx)("span",{className:"shrink-0 flex items-center justify-center w-9 h-9 rounded-full bg-muted animate-pulse"}),(0,n.jsxs)("div",{className:"min-w-0 flex-1 space-y-2",children:[(0,n.jsx)("div",{className:"h-4 w-3/4 max-w-[280px] rounded bg-muted animate-pulse"}),(0,n.jsx)("div",{className:"h-3 w-full max-w-[90%] rounded bg-muted/70 animate-pulse"})]})]})}function y(e){let{children:t,className:r}=e;return(0,n.jsx)("div",{className:(0,p.cn)("relative my-8 pl-[2.75rem]","before:absolute before:left-[calc(2.75rem+1rem)] before:top-6 before:bottom-6 before:w-px before:border-l before:border-dashed before:border-border",r),children:t})}function w(e){let{step:t,children:r,className:o,streamIndex:l}=e,s=null!=l?{animationDelay:`${80*l}ms`}:void 0;return(0,n.jsxs)("div",{className:(0,p.cn)("grid grid-cols-[2rem_1fr] gap-x-4 items-start pb-7 last:pb-0",null!=l?"animate-in fade-in slide-in-from-bottom-2 duration-300 [animation-fill-mode:forwards]":void 0,o),style:s,children:[(0,n.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-primary text-primary-foreground text-sm font-semibold mt-0.5","aria-hidden":!0,children:t}),(0,n.jsx)("div",{className:"min-w-0 prose prose-slate dark:prose-invert max-w-none text-[15px] leading-[1.7] [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ol]:my-2 [&_code]:rounded [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_pre]:rounded-lg [&_pre]:bg-muted [&_pre]:p-4 [&_pre]:my-2",children:r})]})}function v(e){let{className:t}=e;return(0,n.jsxs)("div",{className:(0,p.cn)("grid grid-cols-[2rem_1fr] gap-x-4 items-start pb-7","animate-in fade-in duration-200",t),children:[(0,n.jsx)("span",{className:"flex h-7 w-7 shrink-0 rounded-full bg-muted mt-0.5 animate-pulse","aria-hidden":!0}),(0,n.jsxs)("div",{className:"min-w-0 space-y-2 pt-0.5",children:[(0,n.jsx)("div",{className:"h-4 w-24 rounded bg-muted animate-pulse"}),(0,n.jsx)("div",{className:"h-3 w-full max-w-[85%] rounded bg-muted/70 animate-pulse"})]})]})}var N=r(8727),j=r(66532),_=r.n(j),k=r(33832),C=r(84662),E=r(3232),L=r(15122);function S(e){let{posts:t,className:r}=e,[l,a]=(0,o.useState)(""),{locale:d}=(0,i.CH)((0,s.usePathname)()??"/"),u="en"===d?{searchLabel:"Search posts in this list",searchPlaceholder:"Search documents...",countOf:(e,t)=>`${e} of ${t} ${1===t?"post":"posts"}`,noMatch:e=>`No matches for â${e}â.`,empty:"No posts in this list."}:{searchLabel:"Beitr\xe4ge in dieser Liste durchsuchen",searchPlaceholder:"Dokument suchen...",countOf:(e,t)=>`${e} von ${t} ${1===t?"Beitrag":"Beitr\xe4gen"}`,noMatch:e=>`Keine Treffer f\xfcr â${e}â.`,empty:"Keine Beitr\xe4ge in dieser Liste."},c=(0,o.useMemo)(()=>l.trim()?t.filter(e=>(function(e,t){if(!t)return!0;let r=t.toLowerCase();return e.title.toLowerCase().includes(r)||e.slug.toLowerCase().includes(r)||e.path.toLowerCase().includes(r)})(e,l.trim())):t,[t,l]);if(!t.length)return null;let m=t.length>=2,f=l.trim();return(0,n.jsxs)("div",{className:(0,p.cn)("my-8 space-y-4 overflow-visible",r),children:[m?(0,n.jsxs)("div",{className:"w-full max-w-full overflow-visible sm:px-0.5",children:[(0,n.jsx)("label",{className:"sr-only",htmlFor:"wissen-query-loop-search",children:u.searchLabel}),(0,n.jsxs)("div",{className:"relative overflow-visible px-0.5 sm:px-0",children:[(0,n.jsx)(k.default,{className:"pointer-events-none absolute left-3.5 top-1/2 z-10 h-4 w-4 -translate-y-1/2 text-muted-foreground sm:left-3","aria-hidden":!0}),(0,n.jsx)(L.p,{id:"wissen-query-loop-search",type:"search",value:l,onChange:e=>a(e.target.value),placeholder:u.searchPlaceholder,className:(0,p.cn)("h-10 w-full pl-10 sm:pl-9","focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"),autoComplete:"off",spellCheck:!1})]}),f?(0,n.jsx)("p",{className:"mt-2 text-xs text-muted-foreground","aria-live":"polite",children:u.countOf(c.length,t.length)}):null]}):null,0===c.length?(0,n.jsx)("p",{className:"rounded-lg border border-dashed border-border bg-muted/20 px-4 py-6 text-center text-sm text-muted-foreground",role:"status",children:f?u.noMatch(f):u.empty}):(0,n.jsx)("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3",role:"list",children:c.map((e,t)=>(0,n.jsx)("li",{className:"min-w-0",children:(0,n.jsx)(E.MotionPreset,{component:"div",fade:!0,slide:{direction:"up",offset:12},delay:Math.min(.04*t,.4),transition:{duration:.35},className:"h-full",children:(0,n.jsxs)(_(),{href:(0,i.lF)(`/wissen/${e.path}`,d),className:(0,p.cn)("group relative flex h-full min-h-[5.5rem] flex-col justify-between gap-3 overflow-hidden rounded-xl border border-border bg-muted/20 p-4","transition-[border-color,background-color] duration-300 [transition-timing-function:cubic-bezier(0.22,1,0.36,1)]","hover:border-orange-500/45 hover:bg-muted/45","focus:outline-none focus-visible:ring-2 focus-visible:ring-orange-500/50 focus-visible:ring-offset-2 focus-visible:ring-offset-background","sm:flex-row sm:items-center sm:gap-4"),children:[(0,n.jsx)("span",{className:"min-w-0 flex-1 font-medium leading-snug text-foreground transition-colors duration-300 line-clamp-3 group-hover:text-orange-400 sm:line-clamp-2",children:e.title}),(0,n.jsx)("span",{className:(0,p.cn)("flex h-9 w-9 shrink-0 origin-center items-center justify-center self-end rounded-full border border-border bg-background/80 text-muted-foreground sm:self-ce
1nter","transform-gpu transition-[transform,colors,border-color,box-shadow] duration-300 [transition-timing-function:cubic-bezier(0.22,1,0.36,1)]","motion-reduce:transition-colors motion-reduce:group-hover:scale-100","group-hover:scale-105 group-hover:border-orange-500/50 group-hover:text-orange-400 group-hover:shadow-md"),"aria-hidden":!0,children:(0,n.jsx)(C.default,{className:"h-4 w-4 transition-transform duration-300 [transition-timing-function:cubic-bezier(0.22,1,0.36,1)] group-hover:translate-x-px"})})]})})},e.id))})]})}var $=r(97514),A=r(61227);let q=(0,p.cn)("prose prose-slate prose-invert max-w-none leading-relaxed","prose-headings:font-medium prose-headings:tracking-tight prose-headings:text-foreground","prose-h1:mt-0 prose-h1:mb-6 prose-h1:text-4xl prose-h1:leading-tight sm:prose-h1:text-[2.5rem]","prose-h2:mt-12 prose-h2:mb-6 prose-h2:text-3xl prose-h2:leading-tight","prose-h3:mt-10 prose-h3:mb-4 prose-h3:text-xl prose-h3:leading-tight","prose-h4:mt-8 prose-h4:mb-3 prose-h4:text-lg prose-h4:leading-snug","prose-h5:mt-6 prose-h5:mb-2 prose-h5:text-base prose-h5:leading-snug","prose-h6:mt-4 prose-h6:mb-2 prose-h6:text-sm prose-h6:leading-snug","prose-p:leading-[1.85] prose-p:my-6 prose-p:text-foreground/90","prose-blockquote:border-l-orange-500 prose-blockquote:bg-muted/30 prose-blockquote:py-1 prose-blockquote:px-4 prose-blockquote:my-8 prose-blockquote:rounded-r-md prose-blockquote:italic prose-blockquote:leading-relaxed","prose-hr:my-10 prose-hr:border-border","prose-pre:bg-muted prose-pre:rounded-lg prose-pre:border prose-pre:border-border prose-pre:my-8 prose-pre:shadow-sm","prose-code:before:content-none prose-code:after:content-none prose-code:rounded prose-code:bg-muted prose-code:px-1.5 prose-code:py-0.5 prose-code:text-sm prose-code:font-mono","prose-a:font-medium prose-a:text-orange-400 prose-a:underline prose-a:underline-offset-4 prose-a:decoration-orange-500/50 hover:prose-a:text-orange-300 hover:prose-a:decoration-orange-400","prose-strong:font-semibold prose-strong:text-foreground","prose-li:leading-[1.85]","prose-table:w-full","[&_table]:w-full [&_table]:min-w-[280px] [&_table]:border-collapse [&_table]:text-base [&_table]:leading-[1.85] [&_table]:rounded-lg [&_table]:border [&_table]:border-border [&_table]:overflow-hidden","[&_thead]:bg-muted/50 [&_thead]:border-b [&_thead]:border-border","[&_tbody_tr]:border-b [&_tbody_tr]:border-border [&_tbody_tr]:transition-colors [&_tbody_tr:hover]:bg-muted/30","[&_th]:px-4 [&_th]:py-3 [&_th]:text-left [&_th]:font-medium [&_th]:text-foreground [&_th]:align-middle","[&_td]:px-4 [&_td]:py-3 [&_td]:text-foreground/90 [&_td]:align-middle"),T={h1:"mt-0 mb-6 text-4xl font-medium tracking-tight text-foreground leading-tight sm:text-[2.5rem]",h2:"mt-12 mb-6 text-3xl font-medium tracking-tight text-foreground leading-tight",h3:"mt-10 mb-4 text-xl font-medium tracking-tight text-foreground leading-tight",h4:"mt-8 mb-3 text-lg font-medium tracking-tight text-foreground leading-snug",h5:"mt-6 mb-2 text-base font-medium tracking-tight text-foreground leading-snug",h6:"mt-4 mb-2 text-sm font-medium tracking-tight text-foreground leading-snug"},I=e=>t=>{let{node:r,children:o,className:l,...s}=t;return(0,n.jsx)(e,{className:(0,p.cn)(T[e],l),...s,children:o})},P={a:function(e){let{node:t,className:r,children:l,href:a,...d}=e,u=function(e){let t=o.Children.toArray(e).filter(Boolean);if(1!==t.length)return!1;let r=t[0];return!!(0,o.isValidElement)(r)&&"img"===r.type}(l),{locale:c}=(0,i.CH)((0,s.usePathname)()??"/"),m="string"==typeof a?(0,i.lF)(a,c):a;return(0,n.jsxs)("a",{className:(0,p.cn)("internal-autolink",r),href:m,...d,children:[(0,n.jsx)("span",{className:(0,p.cn)("internal-autolink__text",u&&"inline-block"),children:l}),!u&&(0,n.jsx)("span",{className:"internal-autolink__arrow","aria-hidden":!0,children:"â"})]})},h1:I("h1"),h2:I("h2"),h3:I("h3"),h4:I("h4"),h5:I("h5"),h6:I("h6"),
1code:e=>{let{node:t,inline:r,className:o,children:l,...s}=e;return r?(0,n.jsx)("code",{className:(0,p.cn)("rounded bg-muted px-1.5 py-0.5 text-sm font-mono",o),...s,children:l}):(0,n.jsx)("code",{className:(0,p.cn)("block rounded-lg bg-muted p-4 text-sm font-mono overflow-x-auto",o),...s,children:l})},pre:e=>{let{node:t,children:r,...o}=e;return(0,n.jsx)("pre",{className:"my-6 rounded-lg border border-border bg-muted p-5 overflow-x-auto text-sm leading-relaxed shadow-sm",...o,children:r})},p:e=>{let{node:t,children:r,...o}=e;return(0,n.jsx)("p",{className:"my-6 leading-[1.85] text-foreground/90",...o,children:r})},hr:e=>{let{node:t,...r}=e;return(0,n.jsx)("hr",{className:"my-10 border-0 border-t border-border",...r})},blockquote:e=>{let{node:t,children:r,...o}=e;return(0,n.jsx)("blockquote",{className:"border-l-4 border-orange-500 bg-muted/30 py-2 px-4 my-8 rounded-r-md italic text-foreground/90",...o,children:r})},ul:e=>{let{node:t,...r}=e;return(0,n.jsx)("ul",{className:"my-6 ml-0 list-none pl-0 text-foreground/90 w-fit max-w-full space-y-0.5 [&>li:first-child]:pt-0 [&_ul]:my-4 [&_ol]:my-4",...r})},ol:e=>{let{node:t,...r}=e;return(0,n.jsx)("ol",{className:"my-6 ml-0 pl-6 space-y-1 list-decimal list-outside text-foreground/90 [&_ul]:my-4 [&_ol]:my-4",...r})},li:e=>{let{node:t,children:r,...o}=e;return(0,n.jsxs)("li",{className:"flex items-start gap-3 py-1 leading-[1.85] first:pt-0 [&>ul]:mt-2 [&>ol]:mt-2",...o,children:[(0,n.jsx)("span",{className:"flex h-[1em] min-h-[1.75rem] shrink-0 items-center leading-[1.85]","aria-hidden":!0,children:(0,n.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-orange-500 opacity-70"})}),(0,n.jsx)("span",{className:"flex-1 min-w-0 [&_ul]:list-none [&_ul]:pl-0 [&_ul]:w-fit [&_ul]:max-w-full [&_ul]:space-y-1",children:r})]})},table:e=>{let{node:t,...r}=e;return(0,n.jsx)("div",{className:"prose-table-wrapper my-8 w-full overflow-x-auto rounded-xl overflow-hidden border border-border",children:(0,n.jsx)("table",{className:"content-table w-full min-w-[280px] border-collapse text-base leading-[1.85]",...r})})},thead:e=>{let{node:t,...r}=e;return(0,n.jsx)("thead",{className:"bg-muted/50 border-b-2 border-border",...r})},tbody:e=>{let{node:t,...r}=e;return(0,n.jsx)("tbody",{className:"[&>tr:last-child]:border-b-0",...r})},tr:e=>{let{node:t,children:r,...o}=e;return""===(function e(t){return"string"==typeof t?t:"number"==typeof t?String(t):Array.isArray(t)?t.map(e).join(""):t&&"object"==typeof t&&"props"in t?e(t.props?.children??""):""})(r).trim()?null:(0,n.jsx)("tr",{className:"border-b border-border transition-colors hover:bg-muted/30",...o,children:r})},th:e=>{let{node:t,...r}=e;return(0,n.jsx)("th",{className:"border-r border-border px-4 py-3 text-left font-medium text-foreground align-middle last:border-r-0",...r})},td:e=>{let{node:t,...r}=e;return(0,n.jsx)("td",{className:"border-r border-border px-4 py-3 text-foreground/90 align-middle last:border-r-0",...r})}};function O(e){let{content:t,className:r}=e,s=(0,d.FT)(t),i=(0,d.Uo)(s),u=(0,d.Sq)(i),c=(0,o.useRef)(null);return(0,$.J)(c,[u]),(0,n.jsx)("div",{ref:c,className:(0,p.cn)(q,r),children:(0,n.jsx)(l.oz,{remarkPlugins:[a.A],components:P,children:u})})}function D(e){let{segment:t,segmentIndex:r,isStreaming:o,queryLoopData:l}=e;if("markdown"===t.type)return(0,n.jsx)(O,{content:t.content});let{boxType:s,content:i,incomplete:a}=t;if("queryloop"===s){let e=l?.[r]??[];return(0,n.jsx)(S,{posts:e})}if("steps"===s){let e=(0,d.cv)(i).filter(e=>e.trim()),t=o&&a,r=t&&0===e.length;return(0,n.jsx)(y,{children:r?(0,n.jsx)(v,{}):(0,n.jsxs)(n.Fragment,{children:[e.map((e,t)=>(0,n.jsx)(w,{step:t+1,streamIndex:o?t:void 0,children:(0,n.jsx)(O,{content:e})},t)),t&&(0,n.jsx)(v,{})]})})}if("wissensuche"===s)return(0,n.jsx)("div",{className:"my-6 min-h-[3rem]","data-lvit-wissen-suche":!0});if("faq"===s){let e=(0,d.zp)(i).filter(e=>e.question.trim());return 0===e.length?(0,n.jsx)("div",{className:"my-6 min-h-[2rem]"}):(0,n.jsx)("div",{className:(0,p.cn)("my-8",q),children:(0,n.jsx)(N.FAQAccordion,{faqs:e})})}let u="tip"===s||"warning"===s?s:"info";if(o&&a&&!i.trim())return(0,n.jsx)(b,{variant:u});let c=o&&a&&i.trim().length>0;return(0,n.jsxs)(g,{variant:u,streamIndex:o?0:void 0,children:[(0,n.jsx)(O,{content:i}),c&&(0,n.jsx)("div",{className:"mt-3 block h-3 w-24 rounded bg-muted/70 animate-pulse","aria-hidden":!0})]})}
1function M(e){let{content:t,className:r,isStreaming:l,queryLoopData:s}=e,i=(0,d.$O)(t);return(0,o.useEffect)(()=>{if(!(0,A.O)())return;let e=(0,d.$O)(t),r=e.map((e,t)=>"box"===e.type&&"queryloop"===e.boxType?t:-1).filter(e=>e>=0);(0,A.j)("BlogMarkdownContent",{segmentCount:e.length,queryLoopSegmentIndices:r,queryLoopDataKeys:s?Object.keys(s):[],hasQueryLoopDataProp:null!=s}),e.forEach((e,t)=>{if("box"!==e.type||"queryloop"!==e.boxType)return;let r=s?.[t]??[],n=(0,d.FP)(e.content);0===r.length&&(0,A.j)("BlogMarkdownContent.empty-cards",{segmentIndex:t,parsed:n,dataAtIndex:s?.[t],allKeys:s?Object.keys(s):[],directivePreview:e.content.slice(0,220)})})},[t,s]),(0,n.jsx)("div",{className:(0,p.cn)("space-y-10",r),children:i.map((e,t)=>(0,n.jsx)(D,{segment:e,segmentIndex:t,isStreaming:l,queryLoopData:s},t))})}},15122:(e,t,r)=>{r.d(t,{p:()=>s});var n=r(12465),o=r(36853),l=r(45153);let s=o.forwardRef((e,t)=>{let{className:r,type:o,...s}=e;return(0,n.jsx)("input",{type:o,className:(0,l.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),ref:t,...s})});s.displayName="Input"},19404:(e,t,r)=>{r.d(t,{Accordion:()=>a,AccordionContent:()=>c,AccordionItem:()=>d,AccordionTrigger:()=>u});var n=r(12465),o=r(36853),l=r(13468),s=r(45153),i=r(17998);let a=l.bL,d=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)(l.q7,{ref:t,className:(0,s.cn)("border-b",r),...o})});d.displayName="AccordionItem";let u=o.forwardRef((e,t)=>{let{className:r,children:o,...a}=e;return(0,n.jsx)(l.Y9,{className:"flex",children:(0,n.jsxs)(l.l9,{ref:t,className:(0,s.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",r),...a,children:[o,(0,n.jsx)(i.D3D,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});u.displayName=l.l9.displayName;let c=o.forwardRef((e,t)=>{let{className:r,children:o,...i}=e;return(0,n.jsx)(l.UC,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,n.jsx)("div",{className:(0,s.cn)("pb-4 pt-0",r),children:o})})});c.displayName=l.UC.displayName},61227:(e,t,r)=>{r.d(t,{O:()=>l,j:()=>s});var n=r(77399);function o(e){if(null==e)return null;let t=e.trim().toLowerCase();return!!["1","true","yes","on"].includes(t)||!["0","false","no","off"].includes(t)&&null}function l(){if(void 0===n)return!1;let e=o(n.env.NEXT_PUBLIC_DEBUG_WISSEN_QUERY_LOOP),t=o(n.env.DEBUG_WISSEN_QUERY_LOOP);return!1!==e&&!1!==t&&(!0===e||!0===t)}function s(e,t){l()&&console.log(`[wissen:query-loop:${e}]`,t)}},80626:(e,t,r)=>{function n(e){if("string"!=typeof e||!e.trim())return!1;let t=e.trim();if(/^\s*</.test(t))return!1;let r=e.includes("\n")||e.includes("\r\n");return e.includes("::: ")||e.includes("\n## ")||t.startsWith("## ")||/^#+\s/m.test(e)||e.includes("**")&&r}function o(e){if("string"!=typeof e||!e)return e;let t=e.split(/\r?\n/),r=[];for(let e=0;e<t.length;e++){let n=t[e],o=n.trim();if(e>0&&o){let n=t[e-1].trim(),l=/[.:!?]\s*$/.test(n);n&&l&&o&&(/^#+\s/.test(o)||/^\*\*\S/.test(o)||/^__\S/.test(o)||/^[A-ZÃÃÃ]/.test(o))&&r.push("")}r.push(n)}return r.join("\n")}r.d(t,{$O:()=>p,FP:()=>x,FT:()=>o,Sq:()=>u,Uo:()=>m,cv:()=>f,qI:()=>n,zp:()=>h});let l=/:::\s*(\w+)\s*\r?\n([\s\S]*?)\r?\n:::/g,s=/:::\s*(\w+)\s*([^\r\n]*?)\s*:::/g,i=/^\s*\|.+\|\s*$/,a=/^\s*\|[\s\-:|]+\|\s*$/;function d(e){return i.test(e)||a.test(e)}function u(e){if("string"!=typeof e||!e)return e;let t=e.split(/\r?\n/),r=[];for(let e=0;e<t.length;e++)if(r.push(t[e]),d(t[e])){let n=t[e+1];null==n||""===n.trim()||d(n)||r.push("")}return r.join("\n")}function c(e){let t=e.trimStart();return!!t&&!!(/^[-*+]\s+(?:\[[^\]]+\]\s+)?\S/.test(t)||/^\d{1,9}[.)]\s+\S/.test(t))}function m(e){if("string"!=typeof e||!e)return e;let t=e.split(/\r?\n/),r=[];for(let e=0;e<t.length;e++)if(r.push(t[e]),c(t[e])){let n=t[e+1];null==n||""===n.trim()||c(n)||function(e){if(!/^\s{2,}/.test(e))return!1;let t=e.trimStart();return!(!t||/^[-*+]\s+(?:\[[^\]]+\]\s+)?\S/.test(t)||/^\d{1,9}[.)]\s+\S/.test(t))}(n)||r.push("")}return r.join("\n")}
1function p(e){let t,r="string"!=typeof e?"":e.replace(/\\n/g,"\n").replace(/\\r/g,"\r"),n=[],o=[];for(l.lastIndex=0;null!==(t=l.exec(r));)o.push({index:t.index,end:t.index+t[0].length,boxType:t[1].toLowerCase(),content:t[2].trimEnd()});for(s.lastIndex=0;null!==(t=s.exec(r));){let e=t.index,r=e+t[0].length,n=t[2].trim();o.push({index:e,end:r,boxType:t[1].toLowerCase(),content:n})}o.sort((e,t)=>e.index-t.index);let i=[];for(let e of o)i.some(t=>e.index<t.end&&e.end>t.index)||i.push(e);let a=0;for(let{index:e,end:t,boxType:o,content:l}of i){if(e>a){let t=r.slice(a,e).trimEnd();t&&n.push({type:"markdown",content:t})}n.push({type:"box",boxType:o,content:l}),a=t}if(a<r.length){let e=r.slice(a).trimStart();if(e){let t=e.match(/^:::\s*steps\s*\r?\n([\s\S]*)$/i),r=e.match(/^:::\s*(tip|info|warning)\s*\r?\n([\s\S]*)$/i);if(t){let e=t[1].trimEnd();n.push({type:"box",boxType:"steps",content:e,incomplete:!0})}else if(r){let e=r[1].toLowerCase(),t=r[2].trimEnd();n.push({type:"box",boxType:e,content:t,incomplete:!0})}else n.push({type:"markdown",content:e})}}return 0===n.length&&r.trim()&&n.push({type:"markdown",content:r}),n}function f(e){let t=e.split(/\r?\n/).map(e=>e.trim()).filter(Boolean),r=[];for(let e of t){let t=e.match(/^\d+[.)]\s*(.*)$/);t?r.push(t[1].trim()):r.push(e)}return r.length?r:[e]}function h(e){return e?.trim()?e.split(/\r?\n/).map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.indexOf(" ");return t<0?{question:e,answer:""}:{question:e.slice(0,t).trim(),answer:e.slice(t+1).trim()}}):[]}function x(e){let t,r=e.split(/\r?\n/).map(e=>e.trim()).filter(Boolean),n="parent",o=[];for(let e of r)if(e.toLowerCase().startsWith("mode:")){let t=e.slice(5).trim().toLowerCase();("manual"===t||"parent"===t||"children"===t)&&(n="manual"===t?"manual":"parent")}else e.toLowerCase().startsWith("parentid:")?t=e.slice(9).trim():e&&"manual"===n&&o.push(e);return{mode:n,parentId:t,slugs:o}}},90204:(e,t,r)=>{r.d(t,{a:()=>l});var n=r(36853);let o=new Map;function l(){var e;let t;return e="(max-width: 768px)",t=n.useMemo(()=>(function(e){let t=o.get(e);if(t)return t;let r=new Set,n=null,l=()=>n??=window.matchMedia(e),s=()=>{r.forEach(e=>e())},i={getSnapshot:()=>l()?.matches??!1,subscribe:e=>{r.add(e);let t=l();return t?.addEventListener("change",s),()=>{r.delete(e),0===r.size&&t?.removeEventListener("change",s)}}};return o.set(e,i),i})(e),[e]),n.useSyncExternalStore(t.subscribe,t.getSnapshot,()=>!1)}},97514:(e,t,r)=>{r.d(t,{J:()=>m,m:()=>i});var n=r(36853),o=r(57993),l=r(50588);let s=null;function i(){s=null}async function a(){return s||(s=fetch(`/api/internal-link-rules?ts=${Date.now()}`,{credentials:"same-origin",cache:"no-store"}).then(async e=>{let t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error??"Interne Links konnten nicht geladen werden.");return Array.isArray(t.data)?t.data:[]}).catch(e=>(console.error("Failed to load internal link rules",e),[]))),s}function d(e){if(!e)return"";try{return new URL(e,window.location.origin).pathname.replace(/\/+$/g,"")||"/"}catch{return(e.startsWith("/")?e:`/${e}`).replace(/\/+$/g,"")||"/"}}function u(e){return!!e&&/[\p{L}\p{N}]/u.test(e)}function c(){document.querySelectorAll("[data-internal-autolink-portal]").forEach(e=>{let t=e.id;if(!t)return void e.remove();let r=document.querySelector(`a.internal-autolink[aria-describedby="${CSS.escape(t)}"]`);r?.isConnected||e.remove()})}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,s=arguments.length>
13&&void 0!==arguments[3]&&arguments[3],[i,m]=(0,n.useState)([]),p=(0,o.usePathname)(),{locale:f}=(0,l.CH)(p??"/"),h=(0,n.useMemo)(()=>i.filter(e=>(e.language||l.q)===f),[i,f]);(0,n.useEffect)(()=>{let e=!0;return a().then(t=>{e&&m(t)}),()=>{e=!1}},[]),(0,n.useEffect)(()=>{if(s)return;let t=e.current;if(t&&0!==h.length)return!function(e,t,r){if(!t.length)return;c();let n=d(r||window.location.pathname),o=t.filter(e=>d(e.target_url)!==n).flatMap(e=>(Array.isArray(e.keywords)?e.keywords:[]).map(e=>e.trim()).filter(Boolean).sort((e,t)=>t.length-e.length).map(t=>({rule:e,keyword:t,keywordLower:t.toLocaleLowerCase("de-DE")})));if(!o.length)return;let l=new Set,s=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){let t=e.parentElement;return!t||!e.textContent?.trim()||["A","BUTTON","CODE","H1","H2","H3","H4","H5","H6","INPUT","LABEL","OPTION","PRE","SCRIPT","STYLE","TEXTAREA"].includes(t.tagName)||t.closest("a, button, code, pre, [data-no-internal-links='true']")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),i=[],a=s.nextNode();for(;a;)i.push(a),a=s.nextNode();i.forEach(e=>{e.isConnected&&function e(t,r,n){let o=t.nodeValue??"";if(!o.trim())return;let l=function(e,t,r){let n=e.toLocaleLowerCase("de-DE"),o=null;for(let l of t){if(r.has(l.rule.id))continue;let t=0;for(;t<n.length;){let r=n.indexOf(l.keywordLower,t);if(-1===r)break;if(function(e,t,r){let n=e[t-1],o=e[t+r];return!u(n)&&!u(o)}(e,r,l.keyword.length)){(!o||r<o.index||r===o.index&&l.keyword.length>o.matcher.keyword.length)&&(o={index:r,matcher:l});break}t=r+l.keyword.length}}return o}(o,r,n);if(!l)return;let{index:s,matcher:i}=l,a=t.parentNode;if(!a)return;let d=o.slice(0,s),c=o.slice(s,s+i.keyword.length),m=o.slice(s+i.keyword.length),p=t.ownerDocument.createDocumentFragment();d&&p.appendChild(t.ownerDocument.createTextNode(d)),p.appendChild(function(e,t,r){let n=e.createElement("a");n.href=r.target_url,n.className="internal-autolink",n.dataset.internalAutolink="true",n.dataset.linkRuleId=r.id;let o=(r.tooltip_title||r.label||"").trim(),l=(r.tooltip_excerpt||"").trim();n.setAttribute("aria-label",`${t} (interner Link)`);let s=e.createElement("span");s.className="internal-autolink__text",s.textContent=t;let i=e.createElement("span");if(i.className="internal-autolink__arrow",i.setAttribute("aria-hidden","true"),i.textContent="â",n.appendChild(s),n.appendChild(i),o||l){let t,r=(t="u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`,`internal-autolink-panel-${t}`);n.setAttribute("aria-describedby",r);let s=e.createElement("span");if(s.id=r,s.className="internal-autolink__panel",s.setAttribute("role","tooltip"),s.dataset.internalAutolinkPortal="true",o){let t=e.createElement("span");t.className="internal-autolink__panel-title",t.textContent=o,s.appendChild(t)}if(l){let t=e.createElement("span");t.className="internal-autolink__panel-excerpt",t.textContent=l,s.appendChild(t)}e.body.appendChild(s);let i="internal-autolink__panel--visible",a=e=>{s.style.left=`${e.clientX+14}px`,s.style.top=`${e.clientY+16}px`};n.addEventListener("mouseenter",e=>{s.classList.add(i),a(e)}),n.addEventListener("mousemove",e=>{s.classList.contains(i)&&a(e)}),n.addEventListener("mouseleave",()=>{s.classList.remove(i)}),n.addEventListener("focus",()=>{let e;s.classList.add(i),e=n.getBoundingClientRect(),s.style.left=`${e.left+e.width/2}px`,s.style.top=`${e.bottom+12}px`}),n.addEventListener("blur",()=>{s.classList.remove(i)})}return n}(t.ownerDocument,c,i.rule));let f=null;m&&(f=t.ownerDocument.createTextNode(m),p.appendChild(f)),a.replaceChild(p,t),n.add(i.rule.id),f&&e(f,r,n)}(e,o,l)})}(t,h,r),()=>{c()}},[e,r,s,h,...t])}}}]);
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.