1import{u,x as f,o as c,y as w,n as p,q as i,z as v}from"./BNlnY7xE.js";const y=(e,n)=>e.origin===n&&e.data&&typeof e.data=="object"&&e.data.type==="payload-document-event",l=e=>{const{serverURL:n}=e;typeof window<"u"&&(window?.opener||window?.parent)?.postMessage({type:"payload-live-preview",ready:!0},n)};function L(){const e=i(!1),n=i(!1),{query:o}=u(),t=p().public.payload.serverURL;async function s(d){y(d,t)&&v()}function a(){o.preview&&(typeof window<"u"&&!n.value&&(window.addEventListener("message",s),n.value=!0),e.value||(e.value=!0,l({serverURL:t})))}function r(){typeof window<"u"&&(window.removeEventListener("message",s),n.value=!1)}f(()=>{a()}),c(()=>{r()}),w(()=>{a()})}export{L as u};
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.