PageSourceSearch

https://crystara.trade/_next/static/chunks/5026-0869bba2d7070660.js

js crystara.trade collected 2026-10-07 19:15:24 UTC 19,914 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5026],{30401:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(43664).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},40875:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(43664).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(43664).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},62484:function(e,t,r){r.d(t,{u:function(){return n}});function n(e,[t,r]){return Math.min(r,Math.max(t,e))}},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"}},56873:function(e,t,r){r.d(t,{$G:function(){return eF},B4:function(){return eP},JO:function(){return eN},VY:function(){return e_},Z0:function(){return eZ},ZA:function(){return eW},__:function(){return eH},ck:function(){return eA},eT:function(){return eB},fC:function(){return eI},h_:function(){return eV},l_:function(){return eL},u_:function(){return eO},wU:function(){return eK},xz:function(){return eD}});var n=r(2265),l=r(54887),o=r(62484),a=r(6741),i=r(68398),u=r(98575),s=r(73966),c=r(29114),d=r(15278),p=r(86097),f=r(99103),v=r(99255),h=r(26008),m=r(83832),g=r(66840),w=r(37053),x=r(26606),y=r(80886),b=r(61188),S=r(6718),C=r(95098),j=r(5478),M=r(99157),k=r(57437),T=[" ","Enter","ArrowUp","ArrowDown"],R=[" ","Enter"],E="Select",[I,D,P]=(0,i.B)(E),[N,V]=(0,s.b)(E,[P,h.D7]),_=(0,h.D7)(),[L,W]=N(E),[H,A]=N(E),B=e=>{let{__scopeSelect:t,children:r,open:l,defaultOpen:o,onOpenChange:a,value:i,defaultValue:u,onValueChange:s,dir:d,name:p,autoComplete:f,disabled:m,required:g,form:w}=e,x=_(t),[b,S]=n.useState(null),[C,j]=n.useState(null),[M,T]=n.useState(!1),R=(0,c.gm)(d),[D,P]=(0,y.T)({prop:l,defaultProp:null!=o&&o,onChange:a,caller:E}),[N,V]=(0,y.T)({prop:i,defaultProp:u,onChange:s,caller:E}),W=n.useRef(null),A=!b||w||!!b.closest("form"),[B,K]=n.useState(new Set),O=Array.from(B).map(e=>e.props.value).join(";");return(0,k.jsx)(h.fC,{...x,children:(0,k.jsxs)(L,{required:g,scope:t,trigger:b,onTriggerChange:S,valueNode:C,onValueNodeChange:j,valueNodeHasChildren:M,onValueNodeHasChildrenChange:T,contentId:(0,v.M)(),value:N,onValueChange:V,open:D,onOpenChange:P,dir:R,triggerPointerDownPosRef:W,disabled:m,children:[(0,k.jsx)(I.Provider,{scope:t,children:(0,k.jsx)(H,{scope:e.__scopeSelect,onNativeOptionAdd:n.useCallback(e=>{K(t=>new Set(t).add(e))},[]),onNativeOptionRemove:n.useCallback(e=>{K(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),A?(0,k.jsxs)(ek,{"aria-hidden":!0,required:g,tabIndex:-1,name:p,autoComplete:f,value:N,onChange:e=>V(e.target.value),disabled:m,form:w,children:[void 0===N?(0,k.jsx)("option",{value:""}):null,Array.from(B)]},O):null]})})};B.displayName=E;var K="SelectTrigger",O=n.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:l=!1,...o}=e,i=_(r),s=W(K,r),c=s.disabled||l,d=(0,u.e)(t,s.onTriggerChange),p=D(r),f=n.useRef("touch"),[v,m,w]=eR(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),n=eE(t,e,r);void 0!==n&&s.onValueChange(n.value)}),x=e=>{c||(s.onOpenChange(!0),w()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,k.jsx)(h.ee,{asChild:!0,...i,children:(0,k.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:c,"data-disabled":c?"":void 0,"data-placeholder":eT(s.value)?"":void 0,...o,ref:d,onClick:(0,a.Mj)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&x(e)}),onPointerDown:(0,a.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&&(x(e),e.preventDefault())}),onKeyDown:(0,a.Mj)(o.onKeyDown,e=>{let t=""!==v.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&T.includes(e.key)&&
1(x(),e.preventDefault())})})})});O.displayName=K;var F="SelectValue",Z=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,children:o,placeholder:a="",...i}=e,s=W(F,r),{onValueNodeHasChildrenChange:c}=s,d=void 0!==o,p=(0,u.e)(t,s.onValueNodeChange);return(0,b.b)(()=>{c(d)},[c,d]),(0,k.jsx)(g.WV.span,{...i,ref:p,style:{pointerEvents:"none"},children:eT(s.value)?(0,k.jsx)(k.Fragment,{children:a}):o})});Z.displayName=F;var U=n.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...l}=e;return(0,k.jsx)(g.WV.span,{"aria-hidden":!0,...l,ref:t,children:n||"▼"})});U.displayName="SelectIcon";var z=e=>(0,k.jsx)(m.h,{asChild:!0,...e});z.displayName="SelectPortal";var q="SelectContent",Y=n.forwardRef((e,t)=>{let r=W(q,e.__scopeSelect),[o,a]=n.useState();return((0,b.b)(()=>{a(new DocumentFragment)},[]),r.open)?(0,k.jsx)($,{...e,ref:t}):o?l.createPortal((0,k.jsx)(X,{scope:e.__scopeSelect,children:(0,k.jsx)(I.Slot,{scope:e.__scopeSelect,children:(0,k.jsx)("div",{children:e.children})})}),o):null});Y.displayName=q;var[X,G]=N(q),J=(0,w.Z8)("SelectContent.RemoveScroll"),$=n.forwardRef((e,t)=>{let{__scopeSelect:r,position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:s,side:c,sideOffset:v,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:w,collisionPadding:x,sticky:y,hideWhenDetached:b,avoidCollisions:S,...C}=e,T=W(q,r),[R,E]=n.useState(null),[I,P]=n.useState(null),N=(0,u.e)(t,e=>E(e)),[V,_]=n.useState(null),[L,H]=n.useState(null),A=D(r),[B,K]=n.useState(!1),O=n.useRef(!1);n.useEffect(()=>{if(R)return(0,j.Ry)(R)},[R]),(0,p.EW)();let F=n.useCallback(e=>{let[t,...r]=A().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},[A,I]),Z=n.useCallback(()=>F([V,R]),[F,V,R]);n.useEffect(()=>{B&&Z()},[B,Z]);let{onOpenChange:U,triggerPointerDownPosRef:z}=T;n.useEffect(()=>{if(R){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():R.contains(r.target)||U(!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})}}},[R,U,z]),n.useEffect(()=>{let e=()=>U(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[U]);let[Y,G]=eR(e=>{let t=A().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eE(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),$=n.useCallback((e,t,r)=>{let n=!O.current&&!r;(void 0!==T.value&&T.value===t||n)&&(_(e),n&&(O.current=!0))},[T.value]),et=n.useCallback(()=>null==R?void 0:R.focus(),[R]),er=n.useCallback((e,t,r)=>{let n=!O.current&&!r;(void 0!==T.value&&T.value===t||n)&&H(e)},[T.value]),en="popper"===l?ee:Q,el=en===ee?{side:c,sideOffset:v,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:w,collisionPadding:x,sticky:y,hideWhenDetached:b,avoidCollisions:S}:{};return(0,k.jsx)(X,{scope:r,content:R,viewport:I,onViewportChange:P,itemRefCallback:$,selectedItem:V,onItemLeave:et,itemTextRefCallback:er,focusSelectedItem:Z,selectedItemText:L,position:l,isPositioned:B,searchRef:Y,children:(0,k.jsx)(M.Z,{as:J,allowPinchZoom:!0,children:(0,k.jsx)(f.M,{asChild:!0,trapped:T.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.Mj)(o,e=>{var t;null===(t=T.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,k.jsx)(d.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:(0,k.jsx)(en,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:e=>e.preventDefault(),...C,...el,onPlaced:()=>K(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,a.Mj)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||G(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=A().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(()=>F(t)),e.preventDefault()}})})})})})})});$.displayName="SelectContentImpl";var Q=n.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:l,...a}=e,i=W(q,r),s=G(q,r),[c,d]=n.useState(null),[p,f]=n.useState(null),v=(0,u.e)(t,e=>f(e)),h=D(r),m=n.useRef(!1),w=n.useRef(!0),{viewport:x,selectedItem:y,selectedItemText:S,focusSelectedItem:C}=s,j=n.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&p&&x&&y&&S){let e=i.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=i.valueNode.getBoundingClientRect(),n=S.getBoundingClientRect();if("rtl"!==i.dir){let l=n.left-t.left,a=r.left-l,i=e.left-a,u=e.width+i,s=Math.max(u,t.width),d=window.innerWidth-10,p=(0,o.u)(a,[10,Math.max(10,d-s)]);c.style.minWidth=u+"px",c.style.left=p+"px"}else{let l=t.right-n.right,a=window.innerWidth-r.right-l,i=window.innerWidth-e.right-a,u=e.width+i,s=Math.max(u,t.width),d=window.innerWidth-10,p=(0,o.u)(a,[10,Math.max(10,d-s)]);c.style.minWidth=u+"px",c.style.right=p+"px"}let a=h(),u=window.innerHeight-20,s=x.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),w=f+v+s+parseInt(d.paddingBottom,10)+g,b=Math.min(5*y.offsetHeight,w),C=window.getComputedStyle(x),j=parseInt(C.paddingTop,10),M=parseInt(C.paddingBottom,10),k=e.top+e.height/2-10,T=y.offsetHeight/2,R=f+v+(y.offsetTop+T);if(R<=k){let e=a.length>0&&y===a[a.length-1].ref.current;c.style.bottom="0px";let t=p.clientHeight-x.offsetTop-x.offsetHeight;c.style.height=R+Math.max(u-k,T+(e?M:0)+t+g)+"px"}else{let e=a.length>0&&y===a[0].ref.current;c.style.top="0px";let t=Math.max(k,f+x.offsetTop+(e?j:0)+T);c.style.height=t+(w-R)+"px",x.scrollTop=R-k+x.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=b+"px",c.style.maxHeight=u+"px",null==l||l(),requestAnimationFrame(()=>m.current=!0)}},[h,i.trigger,i.valueNode,c,p,x,y,S,i.dir,l]);(0,b.b)(()=>j(),[j]);let[M,T]=n.useState();(0,b.b)(()=>{p&&T(window.getComputedStyle(p).zIndex)},[p]);let R=n.useCallback(e=>{e&&!0===w.current&&(j(),null==C||C(),w.current=!1)},[j,C]);return(0,k.jsx)(et,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:R,children:(0,k.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:(0,k.jsx)(g.WV.div,{...a,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Q.displayName="SelectItemAlignedPosition";var ee=n.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:l=10,...o}=e,a=_(r);return(0,k.jsx)(h.VY,{...a,...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)"}})});ee.displayName="SelectPopperPosition";var[et,er]=N(q,{}),en="SelectViewport",el=n.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:l,...o}=e,i=G(en,r),s=er(en,r),c=(0,u.e)(t,i.onViewportChange),d=n.useRef(0);return(0,k.jsxs)(k.Fragment,{children:[(0,k.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,k.jsx)(I.Slot,{scope:r,children:(0,k.jsx)(g.WV.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,a.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(d.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,a=Math.min(n,o),i=o-a;r.style.height=a+"px","0px"===r.style.bottom&&(t.scrollTop=i>0?i:0,r.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});el.displayName=en;var eo="SelectGroup",[ea,ei]=N(eo),eu=n.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,l=(0,v.M)();return(0,k.jsx)(ea,{scope:r,id:l,children:(0,k.jsx)(g.WV.div,{role:"group","aria-labelledby":l,...n,ref:t})})});eu.displayName=eo;var es="SelectLabel",ec=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=ei(es,r);return(0,k.jsx)(g.WV.div,{id:l.id,...n,ref:t})});ec.displayName=es;var ed="SelectItem",[ep,ef]=N(ed),ev=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:l,disabled:o=!1,textValue:i,...s}=e,c=W(ed,r),d=G(ed,r),p=c.value===l,[f,h]=n.useState(null!=i?i:""),[m,w]=n.useState(!1),x=(0,u.e)(t,e=>{var t;return null===(t=d.itemRefCallback)||void 0===t?void 0:t.call(d,e,l,o)}),y=(0,v.M)(),b=n.useRef("touch"),S=()=>{o||(c.onValueChange(l),c.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,k.jsx)(ep,{scope:r,value:l,disabled:o,textId:y,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,k.jsx)(I.ItemSlot,{scope:r,value:l,disabled:o,textValue:f,children:(0,k.jsx)(g.WV.div,{role:"option","aria-labelledby":y,"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:x,onFocus:(0,a.Mj)(s.onFocus,()=>w(!0)),onBlur:(0,a.Mj)(s.onBlur,()=>w(!1)),onClick:(0,a.Mj)(s.onClick,()=>{"mouse"!==b.current&&S()}),onPointerUp:(0,a.Mj)(s.onPointerUp,()=>{"mouse"===b.current&&S()}),onPointerDown:(0,a.Mj)(s.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,a.Mj)(s.onPointerMove,e=>{if(b.current=e.pointerType,o){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}else"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.Mj)(s.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}}),onKeyDown:(0,a.Mj)(s.onKeyDown,e=>{var t;(null===(t=d.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(R.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});ev.displayName=ed;var eh="SelectItemText",em=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:o,style:a,...i}=e,s=W(eh,r),c=G(eh,r),d=ef(eh,r),p=A(eh,r),[f,v]=n.useState(null),h=(0,u.e)(t,e=>v(e),d.onItemTextChange,e=>{var t;return null===(t=c.itemTextRefCallback)||void 0===t?void 0:t.call(c,e,d.value,d.disabled)}),m=null==f?void 0:f.textContent,w=n.useMemo(()=>(0,k.jsx)("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:x,onNativeOptionRemove:y}=p;return(0,b.b)(()=>(x(w),()=>y(w)),[x,y,w]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(g.WV.span,{id:d.textId,...i,ref:h}),d.isSelected&&s.valueNode&&!s.valueNodeHasChildren?l.createPortal(i.children,s.valueNode):null]})});em.displayName=eh;var eg="SelectItemIndicator",ew=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return ef(eg,r).isSelected?(0,k.jsx)(g.WV.span,{"aria-hidden":!0,...n,ref:t}):null});ew.displayName=eg;var ex="SelectScrollUpButton",ey=n.forwardRef((e,t)=>{let r=G(ex,e.__scopeSelect),l=er(ex,e.__scopeSelect),[o,a]=n.useState(!1),i=(0,u.e)(t,l.onScrollButtonChange);return(0,b.b)(()=>
1{if(r.viewport&&r.isPositioned){let e=function(){a(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,k.jsx)(eC,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ey.displayName=ex;var eb="SelectScrollDownButton",eS=n.forwardRef((e,t)=>{let r=G(eb,e.__scopeSelect),l=er(eb,e.__scopeSelect),[o,a]=n.useState(!1),i=(0,u.e)(t,l.onScrollButtonChange);return(0,b.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,k.jsx)(eC,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eS.displayName=eb;var eC=n.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:l,...o}=e,i=G("SelectScrollButton",r),u=n.useRef(null),s=D(r),c=n.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return n.useEffect(()=>()=>c(),[c]),(0,b.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,k.jsx)(g.WV.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,a.Mj)(o.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(l,50))}),onPointerMove:(0,a.Mj)(o.onPointerMove,()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===u.current&&(u.current=window.setInterval(l,50))}),onPointerLeave:(0,a.Mj)(o.onPointerLeave,()=>{c()})})}),ej=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,k.jsx)(g.WV.div,{"aria-hidden":!0,...n,ref:t})});ej.displayName="SelectSeparator";var eM="SelectArrow";n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=_(r),o=W(eM,r),a=G(eM,r);return o.open&&"popper"===a.position?(0,k.jsx)(h.Eh,{...l,...n,ref:t}):null}).displayName=eM;var ek=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:l,...o}=e,a=n.useRef(null),i=(0,u.e)(t,a),s=(0,S.D)(l);return n.useEffect(()=>{let e=a.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,k.jsx)(g.WV.select,{...o,style:{...C.C2,...o.style},ref:i,defaultValue:l})});function eT(e){return""===e||void 0===e}function eR(e){let t=(0,x.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]),a=n.useCallback(()=>{r.current="",window.clearTimeout(l.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(l.current),[]),[r,o,a]}function eE(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 a=o.find(e=>e.textValue.toLowerCase().startsWith(l.toLowerCase()));return a!==r?a:void 0}ek.displayName="SelectBubbleInput";var eI=B,eD=O,eP=Z,eN=U,eV=z,e_=Y,eL=el,eW=eu,eH=ec,eA=ev,eB=em,eK=ew,eO=ey,eF=eS,eZ=ej},6718:function(e,t,r){r.d(t,{D:function(){return l}});var n=r(2265);function l(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}}}]);

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.