1const a=e=>{const r=e.getAttribute("data-src");e.classList.remove("js-inline-svg");const o=[...e.classList];fetch(r).then(i=>i.text()).then(i=>{const s=document.createElement("div");s.innerHTML=i;const t=s.querySelector("svg");if(t.classList.add(...o),!(t.hasAttribute("viewbox")||t.hasAttribute("viewBox"))){const c=t.getAttribute("width"),n=t.getAttribute("height");t.setAttribute("viewBox",`0 0 ${c} ${n}`)}e.parentNode.replaceChild(t,e)}).catch(i=>{console.error("Error loading SVG:",i)})};export{a as init}; 2//# sourceMappingURL=inline-svg.9aKUeJtf.js.map
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.