1import{j as e,b as s}from"./vendor-react-DbsVTsKS.js";import{d as t,w as r}from"./index-Dirtnqiz.js";import{a1 as i,X as a}from"./vendor-ui-B_XW8Pya.js";import"./vendor-i18n-DiTKF2NC.js";import"./vendor-charts-CG7l663-.js";import"./vendor-otel-B3hnpEUX.js";import"./app-constants-D3ojol5R.js";import"./vendor-virtuoso-CT6D0QVj.js";import"./vendor-markdown-CiT-VfZw.js";const o=({isOpen:o,onClose:l,match:n,initialFilter:d="ALL"})=>{const{isDarkMode:c}=t();if(!o)return null;const m=e.jsxs("div",{className:"fixed inset-0 z-[9999] flex items-end justify-center",onClick:e=>{e.stopPropagation(),l()},children:[e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-40 backdrop-blur-sm"}),e.jsxs("div",{className:"relative w-full max-w-lg h-full flex flex-col rounded-t-2xl shadow-2xl overflow-hidden "+(c?"bg-[#0f1e35]":"bg-white"),onClick:e=>e.stopPropagation(),children:[e.jsx("div",{className:"flex justify-center pt-3 pb-1 shrink-0",children:e.jsx("div",{className:"w-10 h-1 rounded-full "+(c?"bg-gray-600":"bg-gray-300")})}),e.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-b shrink-0 "+(c?"border-gray-700":"border-gray-200"),children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{size:16,className:"text-blue-500"}),e.jsx("span",{className:"text-sm font-semibold "+(c?"text-white":"text-gray-900"),children:"Highlights & News"})]}),e.jsx("button",{onClick:l,className:"p-1 rounded-full "+(c?"hover:bg-gray-700":"hover:bg-gray-100"),children:e.jsx(a,{size:16,className:c?"text-gray-400":"text-gray-500"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto",children:e.jsx(r,{context:"match",entityId:null==n?void 0:n.id,initialFilter:d})}),e.jsx("div",{className:"pb-safe pb-4 shrink-0"})]})]});return s.createPortal(m,document.body)};export{o as default};
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.