1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,345125,e=>{"use strict";var t=e.i(179995),o=e.i(291967),r=e.i(508885),n=e.i(988883),i=e.i(671795),s=e.i(59066),a=e.i(254353),l=e.i(464159),u=e.i(34623),c=e.i(364506),f=e.i(509273),d="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[m,h,w]=(0,r.createCollection)(v),[b,g]=(0,i.createContextScope)(v,[w]),[R,y]=b(v),E=t.forwardRef((e,t)=>(0,f.jsx)(m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(F,{...e,ref:t})})}));E.displayName=v;var F=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:i,orientation:s,loop:m=!1,dir:w,currentTabStopId:b,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:y,onEntryFocus:E,preventScrollOnEntryFocus:F=!1,...A}=e,C=t.useRef(null),I=(0,n.useComposedRefs)(r,C),x=(0,c.useDirection)(w),[S,D]=(0,u.useControllableState)({prop:b,defaultProp:g??null,onChange:y,caller:v}),[K,P]=t.useState(!1),j=(0,l.useCallbackRef)(E),k=h(i),H=t.useRef(!1),[G,L]=t.useState(0);return t.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(d,j),()=>e.removeEventListener(d,j)},[j]),(0,f.jsx)(R,{scope:i,orientation:s,dir:x,loop:m,currentTabStopId:S,onItemFocus:t.useCallback(e=>D(e),[D]),onItemShiftTab:t.useCallback(()=>P(!0),[]),onFocusableItemAdd:t.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>L(e=>e-1),[]),children:(0,f.jsx)(a.Primitive.div,{tabIndex:K||0===G?-1:0,"data-orientation":s,...A,ref:I,style:{outline:"none",...e.style},onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,()=>{H.current=!0}),onFocus:(0,o.composeEventHandlers)(e.onFocus,e=>{let t=!H.current;if(e.target===e.currentTarget&&t&&!K){let t=new CustomEvent(d,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),F)}}H.current=!1}),onBlur:(0,o.composeEventHandlers)(e.onBlur,()=>P(!1))})})}),A="RovingFocusGroupItem",C=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,focusable:i=!0,active:l=!1,tabStopId:u,children:c,...d}=e,p=(0,s.useId)(),v=u||p,w=y(A,n),b=w.currentTabStopId===v,g=h(n),{onFocusableItemAdd:R,onFocusableItemRemove:E,currentTabStopId:F}=w;return t.useEffect(()=>{if(i)return R(),()=>E()},[i,R,E]),(0,f.jsx)(m.ItemSlot,{scope:n,id:v,focusable:i,active:l,children:(0,f.jsx)(a.Primitive.span,{tabIndex:b?0:-1,"data-orientation":w.orientation,...d,ref:r,onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,e=>{i?w.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>w.onItemFocus(v)),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void w.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,o){var r;let n=(r=e.key,"rtl"!==o?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return I[n]}(e,w.orientation,w.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){var o,r;"prev"===t&&n.reverse();let i=n.indexOf(e.currentTarget);n=w.loop?(o=n,r=i+1,o.map((e,t)=>o[(r+t)%o.length])):n.slice(i+1)}setTimeout(()=>T(n))}}),children:"function"==typeof c?c({isCurrentTabStop:b,hasTabStop:null!=F}):c})})});C.displayName=A;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e,t=!1){let o=document.activeElement;for(let r of e)if(r===o||(r.focus({preventScroll:t}),document.activeElement!==o))return}e.s(["Item",0,C,"Root",0,E,"createRovingFocusGroupScope",0,g])},126410,e=>{"use strict";let t=(0,e.i(964263).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],126410)}]);
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.