1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[450],{90450:function(e,n,t){t.r(n);var l=t(3827),o=t(64090),u=t(86959),c=t.n(u);n.default=e=>{let{selectId:n,currentOption:t,options:u=[],onOptionClick:a,onClose:i,setShow:s,noOptionsMessage:d}=e,r=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=e=>{var t;let l=document.getElementById(n);(null==r?void 0:null===(t=r.current)||void 0===t?void 0:t.contains(e.target))||(null==l?void 0:l.contains(e.target))||(s(!1),i())};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let v=e=>n=>{n.preventDefault(),a(e)};return(0,l.jsx)("div",{className:c().menu,ref:r,children:(null==u?void 0:u.length)?null==u?void 0:u.map((e,n)=>(0,l.jsx)("div",{className:"".concat(c().option," ").concat((null==t?void 0:t.value)===e.value&&c().option_selected),onClick:v(e),children:e.label},"option_".concat(n))):(0,l.jsx)("div",{className:c().no_options,children:d})})}}}]);
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.