1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85455,(e,t,n)=>{"use strict";var r=e.r(66470),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useState,a=r.useEffect,o=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=l({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return o(function(){i.value=n,i.getSnapshot=t,s(i)&&c({inst:i})},[e,n,t]),a(function(){return s(i)&&c({inst:i}),e(function(){s(i)&&c({inst:i})})},[e]),u(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},61461,(e,t,n)=>{"use strict";t.exports=e.r(85455)},68546,e=>{"use strict";var t,n,r,i,l,a=e.i(83770);e.s([],74016),e.i(74016),e.i(13091);var o=e.i(66470);let u="u">typeof document?o.useLayoutEffect:()=>{},s={...o},c={};function f(e,t){let n=o.useRef(c);return n.current===c&&(n.current=e(t)),n}let d=s.useInsertionEffect,g=d&&d!==s.useLayoutEffect?d:e=>e();function h(e){let t=f(p).current;return t.next=e,g(t.effect),t.trampoline}function p(){let e={next:void 0,callback:v,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function v(){}let b=function(e,...t){let n=new URL("https://base-ui.com/production-error");return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`};function m(e,t,n,r){var i,l,a,o,u;let s=f(y).current;return i=s,l=e,a=t,o=n,u=r,(i.refs[0]!==l||i.refs[1]!==a||i.refs[2]!==o||i.refs[3]!==u)&&w(s,[e,t,n,r]),s.callback}function y(){return{callback:null,cleanup:null,refs:[]}}function w(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(null!=i)switch(typeof i){case"function":{let t=i(n);"function"==typeof t&&(r[e]=t);break}case"object":i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}let x=parseInt(o.version,10);function S(e){if(!o.isValidElement(e))return null;let t=e.props;return(x>=19?t?.ref:e.ref)??null}function k(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}function C(){}let R=Object.freeze([]),P=Object.freeze({}),T={};function E(e,t,n,r,i){if(!n&&!r&&!i&&!e)return M(t);let l=M(e);return t&&(l=I(l,t)),n&&(l=I(l,n)),r&&(l=I(l,r)),i&&(l=I(l,i)),l}function M(e){return N(e)?{...L(e,T)}:function(e){let t={...e};for(let e in t){let n=t[e];A(e,n)&&(t[e]=D(n))}return t}(e)}function I(e,t){return N(t)?L(t,e):function(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case"style":e[n]=k(e.style,r);break;case"className":e[n]=z(e.className,r);break;default:A(n,r)?e[n]=function(e,t){return t?e?(...n)=>{let r=n[0];if(H(r)){O(r);let i=t(...n);return r.baseUIHandlerPrevented||e?.(...n),i}let i=t(...n);return e?.(...n),i}:D(t):e}(e[n],r):e[n]=r}}return e}(e,t)}function A(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return 111===n&&110===r&&i>=65&&i<=90&&("function"==typeof t||void 0===t)}function N(e){return"function"==typeof e}function L(e,t){return N(e)?e(t):e??T}function D(e){return e?(...t)=>{let n=t[0];return H(n)&&O(n),e(...t)}:e}function O(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function z(e,t){return t?e?t+" "+e:t:e}function H(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}function B(e,t,n={}){let r=t.render,i=function(e,t={}){var n,r,i;let{className:l,style:a,render:o}=e,{state:u=P,ref:s,props:c,stateAttributesMapping:d,enabled:g=!0}=t,h=g?"function"==typeof l?l(u):l:void 0,p=g?"function"==typeof a?a(u):a:void 0,v=g?function(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);null!=e&&Object.assign(n,e);continue}!0===i?n[`data-${r.toLowerCase()}`]="":i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}(u,d):P,b=g&&c?function(e){if(Array.isArray(e)){if(0===e.length)return T;if(1===e.length)return M(e[0]);let t=M(e[0]);for(let n=1;n<e.length;n+=1)t=I(t,e[n]);return t}return E(void 0,e)}(c):void 0,x=g?k(v,b)??{}:P;if("u">typeof document)if(g)if(Array.isArray(s)){let e;n=[x.ref,S(o),...s],r=e=f(y).current,i=n,(r.refs.length!==i.length||r.refs.some((e,t)=>e!==i[t]))&&w(e,n),x.ref=e.callback}else x.ref=m(x.ref,S(o),s);else m(null,null);return g?(void 0!==h&&(x.className=z(x.className,h)),void 0!==p&&(x.style=k(x.style,p)),x):P}(t,n);return!1===n.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);let e=E(n,t.props);e.ref=n.ref;let i=t;return i?.$$typeof===j&&(i=o.Children.toArray(t)[0]),o.cloneElement(i,e)}if(e&&"string"==typeof e){var i,l;return i=e,l=n,"button"===i?(0,o.createElement)("button",{type:"button",...l,key:l.key}):"img"===i?(0,o.createElement)("img",{alt:"",...l,key:l.key}):o.createElement(i,l)}throw Error(b(8))}(e,r,i,n.state??P)}let j=Symbol.for("react.lazy"),W=o.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function F(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,l=h(i),s=o.useRef(0),c=f($).current,d=f(U).current,[g,p]=o.use
1State(0),v=o.useRef(g),b=h((e,t)=>{d.set(e,t??null),v.current+=1,p(v.current)}),m=h(e=>{d.delete(e),v.current+=1,p(v.current)}),y=o.useMemo(()=>{let e=new Map;return Array.from(d.keys()).filter(e=>e.isConnected).sort(_).forEach((t,n)=>{let r=d.get(t)??{};e.set(t,{...r,index:n})}),e},[d,g]);u(()=>{if("function"!=typeof MutationObserver||0===y.size)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),0===t.size&&(v.current+=1,p(v.current))});return y.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[y]),u(()=>{v.current===g&&(n.current.length!==y.size&&(n.current.length=y.size),r&&r.current.length!==y.size&&(r.current.length=y.size),s.current=y.size),l(y)},[l,y,n,r,g]),u(()=>()=>{n.current=[]},[n]),u(()=>()=>{r&&(r.current=[])},[r]);let w=h(e=>(c.add(e),()=>{c.delete(e)}));u(()=>{c.forEach(e=>e(y))},[c,y]);let x=o.useMemo(()=>({register:b,unregister:m,subscribeMapChange:w,elementsRef:n,labelsRef:r,nextIndexRef:s}),[b,m,w,n,r,s]);return(0,a.jsx)(W.Provider,{value:x,children:t})}function U(){return new Map}function $(){return new Set}function _(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let V=o.createContext(void 0);function q(){let e=o.useContext(V);if(void 0===e)throw Error(b(64));return e}let K=((t={}).activationDirection="data-activation-direction",t.orientation="data-orientation",t),G={tabActivationDirection:e=>({[K.activationDirection]:e})};function X(e,t,n,r){let i=!1,l=!1,a=r??P;return{reason:e,event:t??new Event("base-ui"),cancel(){i=!0},allowPropagation(){l=!0},get isCanceled(){return i},get isPropagationAllowed(){return l},trigger:n,...a}}e.s(["cancelOpen",0,"cancel-open","chipRemovePress",0,"chip-remove-press","clearPress",0,"clear-press","closePress",0,"close-press","closeWatcher",0,"close-watcher","decrementPress",0,"decrement-press","disabled",0,"disabled","drag",0,"drag","escapeKey",0,"escape-key","focusOut",0,"focus-out","imperativeAction",0,"imperative-action","incrementPress",0,"increment-press","initial",0,"initial","inputBlur",0,"input-blur","inputChange",0,"input-change","inputClear",0,"input-clear","inputPaste",0,"input-paste","inputPress",0,"input-press","itemPress",0,"item-press","keyboard",0,"keyboard","linkPress",0,"link-press","listNavigation",0,"list-navigation","missing",0,"missing","none",0,"none","outsidePress",0,"outside-press","pointer",0,"pointer","scrub",0,"scrub","siblingOpen",0,"sibling-open","swipe",0,"swipe","trackPress",0,"track-press","triggerFocus",0,"trigger-focus","triggerHover",0,"trigger-hover","triggerPress",0,"trigger-press","wheel",0,"wheel","windowResize",0,"window-resize"],90878);var Y=e.i(90878),Y=Y;let J=o.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:l="horizontal",render:s,value:c,style:f,...d}=e,g=void 0!==e.defaultValue,p=o.useRef([]),[v,b]=o.useState(()=>new Map),[m,y]=function({controlled:e,default:t,name:n,state:r="value"}){let{current:i}=o.useRef(void 0!==e),[l,a]=o.useState(t),u=o.useCallback(e=>{i||a(e)},[]);return[i?e:l,u]}({controlled:c,default:r,name:"Tabs",state:"value"}),w=void 0!==c,[x,S]=o.useState(()=>new Map),k=o.useRef(void 0),C=o.useCallback(e=>{if(void 0===e)return null;for(let[t,n]of x.entries())if(null!=n&&e===(n.value??n.index))return t;return null},[x]),[R,P]=o.useState(()=>({previousValue:m,tabActivationDirection:"none"})),{previousValue:T,tabActivationDirection:E}=R,M=E,I=!1;T!==m&&(M=Q(T,m,l,x),I=null!=T&&null!=m&&null==C(m));let A=I?T:m,N=T!==A||E!==M;u(()=>{N&&P({previousValue:A,tabActivationDirection:M})},[A,N,M]);let L=h((e,t)=>{t.activationDirection=Q(m,e,l,x),i?.(e,t),t.isCanceled||y(e)}),D=h((e,t)=>{i?.(e,X(t,void 0,void 0,{activationDirection:"none"}))}),O=h((e,t)=>{b(n=>{if(n.get(e)===t)return n;let r=new Map(n);return r.set(e,t),r})}),z=h((e,t)=>{b(n=>{if(!n.has(e)||n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})}),H=o.useCallback(e=>v.get(e),[v]),j=o.useCallback(e=>{for(let t of x.values())if(e===t?.value)return t?.id},[x]),W=o.useMemo(()=>({getTabElementBySelectedValue:C,getTabIdByPanelValue:j,getTabPanelIdByValue:H,onValueChange:L,orientation:l,registerMountedTabPanel:O,setTabMap:S,unregisterMountedTabPanel:z,tabActivationDirection:M,value:m}),[C,j,H,L,l,O,S,z,M,m]),U=o.useMemo(()=>{for(let e of x.values())if(null!=e&&e.value===m)return e},[x,m]),$=o.useMemo(()=>{for(let e of x.values())if(null!=e&&!e.disabled)return e.value},[x]),_=o.useRef(!g),q=o.useRef(r),K=o.useRef(g),J=o.useRef(!1);u(()=>{if(w)return;function e(e,t){y(e),P(t=>
1t.previousValue===e&&"none"===t.tabActivationDirection?t:{previousValue:e,tabActivationDirection:"none"}),D(e,t),_.current=!1}if(0===x.size){J.current&&null!==m&&!k.current?.isConnected&&e(null,Y.missing);return}J.current=!0,k.current=x.keys().next().value;let t=U?.disabled,n=null==U&&null!==m;if(t||m!==q.current||(K.current=!1),K.current&&t&&m===q.current)return;let r=_.current;if(t||n){let n=$??null;if(m===n){_.current=!1;return}let i=Y.missing;r?i=Y.initial:t&&(i=Y.disabled),e(n,i);return}r&&null!=U&&(D(m,Y.initial),_.current=!1)},[$,w,D,U,y,x,m]);let Z=B("div",e,{state:{orientation:l,tabActivationDirection:M},ref:t,props:d,stateAttributesMapping:G});return(0,a.jsx)(V.Provider,{value:W,children:(0,a.jsx)(F,{elementsRef:p,children:Z})})});function Q(e,t,n,r){if(null==e||null==t)return"none";let i=null,l=null;for(let[n,a]of r.entries()){if(null==a)continue;let r=a.value??a.index;if(e===r&&(i=n),t===r&&(l=n),null!=i&&null!=l)break}if(null==i||null==l)return i!==l&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?"horizontal"===n?t>e?"right":"left":t>e?"down":"up":"none";let a=i.getBoundingClientRect(),o=l.getBoundingClientRect();if("horizontal"===n){if(o.left<a.left)return"left";if(o.left>a.left)return"right"}else{if(o.top<a.top)return"up";if(o.top>a.top)return"down"}return"none"}function Z(e){return e?.ownerDocument||document}let ee=0,et=s.useId;function en(e){var t="base-ui";if(void 0!==et){let n=et();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,r]=o.useState(e),i=e||n;return o.useEffect(()=>{null==n&&(ee+=1,r(`${t}-${ee}`))},[n,t]),i}(e,t)}function er(){return"u">typeof window}function ei(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function el(e){return!!er()&&(e instanceof HTMLElement||e instanceof ei(e).HTMLElement)}function ea(e){return ei(e).getComputedStyle(e)}let eo=o.createContext(void 0);function eu(e=!1){let t=o.useContext(eo);if(void 0===t&&!e)throw Error(b(16));return t}function es(e){return el(e)&&"BUTTON"===e.tagName}let ec="data-composite-item-active",ef=((n={})[n.None=0]="None",n[n.GuessFromOrder=1]="GuessFromOrder",n);function ed(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:i,index:l}=e,{register:a,unregister:s,subscribeMapChange:c,elementsRef:f,labelsRef:d,nextIndexRef:g}=o.useContext(W),h=o.useRef(-1),[p,v]=o.useState(l??(i===ef.GuessFromOrder?()=>{if(-1===h.current){let e=g.current;g.current+=1,h.current=e}return h.current}:-1)),b=o.useRef(null),m=o.useCallback(e=>{if(b.current=e,-1!==p&&null!==e&&(f.current[p]=e,d)){let n=void 0!==t;d.current[p]=n?t:r?.current?.textContent??e.textContent}},[p,f,d,t,r]);return u(()=>{if(null!=l)return;let e=b.current;if(e)return a(e,n),()=>{s(e)}},[l,a,s,n]),u(()=>{if(null==l)return c(e=>{let t=b.current?e.get(b.current)?.index:null;null!=t&&v(t)})},[l,c,v]),{ref:m,index:p}}let eg=o.createContext(void 0);function eh(){let e=o.useContext(eg);if(void 0===e)throw Error(b(65));return e}var Y=Y;function ep(e){return"composedPath"in e?e.composedPath()[0]:e.target}let ev=o.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:l,id:a,nativeButton:s=!0,style:c,...f}=e,{value:d,getTabPanelIdByValue:g,orientation:p,tabActivationDirection:v}=q(),{activateOnFocus:b,highlightedTabIndex:y,onTabActivation:w,registerTabResizeObserverElement:x,setHighlightedTabIndex:S,tabsListElement:k}=eh(),C=en(a),{compositeProps:R,compositeRef:P,index:T}=function(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=eu(),{ref:i,index:l}=ed(e),a=n===l,u=o.useRef(null),s=m(i,u);return{compositeProps:{tabIndex:a?0:-1,onFocus(){r(l)},onMouseMove(){let e=u.current;if(!t||!e)return;let n=e.hasAttribute("disabled")||"true"===e.ariaDisabled;a||n||e.focus()}},compositeRef:s,index:l}}({metadata:o.useMemo(()=>({disabled:r,id:C,value:l}),[r,C,l])}),M=l===d,I=o.useRef(!1),A=o.useRef(null);u(()=>{let e=A.current;if(e)return x(e)},[x]),u(()=>{if(I.current){I.current=!1;return}if(M&&T>-1&&y!==T){if(null!=k){let e=function(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}(Z(k));if(e&&function(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;
1if(n&&!(!er()||"u"<typeof ShadowRoot)&&(n instanceof ShadowRoot||n instanceof ei(n).ShadowRoot)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}(k,e))return}r||S(T)}},[M,T,y,S,r,k]);let{getButtonProps:N,buttonRef:L}=function(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:l}=e,a=o.useRef(null),s=eu(!0),c=l??void 0!==s,{props:f}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:l}=e,a=r&&!1!==t,u=r&&!1===t;return{props:o.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return r||(e.tabIndex=i,!l&&n&&(e.tabIndex=t?i:-1)),(l&&(t||a)||!l&&n)&&(e["aria-disabled"]=n),l&&(!t||u)&&(e.disabled=n),e},[r,n,t,a,u,l,i])}}({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:i}),d=o.useCallback(()=>{let e=a.current;es(e)&&c&&t&&void 0===f.disabled&&e.disabled&&(e.disabled=!1)},[t,f.disabled,c]);return u(d,[d]),{getButtonProps:o.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:l,onKeyDown:a,onPointerDown:o,...u}=e;return E({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){var r;if(t||(O(e),a?.(e),e.baseUIHandlerPrevented))return;let l=e.target===e.currentTarget,o=e.currentTarget,u=es(o),s=!i&&(r=o,!!(r?.tagName==="A"&&r?.href)),f=l&&(i?u:!s),d="Enter"===e.key,g=" "===e.key,h=o.getAttribute("role"),p=h?.startsWith("menuitem")||"option"===h||"gridcell"===h;if(l&&c&&g){if(e.defaultPrevented&&p)return;e.preventDefault(),s||i&&u?(o.click(),e.preventBaseUIHandler()):f&&(n?.(e),e.preventBaseUIHandler());return}f&&(!i&&(g||d)&&e.preventDefault(),!i&&d&&n?.(e))},onKeyUp(e){t||((O(e),l?.(e),e.target===e.currentTarget&&i&&c&&es(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||i||c||" "!==e.key||n?.(e)))},onPointerDown(e){t?e.preventDefault():o?.(e)}},i?{type:"button"}:{role:"button"},f,u)},[t,f,c,i]),buttonRef:h(e=>{a.current=e,d()})}}({disabled:r,native:s,focusableWhenDisabled:!0}),D=g(l),z=o.useRef(!1),H=o.useRef(!1);return B("button",e,{state:{disabled:r,active:M,orientation:p,tabActivationDirection:v},ref:[t,L,P,A],props:[R,{role:"tab","aria-controls":D,"aria-selected":M,id:C,onClick:function(e){M||r||w(l,X(Y.none,e.nativeEvent,void 0,{activationDirection:"none"}))},onFocus:function(e){M||(T>-1&&!r&&S(T),!r&&b&&(!z.current||z.current&&H.current)&&w(l,X(Y.none,e.nativeEvent,void 0,{activationDirection:"none"})))},onPointerDown:function(e){M||r||(z.current=!0,e.button&&0!==e.button||(H.current=!0,Z(e.currentTarget).addEventListener("pointerup",function(){z.current=!1,H.current=!1},{once:!0})))},[ec]:M?"":void 0,onKeyDownCapture(){I.current=!0}},f,N],stateAttributesMapping:G})}),eb=Math.round;function em(e){let t=ea(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=el(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r;return(eb(n)!==l||eb(r)!==a)&&(n=l,r=a),{width:n,height:r}}var ey=e.i(61461);function ew(){return C}function ex(){return!1}function eS(){return!0}let ek=((r={}).activeTabLeft="--active-tab-left",r.activeTabRight="--active-tab-right",r.activeTabTop="--active-tab-top",r.activeTabBottom="--active-tab-bottom",r.activeTabWidth="--active-tab-width",r.activeTabHeight="--active-tab-height",r),eC=o.createContext(void 0),eR={disableStyleElements:!1},eP={...G,activeTabPosition:()=>null,activeTabSize:()=>null},eT=o.forwardRef(function(e,t){let{className:n,render:r,renderBeforeHydration:i=!1,style:l,...u}=e,{nonce:s}=o.useContext(eC)??eR,{getTabElementBySelectedValue:c,orientation:f,tabActivationDirection:d,value:g}=q(),{tabsListElement:h,registerIndicatorUpdateListener:p}=eh(),v=(0,ey.useSyncExternalStore)(ew,ex,eS),b=function(){let[,e]=o.useState({});return o.useCallback(()=>{e({})},[])}();o.useEffect(()=>p(b),[p,b]);let m=0,y=0,w=0,x=0,S=0,k=0,C=!1;if(null!=g&&null!=h){let e=c(g);if(null!=e){C=!0;let{width:t,height:n}=em(e),{width:r,height:i}=em(h),l=e.getBoundingClientRect(),a=h.getBoundingClientRect(),o=r>0?a.width/r:1,u=i>0?a.height/i:1;if(Math.abs(o)>Number.EPSILON&&Math.abs(u)>Number.EPSILON){let e=l.left-a.left,t=l.top-a.top;m=e/o+h.scrollLeft-h.clientLeft,w=t/u+h.scrollTop-h.clientTop}else m=e.offsetLeft,w=e.offsetTop;S=t,k=n,y=h.scrollWidth-m-S,x=h.scrollHeight-w-k}}let R=C?{left:m,right:y,top:w,bottom:x}:null,P=C?{width:S,height:k}:null,T=B("span",e,{state:{orientation:f,activeTabPosition:R,activeTabSize:P,tabActivationDirection:d},ref:t,props:[{role:"presentation",style:C?{[ek.activeTabLeft]:`${m}px`,[ek.activeTabRight]:`${y}px`,[ek.activeTabTop]:`${w}px`,[ek.activeTabBottom]:`${x}px`,[ek.activeTabWidth]:`${S}px`,[ek.activeTabHeight]:`${k}px`}:void 0,hidden:!(C&&S>0&&k>0)},u,{suppressHydrationWarning:!0}],stateAttributesMapping:eP});return null==g?null:(0,a.jsxs)(o.Fragment,{children:[T,v&&i&&(0,a.jsx)("script",{nonce:s,dangerouslySetInnerHTML:{__html:'!function(){const t=document.currentScript.previousElementSibling;if(!t)return;const e=t.closest(\'[role="tablist"]\');if(!e)return;const i=e.querySelector("[data-active]");if(!i)return;if(0===i.offsetWidth||0===e.offsetWidth)return;let o=0,n=0,h=0,l=0,r=0,f=0;function s(t){const e=getComputedStyle(t);let i=parseFloat(e.width)||0,o=parseFloat(e.height)||0;return(Math.round(i)!==t.offsetWidth||Math.round(o)!==t.offsetHeight)&&(i=t.offsetWidth,o=t.offsetHeight),{width:i,height:o}}if(null!=i&&null!=e){const{width:t,height:c}=s(i),{width:u,height:d}=s(e),a=i.getBoundingClientRect(),g=e.getBoundingClientRect(),p=u>0?g.width/u:1,b=d>0?g.height/d:1;if(Math.abs(p)>Number.EPSILON&&Math.abs(b)>Number.EPSILON){const t=a.left-g.left,i=a.top-g.top;o=t/p+e.scrollLeft-e.clientLeft,h=i/b+e.scrollTop-e.clientTop}else o=i.offsetLeft,h=i.offsetTop;r=t,f=c,n=e.scrollWidth-o-r,l=e.scrollHeight-h-f}function c(e,i){t.style.setProperty(`--active-tab-${e}`,`${i}px`)}c("left",o),c("right",n),c("top",h),c("bottom",l),c("width",r),c("height",f),r>0&&f>0&&t.removeAttribute("hidden")}();'},suppressHydrationWarning:!0})]})}),eE=((i={}).startingStyle="data-starting-style",i.endingStyle="data-ending-style",i),eM={[eE.startingStyle]:""},eI={[eE.endingStyle]:""};var eA=e.i(2221);let eN=[],eL=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class eD{static create(){return new eD}static request(e){return eL.request(e)}static cancel(e){return eL.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=eL.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(eL.cancel(this.currentId),this.currentId=null)};
1disposeEffect=()=>this.cancel}let eO=((l={}).index="data-index",l.activationDirection="data-activation-direction",l.orientation="data-orientation",l.hidden="data-hidden",l[l.startingStyle=eE.startingStyle]="startingStyle",l[l.endingStyle=eE.endingStyle]="endingStyle",l),ez={...G,transitionStatus:e=>"starting"===e?eM:"ending"===e?eI:null},eH=o.forwardRef(function(e,t){var n;let{className:r,value:i,render:l,keepMounted:a=!1,style:s,...c}=e,{value:d,getTabIdByPanelValue:g,orientation:p,tabActivationDirection:v,registerMountedTabPanel:b,unregisterMountedTabPanel:m}=q(),y=en(),{ref:w,index:S}=ed({metadata:o.useMemo(()=>({id:y,value:i}),[y,i])}),k=i===d,{mounted:C,transitionStatus:R,setMounted:P}=function(e,t=!1,n=!1){let[r,i]=o.useState(e&&t?"idle":void 0),[l,a]=o.useState(e);return e&&!l&&(a(!0),i("starting")),e||!l||"ending"===r||n||i("ending"),e||l||"ending"!==r||i(void 0),u(()=>{if(!e&&l&&"ending"!==r&&n){let e=eD.request(()=>{i("ending")});return()=>{eD.cancel(e)}}},[e,l,r,n]),u(()=>{if(!e||t)return;let n=eD.request(()=>{i(void 0)});return()=>{eD.cancel(n)}},[t,e]),u(()=>{if(!e||!t)return;e&&l&&"idle"!==r&&i("starting");let n=eD.request(()=>{i("idle")});return()=>{eD.cancel(n)}},[t,e,l,r]),{mounted:l,setMounted:a,transitionStatus:r}}(k),T=!C,E=g(i),M=o.useRef(null),I=B("div",e,{state:{hidden:T,orientation:p,tabActivationDirection:v,transitionStatus:R},ref:[t,w,M],props:[{"aria-labelledby":E,hidden:T,id:y,role:"tabpanel",tabIndex:k?0:-1,inert:(n=!k,x>=19?n:n?"true":void 0),[eO.index]:S},c],stateAttributesMapping:ez});return(!function(e){let{enabled:t=!0,open:n,ref:r,onComplete:i}=e,l=h(i),a=function(e,t=!1,n=!0){var r;let i,l=(r=(i=f(eD.create).current).disposeEffect,o.useEffect(r,eN),i);return h((r,i=null)=>{l.cancel();let a=null==e?e:"current"in e?e.current:e;if(null==a)return;let o=()=>{eA.flushSync(r)};if("function"!=typeof a.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void r();function u(){Promise.all(a.getAnimations().map(e=>e.finished)).then(()=>{i?.aborted||o()}).catch(()=>{if(n){i?.aborted||o();return}let e=a.getAnimations();!i?.aborted&&e.length>0&&e.some(e=>e.pending||"finished"!==e.playState)&&u()})}if(t){let e=eE.startingStyle;if(!a.hasAttribute(e))return void l.request(u);let t=new MutationObserver(()=>{a.hasAttribute(e)||(t.disconnect(),u())});return t.observe(a,{attributes:!0,attributeFilter:[e]}),void i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}l.request(u)})}(r,n,!1);o.useEffect(()=>{if(!t)return;let e=new AbortController;return a(l,e.signal),()=>{e.abort()}},[t,n,l,a])}({open:k,ref:M,onComplete(){k||P(!1)}}),u(()=>{if((!T||a)&&null!=y)return b(i,y),()=>{m(i,y)}},[T,a,i,y,b,m]),a||C)?I:null}),eB="ArrowUp",ej="ArrowDown",eW="ArrowLeft",eF="ArrowRight",eU="Home",e$=new Set([eW,eF]),e_=new Set([eW,eF,eU,"End"]),eV=new Set([eB,ej]),eq=new Set([eB,ej,eU,"End"]),eK=new Set([...e$,...eV]),eG=new Set([...eK,eU,"End"]),eX=new Set(["Shift","Control","Alt","Meta"]);function eY(e){return!!(el(e)&&"INPUT"===e.tagName&&null!=e.selectionStart||el(e)&&"TEXTAREA"===e.tagName)}function eJ(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,l=e.scrollTop,a=e.clientWidth<e.scrollWidth,o=e.clientHeight<e.scrollHeight;if(a&&"vertical"!==r){let r=eQ(e,t,"left"),l=eZ(e),a=eZ(t);"ltr"===n&&(r+t.offsetWidth+a.scrollMarginRight>e.scrollLeft+e.clientWidth-l.scrollPaddingRight?i=r+t.offsetWidth+a.scrollMarginRight-e.clientWidth+l.scrollPaddingRight:r-a.scrollMarginLeft<e.scrollLeft+l.scrollPaddingLeft&&(i=r-a.scrollMarginLeft-l.scrollPaddingLeft)),"rtl"===n&&(r-a.scrollMarginRight<e.scrollLeft+l.scrollPaddingLeft?i=r-a.scrollMarginLeft-l.scrollPaddingLeft:r+t.offsetWidth+a.scrollMarginRight>e.scrollLeft+e.clientWidth-l.scrollPaddingRight&&(i=r+t.offsetWidth+a.scrollMarginRight-e.clientWidth+l.scrollPaddingRight))}if(o&&"horizontal"!==r){let n=eQ(e,t,"top"),r=eZ(e),i=eZ(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?l=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(l=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:l,behavior:"auto"})}function eQ(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function eZ(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||
10,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function e0(e,t){return t<0||t>=e.length}function e1(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let l=t;do l+=n?-i:i;while(l>=0&&l<=e.length-1&&e6(e,l,r))return l}function e6(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!function(e,t=e?ea(e):null){var n;return!!e&&!!e.isConnected&&!!t&&"hidden"!==(n=t).visibility&&"collapse"!==n.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}(r)||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}let e5=[],e4=o.createContext(void 0);function e8(e){let t,{render:n,className:r,style:i,refs:l=R,props:s=R,state:c=P,stateAttributesMapping:f,highlightedIndex:d,onHighlightedIndexChange:g,orientation:p,grid:v,loopFocus:b,onLoop:y,enableHomeAndEndKeys:w,onMapChange:x,stopEventPropagation:S=!0,rootRef:k,disabledIndices:C,modifierKeys:T,highlightItemOnHover:E=!1,tag:M="div",...I}=e,{props:A,highlightedIndex:N,onHighlightedIndexChange:L,elementsRef:D,onMapChange:O,relayKeyboardEvent:z}=function(e){let{loopFocus:t=!0,orientation:n="both",grid:r,onLoop:i,direction:l,highlightedIndex:a,onHighlightedIndexChange:s,rootRef:c,enableHomeAndEndKeys:f=!1,stopEventPropagation:d=!1,disabledIndices:g,modifierKeys:p=e5}=e,[v,b]=o.useState(0),y=null!=r,w=o.useRef(null),x=m(w,c),S=o.useRef([]),k=o.useRef(!1),C=a??v,R=h((e,t=!1)=>{if((s??b)(e),t){let t=S.current[e];eJ(w.current,t,l,n)}}),P=h(e=>{if(0===e.size||k.current)return;k.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(ec))??null,i=r?t.indexOf(r):-1;if(-1!==i)R(i);else if(e6(t,C,g)){let e=e1(t,{disabledIndices:g});e0(t,e)||R(e)}eJ(w.current,r,l,n)});u(()=>{if(null==g||null!=a||!k.current)return;let e=S.current;if(e6(e,C,g)){let t=e1(e,{disabledIndices:g});e0(e,t)||R(t)}},[g,a,C,S,R]);let T=h((e,t,n)=>i?i(e,t,n,S):n),E=h(e=>{let a=f?eG:eK;if(!a.has(e.key)||function(e,t){for(let n of eX.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}(e,p)||!w.current)return;let o="rtl"===l,u=o?eW:eF,s={horizontal:u,vertical:ej,both:u}[n],c=o?eF:eW,h={horizontal:c,vertical:eB,both:c}[n],v=ep(e.nativeEvent);if(null!=v&&eY(v)&&!(null==v||v.hasAttribute("disabled")||"true"===v.getAttribute("aria-disabled"))){let t=v.selectionStart,n=v.selectionEnd,r=v.value??"";if(null==t||e.shiftKey||t!==n||e.key!==h&&t<r.length||e.key!==s&&t>0)return}let b=C,m=e1(S.current,{disabledIndices:g}),x=e1(S.current,{decrement:!0,startingIndex:S.current.length,disabledIndices:g});null!=r&&(b=r({disabledIndices:g,elementsRef:S,event:e,highlightedIndex:C,loopFocus:t,maxIndex:x,minIndex:m,onLoop:T,orientation:n,rtl:o}));let k={horizontal:[u],vertical:[ej],both:[u,ej]}[n],P={horizontal:[c],vertical:[eB],both:[c,eB]}[n],E=y?a:({horizontal:f?e_:e$,vertical:f?eq:eV,both:a})[n];f&&(e.key===eU?b=m:"End"===e.key&&(b=x)),b===C&&(k.includes(e.key)||P.includes(e.key))&&(t&&b===x&&k.includes(e.key)?(b=m,i&&(b=i(e,C,b,S))):t&&b===m&&P.includes(e.key)?(b=x,i&&(b=i(e,C,b,S))):b=e1(S.current,{startingIndex:b,decrement:P.includes(e.key),disabledIndices:g})),b===C||e0(S.current,b)||(d&&e.stopPropagation(),E.has(e.key)&&e.preventDefault(),R(b,!0),queueMicrotask(()=>{S.current[b]?.focus()}))});return{props:{ref:x,onFocus(e){let t=w.current,n=ep(e.nativeEvent);t&&null!=n&&eY(n)&&n.setSelectionRange(0,n.value.length??0)},onKeyDown:E},highlightedIndex:C,onHighlightedIndexChange:R,elementsRef:S,disabledIndices:g,onMapChange:P,relayKeyboardEvent:E}}({grid:v,loopFocus:b,onLoop:y,orientation:p,highlightedIndex:d,onHighlightedIndexChange:g,rootRef:k,stopEventPropagation:S,enableHomeAndEndKeys:w,direction:(t=o.useContext(e4),t?.direction??"ltr"),disabledIndices:C,modifierKeys:T}),H=B(M,e,{state:c,ref:l,props:[A,...s,I],stateAttributesMapping:f}),j=o.useMemo(()=>({highlightedIndex:N,onHighlightedIndexChange:L,highlightItemOnHover:E,relayKeyboardEvent:z}),[N,L,E,z]);return(0,a.jsx)(eo.Provider,{value:j,children:(0,a.jsx)(F,{elementsRef:D,onMapChange:e=>{x?.(e),O(e)},children:H})})}let e2=o.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:l,style:s,...c}=e,{onValueChange:f,orientation:d,value:g,setTabMap:p,tabActivationDirection:v}=q(),[b,m]=o.useState(0),[y,w]=o.useState(null),x=o.useRef(new Set),S=o.useRef(new Set),k=o.useRef(null);u(()=>{if("u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>
1{x.current.forEach(e=>{e()})});return k.current=e,y&&e.observe(y),S.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),k.current=null}},[y]);let C=h(e=>(x.current.add(e),()=>{x.current.delete(e)})),P=h(e=>(S.current.add(e),k.current?.observe(e),()=>{S.current.delete(e),k.current?.unobserve(e)})),T=h((e,t)=>{e!==g&&f(e,t)}),E=o.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:b,registerIndicatorUpdateListener:C,registerTabResizeObserverElement:P,onTabActivation:T,setHighlightedTabIndex:m,tabsListElement:y}),[n,b,C,P,T,m,y]);return(0,a.jsx)(eg.Provider,{value:E,children:(0,a.jsx)(e8,{render:l,className:r,style:s,state:{orientation:d,tabActivationDirection:v},refs:[t,w],props:[{"aria-orientation":"vertical"===d?"vertical":void 0,role:"tablist"},c],stateAttributesMapping:G,highlightedIndex:b,enableHomeAndEndKeys:!0,loopFocus:i,orientation:d,onHighlightedIndexChange:m,onMapChange:p,disabledIndices:R})})});e.s(["Indicator",0,eT,"List",0,e2,"Panel",0,eH,"Root",0,J,"Tab",0,ev],12146);var e7=e.i(12146),e7=e7,e3=e.i(62244),e9=e.i(99738);let te=(0,e3.cva)("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col",{variants:{variant:{default:"bg-muted",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});e.s(["Tabs",0,function({className:e,orientation:t="horizontal",...n}){return(0,a.jsx)(e7.Root,{"data-slot":"tabs","data-orientation":t,className:(0,e9.cn)("gap-2 group/tabs flex data-horizontal:flex-col",e),...n})},"TabsContent",0,function({className:e,...t}){return(0,a.jsx)(e7.Panel,{"data-slot":"tabs-content",className:(0,e9.cn)("text-sm flex-1 outline-none",e),...t})},"TabsList",0,function({className:e,variant:t="default",...n}){return(0,a.jsx)(e7.List,{"data-slot":"tabs-list","data-variant":t,className:(0,e9.cn)(te({variant:t}),e),...n})},"TabsTrigger",0,function({className:e,...t}){return(0,a.jsx)(e7.Tab,{"data-slot":"tabs-trigger",className:(0,e9.cn)("gap-1.5 rounded-lg border border-transparent px-3 py-1.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent","data-active:bg-background data-active:border-border data-active:border dark:data-active:bg-input/30 dark:data-active:border-input dark:data-active:text-foreground data-active:text-foreground","after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",e),...t})},"tabsListVariants",0,te],68546)}]);
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.