1import{S as s,N as n}from"./index-hash-C_PDOCQt.js";class c{#i="[data-ll-sightmap]";#t;#e;#r;constructor(t="[data-ll-sightmap]"){this.#i=t,this.#r=document.querySelector(this.#i),this.#r&&(this.#r.instance=this,s.preloadScript().then(()=>this.#s()).catch(i=>console.error("Failed to preload SightMap script:",i)))}get embed(){return this.#t}async#s(){n.bind(this.#i,{mainClass:"ll-lightbox ll-sightmap z-[9999999990]",on:{"Carousel.ready":async(t,i,e)=>{const a=t.getContainer(),h=t.getSlide();this.#e=JSON.parse(h.triggerEl.getAttribute("data-sightmap-units"))??[];const r=a.querySelector("iframe");r.setAttribute("id","lightbox-sightmap-iframe"),await this.#a(r.id)}}})}async#a(t){try{this.#t=await new s(t).initialize(),this.#t.on("ready",()=>this.#h())}catch(i){console.error("Error initializing SightmapLoader:",i)}}#h(){if(this.#e.length&&this.#t){const t=this.#e.reduce((i,e)=>(i.push(e),e.replace(/^0+/,"")!==e&&i.push(e.replace(/^0+/,"")),i),[]);this.#t.setUnitNumberMatches(t,{filterEditing:!0})}}}export{c 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.