function_(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}functionO(e,u,s,o){Object.defineProperty(e,u,{get:s,set:o,enumerable:!0,configurable:!0})}varR={};_(R);O(R,"default",()=>U);classUextendsError{constructor(u,s,o,d,c){super(u+":"+o+":"+d+": "+s),this.reason=s,this.filename=u,this.line=o,this.column=d,this.source=c}}varz={};_(z);O(z,"default",()=>H);classH{constructor(u,s,o){this.start=u,this.end=s,this.source=o}}varoe={};O(oe,"CssTypes",()=>g);varg=function(e){returne.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e}({});constQ=1e4,N=(e,u,s)=>{leto=s,d=Q;do{constc=u.map(x=>e.indexOf(x,o));c.push(e.indexOf("\\",o));constf=c.filter(x=>x!==-1);if(f.length===0)return-1;constr=Math.min(...f);if(e[r]==="\\")o=r+2,d--;elsereturnr}while(d>0);thrownewError("Too many escaping")},A=(e,u,s)=>{leto=s,d=Q;do{constc=u.map(a=>e.indexOf(a,o));c.push(e.indexOf("(",o)),c.push(e.indexOf('"',o)),c.push(e.indexOf("'",o)),c.push(e.indexOf("\\",o));constf=c.filter(a=>a!==-1);if(f.length===0)return-1;constr=Math.min(...f);switch(e[r]){case"\\":o=r+2;break;case"(":{consta=A(e,[")"],r+1);if(a===-1)return-1;o=a+1}break;case'"':{consta=N(e,['"'],r+1);if(a===-1)return-1;o=a+1}break;case"'":{consta=N(e,["'"],r+1);if(a===-1)return-1;o=a+1}break;default:returnr}d--}while(d>0);thrownewError("Too many escaping")},ce=(e,u)=>{consts=[];leto=0;for(;o<e.length;){constd=A(e,u,o);if(d===-1)returns.push(e.substring(o)),s;s.push(e.substring(o,d)),o=d+1}returns},P=/\/\*[^]*?(?:\*\/|$)/g,se=(e,u)=>{u=u||{};lets=1,o=1;functiond(n){constt=n.match(/\n/g);t&&(s+=t.length);consti=n.lastIndexOf(`