var csstree=(()=>{var Hs=Object.create;var Pt=Object.defineProperty;var Gs=Object.getOwnPropertyDescriptor;var Ys=Object.getOwnPropertyNames;var Ks=Object.getPrototypeOf,Vs=Object.prototype.hasOwnProperty;var _e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),f=(e,t)=>{for(var r in t)Pt(e,r,{get:t[r],enumerable:!0})},xo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ys(t))!Vs.call(e,i)&&i!==r&&Pt(e,i,{get:()=>t[i],enumerable:!(n=Gs(t,i))||n.enumerable});return e};var Qs=(e,t,r)=>(r=e!=null?Hs(Ks(e)):{},xo(t||!e||!e.__esModule?Pt(r,"default",{value:e,enumerable:!0}):r,e)),Xs=e=>xo(Pt({},"__esModule",{value:!0}),e);var Do=_e(Cr=>{var No="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Cr.encode=function(e){if(0<=e&&e{var Oo=Do(),Tr=5,Fo=1<>1;return t?-r:r}Lr.encode=function(t){var r="",n,i=cl(t);do n=i&Ro,i>>>=Tr,i>0&&(n|=Mo),r+=Oo.encode(n);while(i>0);return r};Lr.decode=function(t,r,n){var i=t.length,o=0,a=0,c,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=Oo.decode(t.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));c=!!(u&Mo),u&=Ro,o=o+(u<{function pl(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}W.getArg=pl;var _o=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,hl=/^data:.+\,.+$/;function pt(e){var t=e.match(_o);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}W.urlParse=pt;function Xe(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}W.urlGenerate=Xe;var ml=32;function dl(e){var t=[];return function(r){for(var n=0;nml&&t.pop(),o}}var Ar=dl(function(t){var r=t,n=pt(t);if(n){if(!n.path)return t;r=n.path}for(var i=W.isAbsolute(r),o=[],a=0,c=0;;)if(a=c,c=r.indexOf("/",a),c===-1){o.push(r.slice(a));break}else for(o.push(r.slice(a,c));c=0;c--)u=o[c],u==="."?o.splice(c,1):u===".."?s++:s>0&&(u===""?(o.splice(c+1,s),s=0):(o.splice(c,2),s--));return r=o.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Xe(n)):r});W.normalize=Ar;function Wo(e,t){e===""&&(e="."),t===""&&(t=".");var r=pt(t),n=pt(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Xe(r);if(r||t.match(hl))return t;if(n&&!n.host&&!n.path)return n.host=t,Xe(n);var i=t.charAt(0)==="/"?t:Ar(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,Xe(n)):i}W.join=Wo;W.isAbsolute=function(e){return e.charAt(0)==="/"||_o.test(e)};function fl(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}W.relative=fl;var qo=(function(){var e=Object.create(null);return!("__proto__"in e)})();function jo(e){return e}function gl(e){return Uo(e)?"$"+e:e}W.toSetString=qo?jo:gl;function bl(e){return Uo(e)?e.slice(1):e}W.fromSetString=qo?jo:bl;function Uo(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function yl(e,t,r){var n=ke(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ke(e.name,t.name)}W.compareByOriginalPositions=yl;function xl(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ke(e.name,t.name)}W.compareByOriginalPositionsNoSource=xl;function kl(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=ke(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ke(e.name,t.name)}W.compareByGeneratedPositionsDeflated=kl;function wl(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=ke(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ke(e.name,t.name)}W.compareByGeneratedPositionsDeflatedNoLine=wl;function ke(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function vl(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=ke(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:ke(e.name,t.name)}W.compareByGeneratedPositionsInflated=vl;function Sl(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}W.parseSourceMapInput=Sl;function Cl(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=pt(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=Wo(Xe(n),t)}return Ar(t)}W.computeSourceURL=Cl});var Go=_e(Ho=>{var Er=qt(),zr=Object.prototype.hasOwnProperty,Oe=typeof Map<"u";function we(){this._array=[],this._set=Oe?new Map:Object.create(null)}we.fromArray=function(t,r){for(var n=new we,i=0,o=t.length;i=0)return r}else{var n=Er.toSetString(t);if(zr.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};we.prototype.at=function(t){if(t>=0&&t{var Yo=qt();function Tl(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return n>r||n==r&&o>=i||Yo.compareByGeneratedPositionsInflated(e,t)<=0}function jt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}jt.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};jt.prototype.add=function(t){Tl(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};jt.prototype.toArray=function(){return this._sorted||(this._array.sort(Yo.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Ko.MappingList=jt});var Xo=_e(Qo=>{var ht=Bo(),F=qt(),Ut=Go().ArraySet,Ll=Vo().MappingList;function oe(e){e||(e={}),this._file=F.getArg(e,"file",null),this._sourceRoot=F.getArg(e,"sourceRoot",null),this._skipValidation=F.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=F.getArg(e,"ignoreInvalidMapping",!1),this._sources=new Ut,this._names=new Ut,this._mappings=new Ll,this._sourcesContents=null}oe.prototype._version=3;oe.fromSourceMap=function(t,r){var n=t.sourceRoot,i=new oe(Object.assign(r||{},{file:t.file,sourceRoot:n}));return t.eachMapping(function(o){var a={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(a.source=o.source,n!=null&&(a.source=F.relative(n,a.source)),a.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(a.name=o.name)),i.addMapping(a)}),t.sources.forEach(function(o){var a=o;n!==null&&(a=F.relative(n,o)),i._sources.has(a)||i._sources.add(a);var c=t.sourceContentFor(o);c!=null&&i.setSourceContent(o,c)}),i};oe.prototype.addMapping=function(t){var r=F.getArg(t,"generated"),n=F.getArg(t,"original",null),i=F.getArg(t,"source",null),o=F.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(r,n,i,o)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o}))};oe.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=F.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[F.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[F.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};oe.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var o=this._sourceRoot;o!=null&&(i=F.relative(o,i));var a=new Ut,c=new Ut;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var s=t.originalPositionFor({line:u.originalLine,column:u.originalColumn});s.source!=null&&(u.source=s.source,n!=null&&(u.source=F.join(n,u.source)),o!=null&&(u.source=F.relative(o,u.source)),u.originalLine=s.line,u.originalColumn=s.column,s.name!=null&&(u.name=s.name))}var l=u.source;l!=null&&!a.has(l)&&a.add(l);var p=u.name;p!=null&&!c.has(p)&&c.add(p)},this),this._sources=a,this._names=c,t.sources.forEach(function(u){var s=t.sourceContentFor(u);s!=null&&(n!=null&&(u=F.join(n,u)),o!=null&&(u=F.relative(o,u)),this.setSourceContent(u,s))},this)};oe.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number"){var o="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(o),!1;throw new Error(o)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;var o="Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(o),!1;throw new Error(o)}};oe.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,o=0,a=0,c="",u,s,l,p,h=this._mappings.toArray(),d=0,b=h.length;d0){if(!F.compareByGeneratedPositionsInflated(s,h[d-1]))continue;u+=","}u+=ht.encode(s.generatedColumn-t),t=s.generatedColumn,s.source!=null&&(p=this._sources.indexOf(s.source),u+=ht.encode(p-a),a=p,u+=ht.encode(s.originalLine-1-i),i=s.originalLine-1,u+=ht.encode(s.originalColumn-n),n=s.originalColumn,s.name!=null&&(l=this._names.indexOf(s.name),u+=ht.encode(l-o),o=l)),c+=u}return c};oe.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=F.relative(r,n));var i=F.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};oe.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};oe.prototype.toString=function(){return JSON.stringify(this.toJSON())};Qo.SourceMapGenerator=oe});var Ed={};f(Ed,{Lexer:()=>Re,List:()=>j,OffsetToLocation:()=>Ye,TokenStream:()=>Ke,clone:()=>fr,createLexer:()=>kd,createSyntax:()=>sr,definitionSyntax:()=>Jr,find:()=>vd,findAll:()=>Cd,findLast:()=>Sd,fork:()=>Ad,fromPlainObject:()=>Ld,generate:()=>yd,ident:()=>yo,isCustomProperty:()=>gt,keyword:()=>ft,lexer:()=>xd,parse:()=>bd,property:()=>Qt,string:()=>pr,toPlainObject:()=>Td,tokenNames:()=>Te,tokenTypes:()=>It,tokenize:()=>gd,url:()=>mr,vendorPrefix:()=>Wl,version:()=>md,walk:()=>wd});var It={};f(It,{AtKeyword:()=>N,BadString:()=>We,BadUrl:()=>Y,CDC:()=>K,CDO:()=>Ie,Colon:()=>B,Comma:()=>V,Comment:()=>D,Delim:()=>w,Dimension:()=>k,EOF:()=>be,Function:()=>x,Hash:()=>T,Ident:()=>m,LeftCurlyBracket:()=>R,LeftParenthesis:()=>S,LeftSquareBracket:()=>$,Number:()=>g,Percentage:()=>P,RightCurlyBracket:()=>Z,RightParenthesis:()=>y,RightSquareBracket:()=>ee,Semicolon:()=>_,String:()=>ne,Url:()=>M,WhiteSpace:()=>L});var be=0,m=1,x=2,N=3,T=4,ne=5,We=6,M=7,Y=8,w=9,g=10,P=11,k=12,L=13,Ie=14,K=15,B=16,_=17,V=18,$=19,ee=20,S=21,y=22,R=23,Z=24,D=25;function O(e){return e>=48&&e<=57}function te(e){return O(e)||e>=65&&e<=70||e>=97&&e<=102}function Dt(e){return e>=65&&e<=90}function $s(e){return e>=97&&e<=122}function Zs(e){return Dt(e)||$s(e)}function Js(e){return e>=128}function Nt(e){return Zs(e)||Js(e)||e===95}function qe(e){return Nt(e)||O(e)||e===45}function el(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function at(e){return e===10||e===13||e===12}function me(e){return at(e)||e===32||e===9}function Q(e,t){return!(e!==92||at(t)||t===0)}function je(e,t,r){return e===45?Nt(t)||t===45||Q(t,r):Nt(e)?!0:e===92?Q(e,t):!1}function Ot(e,t,r){return e===43||e===45?O(t)?2:t===46&&O(r)?3:0:e===46?O(t)?2:0:O(e)?1:0}function Ft(e){return e===65279||e===65534?1:0}var gr=new Array(128),tl=128,st=130,br=131,Rt=132,yr=133;for(let e=0;ee.length)return!1;for(let i=t;i=0&&me(e.charCodeAt(t));t--);return t+1}function lt(e,t){for(;t=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Te=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"];function Ge(e=null,t){return e===null||e.length0?Ft(t.charCodeAt(0)):0,i=Ge(e.lines,r),o=Ge(e.columns,r),a=e.startLine,c=e.startColumn;for(let u=n;ur?r:e}var Ke=class{constructor(t,r){this.setSource(t,r)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",r=()=>{}){t=String(t||"");let n=t.length,i=Ge(this.offsetAndType,t.length+1),o=Ge(this.balance,t.length+1),a=0,c=-1,u=0,s=t.length;this.offsetAndType=null,this.balance=null,o.fill(0),r(t,(l,p,h)=>{let d=a++;if(i[d]=l<>ce]}else this.isBlockOpenerTokenType(l)&&(s=d,u=Le[l])}),i[a]=0<a&&(o[l]=a)}this.source=t,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=i,this.balance=o,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t>ce:0}lookupTypeNonSC(t){for(let r=this.tokenIndex;r>ce;if(n!==13&&n!==25&&t--===0)return n}return 0}lookupOffset(t){return t+=this.tokenIndex,t>ce;if(n!==13&&n!==25&&t--===0)return r-this.tokenIndex}return 0}lookupValue(t,r){return t+=this.tokenIndex,t0?t>ce}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return ue[t]===ut}isBlockCloserTokenType(t){return ue[t]===Wt}getBlockTokenPairIndex(t){let r=this.getTokenType(t);if(ue[r]===1){let n=this.balance[t],i=this.getTokenType(n);return Le[r]===i?n:-1}else if(ue[r]===2){let n=this.balance[t],i=this.getTokenType(n);return Le[i]===r?n:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]>ce,this.tokenEnd=r&le):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t>ce,this.tokenEnd=t&le):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(t,r){let n=t,i=0,o=0;e:for(;n0?this.offsetAndType[n-1]&le:this.firstCharOffset,r(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[n]>>ce)&&(n=i)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r>ce;n=a,t(c,i,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,i,o)=>{t[o]={idx:o,type:Te[r],chunk:this.source.substring(n,i),balance:this.balance[o]}}),t}};function Ae(e,t){function r(p){return p=e.length){sString(b+v+1).padStart(h)+" |"+J).join(` `)}let c=` `.repeat(Math.max(n-1,0)),u=" ".repeat(Math.max(i-1,0)),s=(c+u+e).split(/\r\n?|\n|\f/),l=Math.max(1,t-o)-1,p=Math.min(t+o,s.length+1),h=Math.max(4,String(p).length)+1,d=0;r+=(Lo.length-1)*(s[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>kr&&(d=r-To+3,r=To-2);for(let b=l;b<=p;b++)b>=0&&b0&&s[b].length>d?"\u2026":"")+s[b].substr(d,kr-2)+(s[b].length>d+kr-1?"\u2026":""));return[a(l,t),new Array(r+h+2).join("-")+"^",a(t,p)].filter(Boolean).join(` `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function wr(e,t,r,n,i,o=1,a=1){return Object.assign(De("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(u){return Ao({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(u)?0:u)},get formattedMessage(){return`Parse error: ${e} `+Ao({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}function Eo(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var Qe=()=>{},nl=33,il=35,vr=59,zo=123,Po=0,ol={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},al={createList(){return new j},createSingleNodeList(e){return new j().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function sl(e){return function(){return this[e]()}}function Sr(e){let t=Object.create(null);for(let r of Object.keys(e)){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function ll(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Sr(e.atrule),pseudo:Sr(e.pseudo),node:Sr(e.node)};for(let[r,n]of Object.entries(e.parseContext))switch(typeof n){case"function":t.context[r]=n;break;case"string":t.context[r]=sl(n);break}return{config:t,...t,...t.node}}function Io(e){let t="",r="",n=!1,i=Qe,o=!1,a=new Ye,c=Object.assign(new Ke,ll(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Eo,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(l){return l===zo?1:0},consumeUntilLeftCurlyBracketOrSemicolon(l){return l===zo||l===vr?1:0},consumeUntilExclamationMarkOrSemicolon(l){return l===nl||l===vr?1:0},consumeUntilSemicolonIncluded(l){return l===vr?2:0},createList:Qe,createSingleNodeList:Qe,getFirstListNode:Qe,getLastListNode:Qe,parseWithFallback(l,p){let h=this.tokenIndex;try{return l.call(this)}catch(d){if(o)throw d;this.skip(h-this.tokenIndex);let b=p.call(this);return o=!0,i(d,b),o=!1,b}},lookupNonWSType(l){let p;do if(p=this.lookupType(l++),p!==13&&p!==25)return p;while(p!==Po);return Po},charCodeAt(l){return l>=0&&lb.toUpperCase()),h=`${/[[\](){}]/.test(p)?`"${p}"`:p} is expected`,d=this.tokenStart;switch(l){case 1:this.tokenType===2||this.tokenType===7?(d=this.tokenEnd-1,h="Identifier is expected but function found"):h="Identifier is expected";break;case 4:this.isDelim(il)&&(this.next(),d++,h="Name is expected");break;case 11:this.tokenType===10&&(d=this.tokenEnd,h="Percent sign is expected");break}this.error(h,d)}this.next()},eatIdent(l){(this.tokenType!==1||this.lookupValue(0,l)===!1)&&this.error(`Identifier "${l}" is expected`),this.next()},eatDelim(l){this.isDelim(l)||this.error(`Delim "${String.fromCharCode(l)}" is expected`),this.next()},getLocation(l,p){return n?a.getLocationRange(l,p,r):null},getLocationFromList(l){if(n){let p=this.getFirstListNode(l),h=this.getLastListNode(l);return a.getLocationRange(p!==null?p.loc.start.offset-a.startOffset:this.tokenStart,h!==null?h.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(l,p){let h=typeof p<"u"&&p({filename:r,source:t,tokenCount:c.tokenCount,getTokenType:l=>c.getTokenType(l),getTokenTypeName:l=>Te[c.getTokenType(l)],getTokenStart:l=>c.getTokenStart(l),getTokenEnd:l=>c.getTokenEnd(l),getTokenValue:l=>c.source.substring(c.getTokenStart(l),c.getTokenEnd(l)),substring:(l,p)=>c.source.substring(l,p),balance:c.balance.subarray(0,c.tokenCount+1),isBlockOpenerTokenType:c.isBlockOpenerTokenType,isBlockCloserTokenType:c.isBlockCloserTokenType,getBlockTokenPairIndex:l=>c.getBlockTokenPairIndex(l),getLocation:l=>a.getLocation(l,r),getRangeLocation:(l,p)=>a.getLocationRange(l,p,r)});return Object.assign(function(l,p){t=l,p=p||{},c.setSource(t,Ae),a.setSource(t,p.offset,p.line,p.column),r=p.filename||"",n=!!p.positions,i=typeof p.onParseError=="function"?p.onParseError:Qe,o=!1,c.parseAtrulePrelude="parseAtrulePrelude"in p?!!p.parseAtrulePrelude:!0,c.parseRulePrelude="parseRulePrelude"in p?!!p.parseRulePrelude:!0,c.parseValue="parseValue"in p?!!p.parseValue:!0,c.parseCustomProperty="parseCustomProperty"in p?!!p.parseCustomProperty:!1;let{context:h="default",list:d=!0,onComment:b,onToken:U}=p;if(!(h in c.context))throw new Error("Unknown context `"+h+"`");Object.assign(c,d?al:ol),Array.isArray(U)?c.forEachToken((v,E,H)=>{U.push({type:v,start:E,end:H})}):typeof U=="function"&&c.forEachToken(U.bind(u())),typeof b=="function"&&c.forEachToken((v,E,H)=>{if(v===25){let z=c.getLocation(E,H),re=xe(t,H-2,H,"*/")?t.slice(E+2,H-2):t.slice(E+2,H);b(re,z)}});let J=c.context[h].call(c,p);return c.eof||c.error(),J},{SyntaxError:wr,config:c.config})}var Zo=Qs(Xo(),1),$o=new Set(["Atrule","Selector","Declaration"]);function Jo(e){let t=new Zo.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,c=0,u=!1,s=e.node;e.node=function(h){if(h.loc&&h.loc.start&&$o.has(h.type)){let d=h.loc.start.line,b=h.loc.start.column-1;(n.line!==d||n.column!==b)&&(n.line=d,n.column=b,r.line=a,r.column=c,u&&(u=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(o)),u=!0,t.addMapping({source:h.loc.source,original:n,generated:r}))}s.call(this,h),u&&$o.has(h.type)&&(i.line=a,i.column=c)};let l=e.emit;e.emit=function(h,d,b){for(let U=0;UIr,spec:()=>Pl});var Al=43,El=45,Pr=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),ea=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],zl=ea.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);function ta(e){let t=new Set(e.map(([r,n])=>Pr(r)<<16|Pr(n)));return function(r,n,i){let o=Pr(n,i),a=i.charCodeAt(0),c=a===El&&n!==1&&n!==2&&n!==15||a===Al?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|c}}var Pl=ta(ea),Ir=ta(zl);var Il=92;function Nl(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function ra(e){let t=new Map;for(let[r,n]of Object.entries(e.node))typeof(n.generate||n)=="function"&&t.set(r,n.generate||n);return function(r,n){let i="",o=0,a={node(u){if(t.has(u.type))t.get(u.type).call(c,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:Ir,token(u,s,l){o=this.tokenBefore(o,u,s),!l&&o&1&&this.emit(" ",13,!0),this.emit(s,u,!1),u===9&&s.charCodeAt(0)===Il&&this.emit(` `,13,!0)},emit(u){i+=u},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=Jo(a)),n.mode in Ht&&(a.tokenBefore=Ht[n.mode]));let c={node:u=>a.node(u),children:Nl,token:(u,s)=>a.token(u,s),tokenize:u=>Ae(u,(s,l,p)=>{a.token(s,u.slice(l,p),l!==0)})};return a.node(r),a.result()}}function na(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof j)&&(r.children=new j().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof j&&(r.children=r.children.toArray())}}),t}}}var{hasOwnProperty:Nr}=Object.prototype,mt=function(){};function ia(e){return typeof e=="function"?e:mt}function oa(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function Dl(e,t){let r=t.structure,n=[];for(let i in r){if(Nr.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let c of o)c===null?a.nullable=!0:typeof c=="string"?a.type="node":Array.isArray(c)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function Ol(e){let t={};for(let r in e.node)if(Nr.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=Dl(r,n)}return t}function aa(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,c,u){let s;i&&(s=a[n],a[n]=o);for(let l of r){let p=o[l.name];if(!l.nullable||p){if(l.type==="list"){if(t?p.reduceRight(u,!1):p.reduce(u,!1))return!0}else if(c(p))return!0}}i&&(a[n]=s)}}function sa({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function la(e){let t=Ol(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let s in t)Nr.call(t,s)&&t[s]!==null&&(r[s]=aa(t[s],!1),n[s]=aa(t[s],!0));let a=sa(r),c=sa(n),u=function(s,l){function p(v,E,H){let z=h.call(J,v,E,H);return z===i?!0:z===o?!1:!!(b.hasOwnProperty(v.type)&&b[v.type](v,J,p,U)||d.call(J,v,E,H)===i)}let h=mt,d=mt,b=r,U=(v,E,H,z)=>v||p(E,H,z),J={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof l=="function")h=l;else if(l&&(h=ia(l.enter),d=ia(l.leave),l.reverse&&(b=n),l.visit)){if(a.hasOwnProperty(l.visit))b=l.reverse?c[l.visit]:a[l.visit];else if(!t.hasOwnProperty(l.visit))throw new Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");h=oa(h,l.visit),d=oa(d,l.visit)}if(h===mt&&d===mt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");p(s)};return u.break=i,u.skip=o,u.find=function(s,l){let p=null;return u(s,function(h,d,b){if(l.call(this,h,d,b))return p=h,i}),p},u.findLast=function(s,l){let p=null;return u(s,{reverse:!0,enter(h,d,b){if(l.call(this,h,d,b))return p=h,i}}),p},u.findAll=function(s,l){let p=[];return u(s,function(h,d,b){l.call(this,h,d,b)&&p.push(h)}),p},u}function Fl(e){return e}function Rl(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Ml(e){if(e.type==="Range")return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function Bl(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Gt(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Gt(e,t,r,n){let i;switch(e.type){case"Group":i=Bl(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Gt(e.term,t,r,n)+t(Rl(e),e);case"Boolean":i="";break;case"Type":i="<"+e.name+(e.opts?t(Ml(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Fe(e,t){let r=Fl,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Gt(e,r,n,i)}var ca={offset:0,line:1,column:1};function _l(e,t){let r=e.tokens,n=e.longestMatch,i=n1?(l=Yt(o||t,"end")||dt(ca,s),p=dt(l)):(l=Yt(o,"start")||dt(Yt(t,"start")||ca,s.slice(0,a)),p=Yt(o,"end")||dt(l,s.substr(a,c))),{css:s,mismatchOffset:a,mismatchLength:c,start:l,end:p}}function Yt(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?dt(r):r:null}function dt({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var $e=function(e,t){let r=De("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},ua=function(e,t,r,n){let i=De("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:c,start:u,end:s}=_l(n,r);return i.rawMessage=e,i.syntax=t?Fe(t):"",i.css=o,i.mismatchOffset=a,i.mismatchLength=c,i.message=e+` syntax: `+i.syntax+` value: `+(o||"")+` --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,u),i.loc={source:r&&r.loc&&r.loc.source||"",start:u,end:s},i};var Kt=new Map,Ze=new Map,Vt=45,ft=ql,Qt=jl,Wl=Dr;function gt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Vt&&e.charCodeAt(t+1)===Vt}function Dr(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Vt&&e.charCodeAt(t+1)!==Vt){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function ql(e){if(Kt.has(e))return Kt.get(e);let t=e.toLowerCase(),r=Kt.get(t);if(r===void 0){let n=gt(t,0),i=n?"":Dr(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return Kt.set(e,r),r}function jl(e){if(Ze.has(e))return Ze.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=gt(t,r.length);if(!n&&(t=t.toLowerCase(),Ze.has(t))){let c=Ze.get(t);return Ze.set(e,c),c}let i=n?"":Dr(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return Ze.set(e,a),a}var Je=["initial","inherit","unset","revert","revert-layer"];var yt=43,de=45,Or=110,et=!0,Hl=!1;function Rr(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function bt(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Ee(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===yt||i===de){if(r)return 0;t++}for(;t6)return 0}return n}function Xt(e,t,r){if(!e)return 0;for(;Br(r(t),ha);){if(++e>6)return 0;t++}return t}function _r(e,t){let r=0;if(e===null||e.type!==1||!ye(e.value,0,Yl)||(e=t(++r),e===null))return 0;if(Br(e,Gl))return e=t(++r),e===null?0:e.type===1?Xt(xt(e,0,!0),++r,t):Br(e,ha)?Xt(1,++r,t):0;if(e.type===10){let n=xt(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!Kl(e,pa)||!xt(e,1,!1)?0:r+1:Xt(n,r,t))}return e.type===12?Xt(xt(e,1,!0),++r,t):0}var Wr=["calc(","-moz-calc(","-webkit-calc("],qr=["min(","max(","clamp("],jr=["round(","mod(","rem("],Vl=["sin(","cos(","tan("],Ql=["asin(","acos(","atan(","atan2("],Xl=["pow(","sqrt(","log(","exp(","sign("],Ur=["hypot("],Hr=["abs("],ma=[...Wr,...qr,...jr,...Vl,...Xl,...Ur,...Hr],$l=[...Wr,...qr,...jr,...Ur,...Hr],ve=[...Wr,...qr,...jr,...Ql,...Ur,...Hr],Gr=new Map([[2,22],[21,22],[19,20],[23,24]]);function pe(e,t){return te.max&&typeof e.max!="string")return!0}return!1}function Zl(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=Gr.get(e.type);break}i++}while(e=t(i));return i}function ae(e,t){return function(r,n,i){return r===null?0:r.type===2&&fa(r.value,t)?Zl(r,n):e(r,n,i)}}function I(e){return function(t){return t===null||t.type!==e?0:1}}function Jl(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return fa(t,Je)||da(t,"default")?0:1}function ba(e){return e===null||e.type!==1||pe(e.value,0)!==45||pe(e.value,1)!==45?0:1}function ec(e){return!ba(e)||e.value==="--"?0:1}function tc(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;rdc,decibel:()=>xc,flex:()=>yc,frequency:()=>gc,length:()=>mc,resolution:()=>bc,semitones:()=>kc,time:()=>fc});var mc=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],dc=["deg","grad","rad","turn"],fc=["s","ms"],gc=["hz","khz"],bc=["dpi","dpcm","dppx","x"],yc=["fr"],xc=["db"],kc=["st"];var Jr={};f(Jr,{SyntaxError:()=>Jt,generate:()=>Fe,parse:()=>rt,walk:()=>or});function Jt(e,t,r){return Object.assign(De("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+` `+t+` --`+new Array((r||t.length)+1).join("-")+"^"})}var wc=9,vc=10,Sc=12,Cc=13,Tc=32,ka=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),er=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t=128||ka[r]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){let t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}};var Lc=9,Ac=10,Ec=12,zc=13,Pc=32,Aa=33,Qr=35,wa=38,tr=39,Ea=40,za=41,Pa=42,Xr=43,$r=44,va=45,Zr=60,Kr=62,rr=63,Ic=64,kt=91,tt=93,nr=123,Sa=124,Vr=125,Ca=8734,Ta={" ":1,"&&":2,"||":3,"|":4};function La(e){let t=null,r=null;return e.eat(nr),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===$r?(e.pos++,e.skipWs(),e.charCode()!==Vr&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(Vr),{min:Number(t),max:r?Number(r):0}}function Nc(e){let t=null,r=!1;switch(e.charCode()){case Pa:e.pos++,t={min:0,max:0};break;case Xr:e.pos++,t={min:1,max:0};break;case rr:e.pos++,t={min:0,max:1};break;case Qr:e.pos++,r=!0,e.charCode()===nr?t=La(e):e.charCode()===rr?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case nr:t=La(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Ce(e,t){let r=Nc(e);return r!==null?(r.term=t,e.charCode()===Qr&&e.charCodeAt(e.pos-1)===Xr||e.charCode()===rr&&e.charCodeAt(e.pos-1)===Vr?Ce(e,r):r):t}function Yr(e){let t=e.peek();return t===""?null:Ce(e,{type:"Token",value:t})}function Dc(e){let t;return e.eat(Zr),e.eat(tr),t=e.scanWord(),e.eat(tr),e.eat(Kr),Ce(e,{type:"Property",name:t})}function Oc(e){let t=null,r=null,n=1;return e.eat(kt),e.charCode()===va&&(e.peek(),n=-1),n==-1&&e.charCode()===Ca?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat($r),e.skipWs(),e.charCode()===Ca?e.peek():(n=1,e.charCode()===va&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(tt),{type:"Range",min:t,max:r}}function Fc(e){let t,r=null;if(e.eat(Zr),t=e.scanWord(),t==="boolean-expr"){e.eat(kt);let n=ir(e,tt);return e.eat(tt),e.eat(Kr),Ce(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===Ea&&e.nextCharCode()===za&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===kt&&(e.skipWs(),r=Oc(e)),e.eat(Kr),Ce(e,{type:"Type",name:t,opts:r})}function Rc(e){let t=e.scanWord();return e.charCode()===Ea?(e.pos++,{type:"Function",name:t}):Ce(e,{type:"Keyword",name:t})}function Mc(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>Ta[i]-Ta[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function ir(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let c=a?ir(e,za):_c(e);if(!c)break;if(c.type!=="Spaces"){if(a){if(c.terms.length===0){a=!1;continue}if(c.combinator===" "){for(;c.terms.length>1;)r[" "]=!0,n.push({type:"Combinator",value:" "},c.terms.shift());c=c.terms[0]}}c.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[c.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(c),i=c,o=e.pos,a=c.type==="Function"}}return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:Mc(n,r)||" ",disallowEmpty:!1,explicit:!1}}function Bc(e){let t;return e.eat(kt),t=ir(e,tt),e.eat(tt),t.explicit=!0,e.charCode()===Aa&&(e.pos++,t.disallowEmpty=!0),t}function _c(e){let t=e.charCode();switch(t){case tt:break;case kt:return Ce(e,Bc(e));case Zr:return e.nextCharCode()===tr?Dc(e):Fc(e);case Sa:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Sa?2:1))};case wa:return e.pos++,e.eat(wa),{type:"Combinator",value:"&&"};case $r:return e.pos++,{type:"Comma"};case tr:return Ce(e,{type:"String",value:e.scanString()});case Pc:case Lc:case Ac:case zc:case Ec:return{type:"Spaces",value:e.scanSpaces()};case Ic:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Yr(e);case Pa:case Xr:case rr:case Qr:case Aa:break;case nr:if(t=e.nextCharCode(),t<48||t>57)return Yr(e);break;default:return e.isNameCharCode(t)?Rc(e):Yr(e)}}function rt(e){let t=new er(e),r=ir(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var wt=function(){};function Ia(e){return typeof e=="function"?e:wt}function or(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":case"Boolean":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(r,a)}let i=wt,o=wt;if(typeof t=="function"?i=t:t&&(i=Ia(t.enter),o=Ia(t.leave)),i===wt&&o===wt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}var Wc={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}};function qc(e){let t=[];return Ae(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function Na(e,t){return typeof e=="string"?qc(e):t.generate(e,Wc)}var C={type:"Match"},A={type:"Mismatch"},ar={type:"DisallowEmpty"},jc=40,Uc=41;function X(e,t,r){return t===C&&r===A||e===C&&t===C&&r===C?e:(e.type==="If"&&e.else===A&&t===C&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function Oa(e){return e.length>2&&e.charCodeAt(e.length-2)===jc&&e.charCodeAt(e.length-1)===Uc}function Da(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&Oa(e.name)}function ze(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function vt(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=vt(e.match,t,r),e.then=vt(e.then,t,r),e.else=vt(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function en(e,t,r){switch(e){case" ":{let n=C;for(let i=t.length-1;i>=0;i--){let o=t[i];n=X(o,n,A)}return n}case"|":{let n=A,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(Da(a)&&(i===null&&o>0&&Da(t[o-1])&&(i=Object.create(null),n=X({type:"Enum",map:i},C,n)),i!==null)){let c=(Oa(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(c in i)){i[c]=a;continue}}i=null,n=X(a,C,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=A;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=en(e,t.filter(function(c){return c!==o}),!1):a=C,n=X(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?C:A;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=en(e,t.filter(function(c){return c!==o}),!0):a=C,n=X(o,a,n)}return n}}}function Hc(e){let t=C,r=nt(e.term);if(e.max===0)r=X(r,ar,A),t=X(r,null,A),t.then=X(C,C,t),e.comma&&(t.then.else=X({type:"Comma",syntax:e},t,A));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==C&&(t=X({type:"Comma",syntax:e},t,A)),t=X(r,X(C,C,t),A);if(e.min===0)t=X(C,C,t);else for(let n=0;n=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function $c(e){return e.type!==9?!1:e.value!=="?"}function Ba(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||$c(e)}function _a(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function Zc(e,t,r){function n(){do E++,v=EH&&(H=E)}function s(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},z={type:rn,syntax:t.syntax,token:z.token,prev:z}}function l(){z.type===rn?z=z.prev:z={type:Wa,syntax:p.syntax,token:z.token,prev:z},p=p.prev}let p=null,h=null,d=null,b=null,U=0,J=null,v=null,E=-1,H=0,z={type:Gc,syntax:null,token:null,prev:null};for(n();J===null&&++Ud.tokenIndex)&&(d=b,b=!1);else if(d===null){J=Kc;break}t=d.nextState,h=d.thenStack,p=d.syntaxStack,z=d.matchStack,E=d.tokenIndex,v=EE){for(;E":"<'"+t.name+"'>"));if(b!==!1&&v!==null&&t.type==="Type"&&(t.name==="custom-ident"&&v.type===1||t.name==="length"&&v.value==="0")){b===null&&(b=o(t,d)),t=A;break}s(),t=G.matchRef||G.match;break}case"Keyword":{let q=t.name;if(v!==null){let G=v.value;if(G.indexOf("\\")!==-1&&(G=G.replace(/\\[09].*$/,"")),tn(G,q)){u(),t=C;break}}t=A;break}case"AtKeyword":case"Function":if(v!==null&&tn(v.value,t.name)){u(),t=C;break}t=A;break;case"Token":if(v!==null&&v.value===t.value){u(),t=C;break}t=A;break;case"Comma":v!==null&&v.type===18?Ba(z.token)?t=A:(u(),t=_a(v)?A:C):t=Ba(z.token)||_a(v)?C:A;break;case"String":let re="",ge=E;for(;geqa,isKeyword:()=>tu,isProperty:()=>eu,isType:()=>Jc});function qa(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;or.type==="Type"&&r.name===t)}function eu(e,t){return on(this,e,r=>r.type==="Property"&&r.name===t)}function tu(e){return on(this,e,t=>t.type==="Keyword")}function on(e,t,r){let n=qa.call(e,t);return n===null?!1:n.some(r)}function ja(e){return"node"in e?e.node:ja(e.match[0])}function Ua(e){return"node"in e?e.node:Ua(e.match[e.match.length-1])}function sn(e,t,r,n,i){function o(c){if(c.syntax!==null&&c.syntax.type===n&&c.syntax.name===i){let u=ja(c),s=Ua(c);e.syntax.walk(t,function(l,p,h){if(l===u){let d=new j;do{if(d.appendData(p.data),p.data===s)break;p=p.next}while(p!==null);a.push({parent:h,nodes:d})}})}Array.isArray(c.match)&&c.match.forEach(o)}let a=[];return r.matched!==null&&o(r.matched),a}var{hasOwnProperty:Ct}=Object.prototype;function ln(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Ha(e){return!!e&&ln(e.offset)&&ln(e.line)&&ln(e.column)}function ru(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(let o in n){let a=!0;if(Ct.call(n,o)!==!1){if(o==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!Ha(n.loc.start))o+=".start";else if(!Ha(n.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(let c=0;!a&&c");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function nu(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Ct.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=Ga(a,e+"."+o)}return{docs:i,check:ru(e,n)}}function Ya(e){let t={};if(e.node){for(let r in e.node)if(Ct.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=nu(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}function cn(e,t,r){let n={};for(let i in e)e[i].syntax&&(n[i]=r?e[i].syntax:Fe(e[i].syntax,{compact:t}));return n}function iu(e,t,r){let n={};for(let[i,o]of Object.entries(e))n[i]={prelude:o.prelude&&(r?o.prelude.syntax:Fe(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&cn(o.descriptors,t,r)};return n}function ou(e){for(let t=0;t(n[i]=this.createDescriptor(r.descriptors[i],"AtruleDescriptor",i,t),n),Object.create(null)):null})}addProperty_(t,r){r&&(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){r&&(this.types[t]=this.createDescriptor(r,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new $e("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t);if(!i.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!r&&!it(this,i.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t),o=ft(r);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[o.name]&&!i.descriptors[o.basename])return new $e("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new $e("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);if(n)return he(null,n);let i=this.getAtrule(t);return i.prelude?it(this,i.prelude,r||"",!1):he(null,null)}matchAtruleDescriptor(t,r,n){let i=this.checkAtruleDescriptorName(t,r);if(i)return he(null,i);let o=this.getAtrule(t),a=ft(r);return it(this,o.descriptors[a.name]||o.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?he(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(Qt(t).custom)return he(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?he(null,n):it(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?it(this,n,r,!1):he(null,new $e("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?he(null,new $e("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),it(this,t,r,!1))}findValueFragments(t,r,n,i){return sn(this,r,this.matchProperty(t,r),n,i)}findDeclarationValueFragments(t,r,n){return sn(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let i=[];return this.syntax.walk(t,{visit:"Declaration",enter:o=>{i.push.apply(i,this.findDeclarationValueFragments(o,r,n))}}),i}getAtrule(t,r=!0){let n=ft(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=Qt(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(u,s){return s?`<${u}>`:`<'${u}'>`}function r(u,s,l,p){if(l.has(s))return l.get(s);l.set(s,!1),p.syntax!==null&&or(p.syntax,function(h){if(h.type!=="Type"&&h.type!=="Property")return;let d=h.type==="Type"?u.types:u.properties,b=h.type==="Type"?i:o;hasOwnProperty.call(d,h.name)?r(u,h.name,b,d[h.name])&&(n.push(`${t(s,l===i)} used broken syntax definition ${t(h.name,h.type==="Type")}`),l.set(s,!0)):(n.push(`${t(s,l===i)} used missed syntax definition ${t(h.name,h.type==="Type")}`),l.set(s,!0))},this)}let n=[],i=new Map,o=new Map;for(let u in this.types)r(this,u,i,this.types[u]);for(let u in this.properties)r(this,u,o,this.properties[u]);let a=[...i.keys()].filter(u=>i.get(u)),c=[...o.keys()].filter(u=>o.get(u));return a.length||c.length?{errors:n,types:a,properties:c}:null}dump(t,r){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:cn(this.types,!r,t),properties:cn(this.properties,!r,t),atrules:iu(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}};function un(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function su(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function pn(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?su(o,r):o};return n}function Tt(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let c=r[n][o]||{},u=r[n][o]={prelude:c.prelude||null,descriptors:{...c.descriptors}};if(a){u.prelude=a.prelude?un(u.prelude,a.prelude):u.prelude||null;for(let[s,l]of Object.entries(a.descriptors||{}))u.descriptors[s]=l?un(u.descriptors[s],l):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=un(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=pn(e[n],i);break;case"atrule":case"pseudo":r[n]=pn(e[n],i,["parse"]);break;case"node":r[n]=pn(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}function Ka(e){let t=Io(e),r=la(e),n=ra(e),{fromPlainObject:i,toPlainObject:o}=na(r),a={lexer:null,createLexer:c=>new Re(c,a,a.lexer.structure),tokenize:Ae,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(c){let u=Tt({},e);return Ka(typeof c=="function"?c(u):Tt(u,c))}};return a.lexer=new Re({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var sr=e=>Ka(Tt({},e));var Va={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( )","alpha-value":"|","an+b":"odd|even|||'+'? \u2020 n|-n||'+'? \u2020 || |'+'? \u2020 n |-n | |'+'? \u2020 n- |-n- | ['+'|'-'] |'+'? \u2020 n ['+'|'-'] |-n ['+'|'-'] ","anchor()":"anchor( ?&& , ? )","anchor-name":"","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end||center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [||]? , ? )","angle-percentage":"|","angular-color-hint":"|","angular-color-stop":" ?","angular-color-stop-list":" , [? , ]#?","animateable-feature":"scroll-position|contents|","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( )","atan()":"atan( )","atan2()":"atan2( , )",attachment:"scroll|fixed|local","attr()":"attr( ? , ? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( )|raw-string|number|","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"||||||","basic-shape-rect":"||","bg-clip":"|border-area|text","bg-image":"|none","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( ? )","brightness()":"brightness( [|]? )","calc()":"calc( )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":" ['*' |'/' ]*","calc-size()":"calc-size( , )","calc-size-basis":"||any|","calc-sum":" [['+'|'-'] ]*","calc-value":"||||( )","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( ? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"|currentColor||||<-non-standard-color>","color()":"color( [/ [|none]]? )","color-base":"||||transparent","color-function":"|||||||||","color-interpolation-method":"in [| ?|]","color-mix()":"color-mix( , [&&?]#{2} )","color-stop":"|","color-stop-angle":"[|]{1,2}","color-stop-length":"{1,2}","color-stop-list":" , [? , ]#?","colorspace-params":"[|]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":" [? ]*","complex-selector-list":"#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? *]!","compound-selector-list":"#","conic-gradient()":"conic-gradient( [] )","conic-gradient-syntax":"[[[from [|]]? [at ]?]||]? , ","container-condition":"not | [[and ]*|[or ]*]","container-name":"","container-query":"not | [[and ]*|[or ]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents||||||]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [|]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|","cos()":"cos( )",counter:"|","counter()":"counter( , ? )","counter-name":"","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters( , , ? )","cross-fade()":"cross-fade( , ? )","cubic-bezier()":"cubic-bezier( [ , ]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( , , , )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"","custom-params":" [||none]+",dasharray:"[[|]+]#","dashndashdigit-ident":"","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [?&&{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&]#{2,} )","easing-function":"||","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( , [first|start|last|first-except]? )|element( )","ellipse()":"ellipse( ? [at ]? )","env()":"env( , ? )","exp()":"exp( )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{' '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","filter-function":"|||||||||","filter-value-list":"[|]+","final-bg-layer":"|| [/ ]?||||||||||<'background-color'>","fit-content()":"fit-content( )","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax( , )|minmax( , )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"|","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[ ? )]|[( ? )]","generic-family":"|||<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"|fill-box|stroke-box|view-box",gradient:"||||||<-legacy-gradient>","grayscale()":"grayscale( [|]? )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( , , , ? )|hsl( [|none] [||none] [||none] [/ [|none]]? )","hsla()":"hsla( , , , ? )|hsla( [|none] [||none] [||none] [/ [|none]]? )",hue:"|","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [|]? )","hwb()":"hwb( [|none] [||none] [||none] [/ [|none]]? )","hypot()":"hypot( # )",image:"||||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] [||type( )]","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"|min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert( [|]? )","keyframe-block":"# { }","keyframe-selector":"from|to|| ","keyframes-name":"|","lab()":"lab( [||none] [||none] [||none] [/ [|none]]? )","layer()":"layer( )","layer-name":" ['.' ]*","lch()":"lch( [||none] [||none] [|none] [/ [|none]]? )","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","light-dark()":"light-dark( , )","line-name-list":"[|]+","line-names":"'[' * ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear()":"linear( [&&{0,2}]# )","linear-color-hint":"","linear-color-stop":" ?","linear-easing-function":"linear|","linear-gradient()":"linear-gradient( [] )","linear-gradient-syntax":"[[||to ]||]? , ","log()":"log( , ? )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"( )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]? [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='? '<' '='? | '>' '='? '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [|min-content|max-content|auto] , [||min-content|max-content|auto] )","mod()":"mod( , )","n-dimension":"","name-repeat":"repeat( [|auto-fill] , + )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"","ndash-dimension":"","ndashdigit-dimension":"","ndashdigit-ident":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"||","oklab()":"oklab( [||none] [||none] [||none] [/ [|none]]? )","oklch()":"oklch( [||none] [||none] [|none] [/ [|none]]? )","opacity()":"opacity( [|]? )","opacity-value":"|","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"|","overflow-position":"unsafe|safe","page-body":"? [; ]?| ","page-margin-box":" '{' '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"+| *","page-selector-list":"[#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|| [none|]?|context-fill|context-stroke","paint()":"paint( , ? )","paint-box":"|fill-box|stroke-box","palette-identifier":"","palette-mix()":"palette-mix( , [[normal|light|dark||]&&?]#{2} )","path()":"path( <'fill-rule'>? , )","perspective()":"perspective( [|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( , )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":" [||none]{3}","pseudo-class-selector":"':' |':' ')'","pseudo-element-selector":"':' |","pseudo-page":": [left|right|first|blank]","query-in-parens":"( )|( )|style( )|",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [] )","radial-gradient-syntax":"[[[||]? [at ]?]||]? , ","radial-shape":"circle|ellipse","radial-size":"||{2}",ratio:" [/ ]?","ray()":"ray( &&?&&contain?&&[at ]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","rem()":"rem( , )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [] )","repeating-linear-gradient()":"repeating-linear-gradient( [] )","repeating-radial-gradient()":"repeating-radial-gradient( [] )","reversed-counter-name":"reversed( )","rgb()":"rgb( #{3} , ? )|rgb( #{3} , ? )|rgb( [||none]{3} [/ [|none]]? )","rgba()":"rgba( #{3} , ? )|rgba( #{3} , ? )|rgba( [||none]{3} [/ [|none]]? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d( , , , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","round()":"round( ? , , )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [|]? )","scale()":"scale( [|]#{1,2} )","scale3d()":"scale3d( [|]#{3} )","scaleX()":"scaleX( [|] )","scaleY()":"scaleY( [|] )","scaleZ()":"scaleZ( [|] )","scope-end":"","scope-start":"","scroll()":"scroll( [||]? )",scroller:"root|nearest|self","scroll-state-feature":"","scroll-state-in-parens":"( )|( )|","scroll-state-query":"not | [[and ]*|[or ]*]|","selector-list":"","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [|]? )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect( , , , )|rect( )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( )","signed-integer":"","signless-integer":"","sin()":"sin( )","single-animation":"<'animation-duration'>||||<'animation-delay'>||||||||||[none|]||","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|||","single-transition":"[none|]||