1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="18d9f1f1-beea-499e-a0b4-6628ef0d75f5",e._sentryDebugIdIdentifier="sentry-dbid-18d9f1f1-beea-499e-a0b4-6628ef0d75f5")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4243],{64243:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var n=a(95155),s=a(67909),l=a(12115);let o=(0,s.default)(()=>Promise.all([a.e(3806),a.e(4218),a.e(2653),a.e(2711)]).then(a.bind(a,62711)),{loadableGenerated:{webpack:()=>[62711]},ssr:!1});function d({open:e,onOpenChange:t}){let[a,s]=(0,l.useState)(!1),[d,f]=(0,l.useState)(null),[r,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(!e||(s(!0),d||r))return;let t=!1;return(async()=>{try{let e=await fetch("/api/search/catalog");if(!e.ok)throw Error("catalog fetch failed");let a=await e.json();t||f(a.docs??[])}catch{t||u(!0)}})(),()=>{t=!0}},[e,d,r]);let c=(0,l.useCallback)(()=>t(!1),[t]);return a?r?(0,n.jsx)(o,{open:e,onClose:c,docs:[],loadError:!0}):d?(0,n.jsx)(o,{open:e,onClose:c,docs:d}):(0,n.jsx)(o,{open:e,onClose:c,docs:[],loading:!0}):null}}}]);
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.