1import{u as c,z as a}from"./browser-D8jSj2eA.js";const n="xl/styles.xml",l=/<u\s+val="none"\s*\/>/g,i=/<(b|i|strike|outline|shadow|condense|extend)\s+val="(?:0|false)"\s*\/>/g,p=e=>{let r;try{r=c(e)}catch(t){return console.warn("xlsx stylesheet repair: not a readable archive, passing the file through",t),e}if(!r[n])return e;const s=new TextDecoder().decode(r[n]),o=s.replace(l,"").replace(i,"");if(o===s)return e;r[n]=new TextEncoder().encode(o);try{return a(r)}catch(t){return console.warn("xlsx stylesheet repair: could not repack the archive, passing the file through",t),e}};export{p as repairStylesheet};
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.