1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,260891,e=>{"use strict";e.i(6247167);var t=e.i(5271645),n=e.i(4708445),r=e.i(8146376),o=e.i(1108868),i=e.i(8667865),s=e.i(2446265),a=e.i(2328744),l=e.i(229315),u=e.i(2675606),c=e.i(56434),d=e.i(3046420),f=e.i(1621082),m=e.i(2449055),b=e.i(9584446),p=e.i(7596296),x=e.i(8503596),h=e.i(3157940);function v(e){return a.platform.engine.webkit&&0===e.movementX&&0===e.movementY}function g(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function C(e,t){return g(t,e===m.ARROW_UP||e===m.ARROW_DOWN,e===m.ARROW_LEFT||e===m.ARROW_RIGHT)}function y(e,t,n){return g(t,e===m.ARROW_DOWN,n?e===m.ARROW_LEFT:e===m.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,a){let{listRef:R,activeIndex:I,onNavigate:S=()=>{},enabled:E=!0,selectedIndex:w=null,allowEscape:k=!1,loopFocus:L=!1,nested:A=!1,rtl:j=!1,virtual:z=!1,focusItemOnOpen:O="auto",focusItemOnHover:N=!0,openOnArrowKeyDown:M=!0,disabledIndices:_,orientation:T="vertical",parentOrientation:D,id:P,resetOnPointerLeave:V=!0,externalTree:F,grid:W}=a,G=null!=W,K="rootStore"in e?e.rootStore:e,B=K.useState("open"),q=K.useState("floatingElement"),Y=K.useState("domReferenceElement"),H=K.context.dataRef,U=(0,p.getFloatingFocusElement)(q),X=(0,p.isTypeableCombobox)(Y),$=(0,s.useValueAsRef)(U),J=(0,d.useFloatingParentNodeId)(),Q=(0,d.useFloatingTree)(F),Z=t.useRef(O),ee=t.useRef(w??-1),et=t.useRef(null),en=t.useRef(!0),er=(0,i.useStableCallback)(e=>{S(-1===ee.current?null:ee.current,e)}),eo=t.useRef(!!q),ei=t.useRef(B),es=t.useRef(!1),ea=t.useRef(!1),el=t.useRef(null),eu=(0,s.useValueAsRef)(_),ec=(0,s.useValueAsRef)(B),ed=(0,s.useValueAsRef)(w),ef=(0,s.useValueAsRef)(V),em=(0,n.useAnimationFrame)(),eb=(0,n.useAnimationFrame)(),ep=(0,i.useStableCallback)(()=>{function e(e){z?Q?.events.emit("virtualfocus",e):el.current=(0,x.enqueueFocus)(e,{sync:es.current,preventScroll:!0})}let t=R.current[ee.current],n=ea.current;t&&e(t),(es.current?e=>e():e=>em.request(e))(()=>{let r=R.current[ee.current]||t;!r||(t||e(r),ey&&(n||!en.current)&&r.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,r.useIsoLayoutEffect)(()=>{H.current.orientation=T},[H,T]),(0,r.useIsoLayoutEffect)(()=>{E&&(B&&q?(ee.current=w??-1,Z.current&&null!=w&&(ea.current=!0,er())):eo.current&&(ee.current=-1,er()))},[E,B,q,w,er]),(0,r.useIsoLayoutEffect)(()=>{if(E){if(!B){es.current=!1;return}if(q)if(null==I){if(es.current=!1,null!=ed.current)return;if(eo.current&&(ee.current=-1,ep()),(!ei.current||!eo.current)&&Z.current&&(null!=et.current||!0===Z.current&&null==et.current)){let e=0,t=()=>{null==R.current[0]?(e<2&&(e?e=>eb.request(e):queueMicrotask)(t),e+=1):(ee.current=null==et.current||y(et.current,T,j)||A?(0,f.getMinListIndex)(R):(0,f.getMaxListIndex)(R),et.current=null,er())};t()}}else(0,f.isIndexOutOfListBounds)(R.current,I)||(ee.current=I,ep(),ea.current=!1)}},[E,B,q,I,ed,A,R,T,j,er,ep,eb]),(0,r.useIsoLayoutEffect)(()=>{if(!E||q||!Q||z||!eo.current)return;let e=Q.nodesRef.current,t=e.find(e=>e.id===J)?.context?.elements.floating,n=(0,b.activeElement)((0,o.ownerDocument)(Y??t??null)),r=e.some(e=>e.context&&(0,b.contains)(e.context.elements.floating,n));t&&!r&&en.current&&t.focus({preventScroll:!0})},[E,q,Y,Q,J,z]),(0,r.useIsoLayoutEffect)(()=>{ei.current=B,eo.current=!!q}),(0,r.useIsoLayoutEffect)(()=>{B||(et.current=null,Z.current=O)},[B,O]);let ex=null!=I,eh=(0,i.useStableCallback)(e=>{if(!ec.current)return;let t=R.current.indexOf(e.currentTarget);-1!==t&&(ee.current!==t||I!==t)&&(ee.current=t,er(e))}),ev=(0,i.useStableCallback)(()=>D??Q?.nodesRef.current.find(e=>e.id===J)?.context?.dataRef?.current.orientation),eg=(0,i.useStableCallback)(()=>(0,f.getMinListIndex)(R,eu.current)),eC=(0,i.useStableCallback)(e=>{var t;let n,r;if(en.current=!1,es.current=!0,229===e.which||!ec.current&&e.currentTarget===$.current)return;if(A&&(t=e.key,n=j?t===m.ARROW_RIGHT:t===m.ARROW_LEFT,r=t===m.ARROW_UP,"both"===T||"horizontal"===T&&G?"Escape"===t:g(T,n,r))){C(e.key,ev())||(0,h.stopEvent)(e),K.setOpen(!1,(0,u.createChangeEventDetails)(c.REASONS.listNavigation,e.nativeEvent)),(0,l.isHTMLElement)(Y)&&(z?Q?.events.emit("virtualfocus",Y):Y.focus());return}let o=ee.current,i=(0,f.getMinListIndex)(R,_),s=(0,f.getMaxListIndex)(R,_);if(X||("Home"===e.key&&((0,h.stopEvent)(e),ee.current=i,er(e)),"End"===e.key&&((0,h.stopEvent)(e),ee.current=s,er(e))),null!=W){let t=W(e,ee.current,R,T,L,j,_,i,s);if(null!=t&&(ee.current=t,er(e)),"both"===T)return}if(C(e.key,T)){if((0,h.stopEvent)(e),B&&!z&&(0,b.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){ee.current=y(e.key,T,j)?i:s,er(e);return}y(e.key,T,j)?L?o>=s?k&&o!==R.current.length?ee.current=-1:(es.current=!1,ee.current=i):ee.current=(0,f.findNonDisabledListIndex)(R.current,{startingIndex:o,disabledIndices:_}):ee.current=Math.min(s,(0,f.findNonDisabledListIndex)(R.current,{startingIndex:o,disabledIndices:_})):L?o<=i?k&&-1!==o?ee.current=R.current.length:(es.current=!1,ee.current=s):ee.current=(0,f.findNonDisabledListIndex)(R.current,{startingIndex:o,decrement:!0,disabledIndices:_}):ee.current=Math.max(i,(0,f.findNonDisabledListIndex)(R.current,{startingIndex:o,decrement:!0,disabledIndices:_})),(0,f.isIndexOutOfListBounds)(R.current,ee.current)&&(ee.current=-1),er(e)}}),ey=t.useMemo(()=>({onFocus(e){es.current=!0,eh(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){!v(e)&&(es.current=!0,ea.current=!1,N&&eh(e))},onPointerLeave(e){if(!ec.current||!en.current||"touch"===e.pointerType)return;es.current=!0;let t=e.relatedTarget;if(!(!N||R.current.includes(t))&&ef.current&&(el.current?.(),el.current=null,ee.current=-1,er(e),!z)){let e=$.current,t=(0,b.activeElement)((0,o.ownerDocument)(e));e&&(0,b.contains)(e,t)&&e.focus({preventScroll:!0})}}}),[eh,ec,$,N,R,er,ef,z]),eR=t.useMemo(()=>z&&B&&ex&&{"aria-activedescendant":`${P}-${I}`},[z,B,ex,P,I]),eI=t.useMemo(()=>({...!X?eR:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&B&&!z){let t=(0,b.getTarget)(e.nativeEvent);if(t&&!(0,b.contains)($.current,t))return;(0,h.stopEvent)(e),K.setOpen(!1,(0,u.createChangeEventDetails)(c.REASONS.focusOut,e.nativeEvent)),(0,l.isHTMLElement)(Y)&&Y.focus();return}eC(e)},onPointerMove(e){v(e)||(en.current=!0)}}),[eR,eC,$,X,K,B,z,Y]),eS=t.useMemo(()=>{function e(e){K.setOpen(!0,(0,u.createChangeEventDetails)(c.REASONS.listNavigation,e.nativeEvent,e.currentTarget))}function t(e){"auto"===O&&(0,h.isVirtualClick)(e.nativeEvent)&&(Z.current=!z)}function n(e){Z.current=O,"auto"===O&&(0,h.isVirtualPointerEvent)(e.nativeEvent)&&(Z.current=!0)}return{onKeyDown(t){var n,r;let o=K.select("open");en.current=!1;let i=t.key.startsWith("Arrow"),s=(n=t.key,r=ev(),g(r,j?n===m.ARROW_LEFT:n===m.ARROW_RIGHT,n===m.ARROW_DOWN)),a=C(t.key,T),l=(A?s:a)||"Enter"===t.key||""===t.key.trim();if(z&&o)return eC(t);if(o||M||!i){if(l){let e=C(t.key,ev());et.current=A&&e?null:t.key}if(A){s&&((0,h.stopEvent)(t),o?(ee.current=eg(),er(t)):e(t));return}a&&(null!=ed.current&&(ee.current=ed.current),(0,h.stopEvent)(t),!o&&M?e(t):eC(t),o&&er(t))}},onFocus(e){K.select("open")&&!z&&(ee.current=-1,er(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[eC,O,eg,A,er,K,M,T,ev,j,ed,z]),eE=t.useMemo(()=>({...eR,...eS}),[eR,eS]);return t.useMemo(()=>E?{reference:eE,floating:eI,item:ey,trigger:eS}:{},[E,eE,eI,eS,ey])}])},1736760,e=>{"use strict";var t=e.i(5271645),n=e.i(8146376),r=e.i(8667865),o=e.i(5439957),i=e.i(5956789),s=e.i(1621082),a=e.i(9584446),l=e.i(3157940);e.s(["useTypeahead",0,function(e,u){let{listRef:c,elementsRef:d,activeIndex:f,onMatch:m,disabledIndices:b,onTyping:p,enabled:x=!0,resetMs:h=750,selectedIndex:v=null}=u,g="rootStore"in e?e.rootStore:e,C=g.useState("open"),y=(0,o.useTimeout)(),R=t.useRef(""),I=t.useRef(v??f??-1),S=t.useRef(null),E=(0,r.useStableCallback)(e=>{function t(e){let t=d?.current[e];return!(t&&!(0,s.isElementVisible)(t)||t?.matches(":disabled"))&&(null==b||!(0,s.isListIndexDisabled)(i.EMPTY_ARRAY,e,b))}function n(e,r,o=0){if(0===e.length)return -1;let i=(o%e.length+e.length)%e.length,s=r.toLowerCase();for(let n=0;n<e.length;n+=1){let r=(i+n)%e.length,o=e[r];if(o?.toLowerCase().startsWith(s)&&t(r))return r}return -1}let r=c.current;if(R.current.length>0&&" "===e.key&&((0,l.stopEvent)(e),p?.(!0)),R.current.length>0&&" "!==R.current[0]&&-1===n(r,R.current)&&" "!==e.key&&p?.(!1),null==r||1!==e.ke
1y.length||e.ctrlKey||e.metaKey||e.altKey)return;C&&" "!==e.key&&((0,l.stopEvent)(e),p?.(!0));let o=""===R.current;o&&(I.current=v??f??-1),r.every((e,n)=>!(e&&t(n))||e[0]?.toLowerCase()!==e[1]?.toLowerCase())&&R.current===e.key&&(R.current="",I.current=S.current),R.current+=e.key,y.start(h,()=>{R.current="",I.current=S.current,p?.(!1)});let a=o?v??f??-1:I.current,u=n(r,R.current,(a??0)+1);-1!==u?(m?.(u),S.current=u):" "!==e.key&&(R.current="",p?.(!1))}),w=(0,r.useStableCallback)(e=>{let t=e.relatedTarget,n=g.select("domReferenceElement"),r=g.select("floatingElement");(0,a.contains)(n,t)||(0,a.contains)(r,t)||(y.clear(),R.current="",I.current=S.current,p?.(!1))});(0,n.useIsoLayoutEffect)(()=>{(C||null===v)&&(y.clear(),S.current=null,""!==R.current&&(R.current=""))},[C,v,y]);let k=t.useMemo(()=>({onKeyDown:E,onBlur:w}),[E,w]);return t.useMemo(()=>x?{reference:k,floating:k}:{},[x,k])}])},6053687,e=>{"use strict";var t=e.i(5271645),n=e.i(6388940),r=e.i(8667865),o=e.i(8146376),i=e.i(2545356),s=e.i(7843476);function a(){return new Map}function l(){return new Set}function u(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}e.s(["CompositeList",0,function(e){let{children:c,elementsRef:d,labelsRef:f,onMapChange:m}=e,b=(0,r.useStableCallback)(m),[,p]=t.useState(!1),x=(0,n.useRefWithInit)(l).current,h=(0,n.useRefWithInit)(a).current,v=t.useRef(0),g=t.useRef(!0),C=t.useRef(null),y=t.useRef(null),R=(0,r.useStableCallback)(()=>{g.current||(g.current=!0,p(e=>!e))}),I=(0,r.useStableCallback)((e,t)=>{h.set(e,t),R()}),S=(0,r.useStableCallback)(e=>{h.delete(e),R()}),E=(0,r.useStableCallback)(e=>{let t=new Map;return d.current.length=0,f&&(f.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),d.current[e.index]=e.element,f&&(f.current[e.index]=void 0!==e.registration.label?e.registration.label:e.registration.textRef?.current?.textContent??e.element.textContent)}),v.current=d.current.length,t}),w=(0,r.useStableCallback)(()=>{var e;let t,n,r,o,[i,s]=(e=h,t=new Set,n=[],r=[],e.forEach((e,o)=>{if(!o.isConnected)return;let i=e.index,s={index:i??-1,element:o,registration:e};null===i?r.push(s):i>=0&&(t.add(i),n.push(s))}),o=0,r.sort((e,t)=>u(e.element,t.element)),r.forEach(e=>{for(;t.has(o);)o+=1;e.index=o,n.push(e),o+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]),a=E(i),l=C.current,c=!l||l.length!==i.length||i.some((e,t)=>{let n=l[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});!function(e){if(y.current?.disconnect(),y.current=null,"function"!=typeof MutationObserver||e.length<2)return;let t=new MutationObserver(n=>{if(!function(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&u(r,n)>0){t.disconnect(),R();return}r=n}});y.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=function(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}(s),C.current=i,g.current=!1,c&&(x.forEach(e=>e(a)),b(a))});(0,o.useIsoLayoutEffect)(()=>(!g.current&&C.current&&E(C.current),()=>{d.current=[],f&&(f.current=[])}),[d,f,E]),(0,o.useIsoLayoutEffect)(()=>{g.current&&w()}),(0,o.useIsoLayoutEffect)(()=>()=>{y.current?.disconnect(),g.current=!0},[]);let k=(0,r.useStableCallback)(e=>(x.add(e),()=>{x.delete(e)})),L=t.useMemo(()=>({register:I,unregister:S,subscribeMapChange:k,nextIndexRef:v}),[I,S,k,v]);return(0,s.jsx)(i.CompositeListContext.Provider,{value:L,children:c})}])},2545356,e=>{"use strict";e.i(6247167);var t=e.i(5271645);let n=t.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});e.s(["CompositeListContext",0,n,"useCompositeListContext",0,function(){return t.useContext(n)}])},9673553,e=>{"use strict";var t=e.i(5271645),n=e.i(8146376),r=e.i(2545356);e.s(["useCompositeListItem",0,function(e={}){let{guess:o,label:i,metadata:s,textRef:a,index:l}=e,{register:u,unregister:c,subscribeMapChange:d,nextIndexRef:f}=(0,r.useCompositeListContext)(),m=t.useRef(-1),[b,p]=t.useState(null==l&&o?()=>{if(-1===m.current){let e=f.current;f.current+=1,m.current=e}return m.current}:-1),x=l??b,h=t.useRef(null),v=t.useCallback(e=>{let t=h.current;t&&c(t),h.current=e,e&&u(e,{metadata:s??null,index:l??null,label:i,textRef:a})},[l,u,c,s,i,a]);return(0,n.useIsoLayoutEffect)(()=>
1{if(null==l)return d(e=>{let t=h.current?e.get(h.current)?.index:null;null!=t&&p(t)})},[l,d]),{ref:v,index:x}}])},7186698,e=>{"use strict";e.s(["serializeValue",0,function(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}])},96533,e=>{"use strict";e.i(6247167);var t=e.i(733332),n=e.i(5271645);let r=n.createContext(void 0);e.s(["useToolbarRootContext",0,function(e){let o=n.useContext(r);if(void 0===o&&!e)throw Error((0,t.default)(69));return o}])},8264042,e=>{"use strict";var t=e.i(5333848),n=e.i(2328744);e.s(["isMouseWithinBounds",0,function(e,r){let o=function(e){let r=e.getBoundingClientRect(),o=(0,t.ownerWindow)(e);if(n.platform.env.jsdom)return r;let i=o.getComputedStyle(e,"::before"),s=o.getComputedStyle(e,"::after");if("none"===i.content&&"none"===s.content)return r;let a=parseFloat(i.width)||0,l=parseFloat(i.height)||0,u=parseFloat(s.width)||0,c=parseFloat(s.height)||0,d=Math.max(r.width,a,u),f=Math.max(r.height,l,c),m=d-r.width,b=f-r.height;return{left:r.left-m/2,right:r.right+m/2,top:r.top-b/2,bottom:r.bottom+b/2}}(r);return e.clientX>=o.left-5&&e.clientX<=o.right+5&&e.clientY>=o.top-5&&e.clientY<=o.bottom+5}])},7450001,e=>{"use strict";e.s(["getDefaultLabelId",0,function(e){return null==e?void 0:`${e}-label`},"resolveAriaLabelledBy",0,function(e,t){return e??t}])},4033383,e=>{"use strict";var t=e.i(5271645),n=e.i(1108868),r=e.i(7145484),o=e.i(8146376);e.s(["useAnchoredPopupScrollLock",0,function(e,i,s,a){let[l,u]=t.useState(!1);(0,o.useIsoLayoutEffect)(()=>{if(!e||!i||null==s)return void u(!1);let t=(0,n.ownerDocument)(s).documentElement.clientWidth,r=s.offsetWidth;u(t>0&&r>0&&r>=t-20)},[e,i,s]),(0,r.useScrollLock)(e&&(!i||l),a)}])},8810148,e=>{"use strict";e.s(["areArraysEqual",0,function(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let o=0;o<r;o+=1)if(!n(e[o],t[o]))return!1;return!0}])},8293452,e=>{"use strict";e.s(["stringifyLocale",0,function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}])},4713203,8484325,8042191,7818438,e=>{"use strict";var t=e.i(5271645);e.s(["useOnFirstRender",0,function(e){let n=t.useRef(!0);n.current&&(n.current=!1,e())}],4713203);var n=e.i(8810148);let r=(e,t)=>Object.is(e,t);function o(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function i(e,t,n){return!!e&&e.some(e=>void 0!==e&&o(t,e,n))}function s(e,t,n){return e?e.findIndex(e=>void 0!==e&&o(e,t,n)):-1}function a(e,t,n,o){let a=o&&Array.isArray(t)?e.findIndex(function(e,t){if(t!==r)return n=>i(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(0!==t||e.some(e=>Object.is(t,e)))}(t,n)):s(e,t,n);return -1===a?null:a}e.s(["compareItemEquality",0,o,"defaultItemEquality",0,r,"findItemIndex",0,s,"findSelectionIndex",0,a,"isSelectedValueDirty",0,function(e,t,r){return Array.isArray(e)&&Array.isArray(t)?!(0,n.areArraysEqual)(e,t,(e,t)=>o(e,t,r)):e!==t},"removeItem",0,function(e,t,n){return e.filter(e=>!o(t,e,n))},"resolveSelectedIndex",0,function(e,t,n,r,o,s){return i(r,t,o)?null!=s&&e>s&&i(r,n[s],o)?s:e:e===s?a(n,r,o,!0):s},"selectedValueIncludes",0,i],8484325);var l=e.i(7186698),u=e.i(7843476);function c(e){var t;return"object"==typeof(t=e?.[0])&&null!=t&&Array.isArray(t.items)}function d(e){return c(e)?e.flatMap(e=>e.items):e}function f(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return(0,l.serializeValue)(e)}function m(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??f(e,n);if(Array.isArray(t)){let r=d(t);if(null==e||"object"!=typeof e){let t=r.find(t=>t.value===e);return t&&null!=t.label?t.label:f(e,n)}if("value"in e){let t=r.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return f(e,n)}e.s(["flattenLeafItems",0,d,"hasNullItemLabel",0,function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(c(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1},"isGroupedItems",0,c,"resolveMultipleLabels",0,function(e,n,r){return e.reduce((e,o,i)=>(i>0&&e.push(", "),e.push((0,u.jsx)(t.Fragment,{children:m(o,n,r)}
1,i)),e),[])},"resolveSelectedLabel",0,m,"stringifyAsLabel",0,f,"stringifyAsValue",0,function(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?(0,l.serializeValue)(e.value):(0,l.serializeValue)(e)}],8042191);var b=e.i(5552245);let p=t.forwardRef(function(e,t){let{className:n,render:r,orientation:o="horizontal",style:i,...s}=e;return(0,b.useRenderElement)("div",e,{state:{orientation:o},ref:t,props:[{role:"presentation"},s]})});e.s(["ListboxSeparator",0,p],7818438)},8768797,e=>{"use strict";var t=e.i(7843476);e.s([],6379652),e.i(6379652);var n=e.i(5271645),r=e.i(4942593),o=e.i(5552245),i=e.i(8469690),s=e.i(8875812),a=e.i(9897886),l=e.i(7450001),u=e.i(3202672);let c=n.forwardRef(function(e,t){let{render:n,className:r,style:c,...d}=e;delete d.id;let f=(0,i.useFieldRootContext)(),m=(0,u.useComboboxRootContext)(),b=m.useState("inputInsidePopup"),p=m.useState("triggerElement");m.useState("inputElement");let x=m.useState("id"),h=(0,l.getDefaultLabelId)(x),v=p?.id??(b?x:void 0),g=(0,a.useLabel)({id:h,fallbackControlId:v,setLabelId(e){let t="function"==typeof e?e(m.state.labelId):e;m.set("labelId",t)}});return(0,o.useRenderElement)("div",e,{ref:t,state:f.state,props:[g,d],stateAttributesMapping:s.fieldValidityMapping})});var d=e.i(8042191),f=e.i(4669534),m=e.i(4793798),b=e.i(5556212),p=e.i(4005627),x=e.i(5224889),h=e.i(2089102),v=e.i(2618118),g=e.i(6698108),C=e.i(6860375),y=e.i(4437642),R=e.i(5554463),I=e.i(7800111),S=e.i(4136760),E=e.i(2244013),w=e.i(63948),k=e.i(7223910),L=e.i(1137584),A=e.i(3474354);let j=n.forwardRef(function(e,n){let{selected:r}=(0,w.useComboboxItemContext)();return e.keepMounted||r?(0,t.jsx)(z,{...e,ref:n}):null}),z=n.memo(n.forwardRef((e,t)=>{let{render:r,className:i,style:s,keepMounted:a,...l}=e,{selected:u}=(0,w.useComboboxItemContext)(),c=n.useRef(null),{transitionStatus:d,setMounted:f}=(0,k.useTransitionStatus)(u),m=(0,o.useRenderElement)("span",e,{ref:[t,c],state:{selected:u,transitionStatus:d},props:[{"aria-hidden":!0,children:"âï¸"},l],stateAttributesMapping:A.transitionStatusMapping});return(0,L.useOpenChangeComplete)({batch:!0,enabled:!u,open:u,ref:c,onComplete(){u||f(!1)}}),m}));var O=e.i(5956789),N=e.i(9413735),M=e.i(6053687),_=e.i(7722994);let T=n.forwardRef(function(e,r){let{render:i,className:s,style:a,...l}=e,c=(0,u.useComboboxRootContext)(),d=c.useState("open"),f=c.useState("hasSelectionChips"),[m,b]=n.useState(void 0);d&&void 0!==m&&b(void 0);let p=n.useRef([]),x=(0,o.useRenderElement)("div",e,{ref:[r,c.context.chipsContainerRef],props:[f?{role:"toolbar"}:O.EMPTY_OBJECT,{onMouseDown(e){(0,_.handleInputPress)(e,c,c.state.disabled)}},l]}),h=n.useMemo(()=>({highlightedChipIndex:m,setHighlightedChipIndex:b,chipsRef:p}),[m,b,p]);return(0,t.jsx)(N.ComboboxChipsContext.Provider,{value:h,children:(0,t.jsx)(M.CompositeList,{elementsRef:p,children:x})})});var D=e.i(7174080),P=e.i(9673553),V=e.i(733332);let F=n.createContext(void 0);var W=e.i(3157940),G=e.i(2675606),K=e.i(56434),B=e.i(3872855),q=e.i(697464);let Y=n.forwardRef(function(e,r){let{render:i,className:s,style:a,...l}=e,c=(0,u.useComboboxRootContext)(),{setHighlightedChipIndex:d,chipsRef:f}=(0,N.useComboboxChipsContext)(),m=(0,B.useDirection)(),b=c.useState("disabled"),p=c.useState("readOnly"),x=c.useState("selectedValue"),{ref:h,index:v}=(0,P.useCompositeListItem)(),g=(0,o.useRenderElement)("div",e,{ref:[r,h],state:{disabled:b},props:[{tabIndex:-1,"aria-disabled":b||void 0,"aria-readonly":p||void 0,onKeyDown(e){if(b||p)return;let t=function(e){let t=v,[n,r]=(0,q.getChipNavigationKeys)(m);return e.key===n?(e.preventDefault(),t=v>0?v-1:void 0):e.key===r?(e.preventDefault(),t=v<f.current.length-1?v+1:void 0):"Backspace"===e.key||"Delete"===e.key?(t=(0,q.getIndexAfterChipRemoval)(v,x.length),(0,W.stopEvent)(e),c.context.setIndices({activeIndex:null,selectedIndex:null,type:K.REASONS.keyboard}),c.context.setSelectedValue(x.filter((e,t)=>t!==v),(0,G.createChangeEventDetails)(K.REASONS.none,e.nativeEvent))):"Enter"===e.key||" "===e.key?((0,W.stopEvent)(e),t=void 0):"ArrowDown"===e.key||"ArrowUp"===e.key?((0,W.stopEvent)(e),c.context.setOpen(!0,(0,G.createChangeEventDetails)(K.REASONS.listNavigation,e.nativeEvent)),t=void 0):1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey||(t=void 0),t}(e);D.flushSync(()=>{d(t)}
1),void 0===t?c.context.inputRef.current?.focus():f.current[t]?.focus()}},l]}),C=n.useMemo(()=>({index:v}),[v]);return(0,t.jsx)(F.Provider,{value:C,children:g})});var H=e.i(7540886),U=e.i(8484325);let X=n.forwardRef(function(e,t){let{render:r,className:i,disabled:s=!1,nativeButton:a=!0,style:l,...c}=e,d=(0,u.useComboboxRootContext)(),{index:f}=function(){let e=n.useContext(F);if(!e)throw Error((0,V.default)(17));return e}(),m=d.useState("disabled"),b=d.useState("readOnly"),p=d.useState("selectedValue"),x=d.useState("isItemEqualToValue"),h=m||s,{buttonRef:v,getButtonProps:g}=(0,H.useButton)({native:a,disabled:h||b,focusableWhenDisabled:!0});function C(e){let t=(0,G.createChangeEventDetails)(K.REASONS.chipRemovePress,e.nativeEvent);return!function(e){let t=d.state.activeIndex;if(null==t)return;let n=(0,U.findItemIndex)(d.context.valuesRef.current,e,x);-1!==n&&t===n&&d.context.setIndices({activeIndex:null,type:d.context.keyboardActiveRef.current?K.REASONS.keyboard:K.REASONS.pointer})}(p[f]),d.context.setSelectedValue(p.filter((e,t)=>t!==f),t),d.context.inputRef.current?.focus(),t}return(0,o.useRenderElement)("button",e,{ref:[t,v],state:{disabled:h},props:[{tabIndex:-1,onMouseDown(e){e.preventDefault()},onClick(e){C(e).isPropagationAllowed||e.stopPropagation()},onKeyDown(e){("Enter"===e.key||" "===e.key)&&(C(e).isPropagationAllowed||(0,W.stopEvent)(e))}},c,g]})});var $=e.i(8953590),J=e.i(5487445),Q=e.i(4351614),Z=e.i(9717088);let ee=e.i(7818438).ListboxSeparator;var et=e.i(4156970),en=e.i(2782149),er=e.i(1491786);e.s(["Arrow",()=>y.ComboboxArrow,"Backdrop",()=>v.ComboboxBackdrop,"Chip",0,Y,"ChipRemove",0,X,"Chips",0,T,"Clear",()=>Z.ComboboxClear,"Collection",()=>J.ComboboxCollection,"Empty",()=>Q.ComboboxEmpty,"Group",()=>I.ComboboxGroup,"GroupLabel",()=>S.ComboboxGroupLabel,"Icon",()=>R.ComboboxIcon,"Input",()=>f.ComboboxInput,"InputGroup",()=>m.ComboboxInputGroup,"Item",()=>E.ComboboxItem,"ItemIndicator",0,j,"Label",0,c,"List",()=>p.ComboboxList,"Popup",()=>C.ComboboxPopup,"Portal",()=>h.ComboboxPortal,"Positioner",()=>g.ComboboxPositioner,"Root",0,function(e){let{multiple:n=!1,defaultValue:o,value:i,onValueChange:s,autoComplete:a,...l}=e;return(0,t.jsx)(r.AriaCombobox,{...l,selectionMode:n?"multiple":"single",selectedValue:i,defaultSelectedValue:o,onSelectedValueChange:s,formAutoComplete:a})},"Row",()=>$.ComboboxRow,"Separator",0,ee,"Status",()=>x.ComboboxStatus,"Trigger",()=>b.ComboboxTrigger,"Value",0,function(e){let{children:r,placeholder:o}=e,i=(0,u.useComboboxRootContext)(),s=i.useState("itemToStringLabel"),a=i.useState("selectedValue"),l=i.useState("items"),c="multiple"===i.useState("selectionMode"),f=i.useState("hasSelectedValue"),m=i.useState("hasNullItemLabel",!f&&null!=o&&null==r),b=null;return b="function"==typeof r?r(a):null!=r?r:f||null==o||m?c&&Array.isArray(a)?(0,d.resolveMultipleLabels)(a,l,s):(0,d.resolveSelectedLabel)(a,l,s):o,(0,t.jsx)(n.Fragment,{children:b})},"createItems",0,function(e,t){let{getValue:n,getLabel:r}=t,o=null;function i(){if(null===o){let t=new Map;for(let r of e?(0,d.flattenLeafItems)(e):O.EMPTY_ARRAY){if(null==r)continue;let e=n(r);t.has(e)||t.set(e,r)}o=t}return o}return{data:e,value:function(e){return null==e?e:n(e)},hasValue:(e,t)=>void 0!==(0,er.findCollectionItem)(i(),e,t),itemLabel:r,label(e,t,n){let o=(0,er.findCollectionItem)(i(),e,t);return void 0!==o?r(o):(0,d.stringifyAsLabel)(e,n)}}},"useFilter",()=>et.useComboboxFilter,"useFilteredItems",()=>en.useFilteredItems],7524189);var eo=e.i(7524189),eo=eo,ei=e.i(7007350),es=e.i(4053994),ea=e.i(6830632),el=e.i(5549200),eu=e.i(6995926);let ec=n.createContext({chipsRef:null,dialogContainer:null,resolveDialogContainer:()=>{},multiple:!1});function ed({className:e,children:r,ref:o,...i}){let{resolveDialogContainer:s}=n.useContext(ec),a=n.useCallback(e=>{s(e),"function"==typeof o?o(e):o&&(o.current=e)},[o,s]);return(0,t.jsx)(eo.Trigger,{className:e,"data-slot":"combobox-trigger",ref:a,...i,children:r})}let ef=eo.Value;function em({className:e,...n}){return(0,t.jsx)(eo.Clear,{className:e,"data-slot":"combobox-clear",...n})}let eb=eo.Collection;function ep(e){return(0,t.jsx)(eo.ChipRemove,{"aria-label":"Remove",className:"h-full shrink-0 cursor-pointer px-1.5 opacity-80 hover:opacity-100 [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5","data-slot":"combobox-chip-remove",...e,children:(0,t.jsx)(eu.XIcon,{})})}eo.createItems;let ex=eo.useFilter;e.s(["Combobox",0,function(e){let r=n.useRef(null),[o,i]=n.useState(null),s=n.useCallback(e=>{if(!e)return void i(null);let t=e.closest('[role="dialog"],[role="alertdialog"]');t?.matches('[data-slot="combobox-popup"]')?i(t.parentElement?.closest('[role="dialog"],[role="alertdialog"]')??null):i(t??null)},[]);return(0,t.jsx)(ec.Provider,{value:{chipsRef:r,dialogContainer:o,resolveDialogContainer:s,multiple:!!e.multiple},children:(0,t.jsx)(eo.Root,{...e})})},"ComboboxChip",0,function({children:e,removeProps:n,...r}){return(0,t.jsxs)(eo.Chip,{className:"flex items-center rounded-[calc(var(--radius-md)-1px)] bg-accent ps-2 font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5","data-slot":"combobox-chip",...r,children:[e,(0,t.jsx)(ep,{...n})]})},"ComboboxChips",0,function({className:e,children:r,startAddon:o,ref:i,...s}){let{chipsRef:a,resolveDialogContainer:l}=n.useContext(ec),u=n.useCallback(e=>{a&&(a.current=e),l(e),"function"==typeof i?i(e):i&&(i.current=e)},[a,i,l]);return(0,t.jsxs)(eo.Chips,{className:(0,ea.cn)("relative inline-flex min-h-9 w-full flex-wrap gap-1 rounded-lg border border-input bg-background not-dark:bg-clip-padding p-[calc(--spacing(1)-1px)] text-base shadow-xs/5 outline-none ring-ring/24 transition-shadow *:min-h-7 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-within:border-ring focus-within:ring-[3px] has-disabled:pointer-events-none has-data-[size=lg]:min-
1h-10 has-data-[size=sm]:min-h-8 has-aria-invalid:border-destructive/36 has-disabled:opacity-64 has-[:disabled,:focus-within,[aria-invalid]]:shadow-none focus-within:has-aria-invalid:border-destructive/64 focus-within:has-aria-invalid:ring-destructive/16 has-data-[size=lg]:*:min-h-8 has-data-[size=sm]:*:min-h-6 sm:min-h-8 sm:text-sm sm:has-data-[size=lg]:min-h-9 sm:has-data-[size=sm]:min-h-7 sm:*:min-h-6 sm:has-data-[size=lg]:*:min-h-7 sm:has-data-[size=sm]:*:min-h-5 dark:not-has-disabled:bg-input/32 dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)]",e),"data-slot":"combobox-chips",ref:u,...s,children:[o&&(0,t.jsx)("div",{"aria-hidden":"true",className:"flex shrink-0 items-center ps-2 opacity-80 has-[~[data-size=sm]]:has-[+[data-slot=combobox-chip]]:pe-1.5 has-[~[data-size=sm]]:ps-1.5 has-[+[data-slot=combobox-chip]]:pe-2 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:-ms-0.5 [&_svg]:-me-1.5","data-slot":"combobox-start-addon",children:o}),r]})},"ComboboxChipsInput",0,function({className:e,size:n,...r}){let o=n??"default";return(0,t.jsx)(eo.Input,{className:(0,ea.cn)("min-w-12 flex-1 text-base text-foreground outline-none sm:text-sm [[data-slot=combobox-chip]+&]:ps-0.5","sm"===o?"ps-1.5":"ps-2",e),"data-size":"string"==typeof o?o:void 0,"data-slot":"combobox-chips-input",size:"number"==typeof o?o:void 0,...r})},"ComboboxClear",0,em,"ComboboxCollection",0,eb,"ComboboxEmpty",0,function({className:e,...n}){return(0,t.jsx)(eo.Empty,{className:(0,ea.cn)("not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm",e),"data-slot":"combobox-empty",...n})},"ComboboxGroup",0,function({className:e,...n}){return(0,t.jsx)(eo.Group,{className:(0,ea.cn)("[[role=group]+&]:mt-1.5",e),"data-slot":"combobox-group",...n})},"ComboboxGroupLabel",0,function({className:e,...n}){return(0,t.jsx)(eo.GroupLabel,{className:(0,ea.cn)("px-2 py-1.5 font-medium text-muted-foreground text-xs",e),"data-slot":"combobox-group-label",...n})},"ComboboxInput",0,function({className:e,showTrigger:n=!0,showClear:r=!1,startAddon:o,size:i,triggerProps:s,clearProps:a,...l}){let u=i??"default";return(0,t.jsxs)(eo.InputGroup,{className:"relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64","data-slot":"combobox-input-group",children:[o&&(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:-mx-0.5","data-slot":"combobox-start-addon",children:o}),(0,t.jsx)(eo.Input,{className:(0,ea.cn)(o&&"data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]","sm"===u?"has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5":"has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7",e),"data-slot":"combobox-input",render:(0,t.jsx)(ei.Input,{className:"has-disabled:opacity-100",nativeInput:!0,size:u}),...l}),n&&(0,t.jsx)(ed,{className:(0,ea.cn)("absolute top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0","sm"===u?"end-0":"end-0.5"),...s,children:(0,t.jsx)(eo.Icon,{"data-slot":"combobox-icon",children:(0,t.jsx)(el.ChevronsUpDownIcon,{})})}),r&&(0,t.jsx)(em,{className:(0,ea.cn)("absolute top-1/2 inline-flex size-8 shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0","sm"===u?"end-0":"end-0.5"),...a,children:(0,t.jsx)(eu.XIcon,{})})]})},"ComboboxItem",0,function({className:e,children:n,...r}){return(0,t.jsxs)(eo.Item,{className:(0,ea.cn)("grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_minmax(0,1fr)] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",e),"data-slot":"combobox-item",...r,children:[(0,t.jsx)(eo.ItemIndicator,{className:"col-start-1",children:(0,t.jsx)("svg",{"aria-hidden":"true",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M5.252 12.7 10.2 18.63 18.748 5.37"})})}),(0,t.jsx)("div",{className:"wrap-anywhere col-start-2 min-w-0",children:n})]})},"ComboboxList",0,function({className:e,...n}
1){return(0,t.jsx)(es.ScrollArea,{overscrollContain:!0,scrollbarGutter:!0,scrollFade:!0,children:(0,t.jsx)(eo.List,{className:(0,ea.cn)("not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",e),"data-slot":"combobox-list",...n})})},"ComboboxPopup",0,function({className:e,children:r,side:o="bottom",sideOffset:i=4,alignOffset:s,align:a="start",anchor:l,portalProps:u,...c}){let{chipsRef:d,dialogContainer:f}=n.useContext(ec);return(0,t.jsx)(eo.Portal,{...u,container:u?.container??f??void 0,children:(0,t.jsx)(eo.Positioner,{align:a,alignOffset:s,anchor:l??d,className:"z-50 select-none","data-slot":"combobox-positioner",side:o,sideOffset:i,children:(0,t.jsx)("span",{className:(0,ea.cn)("relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",e),children:(0,t.jsx)(eo.Popup,{className:"flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground","data-slot":"combobox-popup",...c,children:r})})})})},"ComboboxSeparator",0,function({className:e,...n}){return(0,t.jsx)(eo.Separator,{className:(0,ea.cn)("mx-2 my-1 h-px bg-border last:hidden",e),"data-slot":"combobox-separator",...n})},"ComboboxStatus",0,function({className:e,...n}){return(0,t.jsx)(eo.Status,{className:(0,ea.cn)("px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0",e),"data-slot":"combobox-status",...n})},"ComboboxTrigger",0,ed,"ComboboxValue",0,ef,"useComboboxFilter",0,ex],8768797)}]);
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.