1import{a as c}from"/build/_shared/chunk-AB756U5S.js";import{d as l}from"/build/_shared/chunk-K5ZPSVUK.js";var s=l(c());function d(t,o){(0,s.useEffect)(()=>{let e=n=>{!t.current||t.current.contains(n.target)||o(n)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[t,o])}var u=(t,o=!1)=>{let[e,n]=(0,s.useState)(o);return(0,s.useEffect)(()=>{let r=window.matchMedia(t);r.matches!==e&&n(!!r.matches);let a=()=>{n(r.matches)};return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[e,t]),e};function m(t,o){(0,s.useEffect)(()=>{let e=t.current?.querySelector("img:not(.placeholder"),n=t.current?.querySelector(".placeholder");function r(){console.log("Image load error.")}let a=()=>{e?.removeEventListener("load",a),e?.style.setProperty("opacity","1"),n?.style.setProperty("opacity","0")};if(e){let{complete:i}=e;i?n?.style.setProperty("display","none"):(n?.style.setProperty("display","block"),e.style.setProperty("opacity","0"),e.addEventListener("load",a),e.addEventListener("error",r))}return()=>{e?.removeEventListener("load",a)}},[t,o])}export{d as a,u as b,m as c};
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.