1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7844],{40875:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},22135:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},29114:function(e,t,r){r.d(t,{gm:function(){return o}});var n=r(2265);r(57437);var l=n.createContext(void 0);function o(e){let t=n.useContext(l);return e||t||"ltr"}},7617:function(e,t,r){r.d(t,{VY:function(){return eW},ZA:function(){return eA},JO:function(){return eV},ck:function(){return eB},wU:function(){return eF},eT:function(){return eO},__:function(){return eH},h_:function(){return e_},fC:function(){return eP},$G:function(){return eU},u_:function(){return eK},Z0:function(){return ez},xz:function(){return eD},B4:function(){return eN},l_:function(){return eL}});var n=r(2265),l=r(54887);function o(e,[t,r]){return Math.min(r,Math.max(t,e))}var i=r(6741),a=r(9923),u=r(98575),s=r(73966),d=r(29114),c=r(15278),p=r(86097),f=r(99103),v=r(99255),h=r(26008),m=r(83832),g=r(82912),w=r(57437),x=Symbol("radix.slottable");function y(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var b=r(26606),S=r(80886),C=r(61188),j=r(6718),M=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});n.forwardRef((e,t)=>(0,w.jsx)(g.WV.span,{...e,ref:t,style:{...M,...e.style}})).displayName="VisuallyHidden";var R=r(5478),T=r(87922),k=[" ","Enter","ArrowUp","ArrowDown"],E=[" ","Enter"],I="Select",[P,D,N]=(0,a.B)(I),[V,_]=(0,s.b)(I,[N,h.D7]),W=(0,h.D7)(),[L,A]=V(I),[H,B]=V(I),O=e=>{let{__scopeSelect:t,children:r,open:l,defaultOpen:o,onOpenChange:i,value:a,defaultValue:u,onValueChange:s,dir:c,name:p,autoComplete:f,disabled:m,required:g,form:x}=e,y=W(t),[b,C]=n.useState(null),[j,M]=n.useState(null),[R,T]=n.useState(!1),k=(0,d.gm)(c),[E,D]=(0,S.T)({prop:l,defaultProp:null!=o&&o,onChange:i,caller:I}),[N,V]=(0,S.T)({prop:a,defaultProp:u,onChange:s,caller:I}),_=n.useRef(null),A=!b||x||!!b.closest("form"),[B,O]=n.useState(new Set),F=Array.from(B).map(e=>e.props.value).join(";");return(0,w.jsx)(h.fC,{...y,children:(0,w.jsxs)(L,{required:g,scope:t,trigger:b,onTriggerChange:C,valueNode:j,onValueNodeChange:M,valueNodeHasChildren:R,onValueNodeHasChildrenChange:T,contentId:(0,v.M)(),value:N,onValueChange:V,open:E,onOpenChange:D,dir:k,triggerPointerDownPosRef:_,disabled:m,children:[(0,w.jsx)(P.Provider,{scope:t,children:(0,w.jsx)(H,{scope:e.__scopeSelect,onNativeOptionAdd:n.useCallback(e=>{O(t=>new Set(t).add(e))},[]),onNativeOptionRemove:n.useCallback(e=>{O(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),A?(0,w.jsxs)(eT,{"aria-hidden":!0,required:g,tabIndex:-1,name:p,autoComplete:f,value:N,onChange:e=>V(e.target.value),disabled:m,form:x,children:[void 0===N?(0,w.jsx)("option",{value:""}):null,Array.from(B)]},F):null]})})};O.displayName=I;var F="SelectTrigger",K=n.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:l=!1,...o}=e,a=W(r),s=A(F,r),d=s.disabled||l,c=(0,u.e)(t,s.onTriggerChange),p=D(r),f=n.useRef("touch"),[v,m,x]=eE(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),n=eI(t,e,r);void 0!==n&&s.onValueChange(n.value)}),y=e=>{d||(s.onOpenChange(!0),x()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,w.jsx)(h.ee,{asChild:!0,...a,children:(0,w.jsx)(g.WV.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":ek(s.value)?"":void 0,...o,ref:c,onClick:(0,i.Mj)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&y(e)}),onPointerDown:(0,i.Mj)(o.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(y(e),e.preventDefault())}),onKeyDown:(0,i.Mj)(o.onKeyDown,e=>{let t=""!==v.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&k.includes(e.key)&&(y(),e.preventDefault())})})})});K.displayName=F;var U="SelectValue",z=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,children:o,placeholder:i="",...a}=e,s=A(U,r),{onValueNodeHasChildrenChange:d}=s,c=void 0!==o,p=(0,u.e)(t,s.onValueNodeChange);return(0,C.b)(()=>{d(c)},[d,c]),(0,w.jsx)(g.WV.span,{...a,ref:p,style:{pointerEvents:"none"},children:ek(s.value)?(0,w.jsx)(w.Fragment,{children:i}):o})});z.displayName=U;var Z=n.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...l}=e;return(0,w.jsx)(g.WV.span,{"aria-hidden":!0,...l,ref:t,children:n||"â¼"})});Z.displayName="SelectIcon";var q=e=>(0,w.jsx)(m.h,{asChild:!0,...e});q.displayName="SelectPortal";var Y="SelectContent",X=n.forwardRef((e,t)=>{let r=A(Y,e.__scopeSelect),[o,i]=n.useState();return((0,C.b)(()=>{i(new DocumentFragment)},[]),r.open)?(0,w.jsx)(Q,{...e,ref:t}):o?l.createPortal((0,w.jsx)($,{scope:e.__scopeSelect,children:(0,w.jsx)(P.Slot,{scope:e.__scopeSelect,children:(0,w.jsx)("div",{children:e.children})})}),o):null});X.displayName=Y;var[$,G]=V(Y),J=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){let e,o;let i=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,a=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props);return r.type!==n.Fragment&&(a.ref=t?(0,u.F)(t,i):i),n.cloneElement(r,a)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:l,...o}=e,i=n.Children.toArray(l),a=i.find(y);if(a){let e=a.props.children,l=i.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,w.jsx)(t,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,l):null})}return(0,w.jsx)(t,{...o,ref:r,children:l})});return r.displayName=`${e}.Slot`,r}("SelectContent.RemoveScroll"),Q=n.forwardRef((e,t)=>{let{__scopeSelect:r,position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:s,side:d,sideOffset:v,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:x,collisionPadding:y,sticky:b,hideWhenDetached:S,avoidCollisions:C,...j}=e,M=A(Y,r),[k,E]=n.useState(null),[I,P]=n.useState(null),N=(0,u.e)(t,e=>E(e)),[V,_]=n.useState(null),[W,L]=n.useState(null),H=D(r),[B,O]=n.useState(!1),F=n.useRef(!1);n.useEffect(()=>{if(k)return(0,R.Ry)(k)},[k]),(0,p.EW)();let K=n.useCallback(e=>{let[t,...r]=H().map(e=>e.ref.current),[n]=r.slice(-1),l=document.activeElement;for(let r of e)if(r===l||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&I&&(I.scrollTop=0),r===n&&I&&(I.scrollTop=I.scrollHeight),null==r||r.focus(),document.activeElement!==l))return},[H,I]),U=n.useCallback(()=>K([V,k]),[K,V,k]);n.useEffect(()=>{B&&U()},[B,U]);let{onOpenChange:z,triggerPointerDownPosRef:Z}=M;n.useEffect(()=>{if(k){let e={x:0,y:0},t=t=>{var r,n,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(l=null===(r=Z.current)||void 0===r?void 0:r.x)&&void 0!==l?l:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(n=Z.current)||void 0===n?void 0:n.y)&&void 0!==o?o:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():k.contains(r.target)||z(!1),document.removeEventListener("pointermove",t),Z.current=null};return null!==Z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[k,z,Z]),n.useEffect(()=>{let e=()=>z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[z]);let[q,X]=eE(e=>{let t=H().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eI(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),G=n.useCallback((e,t,r)=>{let n=!F.current&&!r;(void 0!==M.value&&M.value===t||n)&&(_(e),n&&(F.current=!0))},[M.value]),Q=n.useCallback(()=>null==k?void 0:k.focus(),[k]),er=n.useCallback((e,t,r)=>{let n=!F.current&&!r;(void 0!==M.value&&M.value===t||n)&&L(e)},[M.value]),en="popper"===l?et:ee,el=en===et?{side:d,sideOffset:v,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:x,collisionPadding:y,sticky:b,hideWhenDetached:S,avoidCollisions:C}:{};return(0,w.jsx)($,{scope:r,content:k,viewport:I,onViewportChange:P,itemRefCallback:G,selectedItem:V,onItemLeave:Q,itemTextRefCallback:er,focusSelectedItem:U,selectedItemText:W,position:l,isPositioned:B,searchRef:q,children:(0,w.jsx)(T.Z,{as:J,allowPinchZoom:!0,children:(0,w.jsx)(f.M,{asChild:!0,trapped:M.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.Mj)(o,e=>{var t;null===(t=M.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,w.jsx)(c.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:(0,w.jsx)(en,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:e=>e.preventDefault(),...j,...el,onPlaced:()=>O(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:(0,i.Mj)(j.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=H().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>K(t)),e.preventDefault()}})})})})})})});Q.displayName="SelectContentImpl";var ee=n.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:l,...i}=e,a=A(Y,r),s=G(Y,r),[d,c]=n.useState(null),[p,f]=n.useState(null),v=(0,u.e)(t,e=>f(e)),h=D(r),m=n.useRef(!1),x=n.useRef(!0),{viewport:y,selectedItem:b,selectedItemText:S,focusSelectedItem:j}=s,M=n.useCallback(()=>{if(a.trigger&&a.valueNode&&d&&p&&y&&b&&S){let e=a.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=a.valueNode.getBoundingClientRect(),n=S.getBoundingClientRect();if("rtl"!==a.dir){let l=n.left-t.left,i=r.left-l,a=e.left-i,u=e.width+a,s=Math.max(u,t.width),c=o(i,[10,Math.max(10,window.innerWidth-10-s)]);d.style.minWidth=u+"px",d.style.left=c+"px"}else{let l=t.right-n.right,i=window.innerWidth-r.right-l,a=window.innerWidth-e.right-i,u=e.width+a,s=Math.max(u,t.width),c=o(i,[10,Math.max(10,window.innerWidth-10-s)]);d.style.minWidth=u+"px",d.style.right=c+"px"}let i=h(),u=window.innerHeight-20,s=y.scrollHeight,c=window.getComputedStyle(p),f=parseInt(c.borderTopWidth,10),v=parseInt(c.paddingTop,10),g=parseInt(c.borderBottomWidth,10),w=f+v+s+parseInt(c.paddingBottom,10)+g,x=Math.min(5*b.offsetHeight,w),C=window.getComputedStyle(y),j=parseInt(C.paddingTop,10),M=parseInt(C.paddingBottom,10),R=e.top+e.height/2-10,T=b.offsetHeight/2,k=f+v+(b.offsetTop+T);if(k<=R){let e=i.length>0&&b===i[i.length-1].ref.current;d.style.bottom="0px";let t=p.clientHeight-y.offsetTop-y.offsetHeight;d.style.height=k+Math.max(u-R,T+(e?M:0)+t+g)+"px"}else{let e=i.length>0&&b===i[0].ref.current;d.style.top="0px";let t=Math.max(R,f+y.offsetTop+(e?j:0)+T);d.style.height=t+(w-k)+"px",y.scrollTop=k-R+y.offsetTop}d.style.margin="".concat(10,"px 0"),d.style.minHeight=x+"px",d.style.maxHeight=u+"px",null==l||l(),requestAnimationFrame(()=>m.current=!0)}},[h,a.trigger,a.valueNode,d,p,y,b,S,a.dir,l]);(0,C.b)(()=>M(),[M]);let[R,T]=n.useState();(0,C.b)(()=>{p&&T(window.getComputedStyle(p).zIndex)},[p]);let k=n.useCallback(e=>{e&&!0===x.current&&(M(),null==j||j(),x.current=!1)},[M,j]);return(0,w.jsx)(er,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:m,onScrollButtonChange:k,children:(0,w.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,w.jsx)(g.WV.div,{...i,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});ee.displayName="SelectItemAlignedPosition";var et=n.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:l=10,...o}=e,i=W(r);return(0,w.jsx)(h.VY,{...i,...o,ref:t,align:n,collisionPadding:l,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});et.displayName="SelectPopperPosition";var[er,en]=V(Y,{}),el="SelectViewport",eo=n.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:l,...o}=e,a=G(el,r),s=en(el,r),d=(0,u.e)(t,a.onViewportChange),c=n.useRef(0);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,w.jsx)(P.Slot,{scope:r,children:(0,w.jsx)(g.WV.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,i.Mj)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if((null==n?void 0:n.current)&&r){let e=Math.abs(c.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,l=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(l<n){let o=l+e,i=Math.min(n,o),a=o-i;r.style.height=i+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});eo.displayName=el;var ei="SelectGroup",[ea,eu]=V(ei),es=n.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,l=(0,v.M)();return(0,w.jsx)(ea,{scope:r,id:l,children:(0,w.jsx)(g.WV.div,{role:"group","aria-labelledby":l,...n,ref:t})})});es.displayName=ei;var ed="SelectLabel",ec=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=eu(ed,r);return(0,w.jsx)(g.WV.div,{id:l.id,...n,ref:t})});ec.displayName=ed;var ep="SelectItem",[ef,ev]=V(ep),eh=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:l,disabled:o=!1,textValue:a,...s}=e,d=A(ep,r),c=G(ep,r),p=d.value===l,[f,h]=n.useState(null!=a?a:""),[m,x]=n.useState(!1),y=(0,u.e)(t,e=>{var t;return null===(t=c.itemRefCallback)||void 0===t?void 0:t.call(c,e,l,o)}),b=(0,v.M)(),S=n.useRef("touch"),C=()=>{o||(d.onValueChange(l),d.onOpenChange(!1))};if(""===l)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,w.jsx)(ef,{scope:r,value:l,disabled:o,textId:b,isSelected:p,onItemTextChange:n.useCallback(e=>{h(t=>{var r;return t||(null!==(r=null==e?void 0:e.textContent)&&void 0!==r?r:"").trim()})},[]),children:(0,w.jsx)(P.ItemSlot,{scope:r,value:l,disabled:o,textValue:f,children:(0,w.jsx)(g.WV.div,{role:"option","aria-labelledby":b,"data-highlighted":m?"":void 0,"aria-selected":p&&m,"data-state":p?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:y,onFocus:(0,i.Mj)(s.onFocus,()=>x(!0)),onBlur:(0,i.Mj)(s.onBlur,()=>x(!1)),onClick:(0,i.Mj)(s.onClick,()=>{"mouse"!==S.current&&C()}),onPointerUp:(0,i.Mj)(s.onPointerUp,()=>{"mouse"===S.current&&C()}),onPointerDown:(0,i.Mj)(s.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:(0,i.Mj)(s.onPointerMove,e=>{if(S.current=e.pointerType,o){var t;null===(t=c.onItemLeave)||void 0===t||t.call(c)}else"mouse"===S.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.Mj)(s.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=c.onItemLeave)||void 0===t||t.call(c)}}),onKeyDown:(0,i.Mj)(s.onKeyDown,e=>{var t;(null===(t=c.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(E.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});eh.displayName=ep;var em="SelectItemText",eg=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:o,style:i,...a}=e,s=A(em,r),d=G(em,r),c=ev(em,r),p=B(em,r),[f,v]=n.useState(null),h=(0,u.e)(t,e=>v(e),c.onItemTextChange,e=>{var t;return null===(t=d.itemTextRefCallback)||void 0===t?void 0:t.call(d,e,c.value,c.disabled)}),m=null==f?void 0:f.textContent,x=n.useMemo(()=>(0,w.jsx)("option",{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:b}=p;return(0,C.b)(()=>(y(x),()=>b(x)),[y,b,x]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(g.WV.span,{id:c.textId,...a,ref:h}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?l.createPortal(a.children,s.valueNode):null]})});eg.displayName=em;var ew="SelectItemIndicator",ex=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return ev(ew,r).isSelected?(0,w.jsx)(g.WV.span,{"aria-hidden":!0,...n,ref:t}):null});ex.displayName=ew;var ey="SelectScrollUpButton",eb=n.forwardRef((e,t)=>{let r=G(ey,e.__scopeSelect),l=en(ey,e.__scopeSelect),[o,i]=n.useState(!1),a=(0,u.e)(t,l.onScrollButtonChange);return(0,C.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){i(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,w.jsx)(ej,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eb.displayName=ey;var eS="SelectScrollDownButton",eC=n.forwardRef((e,t)=>{let r=G(eS,e.__scopeSelect),l=en(eS,e.__scopeSelect),[o,i]=n.useState(!1),a=(0,u.e)(t,l.onScrollButtonChange);return(0,C.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,w.jsx)(ej,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eC.displayName=eS;var ej=n.forwardRef((e,t)=>
1{let{__scopeSelect:r,onAutoScroll:l,...o}=e,a=G("SelectScrollButton",r),u=n.useRef(null),s=D(r),d=n.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return n.useEffect(()=>()=>d(),[d]),(0,C.b)(()=>{var e;let t=s().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[s]),(0,w.jsx)(g.WV.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,i.Mj)(o.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(l,50))}),onPointerMove:(0,i.Mj)(o.onPointerMove,()=>{var e;null===(e=a.onItemLeave)||void 0===e||e.call(a),null===u.current&&(u.current=window.setInterval(l,50))}),onPointerLeave:(0,i.Mj)(o.onPointerLeave,()=>{d()})})}),eM=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,w.jsx)(g.WV.div,{"aria-hidden":!0,...n,ref:t})});eM.displayName="SelectSeparator";var eR="SelectArrow";n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=W(r),o=A(eR,r),i=G(eR,r);return o.open&&"popper"===i.position?(0,w.jsx)(h.Eh,{...l,...n,ref:t}):null}).displayName=eR;var eT=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:l,...o}=e,i=n.useRef(null),a=(0,u.e)(t,i),s=(0,j.D)(l);return n.useEffect(()=>{let e=i.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==l&&t){let r=new Event("change",{bubbles:!0});t.call(e,l),e.dispatchEvent(r)}},[s,l]),(0,w.jsx)(g.WV.select,{...o,style:{...M,...o.style},ref:a,defaultValue:l})});function ek(e){return""===e||void 0===e}function eE(e){let t=(0,b.W)(e),r=n.useRef(""),l=n.useRef(0),o=n.useCallback(e=>{let n=r.current+e;t(n),function e(t){r.current=t,window.clearTimeout(l.current),""!==t&&(l.current=window.setTimeout(()=>e(""),1e3))}(n)},[t]),i=n.useCallback(()=>{r.current="",window.clearTimeout(l.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(l.current),[]),[r,o,i]}function eI(e,t,r){var n;let l=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===l.length&&(o=o.filter(e=>e!==r));let i=o.find(e=>e.textValue.toLowerCase().startsWith(l.toLowerCase()));return i!==r?i:void 0}eT.displayName="SelectBubbleInput";var eP=O,eD=K,eN=z,eV=Z,e_=q,eW=X,eL=eo,eA=es,eH=ec,eB=eh,eO=eg,eF=ex,eK=eb,eU=eC,ez=eM}}]);
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.