PageSourceSearch

https://sourcebilisim.com/_next/static/chunks/3tax2e6a4-vkr.js

js sourcebilisim.com collected 2026-10-08 22:55:26 UTC 76,737 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,772842,e=>{"use strict";var t=e.i(651682),n=e.i(843476),r=e.i(493133),o=e.i(271645),i=e.i(689664),a=e.i(456420),s=(0,a.default)("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]),c=(0,a.default)("thumbs-down",[["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}],["path",{d:"M17 14V2",key:"8ymqnk"}]]),l=(0,a.default)("thumbs-up",[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]]);e.s(["DocsFeedback",0,function(e){var a=e.pageTitle,u=e.pagePath,d=(0,t._)((0,o.useState)(null),2),f=d[0],h=d[1],v="/contact?konu=".concat(encodeURIComponent("Dokümantasyon geri bildirimi: ".concat(a)),"&sayfa=").concat(encodeURIComponent(u));return f?(0,n.jsxs)("aside",{className:"docs-feedback","aria-live":"polite",children:[(0,n.jsxs)("span",{className:"docs-feedback__success",children:[(0,n.jsx)(i.Check,{size:16})," ",(0,n.jsx)(r.T,{source:"Teşekkürler."})]}),"no"===f?(0,n.jsxs)("a",{href:v,children:[(0,n.jsx)(s,{size:16})," ",(0,n.jsx)(r.T,{source:"Eksik bilgiyi bildirin"})]}):null]}):(0,n.jsxs)("aside",{className:"docs-feedback",children:[(0,n.jsx)("p",{children:(0,n.jsx)(r.T,{source:"Bu sayfa yardımcı oldu mu?"})}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{type:"button",onClick:function(){return h("yes")},"aria-label":"Evet, yardımcı oldu",children:[(0,n.jsx)(l,{size:16})," ",(0,n.jsx)(r.T,{source:"Evet"})]}),(0,n.jsxs)("button",{type:"button",onClick:function(){return h("no")},"aria-label":"Hayır, yardımcı olmadı",children:[(0,n.jsx)(c,{size:16})," ",(0,n.jsx)(r.T,{source:"Hayır"})]})]})]})}],772842)},15965,e=>{"use strict";var t=e.i(120786),n=e.i(92808),r=e.i(233027),o=e.i(651682),i=e.i(540316);e.i(278658);var a=e.i(128769),s=e.i(340953),c=e.i(951938),l=e.i(784588),u=e.i(843476),d=e.i(867927),f=e.i(271645),h=e.i(30030),v=e.i(75830),p=e.i(820783),m=e.i(981140),x=e.i(369340),g=e.i(248425),y=e.i(687607),_=e.i(610772),b=e.i(586318),w=Object.defineProperty,j=function(e,t){return w(e,"name",{value:t,configurable:!0})},C="Accordion",k=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],N=(0,o._)((0,v.createCollection)(C),3),I=N[0],S=N[1],R=N[2],T=(0,o._)((0,h.createContextScope)(C,[R,y.createCollapsibleScope]),2),A=T[0];T[1];var M=(0,y.createCollapsibleScope)(),E=f.forwardRef(j(function(e,o){var i=e.type,a=(0,r._)(e,["type"]);return(0,u.jsx)(I.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,u.jsx)(V,(0,n._)((0,t._)({},a),{ref:o})):(0,u.jsx)(F,(0,n._)((0,t._)({},a),{ref:o}))})},"Accordion")),P=(0,o._)(A(C),2),L=P[0],O=P[1],z=(0,o._)(A(C,{collapsible:!1}),2),B=z[0],D=z[1],F=f.forwardRef(j(function(e,i){var a=e.value,s=e.defaultValue,c=e.onValueChange,l=void 0===c?j(function(){},"onValueChange"):c,d=e.collapsible,h=void 0!==d&&d,v=(0,r._)(e,["value","defaultValue","onValueChange","collapsible"]),p=(0,o._)((0,x.useControllableState)({prop:a,defaultProp:null!=s?s:"",onChange:l,caller:C}),2),m=p[0],g=p[1];return(0,u.jsx)(L,{scope:e.__scopeAccordion,value:f.useMemo(function(){return m?[m]:[]},[m]),onItemOpen:g,onItemClose:f.useCallback(function(){return h&&g("")},[h,g]),children:(0,u.jsx)(B,{scope:e.__scopeAccordion,collapsible:h,children:(0,u.jsx)(G,(0,n._)((0,t._)({},v),{ref:i}))})})},"AccordionImplSingle")),V=f.forwardRef(j(function(e,a){var s=e.value,c=e.defaultValue,l=e.onValueChange,d=void 0===l?j(function(){},"onValueChange"):l,h=(0,r._)(e,["value","defaultValue","onValueChange"]),v=(0,o._)((0,x.useControllableState)({prop:s,defaultProp:null!=c?c:[],onChange:d,caller:C}),2),p=v[0],m=v[1],g=f.useCallback(function(e){return m(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,i._)(t).concat([e])})},[m]),y=f.useCallback(function(e){return m(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(function(t){return t!==e})})},[m]);return(0,u.jsx)(L,{scope:e.__scopeAccordion,value:p,onItemOpen:g,onItemClose:y,children:(0,u.jsx)(B,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(G,(0,n._)((0,t._)({},h),{ref:a}))})})},"AccordionImplMultiple")),H=(0,o._)(A(C),2),U=H[0],W=H[1],G=f.forwardRef(j(function(e,o){var i=e.__scopeAccordion,a=e.disabled,s=e.dir,c=e.orientation,l=void 0===c?"vertical":c,d=(0,r._)(e,["__scopeAccordion","disabled","dir","orientation"]),h=f.useRef(null),v=(0,p.useComposedRefs)(h,o),x=S(i),y="ltr"===(0,b.useDirection)(s),_=(0,m.composeEventHandlers)(e.onKeyDown,function(e){if(k.includes(e.ke
1y)){var t,n=e.target,r=x().filter(function(e){var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),o=r.findIndex(function(e){return e.ref.current===n}),i=r.length;if(-1!==o){e.preventDefault();var a=o,s=i-1,c=j(function(){(a=o+1)>s&&(a=0)},"moveNext"),u=j(function(){(a=o-1)<0&&(a=s)},"movePrev");switch(e.key){case"Home":a=0;break;case"End":a=s;break;case"ArrowRight":"horizontal"===l&&(y?c():u());break;case"ArrowDown":"vertical"===l&&c();break;case"ArrowLeft":"horizontal"===l&&(y?u():c());break;case"ArrowUp":"vertical"===l&&u()}null==(t=r[a%i].ref.current)||t.focus()}}});return(0,u.jsx)(U,{scope:i,disabled:a,direction:s,orientation:l,children:(0,u.jsx)(I.Slot,{scope:i,children:(0,u.jsx)(g.Primitive.div,(0,n._)((0,t._)({},d),{"data-orientation":l,ref:v,onKeyDown:a?void 0:_}))})})},"AccordionImpl")),q="AccordionItem",K=(0,o._)(A(q),2),Z=K[0],X=K[1],Y=f.forwardRef(j(function(e,o){var i=e.__scopeAccordion,a=e.value,s=(0,r._)(e,["__scopeAccordion","value"]),c=W(q,i),l=O(q,i),d=M(i),f=(0,_.useId)(),h=a&&l.value.includes(a)||!1,v=c.disabled||e.disabled;return(0,u.jsx)(Z,{scope:i,open:h,disabled:v,triggerId:f,children:(0,u.jsx)(y.Root,(0,n._)((0,t._)({"data-orientation":c.orientation,"data-state":et(h)},d,s),{ref:o,disabled:v,open:h,onOpenChange:function(e){e?l.onItemOpen(a):l.onItemClose(a)}}))})},"AccordionItem")),$=f.forwardRef(j(function(e,o){var i=e.__scopeAccordion,a=(0,r._)(e,["__scopeAccordion"]),s=W(C,i),c=X("AccordionHeader",i);return(0,u.jsx)(g.Primitive.h3,(0,n._)((0,t._)({"data-orientation":s.orientation,"data-state":et(c.open),"data-disabled":c.disabled?"":void 0},a),{ref:o}))},"AccordionHeader")),J="AccordionTrigger",Q=f.forwardRef(j(function(e,o){var i=e.__scopeAccordion,a=(0,r._)(e,["__scopeAccordion"]),s=W(C,i),c=X(J,i),l=D(J,i),d=M(i);return(0,u.jsx)(I.ItemSlot,{scope:i,children:(0,u.jsx)(y.Trigger,(0,n._)((0,t._)({"aria-disabled":c.open&&!l.collapsible||void 0,"data-orientation":s.orientation,id:c.triggerId},d,a),{ref:o}))})},"AccordionTrigger")),ee=f.forwardRef(j(function(e,o){var i=e.__scopeAccordion,a=(0,r._)(e,["__scopeAccordion"]),s=W(C,i),c=X("AccordionContent",i),l=M(i);return(0,u.jsx)(y.Content,(0,n._)((0,t._)({role:"region","aria-labelledby":c.triggerId,"data-orientation":s.orientation},l,a),{ref:o,style:(0,t._)({"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)"},e.style)}))},"AccordionContent"));function et(e){return e?"open":"closed"}function en(e){var n=e.className,o=(0,r._)(e,["className"]);return(0,u.jsx)(E,(0,t._)({className:(0,a.cn)("divide-y divide-fd-border overflow-hidden rounded-lg border bg-fd-card",n)},o))}function er(e){var o=e.className,i=e.children,s=(0,r._)(e,["className","children"]);return(0,u.jsx)(Y,(0,n._)((0,t._)({className:(0,a.cn)("scroll-m-24",o)},s),{children:i}))}function eo(e){var o=e.className,i=e.children,s=(0,r._)(e,["className","children"]);return(0,u.jsx)($,(0,n._)((0,t._)({className:(0,a.cn)("not-prose flex flex-row items-center text-fd-card-foreground font-medium has-focus-visible:bg-fd-accent",o)},s),{children:i}))}function ei(e){var o=e.className,i=e.children,s=(0,r._)(e,["className","children"]);return(0,u.jsxs)(Q,(0,n._)((0,t._)({className:(0,a.cn)("group flex flex-1 items-center gap-2 px-3 py-2.5 text-start focus-visible:outline-none",o)},s),{children:[(0,u.jsx)(d.ChevronRight,{className:"size-4 shrink-0 text-fd-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-90"}),i]}))}function ea(e){var o=e.className,i=e.children,s=(0,r._)(e,["className","children"]);return(0,u.jsx)(ee,(0,n._)((0,t._)({className:(0,a.cn)("overflow-hidden data-[state=closed]:animate-fd-accordion-up data-[state=open]:animate-fd-accordion-down",o)},s),{children:i}))}j(et,"getState");var es=e.i(689664),ec=e.i(909592),el=e.i(532257);function eu(e){var t=e.id,n=(0,el.useTranslations)({note:"accordion"}),r=(0,o._)((0,c.useCopyButton)(function(){var e=new URL(window.location.href);return e.hash=t,navigator.clipboard.writeText(e.toString())}),2),i=r[0],l=r[1];return(0,u.jsx)("button",{type:"button","aria-label":n("Copy Link",{note:"aria-label"}),className:(0,a.cn)((0,s.buttonVariants)({color:"ghost",className:"text-fd-muted-foreground me-2"})),onClick:l,children:i?(0,u.jsx)(es.Check,{className:"size-3.5"}):(0,u.jsx)(ec.LinkIcon,{className:"size-3.5"})})}e.s(["Accordion",0,function(e){var o=e.title,i=e.id,a=e.value,s=void 0===a?String(o):a,c=e.children,l=(0,r._)(e,["title","id","value","children"]);return(0,u.jsxs)(er,(0,n._)((0,t._)({value:s},l),{children:[(0,u.jsxs)(eo,{id:i,"data-accordion-value":s,children:[(0,u.jsx)(ei,{children:o}),i?(0,u.jsx)(eu,{id:i}):null]}),(0,u.jsx)(ea,{children:(0,u.jsx)("div",{className:"px-4 pb-2 text-[0.9375rem] prose-no-margin",children:c})})]}))},"Accordions",0,function(e){var n=e.type,s=void 0===n?"single":n,c=e.ref,d=e.className,h=e.defaultValue,v=(0,r._)(e,["type","ref","className","defaultValue"]),p=(0,f.useRef)(null),m=(0,l.mergeRefs)(c,p),x=(0,o._)((0,f.useState)(function(){return"single"===s?null!=h?h:"":null!=h?h:[]}),2),g=x[0],y=x[1];return(0,f.useEffect)(function(){var e=window.location.hash.substring(1),t=p.current;if(t&&0!==e.length){var n=document.getElementById(e);if(n&&t.contains(n)){var r=n.getAttribute("data-accordion-value");r&&y(function(e){return"string"==typeof e?r:[r].concat((0,i._)(e))})}}},[]),(0,u.jsx)(en,(0,t._)({type:s,ref:m,value:g,onValueChange:y,collapsible:"single"===s||void 0,className:(0,a.cn)("divide-y divide-fd-border overflow-hidden rounded-lg border bg-fd-card",d)},v))}],15965)},889222,e=>{"use strict";var t=e.i(120786),n=e.i(92808),r=e.i(233027),o=e.i(651682);e.i(278658);var i=e.i(128769),a=e.i(340953),s=e.i(951938),c=e.i(784588),l=e.i(843476),u=e.i(271645),d=e.i(981140),f=e.i(30030),h=e.i(540316),v=e.i(75830),p=e.i(820783),m=e.i(610772),x=e.i(248425),g=e.i(30207),y=e.i(369340),_=e.i(586318),b=e.i(934620),w=Object.defineProperty,j=function(e,t){return w(e,"name",{value:t,configurable:!0})},C=!1;function k(){var e=(0,o._)(u.useState(C),2),t=e[0],n=e[1];return u.useEffect(function(){C||(C=!0,n(!0))},[]),t}j(k,"useIsHydrated");var N=u[" useSyncExternalStore ".trim().toString()];function I(){return function(){}}function S(){return N(I,function(){return!0},function(){return!1})}j(I,"subscribe"),j(S,"useIsHydratedModern");var R="function"==typeof N?S:k,T=Object.defineProperty,A=function(e,t){return T(e,"name",{value:t,configurable:!0})},M="rovingFocusGroup.onEntryFocus",E={bubbles:!1,cancelable:!0},P="RovingFocusGroup",L=(0,o._)((0,v.createCollection)(P),3),O=L[0],z=L[1],B=L[2],D=(0,o._)((0,f.createContextScope)(P,[B]),2),F=D[0],V=D[1],H=(0,o._)(F(P),2),U=H[0],W=H[1],G=u.forwardRef(A(function(e,r){return(0,l.jsx)(O.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(O.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(q,(0,n._)((0,t._)({},e),{ref:r}))})})},"RovingFocusGroup")),q=u.forwardRef(A(function(e,i){var a=e.__scopeRovingFocusGroup,s=e.orientation,c=e.loop,f=e.dir,v=e.currentTabStopId,m=e.defaultCurrentTabStopId,b=e.onCurrentTabStopIdChange,w=e.onEntryFocus,j=e.preventScrollOnEntryFocus,C=void 0!==j&&j,k=(0,r._)(e,["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus"]),N=u.useRef(null),I=(0,p.useComposedRefs)(i,N),S=(0,_.useDirection)(f),R=(0,o._)((0,y.useControllableState)({prop:v,defaultProp:null!=m?m:null,onChange:b,caller:P}),2),T=R[0],A=R[1],L=(0,o._)(u.useState(!1),2),O=L[0],B=L[1],D=(0,g.useCallbackRef)(w),F=z(a),V=u.useRef(!1),H=(0,o._)(u.useState(0),2),W=H[0],G=H[1];return u.useEffect(function(){var e=N.current;if(e)return e.addEventListener(M,D),function(){return e.removeEventListener(M,D)}},[D]),(0,l.jsx)(U,{scope:a,orientation:s,dir:S,loop:void 0!==c&&c,currentTabStopId:T,onItemFocus:u.useCallback(function(e){return A(e)},[A]),onItemShiftTab:u.useCallback(function(){return B(!0)},[]),onFocusableItemAdd:u.useCallback(function(){return G(function(e){return e+1})},[]),onFocusableItemRemove:u.useCallback(function(){return G(function(e){return e-1})},[]),children:(0,l.jsx)(x.Primitive.div,(0,n._)((0,t._)({tabIndex:O||0===W?-1:0,"data-orientation":s},k),{ref:I,style:(0,t._)({outline:"none"},e.style),onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,function(){V.current=!0}),onFocus:(0,d.composeEventHandlers)(e.onFocus,function(e){var t=!V.current;if(e.target===e.currentTarget&&t&&!O){var n=new CustomEvent(M,E);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){var r=F().filter(function(e){return e.focusable});$([r.find(function(e){return e.active}),r.find(function(e){return e.id===T}
1)].concat((0,h._)(r)).filter(Boolean).map(function(e){return e.ref.current}),C)}}V.current=!1}),onBlur:(0,d.composeEventHandlers)(e.onBlur,function(){return B(!1)})}))})},"RovingFocusGroupImpl")),K=u.forwardRef(A(function(e,o){var i=e.__scopeRovingFocusGroup,a=e.focusable,s=void 0===a||a,c=e.active,f=e.tabStopId,h=e.children,v=(0,r._)(e,["__scopeRovingFocusGroup","focusable","active","tabStopId","children"]),p=(0,m.useId)(),g=f||p,y=W("RovingFocusGroupItem",i),_=y.currentTabStopId===g,w=z(i),j=y.onFocusableItemAdd,C=y.onFocusableItemRemove,k=y.currentTabStopId,N=R();return(0,b.useLayoutEffect)(function(){if(N&&s)return j(),function(){return C()}},[N,s,j,C]),u.useEffect(function(){if(!N&&s)return j(),function(){return C()}},[N,s,j,C]),(0,l.jsx)(O.ItemSlot,{scope:i,id:g,focusable:s,active:void 0!==c&&c,children:(0,l.jsx)(x.Primitive.span,(0,n._)((0,t._)({tabIndex:_?0:-1,"data-orientation":y.orientation},v),{ref:o,onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,function(e){s?y.onItemFocus(g):e.preventDefault()}),onFocus:(0,d.composeEventHandlers)(e.onFocus,function(){return y.onItemFocus(g)}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(e){if("Tab"===e.key&&e.shiftKey)return void y.onItemShiftTab();if(e.target===e.currentTarget){var t=Y(e,y.orientation,y.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();var n=w().filter(function(e){return e.focusable}).map(function(e){return e.ref.current});if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();var r=n.indexOf(e.currentTarget);n=y.loop?J(n,r+1):n.slice(r+1)}setTimeout(function(){return $(n)})}}}),children:"function"==typeof h?h({isCurrentTabStop:_,hasTabStop:null!=k}):h}))})},"RovingFocusGroupItem")),Z={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function X(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function Y(e,t,n){var r=X(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return Z[r]}function $(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement,r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(c===n||(c.focus({preventScroll:t}),document.activeElement!==n))return}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}function J(e,t){return e.map(function(n,r){return e[(t+r)%e.length]})}A(X,"getDirectionAwareKey"),A(Y,"getFocusIntent"),A($,"focusFirst"),A(J,"wrapArray");var Q=e.i(296626),ee=Object.defineProperty,et=function(e,t){return ee(e,"name",{value:t,configurable:!0})},en="Tabs",er=(0,o._)((0,f.createContextScope)(en,[V]),2),eo=er[0];er[1];var ei=V(),ea=(0,o._)(eo(en),2),es=ea[0],ec=ea[1],el=u.forwardRef(et(function(e,i){var a=e.__scopeTabs,s=e.value,c=e.onValueChange,u=e.defaultValue,d=e.orientation,f=void 0===d?"horizontal":d,h=e.dir,v=e.activationMode,p=(0,r._)(e,["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"]),g=(0,_.useDirection)(h),b=(0,o._)((0,y.useControllableState)({prop:s,onChange:c,defaultProp:null!=u?u:"",caller:en}),2),w=b[0],j=b[1];return(0,l.jsx)(es,{scope:a,baseId:(0,m.useId)(),value:w,onValueChange:j,orientation:f,dir:g,activationMode:void 0===v?"automatic":v,children:(0,l.jsx)(x.Primitive.div,(0,n._)((0,t._)({dir:g,"data-orientation":f},p),{ref:i}))})},"Tabs")),eu=u.forwardRef(et(function(e,o){var i=e.__scopeTabs,a=e.loop,s=(0,r._)(e,["__scopeTabs","loop"]),c=ec("TabsList",i),u=ei(i);return(0,l.jsx)(G,(0,n._)((0,t._)({asChild:!0},u),{orientation:c.orientation,dir:c.dir,loop:void 0===a||a,children:(0,l.jsx)(x.Primitive.div,(0,n._)((0,t._)({role:"tablist","aria-orientation":c.orientation},s),{ref:o}))}))},"TabsList")),ed=u.forwardRef(et(function(e,o){var i=e.__scopeTabs,a=e.value,s=e.disabled,c=void 0!==s&&s,u=(0,r._)(e,["__scopeTabs","value","disabled"]),f=ec("TabsTrigger",i),h=ei(i),v=eh(f.baseId,a),p=ev(f.baseId,a),m=a===f.value;return(0,l.jsx)(K,(0,n._)((0,t._)({asChild:!0},h),{focusable:!c,active:m,children:(0,l.jsx)(x.Primitive.button,(0,n._)((0,t._)({type:"button",role:"tab","aria-selected":m,"aria-controls":p,"data-state":m?"active":"inactive","data-disabled":c?"":void 0,disabled:c,id:v},u),{ref:o,onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,function(e){c||0!==e.button||!1!==e.ctrlKey?e.preventDefault():f.onValueChange(a)}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(e){!c&&e.target===e.currentTarget&&[" ","Enter"].includes(e.ke
1y)&&f.onValueChange(a)}),onFocus:(0,d.composeEventHandlers)(e.onFocus,function(){var e="manual"!==f.activationMode;m||c||!e||f.onValueChange(a)})}))}))},"TabsTrigger")),ef=u.forwardRef(et(function(e,o){var i=e.__scopeTabs,a=e.value,s=e.forceMount,c=e.children,d=(0,r._)(e,["__scopeTabs","value","forceMount","children"]),f=ec("TabsContent",i),h=eh(f.baseId,a),v=ev(f.baseId,a),p=a===f.value,m=u.useRef(p);return u.useEffect(function(){var e=requestAnimationFrame(function(){return m.current=!1});return function(){return cancelAnimationFrame(e)}},[]),(0,l.jsx)(Q.Presence,{present:s||p,children:function(r){var i=r.present;return(0,l.jsx)(x.Primitive.div,(0,n._)((0,t._)({"data-state":p?"active":"inactive","data-orientation":f.orientation,role:"tabpanel","aria-labelledby":h,hidden:!i,id:v,tabIndex:0},d),{ref:o,style:(0,n._)((0,t._)({},e.style),{animationDuration:m.current?"0s":void 0}),children:i&&c}))}})},"TabsContent"));function eh(e,t){return"".concat(e,"-trigger-").concat(t)}function ev(e,t){return"".concat(e,"-content-").concat(t)}et(eh,"makeTriggerId"),et(ev,"makeContentId");var ep=new Map,em=(0,u.createContext)(null);function ex(e){var i=e.ref,a=e.groupId,s=e.persist,d=void 0!==s&&s,f=e.updateAnchor,h=void 0!==f&&f,v=e.defaultValue,p=e.value,m=e.onValueChange,x=(0,r._)(e,["ref","groupId","persist","updateAnchor","defaultValue","value","onValueChange"]),g=(0,u.useRef)(null),y=(0,u.useMemo)(function(){return new Map},[]),_=(0,u.useMemo)(function(){return new Map},[]),b=(0,o._)(void 0===p?(0,u.useState)(v):[p,(0,u.useEffectEvent)(function(e){return null==m?void 0:m(e)})],2),w=b[0],j=b[1];return(0,u.useLayoutEffect)(function(){if(a){var e,t=sessionStorage.getItem(a);d&&(null!=t||(t=localStorage.getItem(a))),t&&j(t);var n=null!=(e=ep.get(a))?e:new Set;return n.add(j),ep.set(a,n),function(){n.delete(j)}}},[a,d,j]),(0,u.useLayoutEffect)(function(){var e=function(){var e=window.location.hash.slice(1);if(e){var t=!0,n=!1,r=void 0;try{for(var i,a=y.entries()[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s,c=(0,o._)(i.value,2),l=c[0];if(c[1]===e){j(l),null==(s=g.current)||s.scrollIntoView();return}}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}var u=document.getElementById(e);if(u){var d=!0,f=!1,h=void 0;try{for(var v,p=_.entries()[Symbol.iterator]();!(d=(v=p.next()).done);d=!0){var m=(0,o._)(v.value,2),x=m[0];if(m[1].contains(u)){j(x),requestAnimationFrame(function(){return u.scrollIntoView()});return}}}catch(e){f=!0,h=e}finally{try{d||null==p.return||p.return()}finally{if(f)throw h}}}}};return e(),window.addEventListener("hashchange",e),function(){return window.removeEventListener("hashchange",e)}},[j,y,_]),(0,l.jsx)(el,(0,n._)((0,t._)({ref:(0,c.mergeRefs)(i,g),value:w,onValueChange:function(e){if(h){var t=y.get(e);t&&window.history.replaceState(null,"","#".concat(t))}if(a){var n=ep.get(a),r=!0,o=!1,i=void 0;if(n)try{for(var s,c=n[Symbol.iterator]();!(r=(s=c.next()).done);r=!0)(0,s.value)(e)}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}sessionStorage.setItem(a,e),d&&localStorage.setItem(a,e)}else j(e)}},x),{children:(0,l.jsx)(em,{value:(0,u.useMemo)(function(){return{valueToIdMap:y,panels:_}},[y,_]),children:x.children})}))}function eg(e){var o=e.value,i=e.ref,a=(0,r._)(e,["value","ref"]),s=function(){var e=(0,u.use)(em);if(!e)throw Error("You must wrap your component in <Tabs>");return e}(),d=s.valueToIdMap,f=s.panels;return a.id&&d.set(o,a.id),(0,l.jsx)(ef,(0,n._)((0,t._)({ref:(0,c.mergeRefs)(i,function(e){e?f.set(o,e):f.delete(o)}),value:o},a),{children:a.children}))}var ey=e.i(689664),e_=(0,e.i(456420).default)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]),eb=e.i(532257),ew=(0,u.createContext)(null);function ej(e){var c=e.className,u=e.containerRef,d=(0,r._)(e,["className","containerRef"]),f=(0,eb.useTranslations)({note:"code block"}),h=(0,o._)((0,s.useCopyButton)(function(){var e,t,n=null==(t=u.current)?void 0:t.getElementsByTagName("pre").item(0);if(n){var r=n.cloneNode(!0);r.querySelectorAll(".nd-copy-ignore").forEach(function(e){e.replaceWith("\n")}),navigator.clipboard.writeText(null!=(e=r.textContent)?e:"")}}),2),v=h[0],p=h[1];return(0,l.jsx)("button",(0,n._)((0,t._)({type:"button","data-checked":v||void 0,className:(0,i.cn)((0,a.buttonVariants)({className:"hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground",size:"icon-xs"}),c),"aria-label":f(v?"Copied Text":"Copy Text",{note:"aria-label"}),onClick:p},d),{children:v?(0,l.jsx)(ey.Check,{}):(0,l.jsx)(e_,{})}))}e.s(["CodeBlock",0,function(e){var o,a=e.ref,s=e.title,c=e.allowCopy,d=void 0===c||c,f=e.keepBackgroun
1d,h=e.icon,v=e.viewportProps,p=void 0===v?{}:v,m=e.children,x=e.Actions,g=void 0===x?function(e){return(0,l.jsx)("div",(0,n._)((0,t._)({},e),{className:(0,i.cn)("empty:hidden",e.className)}))}:x,y=(0,r._)(e,["ref","title","allowCopy","keepBackground","icon","viewportProps","children","Actions"]),_=null!==(0,u.use)(ew),b=(0,u.useRef)(null);return"true"===d?d=!0:"false"===d&&(d=!1),(0,l.jsxs)("figure",(0,n._)((0,t._)({ref:a,dir:"ltr"},y),{tabIndex:-1,className:(0,i.cn)(_?"bg-fd-secondary -mx-px -mb-px last:rounded-b-xl":"my-4 bg-fd-card rounded-xl",void 0!==f&&f&&"bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)","shiki relative border shadow-sm not-prose overflow-hidden text-sm",y.className),children:[s?(0,l.jsxs)("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof h?(0,l.jsx)("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:h}}):h,(0,l.jsx)("figcaption",{className:"flex-1 truncate",children:s}),g({className:"-me-2",children:d&&(0,l.jsx)(ej,{containerRef:b})})]}):g({className:"absolute top-3 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:d&&(0,l.jsx)(ej,{containerRef:b})}),(0,l.jsx)("div",(0,n._)((0,t._)({ref:b},p),{role:"region",tabIndex:0,className:(0,i.cn)("text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring",p.className),style:(0,t._)({"--padding-right":s?void 0:"calc(var(--spacing) * 8)",counterSet:y["data-line-numbers"]?"line ".concat(Number(null!=(o=y["data-line-numbers-start"])?o:1)-1):void 0},p.style),children:m}))]}))},"CodeBlockTab",0,function(e){return(0,l.jsx)(eg,(0,t._)({},e))},"CodeBlockTabs",0,function(e){var o=e.ref,a=(0,r._)(e,["ref"]),s=(0,u.useRef)(null),d=null!==(0,u.use)(ew);return(0,l.jsx)(ex,(0,n._)((0,t._)({ref:(0,c.mergeRefs)(s,o)},a),{className:(0,i.cn)("bg-fd-card rounded-xl border",!d&&"my-4",a.className),children:(0,l.jsx)(ew,{value:(0,u.useMemo)(function(){return{containerRef:s,nested:d}},[d]),children:a.children})}))},"CodeBlockTabsList",0,function(e){return(0,l.jsx)(eu,(0,n._)((0,t._)({},e),{className:(0,i.cn)("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children}))},"CodeBlockTabsTrigger",0,function(e){var o=e.children,a=(0,r._)(e,["children"]);return(0,l.jsxs)(ed,(0,n._)((0,t._)({},a),{className:(0,i.cn)("relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 hover:text-fd-accent-foreground data-[state=active]:text-fd-primary [&_svg]:size-3.5",a.className),children:[(0,l.jsx)("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),o]}))},"Pre",0,function(e){return(0,l.jsx)("pre",(0,n._)((0,t._)({},e),{className:(0,i.cn)("min-w-full w-max *:flex *:flex-col",e.className),children:e.children}))}],889222)},581057,e=>{"use strict";var t=e.i(120786),n=e.i(92808),r=e.i(233027),o=e.i(651682);e.i(278658);var i=e.i(128769),a=e.i(340953),s=e.i(951938),c=e.i(843476),l=(0,e.i(456420).default)("copy-check",[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),u=e.i(909592),d=e.i(532257);e.s(["Heading",0,function(e){var f=e.as,h=(0,r._)(e,["as"]),v=null!=f?f:"h1",p=(0,d.useTranslations)({note:"heading anchor"}),m=(0,o._)((0,s.useCopyButton)(function(){if(h.id){var e=new URL(window.location.href);return e.hash=h.id,navigator.clipboard.writeText(e.href)}}),2),x=m[0],g=m[1];return h.id?(0,c.jsxs)(v,(0,n._)((0,t._)({},h),{className:(0,i.cn)("group/heading flex scroll-m-28 flex-row items-center gap-1",h.className),children:[(0,c.jsx)("a",{"data-card":"",href:"#".concat(h.id),children:h.children}),(0,c.jsx)("button",{"aria-label":p("Copy Anchor Link",{note:"aria-label"}),className:(0,i.cn)((0,a.buttonVariants)({variant:"ghost",size:"icon-xs"}),"not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100"),onClick:g,children:x?(0,c.jsx)(l,{}):(0,c.jsx)(u.LinkIcon,{})})]})):(0,c.jsx)(v,(0,t._)({},h))}],581057)},88516,e=>{"use strict";e.s(["DocsBody",()=>eA,"DocsDescription",()=>eM,"DocsPage",()=>eR,"DocsTitle",()=>eE,"EditOnGitHub",()=>eT,"PageLastUpdate",()=>eP,"page_exports",()=>eN,"useDocsPage",()=>eS],199516);var t=e.i(120786),n=e.i(92808),r=e.i(233027),o=e.i(651682),i=e.i(317681);e.i(278658);var a=e.i(128769),s=e.i(340953),c=e.i(991865),l=e.i(513935),u=e.i(951938),d=e.i(779467),f=e.i(957453),h=e.i(843476),v=e.i(689664),p=e.i(716327),m=e.i(508734),x=e.i(643905),x=x,g=e.i(456420),y=(0,g.default)("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]),_=e.i(271645),b=e.i(532257),w={get url(){return e.F("apps/panel/node_modules/fumadocs-ui/dist/layouts/shared/page-actions.js")},env:{DEV:!1,PROD:!0,MODE:"production",BASE_URL:"/",SSR:!1}},j=new Map;function C(e){var i,d=e.markdownUrl,f=(0,r._)(e,["markdownUrl"]),p=(0,b.useTranslations)({note:"page actions"}),x=(0,o._)((0,_.useState)(!1),2),g=x[0],y=x[1],w=(0,o._)((0,u.useCopyButton)(function(){return(0,c._)(function(){var e,t,n,r;return(0,l._)(this,function(o){switch(o.label){case 0:if(!(e=j.get(d)))return[3,2];return n=(t=navigator.clipboard).writeText,[4,e];case 1:return[2,n.apply(t,[o.sent()])];case 2:y(!0),o.label=3;case 3:return o.trys.push([3,,5,6]),r=fetch(N(d)).then(function(e){return e.text()}),j.set(d,r),[4,navigator.clipboard.write([new ClipboardItem({"text/plain":r})])];case 4:return o.sent(),[3,6];case 5:return y(!1),[7];case 6:return[2]}})})()}),2),C=w[0],k=w[1];return(0,h.jsxs)("button",(0,n._)((0,t._)({disabled:g,onClick:k},f),{className:(0,a.cn)((0,s.buttonVariants)({color:"secondary",size:"sm",className:"gap-2 [&_svg]:size-3.5 [&_svg]:text-fd-muted-foreground"}),f.className),children:[C?(0,h.jsx)(v.Check,{}):(0,h.jsx)(m.Copy,{}),null!=(i=f.children)?i:p("Copy Markdown")]}))}function k(e){var o,i=e.markdownUrl,c=e.githubUrl,l=(0,r._)(e,["markdownUrl","githubUrl"]),u=(0,f.usePathname)(),v=(0,b.useTranslations)({note:"page actions"}),m=(0,_.useMemo)(function(){var e=v("Read {url}, I want to ask questions about it.",{variables:{url:String("u"<typeof window?u:new URL(u,window.location.origin))}});return[c&&{title:v("Open in GitHub"),href:c,icon:(0,h.jsxs)("svg",{fill:"currentColor",role:"img",viewBox:"0 0 24 24",children:[(0,h.jsx)("title",{children:"GitHub"}),(0,h.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})},i&&{title:v("View as Markdown"),href:N(i),icon:(0,h.jsx)(y,{})},{title:v("Open in Scira AI"),href:"https://scira.ai/?".concat(new 
1URLSearchParams({q:e})),icon:(0,h.jsxs)("svg",{width:"910",height:"934",viewBox:"0 0 910 934",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"Scira AI"}),(0,h.jsx)("path",{d:"M647.664 197.775C569.13 189.049 525.5 145.419 516.774 66.8849C508.048 145.419 464.418 189.049 385.884 197.775C464.418 206.501 508.048 250.131 516.774 328.665C525.5 250.131 569.13 206.501 647.664 197.775Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M516.774 304.217C510.299 275.491 498.208 252.087 480.335 234.214C462.462 216.341 439.058 204.251 410.333 197.775C439.059 191.3 462.462 179.209 480.335 161.336C498.208 143.463 510.299 120.06 516.774 91.334C523.25 120.059 535.34 143.463 553.213 161.336C571.086 179.209 594.49 191.3 623.216 197.775C594.49 204.251 571.086 216.341 553.213 234.214C535.34 252.087 523.25 275.491 516.774 304.217Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M857.5 508.116C763.259 497.644 710.903 445.288 700.432 351.047C689.961 445.288 637.605 497.644 543.364 508.116C637.605 518.587 689.961 570.943 700.432 665.184C710.903 570.943 763.259 518.587 857.5 508.116Z",stroke:"currentColor",strokeWidth:"20",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M700.432 615.957C691.848 589.05 678.575 566.357 660.383 548.165C642.191 529.973 619.499 516.7 592.593 508.116C619.499 499.533 642.191 486.258 660.383 468.066C678.575 449.874 691.848 427.181 700.432 400.274C709.015 427.181 722.289 449.874 740.481 468.066C758.673 486.258 781.365 499.533 808.271 508.116C781.365 516.7 758.673 529.973 740.481 548.165C722.289 566.357 709.015 589.05 700.432 615.957Z",stroke:"currentColor",strokeWidth:"20",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M889.949 121.237C831.049 114.692 798.326 81.9698 791.782 23.0692C785.237 81.9698 752.515 114.692 693.614 121.237C752.515 127.781 785.237 160.504 791.782 219.404C798.326 160.504 831.049 127.781 889.949 121.237Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M791.782 196.795C786.697 176.937 777.869 160.567 765.16 147.858C752.452 135.15 736.082 126.322 716.226 121.237C736.082 116.152 752.452 107.324 765.16 94.6152C777.869 81.9065 786.697 65.5368 791.782 45.6797C796.867 65.5367 805.695 81.9066 818.403 94.6152C831.112 107.324 847.481 116.152 867.338 121.237C847.481 126.322 831.112 135.15 818.403 147.858C805.694 160.567 796.867 176.937 791.782 196.795Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M760.632 764.337C720.719 814.616 669.835 855.1 611.872 882.692C553.91 910.285 490.404 924.255 426.213 923.533C362.022 922.812 298.846 907.419 241.518 878.531C184.19 849.643 134.228 808.026 95.4548 756.863C56.6815 705.7 30.1238 646.346 17.8129 583.343C5.50207 520.339 7.76433 455.354 24.4266 393.359C41.089 331.364 71.7099 274.001 113.947 225.658C156.184 177.315 208.919 139.273 268.117 114.442",stroke:"currentColor",strokeWidth:"30",strokeLinecap:"round",strokeLinejoin:"round"})]})},{title:v("Open in ChatGPT"),href:"https://chatgpt.com/?".concat(new URLSearchParams({prompt:e,hints:"search"})),icon:(0,h.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"OpenAI"}),(0,h.jsx)("path",{d:"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm
11.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"})]})},{title:v("Open in Claude"),href:"https://claude.ai/new?".concat(new URLSearchParams({q:e})),icon:(0,h.jsxs)("svg",{fill:"currentColor",role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"Anthropic"}),(0,h.jsx)("path",{d:"M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z"})]})},{title:v("Open in Cursor"),icon:(0,h.jsxs)("svg",{fill:"currentColor",role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"Cursor"}),(0,h.jsx)("path",{d:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"})]}),href:"https://cursor.com/link/prompt?".concat(new URLSearchParams({text:e}))}].filter(function(e){return!!e})},[c,i,u,v]);return(0,h.jsxs)(d.Popover,{children:[(0,h.jsxs)(d.PopoverTrigger,(0,n._)((0,t._)({},l),{className:(0,a.cn)((0,s.buttonVariants)({color:"secondary",size:"sm"}),"gap-2 data-[state=open]:bg-fd-accent data-[state=open]:text-fd-accent-foreground",l.className),children:[null!=(o=l.children)?o:v("Open"),(0,h.jsx)(p.ChevronDown,{className:"size-3.5 text-fd-muted-foreground"})]})),(0,h.jsx)(d.PopoverContent,{className:"flex flex-col",children:m.map(function(e){return(0,h.jsxs)("a",{href:e.href,rel:"noreferrer noopener",target:"_blank",className:"text-sm p-2 rounded-lg inline-flex items-center gap-2 hover:text-fd-accent-foreground hover:bg-fd-accent [&_svg]:size-4",children:[e.icon,e.title,(0,h.jsx)(x.default,{className:"text-fd-muted-foreground size-3.5 ms-auto"})]},e.href)})})]})}function N(e){return e.match(/^\w+:/)||e.startsWith("//")?e:(void 0!==w.env&&"string"==typeof w.env.BASE_URL?w.env.BASE_URL.replace(/\/$/,""):"")+e}var I=e.i(108487),S=e.i(784588),R=e.i(292955),T=e.i(780646),A=e.i(458085),M=e.i(191909),E=(0,_.createContext)(null),P=(0,_.createContext)(null);function L(e){var t=e.containerRef,n=e.children;return(0,h.jsx)(P,{value:t,children:n})}function O(e){var t=e.toc,n=e.single,r=e.children,o=(0,_.useMemo)(function(){return new H},[]);return o.single=void 0!==n&&n,(0,_.useEffect)(function(){o.setItems(t)},[o,t]),(0,_.useEffect)(function(){return o.watch({threshold:.9}),function(){return o.unwatch()}},[o]),(0,h.jsx)(E,{value:o,children:r})}function z(e){var n=e.ref,i=e.onActiveChange,a=void 0===i?function(){return null}:i,s=e.autoScroll,c=void 0===s||s,l=(0,r._)(e,["ref","onActiveChange","autoScroll"]),u=l.href?V(l.href):null,d=(0,_.use)(P),f=(0,_.useRef)(null),v=(0,_.useRef)(!0),p=B(),m=(0,o._)((0,_.useState)(function(){return p.items.some(function(e){return e.id===u&&e.active})}),2),x=m[0],g=m[1],y=(0,_.useEffectEvent)(function(e,t){var n=u?e.find(function(e){return e.id===u}):null;if(n){n.active!==x&&(g(n.active),a(n.active));var r=f.current,o=null==d?void 0:d.current;if(c&&r&&o){var i=!0,s=!1,l=void 0;try{for(var h,v,p=e[Symbol.iterator]();!(i=(v=p.next()).done);i=!0){var m=v.value;m.active&&(!h||h.t<m.t)&&(h=m)}}catch(e){s=!0,l=e}finally{try{i||null==p.return||p.return()}finally{if(s)throw l}}(null==h?void 0:h.id)===u&&(0,M.default)(r,{behavior:t?"instant":"smooth",block:"center",inline:"center",scrollMode:"always",boundary:o})}}});return(0,_.useEffect)(function(){c&&y(p.items,v.current),v.current=!1},[p,c]),(0,_.useEffect)(function(){var e=function(e){return y(e,!1)};return p.listen(e),function(){return p.unlisten(e)}},[p]),(0,h.jsx)("a",(0,t._)({ref:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})}}(f,n),"data-active":x},l))}function B(){var e=(0,_.use)(E);if(!e)throw Error("Component must be used under the <AnchorProvider /> component.");return e}function D(){var e=B();return(0,_.useMemo)(function(){return{get:function(){return e.items},listen:e.listen.bind(e),unlisten:e.unlisten.bind(e)}},[e])}function F(e){var t=B(),n=(0,_.useEffectEvent)(e);(0,_.useEffect)(function(){return t.listen(n),function(){return t.unlisten(n)}},[t])}function V(e){return e.startsWith("#")?e.slice(1):null}var H=function(){function e(){(0,R._)(this,e),this.items=[],this.single=!1,this.observer=null,this.listeners=new Set}return(0,T._)(e,[{key:"listen",value:function(e){this.listeners.add(e)}},{key:"unlisten",value:function(e){this.listeners.delete(e)}},{key:"setItems",value:function(e){var t=this.observer,n=!0,r=!1,o=void 0;if(t)try{for(var i,a=this.items[Symbol.iterator]();!(n=(i=a.next()).done);
1n=!0){var s=i.value,c=document.getElementById(s.id);c&&t.unobserve(c)}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}var l=[],u=!0,d=!1,f=void 0;try{for(var h,v=e[Symbol.iterator]();!(u=(h=v.next()).done);u=!0){var p=h.value,m=V(p.url);m&&l.push({id:m,active:!1,fallback:!1,t:0,original:p})}}catch(e){d=!0,f=e}finally{try{u||null==v.return||v.return()}finally{if(d)throw f}}this.update(l),this.observeItems()}},{key:"watch",value:function(e){this.observer||(this.observer=new IntersectionObserver(this.callback.bind(this),e),this.observeItems())}},{key:"unwatch",value:function(){var e;null==(e=this.observer)||e.disconnect(),this.observer=null}},{key:"callback",value:function(e){var r=this;if(0!==e.length){var o=!1,i=this.items.map(function(i){var a=e.find(function(e){return e.target.id===i.id}),s=a?a.isIntersecting:i.active&&!i.fallback;return r.single&&o&&(s=!1),i.active!==s&&(i=(0,n._)((0,t._)({},i),{t:Date.now(),active:s,fallback:!1})),s&&(o=!0),i});if(!o&&e[0].rootBounds){for(var a=e[0].rootBounds.top,s=Number.MAX_VALUE,c=-1,l=0;l<i.length;l++){var u=document.getElementById(i[l].id);if(u){var d=Math.abs(a-u.getBoundingClientRect().top);d<s&&(c=l,s=d)}}-1!==c&&(i[c]=(0,n._)((0,t._)({},i[c]),{active:!0,fallback:!0,t:Date.now()}))}this.update(i)}}},{key:"observeItems",value:function(){if(this.observer){var e=!0,t=!1,n=void 0;try{for(var r,o=this.items[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value,a=document.getElementById(i.id);a&&this.observer.observe(a)}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}}}},{key:"update",value:function(e){this.items=e;var t=!0,n=!1,r=void 0;try{for(var o,i=this.listeners[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)(0,o.value)(e)}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}}}]),e}(),U=(0,_.createContext)([]);function W(){return(0,_.use)(U)}function G(e){var o=e.toc,i=e.children,a=(0,r._)(e,["toc","children"]);return(0,h.jsx)(U,{value:o,children:(0,h.jsx)(O,(0,n._)((0,t._)({toc:o},a),{children:i}))})}function q(e){var o=e.ref,i=e.className,s=(0,r._)(e,["ref","className"]),c=(0,_.useRef)(null);return(0,h.jsx)("div",(0,n._)((0,t._)({ref:(0,S.mergeRefs)(c,o),className:(0,a.cn)("relative min-h-0 text-sm ms-px overflow-auto overscroll-contain [scrollbar-width:none] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3",i)},s),{children:(0,h.jsx)(L,{containerRef:c,children:s.children})}))}var K=(0,i.__exportAll)({TOCEmpty:function(){return X},TOCItem:function(){return J},TOCItems:function(){return Z}});function Z(e){var i=e.ref,s=e.className,c=e.thumbBox,l=void 0===c||c,u=e.children,d=(0,r._)(e,["ref","className","thumbBox","children"]),f=(0,_.useRef)(null),v=W(),p=(0,o._)((0,_.useState)(null),2),m=p[0],x=p[1],g=(0,_.useCallback)(function(){var e=f.current;if(e&&0!==e.clientHeight){if(0===v.length)return void x(null);for(var t=0,n=0,r="",i=[],a=[],s=0;s<v.length;s++){var c=v[s],u=e.querySelector('a[href="'.concat(c.url,'"]'));if(u){var d=getComputedStyle(u),p=$(c.depth)+.5,m=u.offsetTop+parseFloat(d.paddingTop),g=u.offsetTop+u.clientHeight-parseFloat(d.paddingBottom);if(t=Math.max(p+8,t),n=Math.max(n,g),0===s)r+=" M".concat(p," ").concat(m," L").concat(p," ").concat(g);else{var y=(0,o._)(s>0?i[s-1]:[0,0,0],3),_=y[1],b=y[2];r+=" C ".concat(b," ").concat(m-4," ").concat(p," ").concat(_+4," ").concat(p," ").concat(m," L").concat(p," ").concat(g)}void 0!==c._step&&a.push((0,h.jsxs)("g",{transform:"translate(".concat(p,", ").concat((m+g)/2,")"),children:[(0,h.jsx)("circle",{cx:"0",cy:"0",r:"8",className:"fill-fd-primary"}),(0,h.jsx)("text",{cx:"0",cy:"0",textAnchor:"middle",alignmentBaseline:"central",dominantBaseline:"middle",className:"fill-fd-primary-foreground font-medium text-xs leading-none font-mono rtl:-scale-x-100",children:c._step})]},s)),i.push([m,g,p])}}a.unshift((0,h.jsx)("path",{d:r,className:"stroke-fd-primary",strokeWidth:"1",fill:"none"},"path"));var w=[];if(l){var j=document.createElementNS("http://www.w3.org/2000/svg","path");j.setAttribute("d",r);for(var C=j.getTotalLength(),k=0;k<i.length;k++){for(var N=(0,o._)(i[k],2),I=N[0],S=N[1],R=k>0?w[k-1][1]+(I-i[k-1][1]):I;R<C&&j.getPointAtLength(R).y<I;)R++;w.push([R,R+S-I])}}x({content:a,width:t,height:n,d:r,itemLineLengths:w,positions:i})}},[v,l]);return(0,_.useEffect)(function(){var e=f.current;if(e){var t=new ResizeObserver(g);return t.observe(e),g(),function(){t.unobserve(e)}}},[g]),(0,h.jsxs)("div",(0,n._)((0,t._)({ref:(0,S.mergeRefs)(f,i),className:(0,a.cn)("relative flex flex-col",s)},d),{children:[m&&(0,h.jsx)(Y,{computed:m,thumbBox:l}),u]}))}function X(){var e=(0,b.useTranslations)({note:"table of contents"});return(0,h.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:e("No Headings")})}function Y(e){var n=e.computed,r=e.thumbBox,i=(0,_.useRef)(null),a=(0,_.useRef)(null),s=D();function c(e){var t={},o=e.findIndex(function(e){return e.active});if(-1===o)return t;var i=e.findLastIndex(function(e){return e.active});if(t["--track-top"]="".concat(n.positions[o][0],"px"),t["--track-bottom"]="".concat(n.positions[i][1],"px"),r){var s=!1;if(a.current){var c=a.current;s=c.startIdx>o||c.endIdx>i||c.startIdx===o&&c.endIdx===i&&c.isUp}a.current={startIdx:o,endIdx:i,isUp:s},t["--offset-distance"]=s?"".concat(n.itemLineLengths[o][0],"px"):"".concat(n.itemLineLengths[i][1],"px"),t["--opacity"]=void 0!==e[s?o:i].original._step?"0":"1"}return t}return F(function(e){var t=i.current;if(t){var n=!0,r=!1,a=void 0;try{for(var s,l=Object.entries(c(e))[Symbol.iterator]();!(n=(s=l.next()).done);
1n=!0){var u=(0,o._)(s.value,2),d=u[0],f=u[1];t.style.setProperty(d,f)}}catch(e){r=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}}}),(0,h.jsxs)("div",{ref:i,className:"absolute top-0 inset-s-0 origin-center rtl:-scale-x-100",style:(0,t._)({width:n.width,height:n.height},c(s.get())),children:[(0,h.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(n.width," ").concat(n.height),className:"absolute transition-[clip-path]",style:{width:n.width,height:n.height,clipPath:"polygon(0 var(--track-top,0), 100% var(--track-top,0), 100% var(--track-bottom,0), 0 var(--track-bottom,0))"},children:n.content}),r&&(0,h.jsx)("div",{className:"absolute left-0 size-1 bg-fd-primary rounded-full [offset-distance:var(--offset-distance,0)] opacity-(--opacity,0) transition-[opacity,offset-distance]",style:{offsetPath:'path("'.concat(n.d,'")')}})]})}function $(e){return e<=2?8:3===e?16:24}function J(e){var o,i=e.item,s=(0,r._)(e,["item"]),c=W(),l=(0,_.useMemo)(function(){var e=c.indexOf(i),t=0===e,n=e===c.length-1,r=$(i.depth),o=t?r:$(c[e-1].depth),s=n?r:$(c[e+1].depth);return{isFirst:t,isLast:n,svg:(0,h.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:(0,a.cn)("absolute -top-1.5 inset-s-0 bottom-0 h-[calc(100%+--spacing(1.5))] -z-1 rtl:-scale-x-100",r!==s&&"h-full bottom-1.5"),style:{width:Math.max(o,r)+9},children:[o!==r&&(0,h.jsx)("path",{d:"M ".concat(o+.5," 0 C ").concat(o+.5," 8 ").concat(r+.5," 4 ").concat(r+.5," 12"),stroke:"black",strokeWidth:"1",fill:"none",className:"stroke-fd-foreground/10"}),(0,h.jsx)("line",{x1:r+.5,y1:o===r?"6":"12",x2:r+.5,y2:"100%",strokeWidth:"1",className:"stroke-fd-foreground/10"}),void 0!==i._step&&(0,h.jsxs)("g",{transform:"translate(".concat(r+.5,", ").concat(r===s?"3":"6",")"),children:[(0,h.jsx)("circle",{cx:"0",cy:"50%",r:"8",className:"fill-fd-muted"}),(0,h.jsx)("text",{x:"0",y:"50%",textAnchor:"middle",alignmentBaseline:"central",dominantBaseline:"middle",className:"fill-fd-muted-foreground font-medium text-xs leading-none font-mono rtl:-scale-x-100",children:i._step})]})]})}},[c,i]),u=l.isFirst,d=l.isLast,f=l.svg;return(0,h.jsxs)(z,(0,n._)((0,t._)({href:i.url},s),{className:(0,a.cn)("prose relative py-1.5 text-sm scroll-m-4 text-fd-muted-foreground hover:text-fd-accent-foreground transition-colors wrap-anywhere data-[active=true]:text-fd-primary",u&&"pt-0",d&&"pb-0",s.className),style:(0,t._)({paddingInlineStart:(o=i.depth)<=2?20:3===o?32:44},s.style),children:[f,i.title]}))}var Q=(0,i.__exportAll)({TOCEmpty:function(){return et},TOCItem:function(){return eo},TOCItems:function(){return ee}});function ee(e){var i=e.ref,s=e.className,c=e.children,l=(0,r._)(e,["ref","className","children"]),u=(0,_.useRef)(null),d=W(),f=(0,o._)((0,_.useState)(null),2),v=f[0],p=f[1],m=(0,_.useCallback)(function(){var e=u.current;if(e&&0!==e.clientHeight){if(0===d.length)return void p(null);for(var t=0,n=0,r="",i=[],a=[],s=0;s<d.length;s++){var c=d[s],l=e.querySelector('a[href="'.concat(c.url,'"]'));if(l){var f=getComputedStyle(l),v=er(c.depth)+.5,m=l.offsetTop+parseFloat(f.paddingTop),x=l.offsetTop+l.clientHeight-parseFloat(f.paddingBottom);if(t=Math.max(v+8,t),n=Math.max(n,x),0===s)r+=" M".concat(v," ").concat(m," L").concat(v," ").concat(x);else{var g=(0,o._)(s>0?i[s-1]:[0,0,0],3),y=g[1],_=g[2];r+=" L ".concat(_," ").concat(y," ").concat(v," ").concat(m," L").concat(v," ").concat(x)}void 0!==c._step&&a.push((0,h.jsxs)("g",{transform:"translate(".concat(v,", ").concat((m+x)/2,")"),children:[(0,h.jsx)("circle",{cx:"0",cy:"0",r:"8",className:"fill-fd-primary"}),(0,h.jsx)("text",{cx:"0",cy:"0",textAnchor:"middle",alignmentBaseline:"central",dominantBaseline:"middle",className:"fill-fd-primary-foreground font-medium text-xs leading-none font-mono rtl:-scale-x-100",children:c._step})]},s)),i.push([m,x,v])}}a.unshift((0,h.jsx)("path",{d:r,className:"stroke-fd-primary",strokeWidth:"1",fill:"none"},"path")),p({content:a,width:t,height:n,d:r,itemLineLengths:[],positions:i})}},[d]);return(0,_.useEffect)(function(){var e=u.current;if(e){var t=new ResizeObserver(m);return t.observe(e),m(),function(){t.unobserve(e)}}},[m]),(0,h.jsxs)("div",(0,n._)((0,t._)({ref:(0,S.mergeRefs)(u,i),className:(0,a.cn)("relative flex flex-col",s)},l),{children:[v&&(0,h.jsx)(en,{computed:v}),c]}))}function et(){var e=(0,b.useTranslations)({note:"table of contents"});return(0,h.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:e("No Headings")})}function en(e){var n=e.computed,r=(0,_.useRef)(null),i=D();function a(e){var t={},r=e.findIndex(function(e){return e.active});if(-1===r)return t;var o=e.findLastIndex(function(e){return e.active});return t["--track-top"]="".concat(n.positions[r][0],"px"),t["--track-bottom"]="".concat(n.positions[o][1],"px"),t}return F(function(e){var t=r.current;if(t){var n=!0,i=!1,s=void 0;try{for(var c,l=Object.entries(a(e))[Symbol.iterator]();!(n=(c=l.next()).done);
1n=!0){var u=(0,o._)(c.value,2),d=u[0],f=u[1];t.style.setProperty(d,f)}}catch(e){i=!0,s=e}finally{try{n||null==l.return||l.return()}finally{if(i)throw s}}}}),(0,h.jsx)("div",{ref:r,className:"absolute top-0 inset-s-0 origin-center rtl:-scale-x-100",style:(0,t._)({width:n.width,height:n.height},a(i.get())),children:(0,h.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(n.width," ").concat(n.height),className:"absolute transition-[clip-path]",style:{width:n.width,height:n.height,clipPath:"polygon(0 var(--track-top,0), 100% var(--track-top,0), 100% var(--track-bottom,0), 0 var(--track-bottom,0))"},children:n.content})})}function er(e){return e<=2?8:3===e?20:32}function eo(e){var o,i=e.item,s=(0,r._)(e,["item"]),c=W(),l=(0,_.useMemo)(function(){var e=c.indexOf(i),t=0===e,n=e===c.length-1,r=er(i.depth),o=t?r:er(c[e-1].depth),s=n?r:er(c[e+1].depth);return{isFirst:t,isLast:n,svg:(0,h.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:(0,a.cn)("absolute -top-1.5 inset-s-0 bottom-0 h-[calc(100%+--spacing(1.5))] -z-1 rtl:-scale-x-100",r!==s&&"h-full bottom-1.5"),style:{width:Math.max(o,r)+9},children:[o!==r&&(0,h.jsx)("path",{d:"M ".concat(o+.5," 0 L ").concat(o+.5," 0 ").concat(r+.5," 12"),stroke:"black",strokeWidth:"1",fill:"none",className:"stroke-fd-foreground/10"}),(0,h.jsx)("line",{x1:r+.5,y1:o===r?"6":"12",x2:r+.5,y2:"100%",strokeWidth:"1",className:"stroke-fd-foreground/10"}),void 0!==i._step&&(0,h.jsxs)("g",{transform:"translate(".concat(r+.5,", ").concat(r===s?"3":"6",")"),children:[(0,h.jsx)("circle",{cx:"0",cy:"50%",r:"8",className:"fill-fd-muted"}),(0,h.jsx)("text",{x:"0",y:"50%",textAnchor:"middle",alignmentBaseline:"central",dominantBaseline:"middle",className:"fill-fd-muted-foreground font-medium text-xs leading-none font-mono rtl:-scale-x-100",children:i._step})]})]})}},[c,i]),u=l.isFirst,d=l.isLast,f=l.svg;return(0,h.jsxs)(z,(0,n._)((0,t._)({href:i.url},s),{className:(0,a.cn)("prose relative py-1.5 text-sm scroll-m-4 text-fd-muted-foreground hover:text-fd-accent-foreground transition-colors wrap-anywhere data-[active=true]:text-fd-primary",u&&"pt-0",d&&"pb-0",s.className),style:(0,t._)({paddingInlineStart:(o=i.depth)<=2?20:3===o?32:44},s.style),children:[f,i.title]}))}var ei=e.i(262212),ea=e.i(91711),es=e.i(220448);function ec(e){return(0,h.jsx)(G,(0,t._)({},e))}function el(e){var r=e.container,o=e.header,i=e.footer,s=e.style,c=e.list,l=W(),u=(0,b.useTranslations)({note:"table of contents"}),d="clerk"===(void 0===s?"normal":s)?Q:K,f=d.TOCItems,v=d.TOCEmpty,p=d.TOCItem;return 0!==l.length||i||o?(0,h.jsxs)("div",(0,n._)((0,t._)({id:"nd-toc"},r),{className:(0,a.cn)("sticky top-(--fd-docs-row-3) [grid-area:toc] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] flex flex-col w-(--fd-toc-width) pt-12 pe-4 pb-2 xl:layout:[--fd-toc-width:268px] max-xl:hidden",null==r?void 0:r.className),children:[o,(0,h.jsxs)("h3",{id:"toc-title",className:"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground",children:[(0,h.jsx)(y,{className:"size-4"}),u("On this page")]}),(0,h.jsx)(q,{children:(0,h.jsxs)(f,(0,n._)((0,t._)({},c),{children:[0===l.length&&(0,h.jsx)(v,{}),l.map(function(e){return(0,h.jsx)(p,{item:e},e.url)})]}))}),i]})):(0,h.jsx)("div",{id:"nd-toc-placeholder",className:"hidden xl:layout:[--fd-toc-width:268px]"})}var eu=(0,_.createContext)(null);function ed(e){var r=e.container,i=e.trigger,s=e.content,c=e.header,l=e.footer,u=e.style,d=e.list,f=W(),v=(0,_.useRef)(null),p=(0,o._)((0,_.useState)(!1),2),m=p[0],x=p[1],g=(0,es.useNotebookLayout)().isNavTransparent,y="clerk"===(void 0===u?"normal":u)?Q:K,b=y.TOCItems,w=y.TOCItem,j=y.TOCEmpty,C=(0,_.useEffectEvent)(function(e){m&&(0,I._)(e.target,HTMLElement)&&v.current&&!v.current.contains(e.target)&&x(!1)}),k=function(){x(!1)};return(0,_.useEffect)(function(){return window.addEventListener("click",C),function(){window.removeEventListener("click",C)}},[]),(0,h.jsx)(eu,{value:(0,_.useMemo)(function(){return{open:m,setOpen:x}},[x,m]),children:(0,h.jsx)(ea.Collapsible,(0,n._)((0,t._)({open:m,onOpenChange:x,"data-toc-popover":""},r),{className:(0,a.cn)("sticky top-(--fd-docs-row-2) z-10 [grid-area:toc-popover] h-(--fd-toc-popover-height) xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)]",null==r?void 0:r.className),children:(0,h.jsxs)("header",{ref:v,className:(0,a.cn)("border-b backdrop-blur-sm transition-colors",(!g||m)&&"bg-fd-background/80",m&&"shadow-lg"),children:[(0,h.jsx)(ef,(0,t._)({},i)),(0,h.jsxs)(ev,(0,n._)((0,t._)({}
1,s),{children:[c,(0,h.jsx)(q,{children:(0,h.jsxs)(b,(0,n._)((0,t._)({},d),{children:[0===f.length&&(0,h.jsx)(j,{}),f.map(function(e){return(0,h.jsx)(w,{item:e,onClick:k},e.url)})]}))}),l]}))]})}))})}function ef(e){var i,s,c=e.className,l=(0,r._)(e,["className"]),u=(0,b.useTranslations)({note:"table of contents"}),d=(0,_.use)(eu).open,f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.t,n=B(),r=(0,o._)((0,_.useState)(function(){return e(n.items)}),2),i=r[0],a=r[1];return F(function(n){var r=e(n);t(i,r)||a(r)}),i}(function(e){return e}),v=f.findIndex(function(e){return e.active}),m=(0,ei.useTreePath)().at(-1),x=-1!==v&&!d;return(0,h.jsxs)(ea.CollapsibleTrigger,(0,n._)((0,t._)({className:(0,a.cn)("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6",c),"data-toc-popover-trigger":""},l),{children:[(0,h.jsx)(eh,{value:(f.findLastIndex(function(e){return e.active})+1)/Math.max(1,f.length),max:1,className:(0,a.cn)("shrink-0",d&&"text-fd-primary")}),(0,h.jsxs)("span",{className:"grid flex-1 *:my-auto *:row-start-1 *:col-start-1",children:[(0,h.jsx)("span",{className:(0,a.cn)("truncate transition-[opacity,translate,color]",d&&"text-fd-foreground",x&&"opacity-0 -translate-y-full pointer-events-none"),children:null!=(i=null==m?void 0:m.name)?i:u("On this page")}),(0,h.jsx)("span",{className:(0,a.cn)("truncate transition-[opacity,translate]",!x&&"opacity-0 translate-y-full pointer-events-none"),children:null==(s=f[v])?void 0:s.original.title})]}),(0,h.jsx)(p.ChevronDown,{className:(0,a.cn)("shrink-0 transition-transform mx-0.5",d&&"rotate-180")})]}))}function eh(e){var o=e.value,i=e.strokeWidth,a=void 0===i?1.5:i,s=e.size,c=void 0===s?18:s,l=e.min,u=void 0===l?0:l,d=e.max,f=void 0===d?100:d,v=e.style,p=(0,r._)(e,["value","strokeWidth","size","min","max","style"]),m=o<u?u:o>f?f:o,x=c/2-a,g=2*Math.PI*x,y=m/f*g,_={cx:c/2,cy:c/2,r:x,fill:"none",strokeWidth:a};return(0,h.jsxs)("svg",(0,n._)((0,t._)({role:"progressbar",viewBox:"0 0 ".concat(c," ").concat(c),"aria-valuenow":m,"aria-valuemin":u,"aria-valuemax":f,style:(0,t._)({width:c,height:c},v)},p),{children:[(0,h.jsx)("circle",(0,n._)((0,t._)({},_),{className:"stroke-current/25"})),(0,h.jsx)("circle",(0,n._)((0,t._)({},_),{stroke:"currentColor",strokeDasharray:g,strokeDashoffset:g-y,strokeLinecap:"round",transform:"rotate(-90 ".concat(c/2," ").concat(c/2,")"),className:"transition-all"}))]}))}function ev(e){return(0,h.jsx)(ea.CollapsibleContent,(0,n._)((0,t._)({"data-toc-popover-content":""},e),{children:(0,h.jsx)("div",{className:"flex flex-col px-4 max-h-[50vh] md:px-6",children:e.children})}))}var ep=e.i(335993),em=new WeakMap,ex=e.i(872600),eg=e.i(24071),ey=e.i(867927);function e_(e){var o=e.items,i=e.children,s=e.className,c=(0,r._)(e,["items","children","className"]),l=function(){var e=(0,ei.useTreeContext)().root,t=em.get(e);if(t)return t;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e.children[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;!function e(t){if("folder"===t.type){t.index&&e(t.index);var r=!0,o=!1,i=void 0;try{for(var a,s=t.children[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;e(c)}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}else"page"!==t.type||t.external||n.push(t)}(c)}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return em.set(e,n),n}(),u=(0,f.usePathname)(),d=(0,_.useMemo)(function(){if(o)return o;var e=l.findIndex(function(e){return(0,ep.isActive)(e.url,u)});return -1===e?{}:{previous:l[e-1],next:l[e+1]}},[l,o,u]),v=d.previous,p=d.next;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",(0,n._)((0,t._)({className:(0,a.cn)("@container grid gap-4",v&&p?"grid-cols-2":"grid-cols-1",s)},c),{children:[v&&(0,h.jsx)(eb,{item:v,index:0}),p&&(0,h.jsx)(eb,{item:p,index:1})]})),i]})}function eb(e){var t,n=e.item,r=e.index,o=(0,b.useTranslations)({note:"pagination"}),i=0===r?eg.ChevronLeft:ey.ChevronRight;return(0,h.jsxs)(ex.default,{href:n.url,className:(0,a.cn)("flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full",1===r&&"text-end"),children:[(0,h.jsxs)("div",{className:(0,a.cn)("inline-flex items-center gap-1.5 font-medium",1===r&&"flex-row-reverse"),children:[(0,h.jsx)(i,{className:"-mx-1 size-4 shrink-0 rtl:rotate-180"}),(0,h.jsx)("p",{children:n.name})]}),(0,h.jsx)("p",{className:"text-fd-muted-foreground truncate",children:null!=(t=n.description)?t:o(0===r?"Previous Page":"Next Page")})]})}
1var ew=e.i(653633);function ej(e){var o=e.includeRoot,i=e.includeSeparator,s=e.includePage,c=(0,r._)(e,["includeRoot","includeSeparator","includePage"]),l=(0,ei.useTreePath)(),u=(0,ei.useTreeContext)().root,d=(0,_.useMemo)(function(){return(0,ew.getBreadcrumbItemsFromPath)(u,l,{includePage:s,includeSeparator:i,includeRoot:o})},[s,o,i,l,u]);return 0===d.length?null:(0,h.jsx)("div",(0,n._)((0,t._)({},c),{className:(0,a.cn)("flex items-center gap-1.5 text-sm text-fd-muted-foreground",c.className),children:d.map(function(e,t){var n=(0,a.cn)("truncate",t===d.length-1&&"text-fd-primary font-medium");return(0,h.jsxs)(_.Fragment,{children:[0!==t&&(0,h.jsx)(ey.ChevronRight,{className:"size-3.5 shrink-0"}),e.url?(0,h.jsx)(ex.default,{href:e.url,className:(0,a.cn)(n,"transition-opacity hover:opacity-80"),children:e.name}):(0,h.jsx)("span",{className:n,children:e.name})]},t)})}))}function eC(e){var r=eS().full;return(0,h.jsx)("article",(0,n._)((0,t._)({id:"nd-page","data-full":r},e),{className:(0,a.cn)("flex flex-col [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14 *:max-w-[900px]",r&&"*:max-w-[1285px]",e.className),children:e.children}))}var ek=(0,g.default)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]),eN=(0,i.__exportAll)({DocsBody:function(){return eA},DocsDescription:function(){return eM},DocsPage:function(){return eR},DocsTitle:function(){return eE},EditOnGitHub:function(){return eT},MarkdownCopyButton:function(){return C},PageBreadcrumb:function(){return ej},PageFooter:function(){return e_},PageLastUpdate:function(){return eP},ViewOptionsPopover:function(){return k},useDocsPage:function(){return eS}}),eI=(0,_.createContext)(null);function eS(){var e=(0,_.use)(eI);if(!e)throw Error("Please use page components under <DocsPage /> (`fumadocs-ui/layouts/notebook/page`).");return e}function eR(e){var o,i,a,s,c,l,u,d,f=e.full,v=void 0!==f&&f,p=e.tableOfContent,m=void 0===p?{}:p,x=m.enabled,g=void 0===x?!v:x,y=m.single,_=(0,r._)(m,["enabled","single"]),b=e.tableOfContentPopover,w=void 0===b?{}:b,j=w.enabled,C=(0,r._)(w,["enabled"]),k=e.breadcrumb,N=void 0===k?{}:k,I=N.enabled,S=(0,r._)(N,["enabled"]),R=e.footer,T=void 0===R?{}:R,A=T.enabled,M=(0,r._)(T,["enabled"]),E=e.toc,P=void 0===E?[]:E,L=e.slots,O=void 0===L?{}:L,z=e.children,B=(0,r._)(e,["full","tableOfContent","tableOfContentPopover","breadcrumb","footer","toc","slots","children"]);null!=j||(j=!!(P.length>0||C.header||C.footer));var D={breadcrumb:null!=(o=O.breadcrumb)?o:ej,footer:null!=(i=O.footer)?i:e_,toc:null!=(a=O.toc)?a:{provider:ec,main:el,popover:ed},container:null!=(s=O.container)?s:eC};return(0,h.jsx)(eI,{value:{full:v,slots:D},children:(0,h.jsxs)(D.toc.provider,{single:y,toc:g||j?P:[],children:[j&&(null!=(c=C.component)?c:(0,h.jsx)(D.toc.popover,(0,t._)({},C))),(0,h.jsxs)(D.container,(0,n._)((0,t._)({},B),{children:[(void 0===I||I)&&(null!=(l=S.component)?l:(0,h.jsx)(D.breadcrumb,(0,t._)({},S))),z,(void 0===A||A)&&(null!=(u=M.component)?u:(0,h.jsx)(D.footer,(0,t._)({},M)))]})),g&&(null!=(d=_.component)?d:(0,h.jsx)(D.toc.main,(0,t._)({},_)))]})})}function eT(e){var r,o=(0,b.useTranslations)({note:"edit page"});return(0,h.jsx)("a",(0,n._)((0,t._)({target:"_blank",rel:"noreferrer noopener"},e),{className:(0,a.cn)((0,s.buttonVariants)({color:"secondary",size:"sm"}),"gap-1.5 not-prose",e.className),children:null!=(r=e.children)?r:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(ek,{className:"size-3.5"}),o("Edit on GitHub")]})}))}function eA(e){var o=e.children,i=e.className,s=(0,r._)(e,["children","className"]);return(0,h.jsx)("div",(0,n._)((0,t._)({},s),{className:(0,a.cn)("prose flex-1",i),children:o}))}function eM(e){var o=e.children,i=e.className,s=(0,r._)(e,["children","className"]);return void 0===o?null:(0,h.jsx)("p",(0,n._)((0,t._)({},s),{className:(0,a.cn)("mb-8 text-lg text-fd-muted-foreground",i),children:o}))}function eE(e){var o=e.children,i=e.className,s=(0,r._)(e,["children","className"]);return(0,h.jsx)("h1",(0,n._)((0,t._)({}
1,s),{className:(0,a.cn)("text-[1.75em] font-semibold",i),children:o}))}function eP(e){var i=e.date,s=(0,r._)(e,["date"]),c=(0,b.useTranslations)({note:"page footer"}),l=(0,o._)((0,_.useState)(""),2),u=l[0],d=l[1];return(0,_.useEffect)(function(){d(i.toLocaleDateString())},[i]),(0,h.jsxs)("p",(0,n._)((0,t._)({},s),{className:(0,a.cn)("text-sm text-fd-muted-foreground",s.className),children:[c("Last updated on")," ",u]}))}e.i(199516),e.s(["DocsBody",0,eA,"DocsDescription",0,eM,"DocsPage",0,eR,"DocsTitle",0,eE,"EditOnGitHub",0,eT,"MarkdownCopyButton",0,C,"PageBreadcrumb",0,ej,"PageFooter",0,e_,"PageLastUpdate",0,eP,"ViewOptionsPopover",0,k,"page_exports",0,eN,"useDocsPage",0,eS],88516)},951938,e=>{"use strict";var t=e.i(651682),n=e.i(271645);e.s(["useCopyButton",0,function(e){var r=(0,t._)((0,n.useState)(!1),2),o=r[0],i=r[1],a=(0,n.useRef)(e),s=(0,n.useRef)(null);a.current=e;var c=(0,n.useCallback)(function(){s.current&&window.clearTimeout(s.current),Promise.resolve(a.current()).then(function(){i(!0),s.current=window.setTimeout(function(){i(!1)},1500)})},[]);return(0,n.useEffect)(function(){return function(){s.current&&window.clearTimeout(s.current)}},[]),[o,c]}])},75830,e=>{"use strict";var t,n,r=e.i(251461),o=e.i(38981),i=e.i(292955),a=e.i(739946),s=e.i(470292),c=e.i(62351),l=e.i(780646),u=e.i(299749),d=e.i(680700),f=e.i(402048),h=e.i(64217),v=e.i(120786),p=e.i(92808),m=e.i(233027),x=e.i(651682),g=e.i(540316),y=e.i(500075),_=e.i(302393),b=e.i(271645),w=e.i(30030),j=e.i(820783),C=e.i(991918),k=e.i(843476),N=Object.defineProperty,I=function(e,t){return N(e,"name",{value:t,configurable:!0})};function S(e){var t=e+"CollectionProvider",n=(0,x._)((0,w.createContextScope)(t),2),r=n[0],o=n[1],i=(0,x._)(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],s=i[1],c=I(function(e){var t=e.scope,n=e.children,r=b.useRef(null),o=b.useRef(new Map).current;return(0,k.jsx)(a,{scope:t,itemMap:o,collectionRef:r,children:n})},"CollectionProvider");c.displayName=t;var l=e+"CollectionSlot",d=(0,C.createSlot)(l),f=b.forwardRef(function(e,t){var n=e.scope,r=e.children,o=s(l,n),i=(0,j.useComposedRefs)(t,o.collectionRef);return(0,k.jsx)(d,{ref:i,children:r})});f.displayName=l;var h=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,C.createSlot)(h),_=b.forwardRef(function(e,t){var n=e.scope,r=e.children,o=(0,m._)(e,["scope","children"]),i=b.useRef(null),a=(0,j.useComposedRefs)(t,i),c=s(h,n);return b.useEffect(function(){return c.itemMap.set(i,(0,v._)({ref:i},o)),function(){c.itemMap.delete(i)}}),(0,k.jsx)(y,(0,p._)((0,v._)({},(0,u._)({},g,"")),{ref:a,children:r}))});function N(t){var n=s(e+"CollectionConsumer",t);return b.useCallback(function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(g,"]")));return Array.from(n.itemMap.values()).sort(function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)})},[n.collectionRef,n.itemMap])}return _.displayName=h,I(N,"useCollection"),[{Provider:c,Slot:f,ItemSlot:_},N,o]}I(S,"createCollection");var R=new WeakMap,T=(t=new WeakMap,I(n=function(e){function n(e){var a;return(0,i._)(this,n),a=(0,o._)(this,n,[e]),(0,s._)(a,t,{writable:!0,value:void 0}),(0,c._)(a,t,(0,g._)((0,d._)(((0,r._)(a),(0,f._)(n.prototype)),"keys",a).call(a))),R.set(a,!0),a}return(0,h._)(n,e),(0,l._)(n,[{key:"set",value:function(e,r){return R.get(this)&&(this.has(e)?(0,a._)(this,t)[(0,a._)(this,t).indexOf(e)]=e:(0,a._)(this,t).push(e)),(0,d._)((0,f._)(n.prototype),"set",this).call(this,e,r),this}},{key:"insert",value:function(e,n,r){var o,i=this.has(n),s=(0,a._)(this,t).length,c=E(e),l=c>=0?c:s+c,u=l<0||l>=s?-1:l;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(n,r),this;var d=this.size+ +!i;c<0&&l++;for(var f=(0,g._)((0,a._)(this,t)),h=!1,v=l;v<d;v++)if(l===v){var p=f[v];f[v]===n&&(p=f[v+1]),i&&this.delete(n),o=this.get(p),this.set(n,r)}else{h||f[v-1]!==n||(h=!0);var m=f[h?v:v-1],x=o;o=this.get(m),this.delete(m),this.set(m,x)}return this}},{key:"with",value:function(e,t,r){var o=new n(this);return o.insert(e,t,r),o}},{key:"before",value:function(e){var n=(0,a._)(this,t).indexOf(e)-1;if(!(n<0))return this.entryAt(n)}},{key:"setBefore",value:function(e,n,r){var o=(0,a._)(this,t).indexOf(e);return -1===o?this:this.insert(o,n,r)}},{key:"after",value:function(e){var n=(0,a._)(this,t).indexOf(e);if(-1!==(n=-1===n||n===this.size-1?-1:n+1))return this.entryAt(n)}},{key:"setAfter",value:function(e,n,r){var o=(0,a._)(this,t).indexOf(e);return -1===o?this:this.insert(o+1,n,r)}},{key:"first",value:function(){return this.entryAt(0)}},{key:"last",value:function(){return this.entryAt(-1)}},{key:"clear",value:function(){return(0,c._)(this,t,[]),(0,d._)((0,f._)(n.prototype),"clear",this).call(this)}},{key:"delete",value:function(e){var r=(0,d._)((0,f._)(n.prototype),"delete",this).call(this,e);return r&&(0,a._)(this,t).splice((0,a._)(this,t).indexOf(e),1),r}},{key:"deleteAt",value:function(e){var t=this.keyAt(e);return void 0!==t&&this.delete(t)}},{key:"at",value:function(e){var n=A((0,a._)(this,t),e);if(void 0!==n)return this.get(n)}},{key:"entryAt",value:function(e){var n=A((0,a._)(this,t),e);if(void 0!==n)return[n,this.get(n)]}},{key:"indexOf",value:function(e){return(0,a._)(this,t).indexOf(e)}},{key:"keyAt",value:function(e){return A((0,a._)(this,t),e)}},{key:"from",value:function(e,t){var n=this.indexOf(e);if(-1!==n){var r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}}},{key:"keyFrom",value:function(e,t){var n=this.indexOf(e);if(-1!==n){var r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}}},{key:"find",value:function(e,t){var n=0,r=!0,o=!1,i=void 0;try{for(var a,s=this[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(Reflect.apply(e,t,[c,n,this]))return c;n++}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}},{key:"findIndex",value:function(e,t){var n=0,r=!0,o=!1,i=void 0;try{for(var a,s=this[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(Reflect.apply(e,t,[c,n,this]))return n;n++}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return -1}},{key:"filter",value:function(e,t){var r=[],o=0,i=!0,a=!1,s=void 0;try{for(var c,l=this[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var u=c.value;Reflect.apply(e,t,[u,o,this])&&r.push(u),o++}}catch(e){a=!0,s=e}finally{try{i||null==l.return||l.return()}finally{if(a)throw s}}return new n(r)}},{key:"map",value:function(e,t){var r=[],o=0,i=!0,a=!1,s=void 0;try{for(var c,l=this[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var u=c.value;r.push([u[0],Reflect.apply(e,t,[u,o,this])]),o++}}catch(e){a=!0,s=e}finally{try{i||null==l.return||l.return()}finally{if(a)throw s}}return new n(r)}},{key:"reduce",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=(0,x._)(t,2),o=r[0],i=r[1],a=0,s=null!=i?i:this.at(0),c=!0,l=!1,u=void 0;try{for(var d,f=this[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var h=d.value;s=0===a&&1===t.length?h:Reflect.apply(o,this,[s,h,a,this]),a++}}catch(e){l=!0,u=e}finally{try{c||null==f.return||f.return()}finally{if(l)throw u}}return s}},{key:"reduceRight",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=(0,x._)(t,2),o=r[0],i=r[1],a=null!=i?i:this.at(-1),s=this.size-1;s>=0;s--){var c=this.at(s);a=s===this.size-1&&1===t.length?c:Reflect.apply(o,this,[a,c,s,this])}return a}},{key:"toSorted",value:function(e){return new n((0,g._)(this.entries()).sort(e))}},{key:"toReversed",value:function(){for(var e=new n,t=this.size-1;t>=0;t--){var r=this.keyAt(t),o=this.get(r);e.set(r,o)}return e}},{key:"toSpliced",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=(0,g._)(this.entries());return o.splice.apply(o,(0,g._)(t)),new n(o)}},{key:"slice",value:function(e,t){var r=new n,o=this.size-1;if(void 0===e)return r;e<0&&(e+=this.size),void 0!==t&&t>0&&(o=t-1);for(var i=e;i<=o;i++){var a=this.keyAt(i),s=this.get(a);r.set(a,s)}return r}},{key:"every",value:function(e,t){var n=0,r=!0,o=!1,i=void 0;try{for(var a,s=this[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(!Reflect.apply(e,t,[c,n,this]))return!1;n++}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return!0}},{key:"some",value:function(e,t){var n=0,r=!0,o=!1,i=void 0;try{for(var a,s=this[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(Reflect.apply(e,t,[c,n,this]))return!0;n++}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return!1}}]),n}((0,_._)(Map)),"OrderedDict"),n);function A(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);var n=M(e,t);return -1===n?void 0:e[n]}function M(e,t){var n=e.length,r=E(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}function E(e){return e!=e||0===e?0:Math.trunc(e)}function P(e,t){if(e===t)return!0;
1if((void 0===e?"undefined":(0,y._)(e))!=="object"||(void 0===t?"undefined":(0,y._)(t))!=="object"||null==e||null==t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;var o=!0,i=!1,a=void 0;try{for(var s,c=n[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;if(!Object.prototype.hasOwnProperty.call(t,l)||e[l]!==t[l])return!1}}catch(e){i=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(i)throw a}}return!0}function L(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function O(e,t){return e[1].element&&t[1].element?L(e[1].element,t[1].element)?-1:1:0}function z(e){return new MutationObserver(function(t){var n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if("childList"===s.type)return void e()}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}})}I(A,"at"),I(M,"toSafeIndex"),I(E,"toSafeInteger"),I(function(e){var t=e+"CollectionProvider",n=(0,x._)((0,w.createContextScope)(t),2),r=n[0],o=n[1],i=(0,x._)(r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new T,setItemMap:I(function(){},"setItemMap")}),2),a=i[0],s=i[1],c=I(function(e){var t=e.state,n=(0,m._)(e,["state"]);return t?(0,k.jsx)(d,(0,p._)((0,v._)({},n),{state:t})):(0,k.jsx)(l,(0,v._)({},n))},"CollectionProvider");c.displayName=t;var l=I(function(e){var t=S();return(0,k.jsx)(d,(0,p._)((0,v._)({},e),{state:t}))},"CollectionInit");l.displayName=t+"Init";var d=I(function(e){var t=e.scope,n=e.children,r=e.state,o=b.useRef(null),i=(0,x._)(b.useState(null),2),s=i[0],c=i[1],l=(0,j.useComposedRefs)(o,c),u=(0,x._)(r,2),d=u[0],f=u[1];return b.useEffect(function(){if(s){var e=z(function(){});return e.observe(s,{childList:!0,subtree:!0}),function(){e.disconnect()}}},[s]),(0,k.jsx)(a,{scope:t,itemMap:d,setItemMap:f,collectionRef:l,collectionRefObject:o,collectionElement:s,children:n})},"CollectionProviderImpl");d.displayName=t+"Impl";var f=e+"CollectionSlot",h=(0,C.createSlot)(f),g=b.forwardRef(function(e,t){var n=e.scope,r=e.children,o=s(f,n),i=(0,j.useComposedRefs)(t,o.collectionRef);return(0,k.jsx)(h,{ref:i,children:r})});g.displayName=f;var y=e+"CollectionItemSlot",_=(0,C.createSlot)(y),N=b.forwardRef(function(e,t){var n=e.scope,r=e.children,o=(0,m._)(e,["scope","children"]),i=b.useRef(null),a=(0,x._)(b.useState(null),2),c=a[0],l=a[1],d=(0,j.useComposedRefs)(t,i,l),f=s(y,n).setItemMap,h=b.useRef(o);P(h.current,o)||(h.current=o);var g=h.current;return b.useEffect(function(){return f(function(e){return c?e.has(c)?e.set(c,(0,p._)((0,v._)({},g),{element:c})).toSorted(O):(e.set(c,(0,p._)((0,v._)({},g),{element:c})),e.toSorted(O)):e}),function(){f(function(e){return c&&e.has(c)?(e.delete(c),new T(e)):e})}},[c,g,f]),(0,k.jsx)(_,(0,p._)((0,v._)({},(0,u._)({},"data-radix-collection-item","")),{ref:d,children:r}))});function S(){return b.useState(new T)}function R(t){return s(e+"CollectionConsumer",t).itemMap}return N.displayName=y,I(S,"useInitCollection"),I(R,"useCollection"),[{Provider:c,Slot:g,ItemSlot:N},{createCollectionScope:o,useCollection:R,useInitCollection:S}]},"createCollection"),I(P,"shallowEqual"),I(L,"isElementPreceding"),I(O,"sortByDocumentPosition"),I(z,"getChildListObserver"),e.s(["createCollection",0,S])},909592,e=>{"use strict";var t=(0,e.i(456420).default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);e.s(["LinkIcon",0,t],909592)}]);

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.