PageSourceSearch

https://midgen.ai/_next/static/chunks/1346-2b25266e4ce4557e.js

js midgen.ai collected 2026-10-05 14:15:24 UTC 28,825 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1346],{861:(e,t,n)=>{n.d(t,{Qg:()=>i,bL:()=>u});var r=n(12115),a=n(88142),o=n(95155),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=r.forwardRef((e,t)=>(0,o.jsx)(a.sG.span,{...e,ref:t,style:{...i,...e.style}}));l.displayName="VisuallyHidden";var u=l},1473:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]])},7649:(e,t,n)=>{n.d(t,{B8:()=>ep,C1:()=>ew,LM:()=>ek,N_:()=>em,UC:()=>eg,bL:()=>ef,l9:()=>ey,q7:()=>eh});var r=n(12115),a=n(47650),o=n(3468),i=n(92556),l=n(88142),u=n(23558),s=n(94446),d=n(66218),c=n(76842),v=n(68946),f=n(78625),p=n(44831),h=n(78108),y=n(4129),m=n(70222),w=n(861),g=n(95155),k="NavigationMenu",[b,x,E]=(0,f.N)(k),[M,A,C]=(0,f.N)(k),[R,j]=(0,o.A)(k,[E,C]),[L,N]=R(k),[T,S]=R(k),P=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:a,onValueChange:o,defaultValue:i,delayDuration:c=200,skipDelayDuration:v=300,orientation:f="horizontal",dir:p,...h}=e,[y,m]=r.useState(null),w=(0,s.s)(t,e=>m(e)),b=(0,d.jH)(p),x=r.useRef(0),E=r.useRef(0),M=r.useRef(0),[A,C]=r.useState(!0),[R,j]=(0,u.i)({prop:a,onChange:e=>{let t=v>0;""!==e?(window.clearTimeout(M.current),t&&C(!1)):(window.clearTimeout(M.current),M.current=window.setTimeout(()=>C(!0),v)),null==o||o(e)},defaultProp:null!=i?i:"",caller:k}),L=r.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>j(""),150)},[j]),N=r.useCallback(e=>{window.clearTimeout(E.current),j(e)},[j]),T=r.useCallback(e=>{R===e?window.clearTimeout(E.current):x.current=window.setTimeout(()=>{window.clearTimeout(E.current),j(e)},c)},[R,j,c]);return r.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(E.current),window.clearTimeout(M.current)},[]),(0,g.jsx)(O,{scope:n,isRootMenu:!0,value:R,dir:b,orientation:f,rootNavigationMenu:y,onTriggerEnter:e=>{window.clearTimeout(x.current),A?T(e):N(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),L()},onContentEnter:()=>window.clearTimeout(E.current),onContentLeave:L,onItemSelect:e=>{j(t=>t===e?"":e)},onItemDismiss:()=>j(""),children:(0,g.jsx)(l.sG.nav,{"aria-label":"Main","data-orientation":f,dir:b,...h,ref:w})})});P.displayName=k;var D="NavigationMenuSub";r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",...s}=e,d=N(D,n),[c,v]=(0,u.i)({prop:r,onChange:a,defaultProp:null!=o?o:"",caller:D});return(0,g.jsx)(O,{scope:n,isRootMenu:!1,value:c,dir:d.dir,orientation:i,rootNavigationMenu:d.rootNavigationMenu,onTriggerEnter:e=>v(e),onItemSelect:e=>v(e),onItemDismiss:()=>v(""),children:(0,g.jsx)(l.sG.div,{"data-orientation":i,...s,ref:t})})}).displayName=D;var O=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:a,dir:o,orientation:i,children:l,value:u,onItemSelect:s,onItemDismiss:d,onTriggerEnter:c,onTriggerLeave:f,onContentEnter:p,onContentLeave:y}=e,[w,k]=r.useState(null),[x,E]=r.useState(new Map),[M,A]=r.useState(null);return(0,g.jsx)(L,{scope:t,isRootMenu:n,rootNavigationMenu:a,value:u,previousValue:(0,h.Z)(u),baseId:(0,v.B)(),dir:o,orientation:i,viewport:w,onViewportChange:k,indicatorTrack:M,onIndicatorTrackChange:A,onTriggerEnter:(0,m.c)(c),onTriggerLeave:(0,m.c)(f),onContentEnter:(0,m.c)(p),onContentLeave:(0,m.c)(y),onItemSelect:(0,m.c)(s),onItemDismiss:(0,m.c)(d),onViewportContentChange:r.useCallback((e,t)=>{E(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{E(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,g.jsx)(b.Provider,{scope:t,children:(0,g.jsx)(T,{scope:t,items:x,children:l})})})},z="NavigationMenuList",I=r.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,...r}=e,a=N(z,n),o=(0,g.jsx)(l.sG.ul,{"data-orientation":a.orientation,...r,ref:t});return(0,g.jsx)(l.sG.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,g.jsx)(b.Slot,{scope:n,children:a.isRootMenu?(0,g.jsx)(er,{asChild:!0,children:o}):o})})});I.displayName=z;var K="NavigationMenuItem",[_,F]=R(K),V=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:a,...o}=e,i=(0,v.B)(),u=r.useRef(null),s=r.useRef(null),d=r.useRef(null),c=r.useRef(()=>{}),f=r.useRef(!1),p=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(u.current){c.current();let t=ei(u.current);t.length&&el("start"===e?t:t.reverse())}},[]),h=r.useCallback(()=>{if(u.current){let e=ei(u.current);e.length&&(c.current=function(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}(e))}},[]);return(0,g.jsx)(_,{scope:n,value:a||i||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:u,focusProxyRef:d,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:h,onContentFocusOutside:h,children:(0,g.jsx)(l.sG.li,{...o,ref:t})})});V.displayName=K;var q="NavigationMenuTrigger",H=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:a,...o}=e,u=N(q,e.__scopeNavigationMenu),d=F(q,e.__scopeNavigationMenu),c=r.useRef(null),v=(0,s.s)(c,d.triggerRef,t),f=ed(u.baseId,d.value),p=ec(u.baseId,d.value),h=r.useRef(!1),y=r.useRef(!1),m=d.value===u.value;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(b.ItemSlot,{scope:n,value:d.value,children:(0,g.jsx)(eo,{asChild:!0,children:(0,g.jsx)(l.sG.button,{id:f,disabled:a,"data-disabled":a?"":void 0,"data-state":es(m),"aria-expanded":m,"aria-controls":p,...o,ref:v,onPointerEnter:(0,i.mK)(e.onPointerEnter,()=>{y.current=!1,d.wasEscapeCloseRef.current=!1}),onPointerMove:(0,i.mK)(e.onPointerMove,ev(()=>{a||y.current||d.wasEscapeCloseRef.current||h.current||(u.onTriggerEnter(d.value),h.current=!0)})),onPointerLeave:(0,i.mK)(e.onPointerLeave,ev(()=>{a||(u.onTriggerLeave(),h.current=!1)})),onClick:(0,i.mK)(e.onClick,()=>{u.onItemSelect(d.value),y.current=m}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===u.dir?"ArrowLeft":"ArrowRight"}[u.orientation];m&&e.key===t&&(d.onEntryKeyDown(),e.preventDefault())})})})}),m&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(w.bL,{"aria-hidden":!0,tabIndex:0,ref:d.focusProxyRef,onFocus:e=>{let t=d.contentRef.current,n=e.relatedTarget,r=n===c.current,a=null==t?void 0:t.contains(n);(r||!a)&&d.onFocusProxyEnter(r?"start":"end")}}),u.viewport&&(0,g.jsx)("span",{"aria-owns":p})]})]})});H.displayName=q;var G="navigationMenu.linkSelect",W=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:a,...o}=e;return(0,g.jsx)(eo,{asChild:!0,children:(0,g.jsx)(l.sG.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...o,ref:t,onClick:(0,i.mK)(e.onClick,e=>{let t=e.target,n=new CustomEvent(G,{bubbles:!0,cancelable:!0});if(t.addEventListener(G,e=>null==a?void 0:a(e),{once:!0}),(0,l.hO)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(Q,{bubbles:!0,cancelable:!0});(0,l.hO)(t,e)}},{checkForDefaultPrevented:!1})})})});W.displayName="NavigationMenuLink";var B="NavigationMenuIndicator",U=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=N(B,e.__scopeNavigationMenu),i=!!o.value;return o.indicatorTrack?a.createPortal((0,g.jsx)(c.C,{present:n||i,children:(0,g.jsx)(Z,{...r,ref:t})}),o.indicatorTrack):null});U.displayName=B;var Z=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...a}=e,o=N(B,n),i=x(n),[u,s]=r.useState(null),[d,c]=r.useState(null),v="horizontal"===o.orientation,f=!!o.value;r.useEffect(()=>{var e;let t=null==(e=i().find(e=>e.value===o.value))?void 0:e.ref.current;t&&s(t)},[i,o.value]);let p=()=>{u&&c({size:v?u.offsetWidth:u.offsetHeight,offset:v?u.offsetLeft:u.offsetTop})};return eu(u,p),eu(o.indicatorTrack,p),d?(0,g.jsx)(l.sG.div,{"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":o.orientation,...a,ref:t,style:{position:"absolute",...v?{left:0,width:d.size+"px",transform:"translateX(".concat(d.offset,"px)")}:{top:0,height:d.size+"px",transform:"translateY(".concat(d.offset,"px)")},...a.style}}):null}),$="NavigationMenuContent",X=r.forwardRef((e,t)=>
1{let{forceMount:n,...r}=e,a=N($,e.__scopeNavigationMenu),o=F($,e.__scopeNavigationMenu),l=(0,s.s)(o.contentRef,t),u=o.value===a.value,d={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...r};return a.viewport?(0,g.jsx)(Y,{forceMount:n,...d,ref:l}):(0,g.jsx)(c.C,{present:n||u,children:(0,g.jsx)(J,{"data-state":es(u),...d,ref:l,onPointerEnter:(0,i.mK)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,i.mK)(e.onPointerLeave,ev(a.onContentLeave)),style:{pointerEvents:!u&&a.isRootMenu?"none":void 0,...d.style}})})});X.displayName=$;var Y=r.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=N($,e.__scopeNavigationMenu);return(0,y.N)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,y.N)(()=>()=>r(e.value),[e.value,r]),null}),Q="navigationMenu.rootContentDismiss",J=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:a,triggerRef:o,focusProxyRef:l,wasEscapeCloseRef:u,onRootContentClose:d,onContentFocusOutside:c,...v}=e,f=N($,n),h=r.useRef(null),y=(0,s.s)(h,t),m=ed(f.baseId,a),w=ec(f.baseId,a),k=x(n),b=r.useRef(null),{onItemDismiss:E}=f;r.useEffect(()=>{let e=h.current;if(f.isRootMenu&&e){let t=()=>{var t;E(),d(),e.contains(document.activeElement)&&(null==(t=o.current)||t.focus())};return e.addEventListener(Q,t),()=>e.removeEventListener(Q,t)}},[f.isRootMenu,e.value,o,E,d]);let M=r.useMemo(()=>{let e=k().map(e=>e.value);"rtl"===f.dir&&e.reverse();let t=e.indexOf(f.value),n=e.indexOf(f.previousValue),r=a===f.value,o=n===e.indexOf(a);if(!r&&!o)return b.current;let i=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return b.current=i,i},[f.previousValue,f.value,f.dir,k,a]);return(0,g.jsx)(er,{asChild:!0,children:(0,g.jsx)(p.qW,{id:w,"aria-labelledby":m,"data-motion":M,"data-orientation":f.orientation,...v,ref:y,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(Q,{bubbles:!0,cancelable:!0});null==(e=h.current)||e.dispatchEvent(t)},onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>{var t;c();let n=e.target;(null==(t=f.rootNavigationMenu)?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{var t;let n=e.target,r=k().some(e=>{var t;return null==(t=e.ref.current)?void 0:t.contains(n)}),a=f.isRootMenu&&(null==(t=f.viewport)?void 0:t.contains(n));(r||a||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ei(e.currentTarget),r=document.activeElement,a=t.findIndex(e=>e===r);if(el(e.shiftKey?t.slice(0,a).reverse():t.slice(a+1,t.length)))e.preventDefault();else{var n;null==(n=l.current)||n.focus()}}}),onEscapeKeyDown:(0,i.mK)(e.onEscapeKeyDown,e=>{u.current=!0})})})}),ee="NavigationMenuViewport",et=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,a=!!N(ee,e.__scopeNavigationMenu).value;return(0,g.jsx)(c.C,{present:n||a,children:(0,g.jsx)(en,{...r,ref:t})})});et.displayName=ee;var en=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:a,...o}=e,u=N(ee,n),d=(0,s.s)(t,u.onViewportChange),v=S($,e.__scopeNavigationMenu),[f,p]=r.useState(null),[h,y]=r.useState(null),m=f?(null==f?void 0:f.width)+"px":void 0,w=f?(null==f?void 0:f.height)+"px":void 0,k=!!u.value,b=k?u.value:u.previousValue;return eu(h,()=>{h&&p({width:h.offsetWidth,height:h.offsetHeight})}),(0,g.jsx)(l.sG.div,{"data-state":es(k),"data-orientation":u.orientation,...o,ref:d,style:{pointerEvents:!k&&u.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":m,"--radix-navigation-menu-viewport-height":w,...o.style},onPointerEnter:(0,i.mK)(e.onPointerEnter,u.onContentEnter),onPointerLeave:(0,i.mK)(e.onPointerLeave,ev(u.onContentLeave)),children:Array.from(v.items).map(e=>{let[t,{ref:n,forceMount:r,...a}]=e,o=b===t;return(0,g.jsx)(c.C,{present:r||o,children:(0,g.jsx)(J,{...a,ref:(0,s.t)(n,e=>{o&&e&&y(e)})})},t)})})}),er=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,a=N("FocusGroup",n);return(0,g.jsx)(M.Provider,{scope:n,children:(0,g.jsx)(M.Slot,{scope:n,children:(0,g.jsx)(l.sG.div,{dir:a.dir,...r,ref:t})})})}),ea=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eo=r.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,...r}=e,a=A(n),o=N("FocusGroupItem",n);return(0,g.jsx)(M.ItemSlot,{scope:n,children:(0,g.jsx)(l.sG.button,{...r,ref:t,onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if(["Home","End",...ea].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ea.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>el(t)),e.preventDefault()}})})})});function ei(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function el(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function eu(e,t){let n=(0,m.c)(t);(0,y.N)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function es(e){return e?"open":"closed"}function ed(e,t){return"".concat(e,"-trigger-").concat(t)}function ec(e,t){return"".concat(e,"-content-").concat(t)}function ev(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ef=P,ep=I,eh=V,ey=H,em=W,ew=U,eg=X,ek=et},8752:(e,t,n)=>{n.d(t,{D:()=>a});var r=n(60013);let a=e=>(t,n,a)=>(a.setState=(e,n,...a)=>t("function"==typeof e?(0,r.jM)(e):e,n,...a),e(a.setState,n,a))},9540:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},14806:(e,t,n)=>{e.exports=n(30125)},14817:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]])}
1,15239:(e,t,n)=>{n.d(t,{default:()=>a.a});var r=n(54652),a=n.n(r)},17666:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},20508:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},22929:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Blocks",[["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["path",{d:"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3",key:"1fpvtg"}]])},24033:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},30125:(e,t,n)=>{var r=n(12115),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,d=r[1];return l(function(){a.value=n,a.getSnapshot=t,s(a)&&d({inst:a})},[e,n,t]),i(function(){return s(a)&&d({inst:a}),e(function(){s(a)&&d({inst:a})})},[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},37586:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},40583:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]])},43972:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("NotebookPen",[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]])},44831:(e,t,n)=>{n.d(t,{qW:()=>v});var r,a=n(12115),o=n(92556),i=n(88142),l=n(94446),u=n(70222),s=n(95155),d="dismissableLayer.update",c=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v=a.forwardRef((e,t)=>{var n,v;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:y,onPointerDownOutside:m,onFocusOutside:w,onInteractOutside:g,onDismiss:k,...b}=e,x=a.useContext(c),[E,M]=a.useState(null),A=null!=(v=null==E?void 0:E.ownerDocument)?v:null==(n=globalThis)?void 0:n.document,[,C]=a.useState({}),R=(0,l.s)(t,e=>M(e)),j=Array.from(x.layers),[L]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),N=j.indexOf(L),T=E?j.indexOf(E):-1,S=x.layersWithOutsidePointerEventsDisabled.size>0,P=T>=N,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),o=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){p("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));P&&!n&&(null==m||m(e),null==g||g(e),e.defaultPrevented||null==k||k())},A),O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),o=a.useRef(!1);return a.useEffect(()=>{let e=e=>
1{e.target&&!o.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(null==w||w(e),null==g||g(e),e.defaultPrevented||null==k||k())},A);return!function(e,t=globalThis?.document){let n=(0,u.c)(e);a.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{T===x.layers.size-1&&(null==y||y(e),!e.defaultPrevented&&k&&(e.preventDefault(),k()))},A),a.useEffect(()=>{if(E)return h&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=A.body.style.pointerEvents,A.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(E)),x.layers.add(E),f(),()=>{h&&1===x.layersWithOutsidePointerEventsDisabled.size&&(A.body.style.pointerEvents=r)}},[E,A,h,x]),a.useEffect(()=>()=>{E&&(x.layers.delete(E),x.layersWithOutsidePointerEventsDisabled.delete(E),f())},[E,x]),a.useEffect(()=>{let e=()=>C({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,s.jsx)(i.sG.div,{...b,ref:R,style:{pointerEvents:S?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,O.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});function f(){let e=new CustomEvent(d);document.dispatchEvent(e)}function p(e,t,n,r){let{discrete:a}=r,o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),a?(0,i.hO)(o,l):o.dispatchEvent(l)}v.displayName="DismissableLayer",a.forwardRef((e,t)=>{let n=a.useContext(c),r=a.useRef(null),o=(0,l.s)(t,r);return a.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(i.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},47937:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},49768:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("NotepadText",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"16",height:"18",x:"4",y:"4",rx:"2",key:"1u9h20"}],["path",{d:"M8 10h6",key:"3oa6kw"}],["path",{d:"M8 14h8",key:"1fgep2"}],["path",{d:"M8 18h5",key:"17enja"}]])},54652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return l}});let r=n(28140),a=n(75040),o=n(81356),i=r._(n(71124));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=o.Image},56835:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("PenTool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]])},59343:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Sparkle",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}]])},59865:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
1y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]])},60566:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("BotMessageSquare",[["path",{d:"M12 6V2H8",key:"1155em"}],["path",{d:"m8 18-4 4V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2Z",key:"w2lp3e"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M9 11v2",key:"1ueba0"}],["path",{d:"M15 11v2",key:"i11awn"}],["path",{d:"M20 12h2",key:"1q8mjw"}]])},65229:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},68946:(e,t,n)=>{n.d(t,{B:()=>u});var r,a=n(12115),o=n(4129),i=(r||(r=n.t(a,2)))[" useId ".trim().toString()]||(()=>void 0),l=0;function u(e){let[t,n]=a.useState(i());return(0,o.N)(()=>{e||n(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},70222:(e,t,n)=>{n.d(t,{c:()=>a});var r=n(12115);function a(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},71847:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(12115);let a=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:s="",children:d,iconNode:c,...v}=e;return(0,r.createElement)("svg",{ref:t,...o,width:i,height:i,stroke:n,strokeWidth:u?24*Number(l)/Number(i):l,className:a("lucide",s),...v},[...c.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),l=(e,t)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:l,...u}=n;return(0,r.createElement)(i,{ref:o,iconNode:t,className:a("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),l),...u})});return n.displayName="".concat(e),n}},75731:(e,t,n)=>{n.d(t,{vt:()=>d});var r=n(90490),a=n(12115),o=n(8828);let{useDebugValue:i}=a,{useSyncExternalStoreWithSelector:l}=o,u=!1,s=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.y)(e):e,n=(e,n)=>(function(e,t=e=>e,n){n&&!u&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),u=!0);let r=l(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return i(r),r})(t,e,n);return Object.assign(n,t),n},d=e=>e?s(e):s},78108:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(12115);function a(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},83101:(e,t,n)=>{n.d(t,{F:()=>i,cx:()=>o});var r=n(2821);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.$,i=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,u=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==l?void 0:l[e];if(null===t)return null;let o=a(t)||a(r);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,u,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...s}[t]):({...l,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},84114:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]])},89715:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},95740:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])}}]);

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.