1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36049,71102,e=>{"use strict";e.s([],92145),e.i(92145);var t=e.i(16765),n=e.i(81190),r=e.i(21913),o=e.i(27405),i=e.i(6096),a=e.i(75201),s=e.i(60594),u=e.i(82442),l=e.i(98649),c=e.i(81823),d=e.i(70362),p=e.i(98134);function g(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:o,onOpenChangeComplete:i,disablePointerDismissal:g=!1,modal:f=!0,actionsRef:v,handle:m,triggerId:R,defaultTriggerId:S=null}=e,C=(0,c.useDialogRootContext)(!0),D=!!C,E=(0,s.useRefWithInit)(()=>m?.store??new d.DialogStore({open:r,openProp:n,activeTriggerId:S,triggerIdProp:R,modal:f,disablePointerDismissal:g,nested:D})).current;(0,u.useOnFirstRender)(()=>{void 0===n&&!1===E.state.open&&!0===r&&E.update({open:!0,activeTriggerId:S})}),E.useControlledProp("openProp",n),E.useControlledProp("triggerIdProp",R),E.useSyncedValues({disablePointerDismissal:g,nested:D,modal:f}),E.useContextCallback("onOpenChange",o),E.useContextCallback("onOpenChangeComplete",i);let h=E.useState("payload");(0,l.useDialogRoot)({store:E,actionsRef:v,parentContext:C?.store.context,onOpenChange:o,triggerIdProp:R});let x=a.useMemo(()=>({store:E}),[E]);return(0,p.jsx)(c.DialogRootContext.Provider,{value:x,children:"function"==typeof t?t({payload:h}):t})}var f=e.i(82090),v=e.i(91705),m=e.i(61251),R=e.i(43236);e.s(["Backdrop",()=>t.DialogBackdrop,"Close",()=>n.DialogClose,"Description",()=>r.DialogDescription,"Handle",()=>R.DialogHandle,"Popup",()=>o.DialogPopup,"Portal",()=>i.DialogPortal,"Root",()=>g,"Title",()=>v.DialogTitle,"Trigger",()=>m.DialogTrigger,"Viewport",()=>f.DialogViewport,"createHandle",()=>R.createDialogHandle],4920);var S=e.i(4920);e.s(["Dialog",0,S],36049);var C=e.i(74348);e.s(["XIcon",()=>C.default],71102)},81823,e=>{"use strict";var t=e.i(68534),n=e.i(75201);let r=n.createContext(void 0);function o(e){let o=n.useContext(r);if(!1===e&&void 0===o)throw Error((0,t.default)(27));return o}e.s(["DialogRootContext",0,r,"useDialogRootContext",()=>o])},16765,81190,21913,98911,27405,6096,e=>{"use strict";e.i(82637);var t,n,r=e.i(75201),o=e.i(81823),i=e.i(64411),a=e.i(3379),s=e.i(13489);let u={...a.popupStateMapping,...s.transitionStatusMapping},l=r.forwardRef(function(e,t){let{render:n,className:r,forceRender:a=!1,...s}=e,{store:l}=(0,o.useDialogRootContext)(),c=l.useState("open"),d=l.useState("nested"),p=l.useState("mounted"),g=l.useState("transitionStatus");return(0,i.useRenderElement)("div",e,{state:{open:c,transitionStatus:g},ref:[l.context.backdropRef,t],stateAttributesMapping:u,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},s],enabled:a||!d})});e.s(["DialogBackdrop",0,l],16765);var c=e.i(84573),d=e.i(68715),p=e.i(33443);let g=r.forwardRef(function(e,t){let{render:n,className:r,disabled:a=!1,nativeButton:s=!0,...u}=e,{store:l}=(0,o.useDialogRootContext)(),g=l.useState("open"),{getButtonProps:f,buttonRef:v}=(0,c.useButton)({disabled:a,native:s});return(0,i.useRenderElement)("button",e,{state:{disabled:a},ref:[t,v],props:[{onClick:function(e){g&&l.setOpen(!1,(0,d.createChangeEventDetails)(p.REASONS.closePress,e.nativeEvent))}},u,f]})});e.s(["DialogClose",0,g],81190);var f=e.i(75401);let v=r.forwardRef(function(e,t){let{render:n,className:r,id:a,...s}=e,{store:u}=(0,o.useDialogRootContext)(),l=(0,f.useBaseUiId)(a);return u.useSyncedValueWithCleanup("descriptionElementId",l),(0,i.useRenderElement)("p",e,{ref:t,props:[{id:l},s]})});e.s(["DialogDescription",0,v],21913);var m=e.i(59305);let R=((t={}).nestedDialogs="--nested-dialogs",t),S=((n={})[n.open=a.CommonPopupDataAttributes.open]="open",n[n.closed=a.CommonPopupDataAttributes.closed]="closed",n[n.startingStyle=a.CommonPopupDataAttributes.startingStyle]="startingStyle",n[n.endingStyle=a.CommonPopupDataAttributes.endingStyle]="endingStyle",n.nested="data-nested",n.nestedDialogOpen="data-nested-dialog-open",n);var C=e.i(68534);let D=r.createContext(void 0);function E(){let e=r.useContext(D);if(void 0===e)throw Error((0,C.default)(26));return e}e.s(["DialogPortalContext",0,D,"useDialogPortalContext",()=>E],98911);var h=e.i(80147),x=e.i(10007),y=e.i(98134);let O={...a.popupStateMapping,...s.transitionStatusMapping,nestedDialogOpen:e=>e?{[S.nestedDialogOpen]:""}:null},b=r.forwardRef(function(e,t){let{className:n,finalFocus:r,initialFocus:a,render:s,...u}=e,{store:l}=(0,o.useDialogRootContext)(),c=l.useState("descriptionElementId"),d=l.useState("disablePointerDismissal"),p=l.useState("floatingRootContext"),g=l.useState("popupProps"),f=l.useState("modal"),v=l.useState("mounted"),S=l.useState("nested"),C=l.useState("nestedOpenDialogCount"),D=l.useState("open"),b=l.useState("openMethod"),I=l.useState("titleElementId"),k=l.useState("transitionStatus"),T=l.useState("role");E(),(0,h.useOpenChangeComplete)({open:D,ref:l.context.popupRef,onComplete(){D&&l.context.onOpenChangeComplete?.(!0)}});let P=void 0===a?function(e){return"touch"!==e||l.context.popupRef.current}:a,A=(0,i.useRenderElement)("div",e,{state:{open:D,nested:S,transitionStatus:k,nestedDialogOpen:C>0},props:[g,{"aria-labelledby":I??void 0,"aria-describedby":c??void 0,role:T,tabIndex:-1,hidden:!v,onKeyDown(e){x.COMPOSITE_KEYS.has(e.key)&&e.stopPropagation()},style:{[R.nestedDialogs]:C}},u],ref:[t,l.context.popupRef,l.useStateSetter("popupElement")],stateAttributesMapping:O});return(0,y.jsx)(m.FloatingFocusManager,{context:p,openInteractionType:b,disabled:!v,closeOnFocusOut:!d,initialFocus:P,returnFocus:r,modal:!1!==f,restoreFocus:"popup",children:A})});e.s(["DialogPopup",0,b],27405);var I=e.i(29720),k=e.i(70972),T=e.i(46405);let P=r.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i}=(0,o.useDialogRootContext)(),a=i.useState("mounted"),s=i.useState("modal"),u=i.useState("open");return a||n?(0,y.jsx)(D.Provider,{value:n,children:(0,y.jsxs)(k.FloatingPortal,{ref:t,...r,children:[a&&!0===s&&(0,y.jsx)(T.InternalBackdrop,{ref:i.context.
1internalBackdropRef,inert:(0,I.inertValue)(!u)}),e.children]})}):null});e.s(["DialogPortal",0,P],6096)},98649,e=>{"use strict";var t=e.i(75201),n=e.i(71503),r=e.i(27524),o=e.i(13168),i=e.i(55396),a=e.i(61759),s=e.i(64682),u=e.i(9363),l=e.i(26981),c=e.i(68715),d=e.i(33443),p=e.i(9944);function g(e){let{store:g,parentContext:f,actionsRef:v}=e,m=g.useState("open"),R=g.useState("disablePointerDismissal"),S=g.useState("modal"),C=g.useState("popupElement"),{openMethod:D,triggerProps:E,reset:h}=(0,l.useOpenInteractionType)(m);(0,p.useImplicitActiveTrigger)(g);let{forceUnmount:x}=(0,p.useOpenStateTransitions)(m,g,()=>{h()}),y=(0,n.useStableCallback)(e=>{let t=(0,c.createChangeEventDetails)(e);return t.preventUnmountOnClose=()=>{g.set("preventUnmountingOnClose",!0)},t}),O=t.useCallback(()=>{g.setOpen(!1,y(d.REASONS.imperativeAction))},[g,y]);t.useImperativeHandle(v,()=>({unmount:x,close:O}),[x,O]);let b=(0,s.useSyncedFloatingRootContext)({popupStore:g,onOpenChange:g.setOpen,treatPopupAsFloatingElement:!0,noEmit:!0}),[I,k]=t.useState(0),T=0===I,P=(0,a.useRole)(b),A=(0,o.useDismiss)(b,{outsidePressEvent:()=>g.context.internalBackdropRef.current||g.context.backdropRef.current?"intentional":{mouse:"trap-focus"===S?"sloppy":"intentional",touch:"sloppy"},outsidePress(e){if(!g.context.outsidePressEnabledRef.current||"button"in e&&0!==e.button||"touches"in e&&1!==e.touches.length)return!1;let t=(0,u.getTarget)(e);return!!T&&!R&&(!S||!g.context.internalBackdropRef.current&&!g.context.backdropRef.current||g.context.internalBackdropRef.current===t||g.context.backdropRef.current===t||(0,u.contains)(t,C)&&!t?.hasAttribute("data-base-ui-portal"))},escapeKey:T});(0,r.useScrollLock)(m&&!0===S,C);let{getReferenceProps:w,getFloatingProps:M,getTriggerProps:L}=(0,i.useInteractions)([P,A]);g.useContextCallback("onNestedDialogOpen",e=>{k(e+1)}),g.useContextCallback("onNestedDialogClose",()=>{k(0)}),t.useEffect(()=>(f?.onNestedDialogOpen&&m&&f.onNestedDialogOpen(I),f?.onNestedDialogClose&&!m&&f.onNestedDialogClose(),()=>{f?.onNestedDialogClose&&m&&f.onNestedDialogClose()}),[m,f,I]);let N=t.useMemo(()=>w(E),[w,E]),F=t.useMemo(()=>L(E),[L,E]),W=t.useMemo(()=>M(),[M]);g.useSyncedValues({openMethod:D,activeTriggerProps:N,inactiveTriggerProps:F,popupProps:W,floatingRootContext:b,nestedOpenDialogCount:I})}e.s(["useDialogRoot",()=>g])},70362,e=>{"use strict";var t=e.i(75201),n=e.i(95508),r=e.i(97210),o=e.i(13565),i=e.i(59764);let a={...o.popupStoreSelectors,modal:(0,n.createSelector)(e=>e.modal),nested:(0,n.createSelector)(e=>e.nested),nestedOpenDialogCount:(0,n.createSelector)(e=>e.nestedOpenDialogCount),disablePointerDismissal:(0,n.createSelector)(e=>e.disablePointerDismissal),openMethod:(0,n.createSelector)(e=>e.openMethod),descriptionElementId:(0,n.createSelector)(e=>e.descriptionElementId),titleElementId:(0,n.createSelector)(e=>e.titleElementId),viewportElement:(0,n.createSelector)(e=>e.viewportElement),role:(0,n.createSelector)(e=>e.role)};class s extends r.ReactStore{constructor(e){super(function(e={}){return{...(0,o.createInitialPopupStoreState)(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,role:"dialog",...e}}(e),{popupRef:t.createRef(),backdropRef:t.createRef(),internalBackdropRef:t.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:new i.PopupTriggerMap,onOpenChange:void 0,onOpenChangeComplete:void 0},a)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;let n={open:e,nativeEvent:t.event,reason:t.reason,nested:this.state.nested};this.state.floatingRootContext.context.events?.emit("openchange",n);let r={open:e},o=t.trigger?.id??null;(o||e)&&(r.activeTriggerId=o,r.activeTriggerElement=t.trigger??null),this.update(r)}}e.s(["DialogStore",()=>s])},82090,e=>{"use strict";e.i(82637);var t,n=e.i(75201),r=e.i(64411),o=e.i(3379),i=e.i(13489),a=e.i(81823),s=e.i(98911);let u=((t={})[t.open=o.CommonPopupDataAttributes.open]="open",t[t.closed=o.CommonPopupDataAttributes.closed]="closed",t[t.startingStyle=o.CommonPopupDataAttributes.startingStyle]="startingStyle",t[t.endingStyle=o.CommonPopupDataAttributes.endingStyle]="endingStyle",t.nested="data-nested",t.nestedDialogOpen="data-nested-dialog-open",t),l={...o.popupStateMapping,...i.transitionStatusMapping,nested:e=>e?{[u.nested]:""}:null,nestedDialogOpen:e=>e?{[u.nestedDialogOpen]:""}:null},c=n.forwardRef(function(e,t){let{className:n,render:o,children:i,...u}=e,c=(0,s.useDialogPortalContext)(),{store:d}=(0,a.useDialogRootContext)(),p=d.useState("open"),g=d.useState("nested"),f=d.useState("transitionStatus"),v=d.useState("nestedOpenDialogCount"),m=d.useState("mounted");return(0,r.useRenderElement)("div",e,{enabled:c||m,state:{open:p,nested:g,transitionStatus:f,nestedDialogOpen:v>0},ref:[t,d.useStateSetter("viewportElement")],stateAttributesMapping:l,props:[{role:"presentation",hidden:!m,style:{pointerEvents:p?void 0:"none"},children:i},u]})});e.s(["DialogViewport",0,c],82090)},91705,61251,e=>{"use strict";e.i(82637);var t=e.i(75201),n=e.i(81823),r=e.i(64411),o=e.i(75401);let i=t.forwardRef(function(e,t){let{render:i,className:a,id:s,...u}=e,{store:l}=(0,n.useDialogRootContext)(),c=(0,o.useBaseUiId)(s);return l.useSyncedValueWithCleanup("titleElementId",c),(0,r.useRenderElement)("h2",e,{ref:t,props:[{id:c},u]})});e.s(["DialogTitle",0,i],91705);var a=e.i(68534),s=e.i(84573),u=e.i(3379),l=e.i(5247),c=e.i(9944),d=e.i(17342),p=e.i(55396);let g=t.forwardRef(function(e,i){let{render:g,className:f,disabled:v=!1,nativeButton:m=!0,id:R,payload:S,handle:C,...D}=e,E=(0,n.useDialogRootContext)(!0),h=C?.store??E?.store;if(!h)throw Error((0,a.default)(79));let x=(0,o.useBaseUiId)(R),y=h.useState("floatingRootContext"),O=h.useState("isOpenedByTrigger",x),b=t.useRef(null),{registerTrigger:I,isMountedByThisTrigger:k}=(0,c.useTriggerDataForwarding)(x,b,h,{payload:S}),{getButtonProps:T,buttonRef:P}=(0,s.useButton)({disabled:v,native:m}),A=(0,d.useClick)(y,{enabled:null!=y}),w=(0,p.useInteractions)([A]),M=h.useState("triggerProps",k);return(0,r.useRenderElement)("button",e,{state:{disabled:v,open:O},ref:[P,i,I,b],props:[w.getReferenceProps(),M,{[l.CLICK_TRIGGER_IDENTIFIER]:"",id:x},D,T],stateAttributesMapping:u.triggerOpenStateMapping})});e.s(["DialogTrigger",0,g],61251)},43236,e=>{"use strict";var t=e.i(70362),n=e.i(68715),r=e.i(33443);class o{constructor(e){this.store=e??new t.DialogStore}open(e){let t=e?this.store.context.triggerElements.getById(e):void 0;this.store.setOpen(!0,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction,void 0,t))}openWithPayload(e){this.store.set("payload",e),this.store.setOpen(!0,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction,void 0,void 0))}close(){this.store.setOpen(!1,(0,n.createChangeEventDetails)(r.REASONS.imperativeAction,void 0,void 0))}get isOpen(){return this.store.state.open}}function i(){return new o}e.s(["DialogHandle",()=>o,"createDialogHandle",()=>i])},74348,e=>{"use strict";let t=(0,e.i(91762).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t])},47568,34941,44384,e=>{"use strict";e.i(82637);var t=e.i(75201),n=e.i(92615),r=e.i(56447),o=e.i(71503),i=e.i(38932),a=e.i(1630),s=e.i(9363),u=e.i(78032),l=e.i(84384),c=e.i(71525),d=e.i(68715),p=e.i(33443),g=e.i(39820),f=e.i(72548);function v(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function m(e,t){return v(t,e===f.ARROW_UP||e===f.ARROW_DOWN,e===f.ARROW_LEFT||e===f.ARROW_RIGHT)}function R(e,t,n){return v(t,e===f.ARROW_DOWN,n?e===f.ARROW_LEFT:e===f.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}function S(e,S){let C="rootStore"in e?e.rootStore:e,D=C.useState("open"),E=C.useState("floatingElement"),h=C.useState("domReferenceElement"),x=C.context.dataRef,{listRef:y,activeIndex:O,onNavigate:b=()=>{},enabled:I=!0,selectedIndex:k=null,allowEscape:T=!1,loopFocus:P=!1,nested:A=!1,rtl:w=!1,virtual:M=!1,focusItemOnOpen:L="auto",focusItemOnHover:N=!0,openOnArrowKeyDown:F=!0,disabledIndices:W,orientation:B="vertical",parentOrientation:_,cols:V=1,id:H,resetOnPointerLeave:K=!0,externalTree:U}=S,G=(0,s.getFloatingFocusElement)(E),j=(0,r.useValueAsRef)(G),q=(0,c.useFloatingParentNodeId)(),z=(0,c.useFloatingTree)(U);(0,i.useIsoLayoutEffect)(()=>{x.current.orientation=B},[x,B]);let $=(0,s.isTypeableCombobox)(h),X=t.useRef(L),Y=t.useRef(k??-1),J=t.useRef(null),Q=t.useRef(!0),Z=(0,o.useStableCallback)(e=>{b(-1===Y.current?null:Y.current,e)}),ee=t.useRef(Z),et=t.useRef(!!E),en=t.useRef(D),er=t.useRef(!1),eo=t.useRef(!1),ei=(0,r.useValueAsRef)(W),ea=(0,r.useValueAsRef)(D),es=(0,r.useValueAsRef)(k),eu=(0,r.useValueAsRef)(K),el=(0,o.useStableCallback)(()=>{function e(e){M?z?.events.emit("virtualfocus",e):(0,g.enqueueFocus)(e,{sync:er.current,preventScroll:!0})}let t=y.current[Y.current],n=eo.current;t&&e(t),(er.current?e=>e():requestAnimationFrame)(()=>{let r=y.current[Y.current]||t;!r||(t||e(r),ed&&(n||!Q.current)&&r.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,i.useIsoLayoutEffect)(()=>{I&&(D&&E?(Y.current=k??-1,X.current&&null!=k&&(eo.current=!0,Z())):et.current&&(Y.current=-1,ee.current()))},[I,D,E,k,Z]),(0,i.useIsoLayoutEffect)(()=>{if(I){if(!D){er.current=!1;return}if(E)if(null==O){if(er.current=!1,null!=es.current)return;if(et.current&&(Y.current=-1,el()),(!en.current||!et.current)&&X.current&&(null!=J.current||!0===X.current&&null==J.current)){let e=0,t=()=>{null==y.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(Y.current=null==J.current||R(J.current,B,w)||A?(0,l.getMinListIndex)(y):(0,l.getMaxListIndex)(y),J.current=null,Z())};t()}}else(0,l.isIndexOutOfListBounds)(y,O)||(Y.current=O,el(),eo.current=!1)}},[I,D,E,O,es,A,y,B,w,Z,el,ei]),(0,i.useIsoLayoutEffect)(()=>{if(!I||E||!z||M||!et.current)return;let e=z.nodesRef.current,t=e.find(e=>e.id===q)?.context?.elements.floating,n=(0,s.activeElement)((0,a.ownerDocument)(E)),r=e.some(e=>e.context&&(0,s.contains)(e.context.elements.floating,n));t&&!r&&Q.current&&t.focus({preventScroll:!0})},[I,E,z,q,M]),(0,i.useIsoLayoutEffect)(()=>{ee.current=Z,en.current=D,et.current=!!E}),(0,i.useIsoLayoutEffect)(()=>{D||(J.current=null,X.current=L)},[D,L]);let ec=null!=O,ed=t.useMemo(()=>{function e(e){if(!ea.current)return;let t=y.current.indexOf(e.currentTarget);-1!==t&&Y.current!==t&&(Y.current=t,Z(e))}return{onFocus(t){er.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){er.current=!0,eo.current=!1,N&&e(t)},onPointerLeave(e){if(!ea.current||!Q.current||"touch"===e.pointerType)return;er.current=!0;let t=e.relatedTarget;!N||y.current.includes(t)||eu.current&&((0,g.enqueueFocus)(null,{sync:!0}),Y.current=-1,Z(e),M||j.current?.focus({preventScroll:!0}))}}},[ea,j,N,y,Z,eu,M]),ep=t.useCallback(()=>_??z?.nodesRef.current.find(e=>e.id===q)?.context?.dataRef?.current.orientation,[q,z,_]),eg=(0,o.useStableCallback)(e=>{var t;let r,o;if(Q.current=!1,er.current=!0,229===e.which||!ea.current&&e.currentTarget===j.current)return;if(A&&(t=e.key,r=w?t===f.ARROW_RIGHT:t===f.ARROW_LEFT,o=t===f.ARROW_UP,"both"===B||"horizontal"===B&&V&&V>1?"Escape"===t:v(B,r,o))){m(e.key,ep())||(0,u.stopEvent)(e),C.setOpen(!1,(0,d.createChangeEventDetails)(p.REASONS.listNavigation,e.nativeEvent)),(0,n.isHTMLElement)(h)&&(M?z?.events.emit("virtualfocus",h):h.focus());return}let i=Y.current,a=(0,l.getMinListIndex)(y,W),c=(0,l.getMaxListIndex)(y,W);
1if($||("Home"===e.key&&((0,u.stopEvent)(e),Y.current=a,Z(e)),"End"===e.key&&((0,u.stopEvent)(e),Y.current=c,Z(e))),V>1){let t=Array.from({length:y.current.length},()=>({width:1,height:1})),n=(0,l.createGridCellMap)(t,V,!1),r=n.findIndex(e=>null!=e&&!(0,l.isListIndexDisabled)(y,e,W)),o=n.reduce((e,t,n)=>null==t||(0,l.isListIndexDisabled)(y,t,W)?e:n,-1),i=n[(0,l.getGridNavigatedIndex)({current:n.map(e=>null!=e?y.current[e]:null)},{event:e,orientation:B,loopFocus:P,rtl:w,cols:V,disabledIndices:(0,l.getGridCellIndices)([...("function"!=typeof W?W:null)||y.current.map((e,t)=>(0,l.isListIndexDisabled)(y,t,W)?t:void 0),void 0],n),minIndex:r,maxIndex:o,prevIndex:(0,l.getGridCellIndexOfCorner)(Y.current>c?a:Y.current,t,n,V,e.key===f.ARROW_DOWN?"bl":e.key===(w?f.ARROW_LEFT:f.ARROW_RIGHT)?"tr":"tl"),stopEvent:!0})];if(null!=i&&(Y.current=i,Z(e)),"both"===B)return}if(m(e.key,B)){if((0,u.stopEvent)(e),D&&!M&&(0,s.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){Y.current=R(e.key,B,w)?a:c,Z(e);return}R(e.key,B,w)?P?i>=c?T&&i!==y.current.length?Y.current=-1:(er.current=!1,Y.current=a):Y.current=(0,l.findNonDisabledListIndex)(y,{startingIndex:i,disabledIndices:W}):Y.current=Math.min(c,(0,l.findNonDisabledListIndex)(y,{startingIndex:i,disabledIndices:W})):P?i<=a?T&&-1!==i?Y.current=y.current.length:(er.current=!1,Y.current=c):Y.current=(0,l.findNonDisabledListIndex)(y,{startingIndex:i,decrement:!0,disabledIndices:W}):Y.current=Math.max(a,(0,l.findNonDisabledListIndex)(y,{startingIndex:i,decrement:!0,disabledIndices:W})),(0,l.isIndexOutOfListBounds)(y,Y.current)&&(Y.current=-1),Z(e)}}),ef=t.useMemo(()=>M&&D&&ec&&{"aria-activedescendant":`${H}-${O}`},[M,D,ec,H,O]),ev=t.useMemo(()=>({"aria-orientation":"both"===B?void 0:B,...!$?ef:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&D&&!M){let t=(0,s.getTarget)(e.nativeEvent);if(t&&!(0,s.contains)(j.current,t))return;(0,u.stopEvent)(e),C.setOpen(!1,(0,d.createChangeEventDetails)(p.REASONS.focusOut,e.nativeEvent)),(0,n.isHTMLElement)(h)&&h.focus();return}eg(e)},onPointerMove(){Q.current=!0}}),[ef,eg,j,B,$,C,D,M,h]),em=t.useMemo(()=>{function e(e){"auto"===L&&(0,u.isVirtualClick)(e.nativeEvent)&&(X.current=!M)}function t(e){X.current=L,"auto"===L&&(0,u.isVirtualPointerEvent)(e.nativeEvent)&&(X.current=!0)}return{onKeyDown(e){var t,n;let r=C.select("open");Q.current=!1;let o=e.key.startsWith("Arrow"),i=(t=e.key,n=ep(),v(n,w?t===f.ARROW_LEFT:t===f.ARROW_RIGHT,t===f.ARROW_DOWN)),a=m(e.key,B),s=(A?i:a)||"Enter"===e.key||""===e.key.trim();if(M&&r)return eg(e);if(r||F||!o){if(s){let t=m(e.key,ep());J.current=A&&t?null:e.key}if(A){i&&((0,u.stopEvent)(e),r?(Y.current=(0,l.getMinListIndex)(y,ei.current),Z(e)):C.setOpen(!0,(0,d.createChangeEventDetails)(p.REASONS.listNavigation,e.nativeEvent,e.currentTarget)));return}a&&(null!=es.current&&(Y.current=es.current),(0,u.stopEvent)(e),!r&&F?C.setOpen(!0,(0,d.createChangeEventDetails)(p.REASONS.listNavigation,e.nativeEvent,e.currentTarget)):eg(e),r&&Z(e))}},onFocus(e){C.select("open")&&!M&&(Y.current=-1,Z(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[eg,ei,L,y,A,Z,C,F,B,ep,w,es,M]),eR=t.useMemo(()=>({...ef,...em}),[ef,em]);return t.useMemo(()=>I?{reference:eR,floating:ev,item:ed,trigger:em}:{},[I,eR,ev,em,ed])}e.s(["useListNavigation",()=>S],47568);var C=e.i(29661);function D(e,n){let r="rootStore"in e?e.rootStore:e,a=r.context.dataRef,l=r.useState("open"),{listRef:c,activeIndex:d,onMatch:p,onTypingChange:g,enabled:f=!0,resetMs:v=750,selectedIndex:m=null}=n,R=(0,C.useTimeout)(),S=t.useRef(""),D=t.useRef(m??d??-1),E=t.useRef(null);(0,i.useIsoLayoutEffect)(()=>{(l||null===m)&&(R.clear(),E.current=null,""!==S.current&&(S.current=""))},[l,m,R]),(0,i.useIsoLayoutEffect)(()=>{l&&""===S.current&&(D.current=m??d??-1)},[l,m,d]);let h=(0,o.useStableCallback)(e=>{e?a.current.typing||(a.current.typing=e,g?.(e)):a.current.typing&&(a.current.typing=e,g?.(e))}),x=(0,o.useStableCallback)(e=>{function t(e,t,n){let r=t.find(e=>e?.toLocaleLowerCase().indexOf(n.toLocaleLowerCase())===0);return r?e.indexOf(r):-1}let n=c.current;if(S.current.length>0&&" "!==S.current[0]&&(-1===t(n,n,S.current)?h(!1):" "===e.key&&(0,u.stopEvent)(e)),null==n||1!==e.ke
1y.length||e.ctrlKey||e.metaKey||e.altKey)return;l&&" "!==e.key&&((0,u.stopEvent)(e),h(!0));let r=""===S.current;r&&(D.current=m??d??-1),n.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&S.current===e.key&&(S.current="",D.current=E.current),S.current+=e.key,R.start(v,()=>{S.current="",D.current=E.current,h(!1)});let o=r?m??d??-1:D.current,i=t(n,[...n.slice((o||0)+1),...n.slice(0,(o||0)+1)],S.current);-1!==i?(p?.(i),E.current=i):" "!==e.key&&(S.current="",h(!1))}),y=(0,o.useStableCallback)(e=>{let t=e.relatedTarget,n=r.select("domReferenceElement"),o=r.select("floatingElement"),i=(0,s.contains)(n,t),a=(0,s.contains)(o,t);i||a||(R.clear(),S.current="",D.current=E.current,h(!1))}),O=t.useMemo(()=>({onKeyDown:x,onBlur:y}),[x,y]),b=t.useMemo(()=>({onKeyDown:x,onKeyUp(e){" "===e.key&&h(!1)},onBlur:y}),[x,y,h]);return t.useMemo(()=>f?{reference:O,floating:b}:{},[f,O,b])}function E(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,"::before"),r=window.getComputedStyle(e,"::after");if("none"===n.content&&"none"===r.content)return t;let o=parseFloat(n.width)||0,i=parseFloat(n.height)||0,a=parseFloat(r.width)||0,s=parseFloat(r.height)||0,u=Math.max(t.width,o,a),l=Math.max(t.height,i,s),c=u-t.width,d=l-t.height;return{left:t.left-c/2,right:t.right+c/2,top:t.top-d/2,bottom:t.bottom+d/2}}e.s(["useTypeahead",()=>D],34941),e.s(["getPseudoElementBounds",()=>E],44384)},65606,e=>{"use strict";var t=e.i(75201),n=e.i(64411);let r=t.forwardRef(function(e,t){let{className:r,render:o,orientation:i="horizontal",...a}=e;return(0,n.useRenderElement)("div",e,{state:{orientation:i},ref:t,props:[{role:"separator","aria-orientation":i},a]})});e.s(["Separator",0,r])}]);
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.