PageSourceSearch

https://docs.keplars.com/_next/static/chunks/8f701c9ef49b33a4.js

js keplars.com collected 2026-10-04 22:27:25 UTC 32,057 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,429554,e=>{"use strict";let t=(0,e.i(155034).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",()=>t])},191909,e=>{"use strict";let t=e=>"object"==typeof e&&null!=e&&1===e.nodeType,r=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,n=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,o=getComputedStyle(e,null);return r(o.overflowY,t)||r(o.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},o=(e,t,r,n,o,i,l,s)=>i<e&&l>t||i>e&&l<t?0:i<=e&&s<=r||l>=t&&s>=r?i-e-n:l>t&&s<r||i<e&&s>r?l-t+o:0,i=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,r)=>{var l,s,a,u;let c;if("u"<typeof document)return[];let{scrollMode:d,block:f,inline:p,boundary:h,skipOverflowHiddenElements:m}=r,v="function"==typeof h?h:e=>e!==h;if(!t(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,y=[],b=e;for(;t(b)&&v(b);){if((b=i(b))===g){y.push(b);break}null!=b&&b===document.body&&n(b)&&!n(document.documentElement)||null!=b&&n(b,m)&&y.push(b)}let x=null!=(s=null==(l=window.visualViewport)?void 0:l.width)?s:innerWidth,w=null!=(u=null==(a=window.visualViewport)?void 0:a.height)?u:innerHeight,{scrollX:C,scrollY:R}=window,{height:j,width:k,top:E,right:A,bottom:P,left:S}=e.getBoundingClientRect(),{top:T,right:N,bottom:I,left:F}={top:parseFloat((c=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(c.scrollMarginRight)||0,bottom:parseFloat(c.scrollMarginBottom)||0,left:parseFloat(c.scrollMarginLeft)||0},O="start"===f||"nearest"===f?E-T:"end"===f?P+I:E+j/2-T+I,M="center"===p?S+k/2-F+N:"end"===p?A+N:S-F,D=[];for(let e=0;e<y.length;e++){let t=y[e],{height:r,width:i,top:l,right:s,bottom:a,left:u}=t.getBoundingClientRect();if("if-needed"===d&&E>=0&&S>=0&&P<=w&&A<=x&&(t===g&&!n(t)||E>=l&&P<=a&&S>=u&&A<=s))break;let c=getComputedStyle(t),h=parseInt(c.borderLeftWidth,10),m=parseInt(c.borderTopWidth,10),v=parseInt(c.borderRightWidth,10),b=parseInt(c.borderBottomWidth,10),T=0,N=0,I="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-v:0,F="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-b:0,W="offsetWidth"in t?0===t.offsetWidth?0:i/t.offsetWidth:0,H="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(g===t)T="start"===f?O:"end"===f?O-w:"nearest"===f?o(R,R+w,w,m,b,R+O,R+O+j,j):O-w/2,N="start"===p?M:"center"===p?M-x/2:"end"===p?M-x:o(C,C+x,x,h,v,C+M,C+M+k,k),T=Math.max(0,T+R),N=Math.max(0,N+C);else{T="start"===f?O-l-m:"end"===f?O-a+b+F:"nearest"===f?o(l,a,r,m,b+F,O,O+j,j):O-(l+r/2)+F/2,N="start"===p?M-u-h:"center"===p?M-(u+i/2)+I/2:"end"===p?M-s+v+I:o(u,s,i,h,v+I,M,M+k,k);let{scrollLeft:e,scrollTop:n}=t;T=0===H?0:Math.max(0,Math.min(n+T/H,t.scrollHeight-r/H+F)),N=0===W?0:Math.max(0,Math.min(e+N/W,t.scrollWidth-i/W+I)),O+=n-T,M+=e-N}D.push({el:t,top:T,left:N})}return D};function s(e,t){let r;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n={top:parseFloat((r=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(r.scrollMarginRight)||0,bottom:parseFloat(r.scrollMarginBottom)||0,left:parseFloat(r.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(l(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:i,left:s}of l(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=i-n.top+n.bottom,t=s-n.left+n.right;r.scroll({top:e,left:t,behavior:o})}}e.s(["default",()=>s],191909)},687607,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(30030),o=e.i(369340),i=e.i(934620),l=e.i(820783),s=e.i(248425),a=e.i(296626),u=e.i(610772),c=e.i(843476),d="Collapsible",[f,p]=(0,n.createContextScope)(d),[h,m]=f(d),v=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:i,defaultOpen:l,disabled:a,onOpenChange:f,...p}=e,[m,v]=(0,o.useControllableState)({prop:i,defaultProp:l??!1,onChange:f,caller:d});return(0,c.jsx)(h,{scope:n,disabled:a,contentId:(0,u.useId)(),open:m,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,c.jsx)(s.Primitive.div,{"data-state":C(m),"data-disabled":a?"":void 0,...p,ref:r})})});v.displayName=d;var g="CollapsibleTrigger",y=t.forwardRef((e,t)=>
1{let{__scopeCollapsible:n,...o}=e,i=m(g,n);return(0,c.jsx)(s.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":C(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,i.onOpenToggle)})});y.displayName=g;var b="CollapsibleContent",x=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=m(b,e.__scopeCollapsible);return(0,c.jsx)(a.Presence,{present:r||o.open,children:({present:e})=>(0,c.jsx)(w,{...n,ref:t,present:e})})});x.displayName=b;var w=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:o,children:a,...u}=e,d=m(b,n),[f,p]=t.useState(o),h=t.useRef(null),v=(0,l.useComposedRefs)(r,h),g=t.useRef(0),y=g.current,x=t.useRef(0),w=x.current,R=d.open||f,j=t.useRef(R),k=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=h.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,x.current=t.width,j.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),p(o)}},[d.open,o]),(0,c.jsx)(s.Primitive.div,{"data-state":C(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!R,...u,ref:v,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:R&&a})});function C(e){return e?"open":"closed"}e.s(["CollapsibleContent",()=>x,"CollapsibleTrigger",()=>y,"Content",()=>x,"Root",()=>v,"Trigger",()=>y,"createCollapsibleScope",()=>p])},451988,e=>{"use strict";var t=e.i(974030),r=e.i(271645),n=e.i(843476),o=e.i(687607);let i=o.Root,l=o.CollapsibleTrigger;function s({children:e,...i}){let[l,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{s(!0)},[]),(0,n.jsx)(o.CollapsibleContent,{...i,className:(0,t.cn)("overflow-hidden",l&&"data-[state=closed]:animate-fd-collapsible-up data-[state=open]:animate-fd-collapsible-down",i.className),children:e})}e.s(["Collapsible",()=>i,"CollapsibleContent",()=>s,"CollapsibleTrigger",()=>l])},543137,145586,e=>{"use strict";function t(e,r){return e===r||!!(Array.isArray(e)&&Array.isArray(r))&&r.length===e.length&&e.every((e,n)=>t(e,r[n]))}e.s(["t",()=>t],145586);var r=e.i(271645);function n(e,o,i=(e,r)=>!t(e,r)){let[l,s]=(0,r.useState)(e);i(l,e)&&(o(e,l),s(e))}e.s(["useOnChange",()=>n],543137)},155034,e=>{"use strict";var t=e.i(271645),r=e.i(858627);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o=e.i(795879);let i=(e,i)=>{let l=(0,t.forwardRef)(({className:l,...s},a)=>(0,t.createElement)(o.default,{ref:a,iconNode:i,className:(0,r.mergeClasses)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...s}));return l.displayName=n(e),l};e.s(["default",()=>i],155034)},470152,e=>{"use strict";function t(e,[t,r]){return Math.min(r,Math.max(t,e))}e.s(["clamp",()=>t])},709428,e=>{"use strict";let t=(0,e.i(155034).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],709428)}
1,647873,e=>{"use strict";var t=e.i(224110),r=e.i(271645),n=e.i(843476);let o=(0,r.forwardRef)(({href:e="#",external:r=e.match(/^\w+:/)||e.startsWith("//"),prefetch:o,children:i,...l},s)=>r?(0,n.jsx)("a",{ref:s,href:e,rel:"noreferrer noopener",target:"_blank",...l,children:i}):(0,n.jsx)(t.Link,{ref:s,href:e,prefetch:o,...l,children:i}));o.displayName="Link",e.s(["default",()=>o])},858627,e=>{"use strict";let t=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();e.s(["mergeClasses",()=>t])},438879,145810,e=>{"use strict";var t={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"};e.s(["default",()=>t],438879);let r=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1};e.s(["hasA11yProp",()=>r],145810)},795879,e=>{"use strict";var t=e.i(271645),r=e.i(438879),n=e.i(145810),o=e.i(858627);let i=(0,t.createContext)({}),l=(0,t.forwardRef)(({color:e,size:l,strokeWidth:s,absoluteStrokeWidth:a,className:u="",children:c,iconNode:d,...f},p)=>{let{size:h=24,strokeWidth:m=2,absoluteStrokeWidth:v=!1,color:g="currentColor",className:y=""}=(0,t.useContext)(i)??{},b=a??v?24*Number(s??m)/Number(l??h):s??m;return(0,t.createElement)("svg",{ref:p,...r.default,width:l??h??r.default.width,height:l??h??r.default.height,stroke:e??g,strokeWidth:b,className:(0,o.mergeClasses)("lucide",y,u),...!c&&!(0,n.hasA11yProp)(f)&&{"aria-hidden":"true"},...f},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(c)?c:[c]])});e.s(["default",()=>l],795879)},14804,e=>{"use strict";function t(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}}e.s(["mergeRefs",()=>t])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),o=e.i(843476);function i(e){var r;let i,l=(r=e,(i=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var l;let e,s,a=(l=o,(s=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(s=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(u.ref=r?(0,n.composeRefs)(r,a):a),t.cloneElement(o,u)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),a=t.forwardRef((e,r)=>{let{children:n,...i}=e,a=t.Children.toArray(n),u=a.find(s);if(u){let e=u.props.children,n=a.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(l,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(l,{...i,ref:r,children:n})});return a.displayName=`${e}.Slot`,a}var l=Symbol("radix.slottable");function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}function a(e){let l=e+"CollectionProvider",[s,a]=(0,r.createContextScope)(l),[u,c]=s(l,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),l=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:l,collectionRef:i,children:n})};d.displayName=l;let f=e+"CollectionSlot",p=i(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=c(f,r),s=(0,n.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(p,{ref:s,children:i})});h.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",g=i(m),y=t.default.forwardRef((e,r)=>{let{scope:i,children:l,...s}=e,a=t.default.useRef(null),u=(0,n.useComposedRefs)(r,a),d=c(m,i);return t.default.useEffect(()=>(d.itemMap.set(a,{ref:a,...s}),()=>void d.itemMap.delete(a))),(0,o.jsx)(g,{...{[v]:""},ref:u,children:l})});return y.displayName=m,[{Provider:d,Slot:h,ItemSlot:y},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}
1]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},a]}var u=new WeakMap;function c(e,t){var r,n;let o,i,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,o=r.length,(l=(i=d(n))>=0?i:o+i)<0||l>=o?-1:l);return -1===s?void 0:e[s]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),i=this.#e.length,l=d(e),s=l>=0?l:i+l,a=s<0||s>=i?-1:s;if(a===this.size||o&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!o;l<0&&s++;let c=[...this.#e],f=!1;for(let e=s;e<u;e++)if(s===e){let i=c[e];c[e]===t&&(i=c[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{f||c[e-1]!==t||(f=!0);let r=c[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>a],75830)},825153,e=>{"use strict";var t=e.i(14804),r=e.i(271645),n=e.i(843476),o=e.i(981140),i=e.i(30030),l=e.i(75830),s=e.i(820783),a=e.i(610772),u=e.i(248425),c=e.i(30207),d=e.i(369340),f=e.i(586318),p="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[v,g,y]=(0,l.createCollection)(m),[b,x]=(0,i.createContextScope)(m,[y]),[w,C]=b(m),R=r.forwardRef((e,t)=>(0,n.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(j,{...e,ref:t})})}));R.displayName=m;var j=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:i,orientation:l,loop:a=!1,dir:v,currentTabStopId:y,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:x,onEntryFocus:C,preventScrollOnEntryFocus:R=!1,...j}=e,k=r.useRef(null),E=(0,s.useComposedRefs)(t,k),A=(0,f.useDirection)(v),[
1S,T]=(0,d.useControllableState)({prop:y,defaultProp:b??null,onChange:x,caller:m}),[N,I]=r.useState(!1),F=(0,c.useCallbackRef)(C),O=g(i),M=r.useRef(!1),[D,W]=r.useState(0);return r.useEffect(()=>{let e=k.current;if(e)return e.addEventListener(p,F),()=>e.removeEventListener(p,F)},[F]),(0,n.jsx)(w,{scope:i,orientation:l,dir:A,loop:a,currentTabStopId:S,onItemFocus:r.useCallback(e=>T(e),[T]),onItemShiftTab:r.useCallback(()=>I(!0),[]),onFocusableItemAdd:r.useCallback(()=>W(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>W(e=>e-1),[]),children:(0,n.jsx)(u.Primitive.div,{tabIndex:N||0===D?-1:0,"data-orientation":l,...j,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,o.composeEventHandlers)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(p,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),R)}}M.current=!1}),onBlur:(0,o.composeEventHandlers)(e.onBlur,()=>I(!1))})})}),k="RovingFocusGroupItem",E=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:i,focusable:l=!0,active:s=!1,tabStopId:c,children:d,...f}=e,p=(0,a.useId)(),h=c||p,m=C(k,i),y=m.currentTabStopId===h,b=g(i),{onFocusableItemAdd:x,onFocusableItemRemove:w,currentTabStopId:R}=m;return r.useEffect(()=>{if(l)return x(),()=>w()},[l,x,w]),(0,n.jsx)(v.ItemSlot,{scope:i,id:h,focusable:l,active:s,children:(0,n.jsx)(u.Primitive.span,{tabIndex:y?0:-1,"data-orientation":m.orientation,...f,ref:t,onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,e=>{l?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return A[o]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=m.loop?(r=o,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(i+1)}setTimeout(()=>P(o))}}),children:"function"==typeof d?d({isCurrentTabStop:y,hasTabStop:null!=R}):d})})});E.displayName=k;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var S=e.i(296626),T="Tabs",[N,I]=(0,i.createContextScope)(T,[x]),F=x(),[O,M]=N(T),D=r.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,onValueChange:i,defaultValue:l,orientation:s="horizontal",dir:c,activationMode:p="automatic",...h}=e,m=(0,f.useDirection)(c),[v,g]=(0,d.useControllableState)({prop:o,onChange:i,defaultProp:l??"",caller:T});return(0,n.jsx)(O,{scope:r,baseId:(0,a.useId)(),value:v,onValueChange:g,orientation:s,dir:m,activationMode:p,children:(0,n.jsx)(u.Primitive.div,{dir:m,"data-orientation":s,...h,ref:t})})});D.displayName=T;var W="TabsList",H=r.forwardRef((e,t)=>{let{__scopeTabs:r,loop:o=!0,...i}=e,l=M(W,r),s=F(r);return(0,n.jsx)(R,{asChild:!0,...s,orientation:l.orientation,dir:l.dir,loop:o,children:(0,n.jsx)(u.Primitive.div,{role:"tablist","aria-orientation":l.orientation,...i,ref:t})})});H.displayName=W;var L="TabsTrigger",_=r.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,disabled:l=!1,...s}=e,a=M(L,r),c=F(r),d=B(a.baseId,i),f=$(a.baseId,i),p=i===a.value;return(0,n.jsx)(E,{asChild:!0,...c,focusable:!l,active:p,children:(0,n.jsx)(u.Primitive.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":f,"data-state":p?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:d,...s,ref:t,onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(i)}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>
1{[" ","Enter"].includes(e.key)&&a.onValueChange(i)}),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==a.activationMode;p||l||!e||a.onValueChange(i)})})})});_.displayName=L;var V="TabsContent",z=r.forwardRef((e,t)=>{let{__scopeTabs:o,value:i,forceMount:l,children:s,...a}=e,c=M(V,o),d=B(c.baseId,i),f=$(c.baseId,i),p=i===c.value,h=r.useRef(p);return r.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.jsx)(S.Presence,{present:l||p,children:({present:r})=>(0,n.jsx)(u.Primitive.div,{"data-state":p?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!r,id:f,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:r&&s})})});function B(e,t){return`${e}-trigger-${t}`}function $(e,t){return`${e}-content-${t}`}z.displayName=V;let K=new Map,U=(0,r.createContext)(null);function G({ref:e,groupId:o,persist:i=!1,updateAnchor:l=!1,defaultValue:s,value:a,onValueChange:u,...c}){let d=(0,r.useRef)(null),f=(0,r.useMemo)(()=>new Map,[]),[p,h]=void 0===a?(0,r.useState)(s):[a,(0,r.useEffectEvent)(e=>u?.(e))];return(0,r.useLayoutEffect)(()=>{if(!o)return;let e=sessionStorage.getItem(o);i&&(e??=localStorage.getItem(o)),e&&h(e);let t=K.get(o)??new Set;return t.add(h),K.set(o,t),()=>{t.delete(h)}},[o,i,h]),(0,r.useLayoutEffect)(()=>{let e=window.location.hash.slice(1);if(e){for(let[t,r]of f.entries())if(r===e){h(t),d.current?.scrollIntoView();break}}},[h,f]),(0,n.jsx)(D,{ref:(0,t.mergeRefs)(e,d),value:p,onValueChange:e=>{if(l){let t=f.get(e);t&&window.history.replaceState(null,"",`#${t}`)}if(o){let t=K.get(o);if(t)for(let r of t)r(e);sessionStorage.setItem(o,e),i&&localStorage.setItem(o,e)}else h(e)},...c,children:(0,n.jsx)(U,{value:(0,r.useMemo)(()=>({valueToIdMap:f}),[f]),children:c.children})})}function Z({value:e,...t}){let{valueToIdMap:o}=function(){let e=(0,r.use)(U);if(!e)throw Error("You must wrap your component in <Tabs>");return e}();return t.id&&o.set(e,t.id),(0,n.jsx)(z,{value:e,...t,children:t.children})}e.s(["Tabs",()=>G,"TabsContent",()=>Z,"TabsList",()=>H,"TabsTrigger",()=>_],825153)},213758,e=>{"use strict";var t=e.i(974030),r=e.i(825153),n=e.i(271645),o=e.i(843476);let i=(0,n.createContext)(null);function l(){let e=(0,n.useContext)(i);if(!e)throw Error("You must wrap your component in <Tabs>");return e}function s(e){return(0,o.jsx)(r.TabsList,{...e,className:(0,t.cn)("flex gap-3.5 text-fd-secondary-foreground overflow-x-auto px-4 not-prose",e.className)})}function a(e){return(0,o.jsx)(r.TabsTrigger,{...e,className:(0,t.cn)("inline-flex items-center gap-2 whitespace-nowrap text-fd-muted-foreground border-b border-transparent py-2 text-sm font-medium transition-colors [&_svg]:size-4 hover:text-fd-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary",e.className)})}function u({ref:e,className:l,items:u,label:c,defaultIndex:d=0,defaultValue:p=u?f(u[d]):void 0,...h}){let[m,v]=(0,n.useState)(p),g=(0,n.useMemo)(()=>[],[]);return(0,o.jsxs)(r.Tabs,{ref:e,className:(0,t.cn)("flex flex-col overflow-hidden rounded-xl border bg-fd-secondary my-4",l),value:m,onValueChange:e=>{(!u||u.some(t=>f(t)===e))&&v(e)},...h,children:[u&&(0,o.jsxs)(s,{children:[c&&(0,o.jsx)("span",{className:"text-sm font-medium my-auto me-auto",children:c}),u.map(e=>(0,o.jsx)(a,{value:f(e),children:e},e))]}),(0,o.jsx)(i.Provider,{value:(0,n.useMemo)(()=>({items:u,collection:g}),[g,u]),children:h.children})]})}function c({value:e,...t}){let{items:r}=l(),i=e??r?.at(function(){let e=(0,n.useId)(),{collection:t}=l();return(0,n.useEffect)(()=>()=>{let r=t.indexOf(e);-1!==r&&t.splice(r,1)},[e,t]),t.includes(e)||t.push(e),t.indexOf(e)}());if(!i)throw Error("Failed to resolve tab `value`, please pass a `value` prop to the Tab component.");return(0,o.jsx)(d,{value:f(i),...t,children:t.children})}function d({value:e,className:n,...i}){return(0,o.jsx)(r.TabsContent,{value:e,forceMount:!0,className:(0,t.cn)("p-4 text-[0.9375rem] bg-fd-background rounded-xl outline-none prose-no-margin data-[state=inactive]:hidden [&>figure:only-child]:-m-4 [&>
1figure:only-child]:border-none",n),...i,children:i.children})}function f(e){return e.toLowerCase().replace(/\s/,"-")}e.s(["Tab",()=>c,"Tabs",()=>u,"TabsContent",()=>d,"TabsList",()=>s,"TabsTrigger",()=>a])},281878,e=>{"use strict";let t,r,n;var o=e.i(974030),i=e.i(271645),l=e.i(843476),s=e.i(981140),a=e.i(820783),u=e.i(30030),c=e.i(726330),d=e.i(303536),f=e.i(765491),p=e.i(610772),h=e.i(853660),m=e.i(774606),v=e.i(296626),g=e.i(248425),y=Symbol("radix.slottable");function b(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===y}var x=e.i(369340),w=e.i(186312),C=e.i(985369),R="Popover",[j,k]=(0,u.createContextScope)(R,[h.createPopperScope]),E=(0,h.createPopperScope)(),[A,P]=j(R),S=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:a=!1}=e,u=E(t),c=i.useRef(null),[d,f]=i.useState(!1),[m,v]=(0,x.useControllableState)({prop:n,defaultProp:o??!1,onChange:s,caller:R});return(0,l.jsx)(h.Root,{...u,children:(0,l.jsx)(A,{scope:t,contentId:(0,p.useId)(),triggerRef:c,open:m,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:d,onCustomAnchorAdd:i.useCallback(()=>f(!0),[]),onCustomAnchorRemove:i.useCallback(()=>f(!1),[]),modal:a,children:r})})};S.displayName=R;var T="PopoverAnchor";i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=P(T,r),s=E(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:u}=o;return i.useEffect(()=>(a(),()=>u()),[a,u]),(0,l.jsx)(h.Anchor,{...s,...n,ref:t})}).displayName=T;var N="PopoverTrigger",I=i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=P(N,r),i=E(r),u=(0,a.useComposedRefs)(t,o.triggerRef),c=(0,l.jsx)(g.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":$(o.open),...n,ref:u,onClick:(0,s.composeEventHandlers)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:(0,l.jsx)(h.Anchor,{asChild:!0,...i,children:c})});I.displayName=N;var F="PopoverPortal",[O,M]=j(F,{forceMount:void 0}),D=e=>{let{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=P(F,t);return(0,l.jsx)(O,{scope:t,forceMount:r,children:(0,l.jsx)(v.Presence,{present:r||i.open,children:(0,l.jsx)(m.Portal,{asChild:!0,container:o,children:n})})})};D.displayName=F;var W="PopoverContent",H=i.forwardRef((e,t)=>{let r=M(W,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=P(W,e.__scopePopover);return(0,l.jsx)(v.Presence,{present:n||i.open,children:i.modal?(0,l.jsx)(_,{...o,ref:t}):(0,l.jsx)(V,{...o,ref:t})})});H.displayName=W;var L=((n=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){var o;let e,l,s=(o=r,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,a.composeRefs)(t,s):s),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName="PopoverContent.RemoveScroll.SlotClone",t=n,(r=i.forwardRef((e,r)=>{let{children:n,...o}=e,s=i.Children.toArray(n),a=s.find(b);if(a){let e=a.props.children,n=s.map(t=>t!==a?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...o,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,l.jsx)(t,{...o,ref:r,children:n})})).displayName="PopoverContent.RemoveScroll.Slot",r),_=i.forwardRef((e,t)=>{let r=P(W,e.__scopePopover),n=i.useRef(null),o=(0,a.useComposedRefs)(t,n),u=i.useRef(!1);return i.useEffect(()=>{let e=n.current;if(e)return(0,w.hideOthers)(e)},[]),(0,l.jsx)(C.RemoveScroll,{as:L,allowPinchZoom:!0,children:(0,l.jsx)(z,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,s.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),u.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,s.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),V=i.forwardRef((e,t)=>
1{let r=P(W,e.__scopePopover),n=i.useRef(!1),o=i.useRef(!1);return(0,l.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;r.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),z=i.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:u,onFocusOutside:p,onInteractOutside:m,...v}=e,g=P(W,r),y=E(r);return(0,d.useFocusGuards)(),(0,l.jsx)(f.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,l.jsx)(c.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:a,onPointerDownOutside:u,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),children:(0,l.jsx)(h.Content,{"data-state":$(g.open),role:"dialog",id:g.contentId,...y,...v,ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),B="PopoverClose";function $(e){return e?"open":"closed"}function K({className:e,align:t="center",sideOffset:r=4,...n}){return(0,l.jsx)(D,{children:(0,l.jsx)(H,{align:t,sideOffset:r,side:"bottom",className:(0,o.cn)("z-50 origin-(--radix-popover-content-transform-origin) overflow-y-auto max-h-(--radix-popover-content-available-height) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",e),...n})})}i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=P(B,r);return(0,l.jsx)(g.Primitive.button,{type:"button",...n,ref:t,onClick:(0,s.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=B,i.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=E(r);return(0,l.jsx)(h.Arrow,{...o,...n,ref:t})}).displayName="PopoverArrow",e.s(["Popover",()=>S,"PopoverContent",()=>K,"PopoverTrigger",()=>I],281878)}]);

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.