🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
198 KiB
JavaScript
Executable File
13 lines
198 KiB
JavaScript
Executable File
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<No.length)return No[e];throw new TypeError("Must be between 0 and 63: "+e)};Cr.decode=function(e){var t=65,r=90,n=97,i=122,o=48,a=57,c=43,u=47,s=26,l=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+s:o<=e&&e<=a?e-o+l:e==c?62:e==u?63:-1}});var Bo=_e(Lr=>{var Oo=Do(),Tr=5,Fo=1<<Tr,Ro=Fo-1,Mo=Fo;function cl(e){return e<0?(-e<<1)+1:(e<<1)+0}function ul(e){var t=(e&1)===1,r=e>>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<<a),a+=Tr}while(c);n.value=ul(o),n.rest=r}});var qt=_e(W=>{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;n<t.length;n++)if(t[n].input===r){var i=t[0];return t[0]=t[n],t[n]=i,t[0].result}var o=e(r);return t.unshift({input:r,result:o}),t.length>ml&&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<r.length&&r[c]==="/";)c++;for(var u,s=0,c=o.length-1;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<o;i++)n.add(t[i],r);return n};we.prototype.size=function(){return Oe?this._set.size:Object.getOwnPropertyNames(this._set).length};we.prototype.add=function(t,r){var n=Oe?t:Er.toSetString(t),i=Oe?this.has(t):zr.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(t),i||(Oe?this._set.set(t,o):this._set[n]=o)};we.prototype.has=function(t){if(Oe)return this._set.has(t);var r=Er.toSetString(t);return zr.call(this._set,r)};we.prototype.indexOf=function(t){if(Oe){var r=this._set.get(t);if(r>=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<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};we.prototype.toArray=function(){return this._array.slice()};Ho.ArraySet=we});var Vo=_e(Ko=>{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;d<b;d++){if(s=h[d],u="",s.generatedLine!==r)for(t=0;s.generatedLine!==r;)u+=";",r++;else if(d>0){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;e<gr.length;e++)gr[e]=me(e)&&st||O(e)&&br||Nt(e)&&Rt||el(e)&&yr||e||tl;function Mt(e){return e<128?gr[e]:Rt}function Ue(e,t){return t<e.length?e.charCodeAt(t):0}function Bt(e,t,r){return r===13&&Ue(e,t+1)===10?2:1}function ye(e,t,r){let n=e.charCodeAt(t);return Dt(n)&&(n=n|32),n===r}function xe(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(Dt(a)&&(a=a|32),a!==o)return!1}return!0}function ko(e,t){for(;t>=0&&me(e.charCodeAt(t));t--);return t+1}function lt(e,t){for(;t<e.length&&me(e.charCodeAt(t));t++);return t}function xr(e,t){for(;t<e.length&&O(e.charCodeAt(t));t++);return t}function se(e,t){if(t+=2,te(Ue(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&te(Ue(e,t));t++);let r=Ue(e,t);me(r)&&(t+=Bt(e,t,r))}return t}function ct(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!qe(r)){if(Q(r,Ue(e,t+1))){t=se(e,t)-1;continue}break}}return t}function Ne(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),O(r)&&(t=xr(e,t+1),r=e.charCodeAt(t)),r===46&&O(e.charCodeAt(t+1))&&(t+=2,t=xr(e,t)),ye(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),O(r)&&(t=xr(e,t+1+n+1))}return t}function _t(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}Q(r,Ue(e,t+1))&&(t=se(e,t))}return t}function He(e){if(e.length===1&&!te(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||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.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var wo=10,rl=12,vo=13;function So(e){let t=e.source,r=t.length,n=t.length>0?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;u<r;u++){let s=t.charCodeAt(u);i[u]=a,o[u]=c++,(s===wo||s===vo||s===rl)&&(s===vo&&u+1<r&&t.charCodeAt(u+1)===wo&&(u++,i[u]=a,o[u]=c),a++,c=1)}i[r]=a,o[r]=c,e.lines=i,e.columns=o,e.computed=!0}var Ye=class{constructor(t,r,n,i){this.setSource(t,r,n,i),this.lines=null,this.columns=null}setSource(t="",r=0,n=1,i=1){this.source=t,this.startOffset=r,this.startLine=n,this.startColumn=i,this.computed=!1}getLocation(t,r){return this.computed||So(this),{source:r,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,r,n){return this.computed||So(this),{source:n,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}}};var le=16777215,ce=24,ut=1,Wt=2,Le=new Uint8Array(32);Le[2]=22;Le[21]=22;Le[19]=20;Le[23]=24;var ue=new Uint8Array(32);ue[2]=ut;ue[21]=ut;ue[19]=ut;ue[23]=ut;ue[22]=Wt;ue[20]=Wt;ue[24]=Wt;function Co(e,t,r){return e<t?t:e>r?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|h,c===-1&&(c=p),o[d]=s,l===u){let b=o[s];o[s]=d,s=b,u=Le[i[b]>>ce]}else this.isBlockOpenerTokenType(l)&&(s=d,u=Le[l])}),i[a]=0<<ce|n,o[a]=a;for(let l=0;l<a;l++){let p=o[l];if(p<=l){let h=o[p];h!==l&&(o[l]=h)}else p>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<this.tokenCount?this.offsetAndType[t]>>ce:0}lookupTypeNonSC(t){for(let r=this.tokenIndex;r<this.tokenCount;r++){let n=this.offsetAndType[r]>>ce;if(n!==13&&n!==25&&t--===0)return n}return 0}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&le:this.source.length}lookupOffsetNonSC(t){for(let r=this.tokenIndex;r<this.tokenCount;r++){let n=this.offsetAndType[r]>>ce;if(n!==13&&n!==25&&t--===0)return r-this.tokenIndex}return 0}lookupValue(t,r){return t+=this.tokenIndex,t<this.tokenCount?xe(this.source,this.offsetAndType[t-1]&le,this.offsetAndType[t]&le,r):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&le:this.offsetAndType[this.tokenCount]&le:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[Co(t,0,this.tokenCount)]&le}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[Co(t,0,this.tokenCount)]>>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]<t}isDelim(t,r){return r?this.lookupType(r)===9&&this.source.charCodeAt(this.lookupOffset(r))===t:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let r=this.tokenIndex+t;r<this.tokenCount?(this.tokenIndex=r,this.tokenStart=this.offsetAndType[r-1]&le,r=this.offsetAndType[r],this.tokenType=r>>ce,this.tokenEnd=r&le):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=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(;n<this.tokenCount;n++){if(i=this.balance[n],i<t)break e;switch(o=n>0?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<this.tokenCount;r++){let i=n,o=this.offsetAndType[r],a=o&le,c=o>>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<c?e.charCodeAt(p):0}function n(){if(s=Ne(e,s),je(r(s),r(s+1),r(s+2))){l=12,s=ct(e,s);return}if(r(s)===37){l=11,s++;return}l=10}function i(){let p=s;if(s=ct(e,s),xe(e,p,s,"url")&&r(s)===40){if(s=lt(e,s+1),r(s)===34||r(s)===39){l=2,s=p+4;return}a();return}if(r(s)===40){l=2,s++;return}l=1}function o(p){for(p||(p=r(s++)),l=5;s<e.length;s++){let h=e.charCodeAt(s);switch(Mt(h)){case p:s++;return;case st:if(at(h)){s+=Bt(e,s,h),l=6;return}break;case 92:if(s===e.length-1)break;let d=r(s+1);at(d)?s+=Bt(e,s+1,d):Q(h,d)&&(s=se(e,s)-1);break}}}function a(){for(l=7,s=lt(e,s);s<e.length;s++){let p=e.charCodeAt(s);switch(Mt(p)){case 41:s++;return;case st:if(s=lt(e,s),r(s)===41||s>=e.length){s<e.length&&s++;return}s=_t(e,s),l=8;return;case 34:case 39:case 40:case yr:s=_t(e,s),l=8;return;case 92:if(Q(p,r(s+1))){s=se(e,s)-1;break}s=_t(e,s),l=8;return}}}e=String(e||"");let c=e.length,u=Ft(r(0)),s=u,l;for(;s<c;){let p=e.charCodeAt(s);switch(Mt(p)){case st:l=13,s=lt(e,s+1);break;case 34:o();break;case 35:qe(r(s+1))||Q(r(s+1),r(s+2))?(l=4,s=ct(e,s+1)):(l=9,s++);break;case 39:o();break;case 40:l=21,s++;break;case 41:l=22,s++;break;case 43:Ot(p,r(s+1),r(s+2))?n():(l=9,s++);break;case 44:l=18,s++;break;case 45:Ot(p,r(s+1),r(s+2))?n():r(s+1)===45&&r(s+2)===62?(l=15,s=s+3):je(p,r(s+1),r(s+2))?i():(l=9,s++);break;case 46:Ot(p,r(s+1),r(s+2))?n():(l=9,s++);break;case 47:r(s+1)===42?(l=25,s=e.indexOf("*/",s+2),s=s===-1?e.length:s+2):(l=9,s++);break;case 58:l=16,s++;break;case 59:l=17,s++;break;case 60:r(s+1)===33&&r(s+2)===45&&r(s+3)===45?(l=14,s=s+4):(l=9,s++);break;case 64:je(r(s+1),r(s+2),r(s+3))?(l=3,s=ct(e,s+1)):(l=9,s++);break;case 91:l=19,s++;break;case 92:Q(p,r(s+1))?i():(l=9,s++);break;case 93:l=20,s++;break;case 123:l=23,s++;break;case 125:l=24,s++;break;case br:n();break;case Rt:i();break;default:l=9,s++}t(l,u,u=s)}}var Ve=null,j=class e{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(t,r){let n;return Ve!==null?(n=Ve,Ve=Ve.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=Ve,Ve=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let r=null;this.head=null;for(let n of t){let i=e.createItem(n);r!==null?r.next=i:this.head=i,i.prev=r,r=i}return this.tail=r,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}forEachRight(t,r=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let i=n.prev;n.prev=i.prev,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new e;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new e;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}nextUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(null,t);for(;i.next!==null;){let o=i.next;if(i.next=o.next,r.call(n,o.data,o,this))break}this.releaseCursor()}prevUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(t,null);for(;i.prev!==null;){let o=i.prev;if(i.prev=o.prev,r.call(n,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new e;for(let r of this)t.appendData(r);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(e.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(e.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,r){return this.insert(e.createItem(t),r)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(e.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}};function De(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
`)}})}var kr=100,To=60,Lo=" ";function Ao({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(b,U){return s.slice(b,U).map((J,v)=>String(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&&b<s.length&&(s[b]=s[b].replace(/\t/g,Lo),s[b]=(d>0&&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="<unknown>",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&&l<t.length?t.charCodeAt(l):0},substring(l,p){return t.substring(l,p)},substrToCursor(l){return this.source.substring(l,this.tokenStart)},cmpChar(l,p){return ye(t,l,p)},cmpStr(l,p,h){return xe(t,l,p,h)},consume(l){let p=this.tokenStart;return this.eat(l),this.substrToCursor(p)},consumeFunctionName(){let l=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),l},consumeNumber(l){let p=t.substring(this.tokenStart,Ne(t,this.tokenStart));return this.eat(l),p},eat(l){if(this.tokenType!==l){let p=Te[l].slice(0,-6).replace(/-/g," ").replace(/^./,b=>b.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<t.length?a.getLocation(p):this.eof?a.getLocation(ko(t,t.length-1)):a.getLocation(this.tokenStart);throw new wr(l||"Unexpected input",t,h.offset,h.line,h.column,a.startLine,a.startColumn)}}),u=()=>({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||"<unknown>",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;U<h.length;U++)h.charCodeAt(U)===10?(a++,c=0):c++;l(h,d,b)};let p=e.result;return e.result=function(){return u&&t.addMapping(o),{css:p(),map:t}},e}var Ht={};f(Ht,{safe:()=>Ir,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="<boolean-expr["+Gt(e.term,t,r,n)+"]>";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=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,c=0,u=0,s="",l,p;for(let h=0;h<r.length;h++){let d=r[h].value;h===n&&(c=d.length,a=s.length),o!==null&&r[h].node===o&&(h<=n?u++:u=0),s+=d}return n===r.length||u>1?(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):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=c,i.message=e+`
|
|
syntax: `+i.syntax+`
|
|
value: `+(o||"<empty string>")+`
|
|
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,u),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",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(;t<e.value.length;t++)if(!O(e.value.charCodeAt(t)))return 0;return n+1}function Fr(e,t,r){let n=!1,i=bt(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(Rr(e,yt)||Rr(e,de)){if(n=!0,i=bt(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==yt&&o!==de)return 0}return Ee(e,n?0:1,n,i)}function Mr(e,t){let r=0;if(!e)return 0;if(e.type===10)return Ee(e,0,Hl,r);if(e.type===1&&e.value.charCodeAt(0)===de){if(!ye(e.value,1,Or))return 0;switch(e.value.length){case 2:return Fr(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==de?0:(r=bt(t(++r),r,t),e=t(r),Ee(e,0,et,r));default:return e.value.charCodeAt(2)!==de?0:Ee(e,3,et,r)}}else if(e.type===1||Rr(e,yt)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!ye(e.value,0,Or))return 0;switch(e.value.length){case 1:return Fr(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==de?0:(r=bt(t(++r),r,t),e=t(r),Ee(e,0,et,r));default:return e.value.charCodeAt(1)!==de?0:Ee(e,2,et,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===yt||n===de?1:0,o=i;for(;o<e.value.length&&O(e.value.charCodeAt(o));o++);return o===i||!ye(e.value,o,Or)?0:o+1===e.value.length?Fr(t(++r),r,t):e.value.charCodeAt(o+1)!==de?0:o+2===e.value.length?(r=bt(t(++r),r,t),e=t(r),Ee(e,0,et,r)):Ee(e,o+2,et,r)}return 0}var Gl=43,pa=45,ha=63,Yl=117;function Br(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Kl(e,t){return e.value.charCodeAt(0)===t}function xt(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===pa&&r&&n!==0)return xt(e,t+n+1,!1),6;if(!te(o)||++n>6)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 t<e.length?e.charCodeAt(t):0}function da(e,t){return xe(e,0,e.length,t)}function fa(e,t){for(let r=0;r<t.length;r++)if(da(e,t[r]))return!0;return!1}function ga(e,t){return t!==e.length-2?!1:pe(e,t)===92&&O(pe(e,t+1))}function $t(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.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;r<t;r++)if(!te(pe(e.value,r)))return 0;return 1}function rc(e){return e===null||e.type!==4||!je(pe(e.value,1),pe(e.value,2),pe(e.value,3))?0:1}function nc(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 17:if(r===0)break e;break;case 9:if(r===0&&e.value==="!")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 ic(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();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 Se(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=Ne(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!ga(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return $t(n,t.value,i)?0:1}}function oc(e,t,r){return e===null||e.type!==11||$t(r,e.value,e.value.length-1)?0:1}function ya(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,r,n)}}function ac(e,t,r){if(e===null)return 0;let n=Ne(e.value,0);return!(n===e.value.length)&&!ga(e.value,n)||$t(r,e.value,n)?0:1}function sc(e,t,r){if(e===null||e.type!==10)return 0;let n=pe(e.value,0)===43||pe(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!O(pe(e.value,n)))return 0;return $t(r,e.value,n)?0:1}var lc={"ident-token":I(1),"function-token":I(2),"at-keyword-token":I(3),"hash-token":I(4),"string-token":I(5),"bad-string-token":I(6),"url-token":I(7),"bad-url-token":I(8),"delim-token":I(9),"number-token":I(10),"percentage-token":I(11),"dimension-token":I(12),"whitespace-token":I(13),"CDO-token":I(14),"CDC-token":I(15),"colon-token":I(16),"semicolon-token":I(17),"comma-token":I(18),"[-token":I(19),"]-token":I(20),"(-token":I(21),")-token":I(22),"{-token":I(23),"}-token":I(24)},cc={string:I(5),ident:I(1),percentage:ae(oc,$l),zero:ya(),number:ae(ac,ma),integer:ae(sc,ma),"custom-ident":Jl,"dashed-ident":ba,"custom-property-name":ec,"hex-color":tc,"id-selector":rc,"an-plus-b":Mr,urange:_r,"declaration-value":nc,"any-value":ic},uc=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function pc(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:c,time:u}=e||{};return{dimension:ae(Se(null),ve),angle:ae(Se(t),ve),decibel:ae(Se(r),ve),frequency:ae(Se(n),ve),flex:ae(Se(i),ve),length:ae(ya(Se(o)),ve),resolution:ae(Se(a),ve),semitones:ae(Se(c),ve),time:ae(Se(u),ve)}}function hc(e){let t=new Set;for(let r of uc)if(Array.isArray(e[r]))for(let n of e[r])t.add(n.toLowerCase());return function(n){return n===null?0:n.type===9&&n.value==="%"||n.type===1&&t.has(n.value.toLowerCase())?1:0}}function xa(e){return{...lc,...cc,...pc(e),"attr-unit":hc(e)}}var Zt={};f(Zt,{angle:()=>dc,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<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&ka[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r!==Cc&&r!==vc&&r!==Sc&&r!==Tc&&r!==wc)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new Jt(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r>=128||ka[r]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r<48||r>57)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(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(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<e.min-1;n++)e.comma&&t!==C&&(t=X({type:"Comma",syntax:e},t,A)),t=X(r,t,A);return t}function nt(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=en(e.combinator,e.terms.map(nt),!1);return e.disallowEmpty&&(t=X(t,ar,A)),t}case"Multiplier":return Hc(e);case"Boolean":{let t=nt(e.term),r=nt(ze([ze([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),ze([{type:"Type",name:"!boolean-group"},ze([{type:"Multiplier",comma:!1,min:0,max:0,term:ze([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:ze([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=nt(ze([{type:"Type",name:"!term"},ze([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return vt(n,{"!term":t,"!self":r}),vt(r,{"!boolean-group":n}),r}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function St(e,t){return typeof e=="string"&&(e=rt(e)),{type:"MatchGraph",match:nt(e),syntax:t||null,source:e}}var{hasOwnProperty:Fa}=Object.prototype,Gc=0,Yc=1,rn=2,Wa=3,Ra="Match",Kc="Mismatch",Vc="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Ma=15e3,Qc=0;function Xc(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function tn(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=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=E<e.length?e[E]:null;while(v!==null&&(v.type===13||v.type===25))}function i(re){let ge=E+re;return ge<e.length?e[ge]:null}function o(re,ge){return{nextState:re,matchStack:z,syntaxStack:p,thenStack:h,tokenIndex:E,prev:ge}}function a(re){h={nextState:re,matchStack:z,syntaxStack:p,prev:h}}function c(re){d=o(re,d)}function u(){z={type:Yc,syntax:t.syntax,token:v,prev:z},n(),b=null,E>H&&(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&&++U<Ma;)switch(t.type){case"Match":if(h===null){if(v!==null&&(E!==e.length-1||v.value!=="\\0"&&v.value!=="\\9")){t=A;break}J=Ra;break}if(t=h.nextState,t===ar)if(h.matchStack===z){t=A;break}else t=C;for(;h.syntaxStack!==p;)l();h=h.prev;break;case"Mismatch":if(b!==null&&b!==!1)(d===null||E>d.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=E<e.length?e[E]:null,d=d.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==A&&c(t.else),t.then!==C&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let q=t.syntax.terms;if(t.index===q.length){if(t.mask===0||t.syntax.all){t=A;break}t=C;break}if(t.mask===(1<<q.length)-1){t=C;break}for(;t.index<q.length;t.index++){let G=1<<t.index;if((t.mask&G)===0){c(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|G}),t=q[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(v!==null){let q=v.value.toLowerCase();if(q.indexOf("\\")!==-1&&(q=q.replace(/\\[09].*$/,"")),Fa.call(t.map,q)){t=t.map[q];break}}t=A;break;case"Generic":{let q=p!==null?p.opts:null,G=E+Math.floor(t.fn(v,i,q));if(!isNaN(G)&&G>E){for(;E<G;)u();t=C}else t=A;break}case"Type":case"Property":{let q=t.type==="Type"?"types":"properties",G=Fa.call(r,q)?r[q][t.name]:null;if(!G||!G.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+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(;ge<e.length&&re.length<t.value.length;ge++)re+=e[ge].value;if(tn(re,t.value)){for(;E<ge;)u();t=C}else t=A;break;default:throw new Error("Unknown node type: "+t.type)}switch(Qc+=U,J){case null:console.warn("[csstree-match] BREAK after "+Ma+" iterations"),J=Vc,z=null;break;case Ra:for(;p!==null;)l();break;default:z=null}return{tokens:e,reason:J,iterations:U,match:z,longestMatch:H}}function nn(e,t,r){let n=Zc(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=Xc(i).prev;i!==null;){switch(i.type){case rn:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case Wa:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var an={};f(an,{getTrace:()=>qa,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;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function Jc(e,t){return on(this,e,r=>r.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<t[o].length;c++){let u=t[o][c];switch(u){case String:a=typeof n[o]=="string";break;case Boolean:a=typeof n[o]=="boolean";break;case null:a=n[o]===null;break;default:typeof u=="string"?a=n[o]&&n[o].type===u:Array.isArray(u)&&(a=n[o]instanceof j)}}}else i(n,"Unknown field `"+o+"` for "+e+" node type");a||i(n,"Bad value for `"+e+"."+o+"`")}}for(let o in t)Ct.call(t,o)&&Ct.call(n,o)===!1&&i(n,"Field `"+e+"."+o+"` is missed")}}function Ga(e,t){let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i===String||i===Boolean)r.push(i.name.toLowerCase());else if(i===null)r.push("null");else if(typeof i=="string")r.push(i);else if(Array.isArray(i))r.push("List<"+(Ga(i,t)||"any")+">");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<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function au(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function he(e,t,r){return{matched:e,iterations:r,error:t,...an}}function it(e,t,r,n){let i=Na(r,e.syntax),o;return ou(i)?he(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=nn(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=nn(i,t.match,e),!o.match)?he(null,new ua(o.reason,t.syntax,r,o),o.iterations):he(o.match,null,o.iterations))}var Re=class{constructor(t,r,n){if(this.cssWideKeywords=Je,this.syntax=r,this.generic=!1,this.units={...Zt},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||Ya(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(let i of Object.keys(Zt))Array.isArray(t.units[i])&&(this.units[i]=t.units[i]);if(t.types)for(let[i,o]of Object.entries(t.types))this.addType_(i,o);if(t.generic){this.generic=!0;for(let[i,o]of Object.entries(xa(this.units)))this.addType_(i,o)}if(t.atrules)for(let[i,o]of Object.entries(t.atrules))this.addAtrule_(i,o);if(t.properties)for(let[i,o]of Object.entries(t.properties))this.addProperty_(i,o)}this.cssWideKeywordsSyntax=St(this.cssWideKeywords.join(" | "))}checkStructure(t){function r(o,a){i.push({node:o,message:a})}let n=this.structure,i=[];return this.syntax.walk(t,function(o){n.hasOwnProperty(o.type)?n[o.type].check(o,r):r(o,"Unknown node type `"+o.type+"`")}),i.length?i:!1}createDescriptor(t,r,n,i=null){let o={type:r,name:n},a={type:r,name:n,parent:i,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=St(t,o):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:rt(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:St(a.syntax,o)}),a.match}}),r==="Property"&&Object.defineProperty(a,"matchRef",{get(){let c=a.syntax,u=au(c)?St({...c,terms:[c.terms[0].term]},o):null;return Object.defineProperty(a,"matchRef",{value:u}),u}})),a}addAtrule_(t,r){r&&(this.atrules[t]={type:"Atrule",name:t,prelude:r.prelude?this.createDescriptor(r.prelude,"AtrulePrelude",t):null,descriptors:r.descriptors?Object.keys(r.descriptors).reduce((n,i)=>(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( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? \u2020 n|-n|<ndashdigit-dimension>|'+'? \u2020 <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? \u2020 n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? \u2020 n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? \u2020 n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,\u221E]>|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( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-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-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","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":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","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":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","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":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,\u221E]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,\u221E]>|auto-fill] , <line-names>+ )","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":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<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":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","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":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,\u221E]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","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( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",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>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,\u221E]>|<length-percentage [0,\u221E]>{2}",ratio:"<number [0,\u221E]> [/ <number [0,\u221E]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|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":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","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|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,\u221E]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221E]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-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|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|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}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,\u221E]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,\u221E]>{1,2}","border-bottom-right-radius":"<length-percentage [0,\u221E]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,\u221E]>|<number [0,\u221E]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,\u221E]>|<percentage [0,\u221E]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,\u221E]>|<number [0,\u221E]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,\u221E]>{1,4} [/ <length-percentage [0,\u221E]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,\u221E]>{1,2}","border-top-right-radius":"<length-percentage [0,\u221E]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,\u221E]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,\u221E]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [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|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,\u221E]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,\u221E]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,\u221E]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,\u221E]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,\u221E]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,\u221E]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,\u221E]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,\u221E]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,\u221E]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,\u221E]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,\u221E]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,\u221E]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221E]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,\u221E]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,\u221E]>","padding-right":"<length-percentage [0,\u221E]>","padding-top":"<length-percentage [0,\u221E]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,\u221E]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,\u221E]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,\u221E]>||<percentage [0,\u221E]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,\u221E]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,\u221E]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,\u221E]>","font-family":"<family-name>#","override-colors":"[<integer [0,\u221E]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,\u221E]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}};var Et={};f(Et,{AnPlusB:()=>dn,Atrule:()=>gn,AtrulePrelude:()=>yn,AttributeSelector:()=>wn,Block:()=>Sn,Brackets:()=>Tn,CDC:()=>An,CDO:()=>zn,ClassSelector:()=>In,Combinator:()=>Dn,Comment:()=>Fn,Condition:()=>Mn,Declaration:()=>_n,DeclarationList:()=>jn,Dimension:()=>Hn,Feature:()=>Yn,FeatureFunction:()=>Vn,FeatureRange:()=>$n,Function:()=>Jn,GeneralEnclosed:()=>ti,Hash:()=>ni,IdSelector:()=>si,Identifier:()=>oi,Layer:()=>ci,LayerList:()=>pi,MediaQuery:()=>mi,MediaQueryList:()=>fi,NestingSelector:()=>bi,Nth:()=>xi,Number:()=>wi,Operator:()=>Si,Parentheses:()=>Ti,Percentage:()=>Ai,PseudoClassSelector:()=>zi,PseudoElementSelector:()=>Ii,Ratio:()=>Di,Raw:()=>Fi,Rule:()=>Mi,Scope:()=>_i,Selector:()=>qi,SelectorList:()=>Ui,String:()=>Ki,StyleSheet:()=>Qi,SupportsDeclaration:()=>$i,TypeSelector:()=>eo,UnicodeRange:()=>no,Url:()=>lo,Value:()=>uo,WhiteSpace:()=>ho});var dn={};f(dn,{generate:()=>pu,name:()=>cu,parse:()=>mn,structure:()=>uu});var fe=43,ie=45,lr=110,Me=!0,lu=!1;function cr(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===fe||n===ie)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)O(this.charCodeAt(r))||this.error("Integer is expected",r)}function ot(e){return cr.call(this,0,e)}function Pe(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case lr:r="N is expected";break;case ie:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function hn(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(fe,e)||this.isDelim(ie,e)){t=this.isDelim(fe,e)?fe:ie;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),ot.call(this,Me))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==fe&&r!==ie&&this.error("Number sign is expected")),ot.call(this,t!==0),t===ie?"-"+this.consume(10):this.consume(10)}var cu="AnPlusB",uu={a:[String,null],b:[String,null]};function mn(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)ot.call(this,lu),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,ie))switch(t="-1",Pe.call(this,1,lr),this.tokenEnd-this.tokenStart){case 2:this.next(),r=hn.call(this);break;case 3:Pe.call(this,2,ie),this.next(),this.skipSC(),ot.call(this,Me),r="-"+this.consume(10);break;default:Pe.call(this,2,ie),cr.call(this,3,Me),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(fe)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(fe)&&(n=1,this.next()),Pe.call(this,0,lr),this.tokenEnd-this.tokenStart){case 1:this.next(),r=hn.call(this);break;case 2:Pe.call(this,1,ie),this.next(),this.skipSC(),ot.call(this,Me),r="-"+this.consume(10);break;default:Pe.call(this,1,ie),cr.call(this,2,Me),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===fe||n===ie,o=this.tokenStart+i;for(;o<this.tokenEnd&&O(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Pe.call(this,o-this.tokenStart,lr),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=hn.call(this)):(Pe.call(this,o-this.tokenStart+1,ie),o+2===this.tokenEnd?(this.next(),this.skipSC(),ot.call(this,Me),r="-"+this.consume(10)):(cr.call(this,o-this.tokenStart+2,Me),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===fe&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===fe&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function pu(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var gn={};f(gn,{generate:()=>gu,name:()=>mu,parse:()=>fn,structure:()=>fu,walkContext:()=>du});function Qa(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function hu(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}var mu="Atrule",du="atrule",fu={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function fn(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),Qa):i=Qa.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(hu.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function gu(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var yn={};f(yn,{generate:()=>ku,name:()=>bu,parse:()=>bn,structure:()=>xu,walkContext:()=>yu});var bu="AtrulePrelude",yu="atrulePrelude",xu={children:[[]]};function bn(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function ku(e){this.children(e)}var wn={};f(wn,{generate:()=>Eu,name:()=>Lu,parse:()=>kn,structure:()=>Au});var wu=36,Xa=42,ur=61,vu=94,xn=124,Su=126;function Cu(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Xa)?(t=!0,this.next()):this.isDelim(xn)||this.eat(1),this.isDelim(xn)?this.charCodeAt(this.tokenStart+1)!==ur?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Tu(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==ur&&t!==Su&&t!==vu&&t!==wu&&t!==Xa&&t!==xn&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==ur&&(this.isDelim(ur)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var Lu="AttributeSelector",Au={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function kn(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=Cu.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=Tu.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function Eu(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var Sn={};f(Sn,{generate:()=>Ou,name:()=>Iu,parse:()=>vn,structure:()=>Du,walkContext:()=>Nu});var zu=38;function Ja(){return this.Raw(null,!0)}function $a(){return this.parseWithFallback(this.Rule,Ja)}function Za(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Pu(){if(this.tokenType===17)return Za.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Za);return this.tokenType===17&&this.next(),e}var Iu="Block",Nu="block",Du={children:[["Atrule","Rule","Declaration"]]};function vn(e){let t=e?Pu:$a,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),Ja));break;default:e&&this.isDelim(zu)?n.push($a.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function Ou(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var Tn={};f(Tn,{generate:()=>Mu,name:()=>Fu,parse:()=>Cn,structure:()=>Ru});var Fu="Brackets",Ru={children:[[]]};function Cn(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function Mu(e){this.token(9,"["),this.children(e),this.token(9,"]")}var An={};f(An,{generate:()=>Wu,name:()=>Bu,parse:()=>Ln,structure:()=>_u});var Bu="CDC",_u=[];function Ln(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Wu(){this.token(15,"-->")}var zn={};f(zn,{generate:()=>Uu,name:()=>qu,parse:()=>En,structure:()=>ju});var qu="CDO",ju=[];function En(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Uu(){this.token(14,"<!--")}var In={};f(In,{generate:()=>Ku,name:()=>Gu,parse:()=>Pn,structure:()=>Yu});var Hu=46,Gu="ClassSelector",Yu={name:String};function Pn(){return this.eatDelim(Hu),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function Ku(e){this.token(9,"."),this.token(1,e.name)}var Dn={};f(Dn,{generate:()=>Ju,name:()=>$u,parse:()=>Nn,structure:()=>Zu});var Vu=43,es=47,Qu=62,Xu=126,$u="Combinator",Zu={name:String};function Nn(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case Qu:case Vu:case Xu:this.next();break;case es:this.next(),this.eatIdent("deep"),this.eatDelim(es);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function Ju(e){this.tokenize(e.name)}var Fn={};f(Fn,{generate:()=>ip,name:()=>rp,parse:()=>On,structure:()=>np});var ep=42,tp=47,rp="Comment",np={value:String};function On(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===ep&&this.charCodeAt(t-1)===tp&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function ip(e){this.token(25,"/*"+e.value+"*/")}var Mn={};f(Mn,{generate:()=>cp,name:()=>ap,parse:()=>Rn,structure:()=>sp});var op=new Set([16,22,0]),ap="Condition",sp={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function ts(e){return this.lookupTypeNonSC(1)===1&&op.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}var lp={media:ts,container:ts,supports(){return this.SupportsDeclaration()}};function Rn(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let r=this.parseWithFallback(()=>lp[e].call(this,e),()=>null);r||(r=this.parseWithFallback(()=>{this.eat(21);let n=this.Condition(e);return this.eat(22),n},()=>this.GeneralEnclosed(e))),t.push(r);break}case 2:{let r=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);r||(r=this.GeneralEnclosed(e)),t.push(r);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function cp(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var _n={};f(_n,{generate:()=>wp,name:()=>yp,parse:()=>Bn,structure:()=>kp,walkContext:()=>xp});var ns=33,up=35,pp=36,hp=38,mp=42,dp=43,rs=47;function fp(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function gp(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function bp(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(ns)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var yp="Declaration",xp="declaration",kp={important:[Boolean,String],property:String,value:["Value","Raw"]};function Bn(){let e=this.tokenStart,t=this.tokenIndex,r=vp.call(this),n=gt(r),i=n?this.parseCustomProperty:this.parseValue,o=n?gp:fp,a=!1,c;this.skipSC(),this.eat(16);let u=this.tokenIndex;if(n||this.skipSC(),i?c=this.parseWithFallback(bp,o):c=o.call(this,this.tokenIndex),n&&c.type==="Value"&&c.children.isEmpty){for(let s=u-this.tokenIndex;s<=0;s++)if(this.lookupType(s)===13){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(ns)&&(a=Sp.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:c}}function wp(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function vp(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case mp:case pp:case dp:case up:case hp:this.next();break;case rs:this.next(),this.isDelim(rs)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function Sp(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var jn={};f(jn,{generate:()=>Ap,name:()=>Tp,parse:()=>qn,structure:()=>Lp});var Cp=38;function Wn(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}var Tp="DeclarationList",Lp={children:[["Declaration","Atrule","Rule"]]};function qn(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Wn));break;default:this.isDelim(Cp)?e.push(this.parseWithFallback(this.Rule,Wn)):e.push(this.parseWithFallback(this.Declaration,Wn))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Ap(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var Hn={};f(Hn,{generate:()=>Pp,name:()=>Ep,parse:()=>Un,structure:()=>zp});var Ep="Dimension",zp={value:String,unit:String};function Un(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Pp(e){this.token(12,e.value+e.unit)}var Yn={};f(Yn,{generate:()=>Op,name:()=>Np,parse:()=>Gn,structure:()=>Dp});var Ip=47,Np="Feature",Dp={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Gn(e){let t=this.tokenStart,r,n=null;if(this.eat(21),this.skipSC(),r=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;case 2:n=this.parseWithFallback(()=>{let i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Ip)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:r,value:n}}function Op(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var Vn={};f(Vn,{generate:()=>Bp,name:()=>Fp,parse:()=>Kn,structure:()=>Rp});var Fp="FeatureFunction",Rp={kind:String,feature:String,value:["Declaration","Selector"]};function Mp(e,t){let n=(this.features[e]||{})[t];return typeof n!="function"&&this.error(`Unknown feature ${t}()`),n}function Kn(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=Mp.call(this,e,r.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let o=this.tokenIndex,a=n.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:r,value:i}}function Bp(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var $n={};f($n,{generate:()=>Up,name:()=>qp,parse:()=>Xn,structure:()=>jp});var is=47,_p=60,os=61,Wp=62,qp="FeatureRange",jp={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function Qn(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(is,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(is)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function as(e){if(this.skipSC(),this.isDelim(_p)||this.isDelim(Wp)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(os)?(this.next(),t+"="):t}if(this.isDelim(os))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Xn(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=Qn.call(this),n=as.call(this,r.type==="Identifier"),i=Qn.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=as.call(this),a=Qn.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function Up(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var Jn={};f(Jn,{generate:()=>Kp,name:()=>Hp,parse:()=>Zn,structure:()=>Yp,walkContext:()=>Gp});var Hp="Function",Gp="function",Yp={name:String,children:[[]]};function Zn(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function Kp(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var ti={};f(ti,{generate:()=>Xp,name:()=>Vp,parse:()=>ei,structure:()=>Qp});var Vp="GeneralEnclosed",Qp={kind:String,function:[String,null],children:[[]]};function ei(e){let t=this.tokenStart,r=null;this.tokenType===2?r=this.consumeFunctionName():this.eat(21);let n=this.parseWithFallback(()=>{let i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:r,children:n}}function Xp(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var ni={};f(ni,{generate:()=>eh,name:()=>Zp,parse:()=>ri,structure:()=>Jp,xxx:()=>$p});var $p="XXX",Zp="Hash",Jp={value:String};function ri(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function eh(e){this.token(4,"#"+e.value)}var oi={};f(oi,{generate:()=>nh,name:()=>th,parse:()=>ii,structure:()=>rh});var th="Identifier",rh={name:String};function ii(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function nh(e){this.token(1,e.name)}var si={};f(si,{generate:()=>ah,name:()=>ih,parse:()=>ai,structure:()=>oh});var ih="IdSelector",oh={name:String};function ai(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function ah(e){this.token(9,"#"+e.name)}var ci={};f(ci,{generate:()=>uh,name:()=>lh,parse:()=>li,structure:()=>ch});var sh=46,lh="Layer",ch={name:String};function li(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(sh);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function uh(e){this.tokenize(e.name)}var pi={};f(pi,{generate:()=>mh,name:()=>ph,parse:()=>ui,structure:()=>hh});var ph="LayerList",hh={children:[["Layer"]]};function ui(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function mh(e){this.children(e,()=>this.token(18,","))}var mi={};f(mi,{generate:()=>gh,name:()=>dh,parse:()=>hi,structure:()=>fh});var dh="MediaQuery",fh={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function hi(){let e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let i=this.consume(1),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(1)):r=i,this.lookupTypeNonSC(0)){case 1:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:{n=this.Condition("media");break}case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function gh(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var fi={};f(fi,{generate:()=>xh,name:()=>bh,parse:()=>di,structure:()=>yh});var bh="MediaQueryList",yh={children:[["MediaQuery"]]};function di(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function xh(e){this.children(e,()=>this.token(18,","))}var bi={};f(bi,{generate:()=>Sh,name:()=>wh,parse:()=>gi,structure:()=>vh});var kh=38,wh="NestingSelector",vh={};function gi(){let e=this.tokenStart;return this.eatDelim(kh),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function Sh(){this.token(9,"&")}var xi={};f(xi,{generate:()=>Lh,name:()=>Ch,parse:()=>yi,structure:()=>Th});var Ch="Nth",Th={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function yi(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function Lh(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var wi={};f(wi,{generate:()=>zh,name:()=>Ah,parse:()=>ki,structure:()=>Eh});var Ah="Number",Eh={value:String};function ki(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function zh(e){this.token(10,e.value)}var Si={};f(Si,{generate:()=>Nh,name:()=>Ph,parse:()=>vi,structure:()=>Ih});var Ph="Operator",Ih={value:String};function vi(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Nh(e){this.tokenize(e.value)}var Ti={};f(Ti,{generate:()=>Fh,name:()=>Dh,parse:()=>Ci,structure:()=>Oh});var Dh="Parentheses",Oh={children:[[]]};function Ci(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function Fh(e){this.token(21,"("),this.children(e),this.token(22,")")}var Ai={};f(Ai,{generate:()=>Bh,name:()=>Rh,parse:()=>Li,structure:()=>Mh});var Rh="Percentage",Mh={value:String};function Li(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function Bh(e){this.token(11,e.value+"%")}var zi={};f(zi,{generate:()=>jh,name:()=>_h,parse:()=>Ei,structure:()=>qh,walkContext:()=>Wh});var _h="PseudoClassSelector",Wh="function",qh={name:String,children:[["Raw"],null]};function Ei(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function jh(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var Ii={};f(Ii,{generate:()=>Yh,name:()=>Uh,parse:()=>Pi,structure:()=>Gh,walkContext:()=>Hh});var Uh="PseudoElementSelector",Hh="function",Gh={name:String,children:[["Raw"],null]};function Pi(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function Yh(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var Di={};f(Di,{generate:()=>Qh,name:()=>Kh,parse:()=>Ni,structure:()=>Vh});var ss=47;function ls(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}var Kh="Ratio",Vh={left:["Number","Function"],right:["Number","Function",null]};function Ni(){let e=this.tokenStart,t=ls.call(this),r=null;return this.skipSC(),this.isDelim(ss)&&(this.eatDelim(ss),r=ls.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function Qh(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Fi={};f(Fi,{generate:()=>Jh,name:()=>$h,parse:()=>Oi,structure:()=>Zh});function Xh(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var $h="Raw",Zh={value:String};function Oi(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=Xh.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function Jh(e){this.tokenize(e.value)}var Mi={};f(Mi,{generate:()=>im,name:()=>tm,parse:()=>Ri,structure:()=>nm,walkContext:()=>rm});function cs(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function em(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}var tm="Rule",rm="rule",nm={prelude:["SelectorList","Raw"],block:["Block"]};function Ri(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(em,cs):r=cs.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function im(e){this.node(e.prelude),this.node(e.block)}var _i={};f(_i,{generate:()=>sm,name:()=>om,parse:()=>Bi,structure:()=>am});var om="Scope",am={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Bi(){let e=null,t=null;this.skipSC();let r=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(r,this.tokenStart),root:e,limit:t}}function sm(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var qi={};f(qi,{generate:()=>um,name:()=>lm,parse:()=>Wi,structure:()=>cm});var lm="Selector",cm={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Wi(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function um(e){this.children(e)}var Ui={};f(Ui,{generate:()=>dm,name:()=>pm,parse:()=>ji,structure:()=>mm,walkContext:()=>hm});var pm="SelectorList",hm="selector",mm={children:[["Selector","Raw"]]};function ji(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function dm(e){this.children(e,()=>this.token(18,","))}var Ki={};f(Ki,{generate:()=>bm,name:()=>fm,parse:()=>Yi,structure:()=>gm});var pr={};f(pr,{decode:()=>Lt,encode:()=>Gi});var Hi=92,us=34,ps=39;function Lt(e){let t=e.length,r=e.charCodeAt(0),n=r===us||r===ps?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let c=e.charCodeAt(a);if(c===Hi){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(c=e.charCodeAt(++a),Q(Hi,c)){let u=a-1,s=se(e,u);a=s-1,o+=He(e.substring(u+1,s))}else c===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function Gi(e,t){let r=t?"'":'"',n=t?ps:us,i="",o=!1;for(let a=0;a<e.length;a++){let c=e.charCodeAt(a);if(c===0){i+="\uFFFD";continue}if(c<=31||c===127){i+="\\"+c.toString(16),o=!0;continue}c===n||c===Hi?(i+="\\"+e.charAt(a),o=!1):(o&&(te(c)||me(c))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var fm="String",gm={value:String};function Yi(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Lt(this.consume(5))}}function bm(e){this.token(5,Gi(e.value))}var Qi={};f(Qi,{generate:()=>vm,name:()=>xm,parse:()=>Vi,structure:()=>wm,walkContext:()=>km});var ym=33;function hs(){return this.Raw(null,!1)}var xm="StyleSheet",km="stylesheet",wm={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Vi(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==ym){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,hs);break;default:r=this.parseWithFallback(this.Rule,hs)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function vm(e){this.children(e)}var $i={};f($i,{generate:()=>Tm,name:()=>Sm,parse:()=>Xi,structure:()=>Cm});var Sm="SupportsDeclaration",Cm={declaration:"Declaration"};function Xi(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function Tm(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var eo={};f(eo,{generate:()=>zm,name:()=>Am,parse:()=>Ji,structure:()=>Em});var Lm=42,ms=124;function Zi(){this.tokenType!==1&&this.isDelim(Lm)===!1&&this.error("Identifier or asterisk is expected"),this.next()}var Am="TypeSelector",Em={name:String};function Ji(){let e=this.tokenStart;return this.isDelim(ms)?(this.next(),Zi.call(this)):(Zi.call(this),this.isDelim(ms)&&(this.next(),Zi.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function zm(e){this.tokenize(e.name)}var no={};f(no,{generate:()=>Om,name:()=>Nm,parse:()=>ro,structure:()=>Dm});var ds=43,fs=45,to=63;function At(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===fs&&t&&r!==0)return At.call(this,e+r+1,!1),-1;te(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function hr(e){let t=0;for(;this.isDelim(to);)++t>e&&this.error("Too many question marks"),this.next()}function Pm(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===ds?"Plus sign":"Hyphen minus")+" is expected")}function Im(){let e=0;switch(this.tokenType){case 10:if(e=At.call(this,1,!0),this.isDelim(to)){hr.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){Pm.call(this,fs),At.call(this,1,!1);break}break;case 12:e=At.call(this,1,!0),e>0&&hr.call(this,6-e);break;default:if(this.eatDelim(ds),this.tokenType===1){e=At.call(this,0,!0),e>0&&hr.call(this,6-e);break}if(this.isDelim(to)){this.next(),hr.call(this,5);break}this.error("Hex digit or question mark is expected")}}var Nm="UnicodeRange",Dm={value:String};function ro(){let e=this.tokenStart;return this.eatIdent("u"),Im.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Om(e){this.tokenize(e.value)}var lo={};f(lo,{generate:()=>qm,name:()=>_m,parse:()=>so,structure:()=>Wm});var mr={};f(mr,{decode:()=>oo,encode:()=>ao});var Fm=32,io=92,Rm=34,Mm=39,Bm=40,gs=41;function oo(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===gs?t-2:t-1,i="";for(;r<n&&me(e.charCodeAt(r));)r++;for(;r<n&&me(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===io){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),Q(io,a)){let c=o-1,u=se(e,c);o=u-1,i+=He(e.substring(c+1,u))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function ao(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="\uFFFD";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===Fm||i===io||i===Rm||i===Mm||i===Bm||i===gs?(t+="\\"+e.charAt(n),r=!1):(r&&te(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var _m="Url",Wm={value:String};function so(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=oo(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=Lt(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function qm(e){this.token(7,ao(e.value))}var uo={};f(uo,{generate:()=>Hm,name:()=>jm,parse:()=>co,structure:()=>Um});var jm="Value",Um={children:[[]]};function co(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Hm(e){this.children(e)}var ho={};f(ho,{generate:()=>Vm,name:()=>Ym,parse:()=>po,structure:()=>Km});var Gm=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Ym="WhiteSpace",Km={value:String};function po(){return this.eat(13),Gm}function Vm(e){this.token(13,e.value)}var bs={generic:!0,cssWideKeywords:Je,...Va,node:Et};var mo={};f(mo,{AtrulePrelude:()=>xs,Selector:()=>ws,Value:()=>Ts});var Qm=35,Xm=42,ys=43,$m=45,Zm=47,Jm=117;function zt(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,Jm)&&this.cmpChar(this.tokenStart+1,ys)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===Zm||t===Xm||t===ys||t===$m)return this.Operator();t===Qm&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var xs={getNode:zt};var ed=35,td=38,rd=42,nd=43,id=47,ks=46,od=62,ad=124,sd=126;function ld(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function cd(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===ks&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case nd:case od:case sd:case id:return this.Combinator();case ks:return this.ClassSelector();case rd:case ad:return this.TypeSelector();case ed:return this.IdSelector();case td:return this.NestingSelector()}break}}}var ws={onWhiteSpace:ld,getNode:cd};function vs(){return this.createSingleNodeList(this.Raw(null,!1))}function Ss(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}function Cs(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var Ts={getNode:zt,onWhiteSpace(e,t){Cs(e)&&(e.value=" "+e.value),Cs(t.last)&&(t.last.value+=" ")},expression:vs,var:Ss};var ud=new Set(["none","and","not","or"]),Ls={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);ud.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}};var As={parse:{prelude:null,block(){return this.Block(!0)}}};function fo(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==22&&this.error()}},t||(()=>this.Raw(null,!0)))}var Es={layer(){this.skipSC();let e=this.createList(),t=fo.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();let e=this.createList(),t=fo.call(this,this.Declaration,()=>fo.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},zs={parse:{prelude(){let e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Es)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Es)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}};var Ps={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}};var Is={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}};var Ns={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};var Ds={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};var Os={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}};var Fs={parse:{prelude:null,block(e=!1){return this.Block(e)}}};var Rs={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}};var Ms={container:Ls,"font-face":As,import:zs,layer:Ps,media:Is,nest:Ns,page:Ds,scope:Os,"starting-style":Fs,supports:Rs};function Bs(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var Be={parse(){return this.createSingleNodeList(this.SelectorList())}},go={parse(){return this.createSingleNodeList(this.Selector())}},pd={parse(){return this.createSingleNodeList(this.Identifier())}},hd={parse:Bs},dr={parse(){return this.createSingleNodeList(this.Nth())}},_s={dir:pd,has:Be,lang:hd,matches:Be,is:Be,"-moz-any":Be,"-webkit-any":Be,where:Be,not:Be,"nth-child":dr,"nth-last-child":dr,"nth-last-of-type":dr,"nth-of-type":dr,slotted:go,host:go,"host-context":go};var bo={};f(bo,{AnPlusB:()=>mn,Atrule:()=>fn,AtrulePrelude:()=>bn,AttributeSelector:()=>kn,Block:()=>vn,Brackets:()=>Cn,CDC:()=>Ln,CDO:()=>En,ClassSelector:()=>Pn,Combinator:()=>Nn,Comment:()=>On,Condition:()=>Rn,Declaration:()=>Bn,DeclarationList:()=>qn,Dimension:()=>Un,Feature:()=>Gn,FeatureFunction:()=>Kn,FeatureRange:()=>Xn,Function:()=>Zn,GeneralEnclosed:()=>ei,Hash:()=>ri,IdSelector:()=>ai,Identifier:()=>ii,Layer:()=>li,LayerList:()=>ui,MediaQuery:()=>hi,MediaQueryList:()=>di,NestingSelector:()=>gi,Nth:()=>yi,Number:()=>ki,Operator:()=>vi,Parentheses:()=>Ci,Percentage:()=>Li,PseudoClassSelector:()=>Ei,PseudoElementSelector:()=>Pi,Ratio:()=>Ni,Raw:()=>Oi,Rule:()=>Ri,Scope:()=>Bi,Selector:()=>Wi,SelectorList:()=>ji,String:()=>Yi,StyleSheet:()=>Vi,SupportsDeclaration:()=>Xi,TypeSelector:()=>Ji,UnicodeRange:()=>ro,Url:()=>so,Value:()=>co,WhiteSpace:()=>po});var Ws={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:mo,atrule:Ms,pseudo:_s,node:bo};var qs={node:Et};var js=sr({...bs,...Ws,...qs});var md="3.2.0";function fr(e){let t={};for(let r of Object.keys(e)){let n=e[r];n&&(Array.isArray(n)||n instanceof j?n=n.map(fr):n.constructor===Object&&(n=fr(n))),t[r]=n}return t}var yo={};f(yo,{decode:()=>dd,encode:()=>fd});var Us=92;function dd(e){let t=e.length-1,r="";for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===Us){if(n===t)break;if(i=e.charCodeAt(++n),Q(Us,i)){let o=n-1,a=se(e,o);n=a-1,r+=He(e.substring(o+1,a))}else i===13&&e.charCodeAt(n+1)===10&&n++}else r+=e[n]}return r}function fd(e){let t="";if(e.length===1&&e.charCodeAt(0)===45)return"\\-";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n===0){t+="\uFFFD";continue}if(n<=31||n===127||n>=48&&n<=57&&(r===0||r===1&&e.charCodeAt(0)===45)){t+="\\"+n.toString(16)+" ";continue}qe(n)?t+=e.charAt(r):t+="\\"+e.charAt(r)}return t}var{tokenize:gd,parse:bd,generate:yd,lexer:xd,createLexer:kd,walk:wd,find:vd,findLast:Sd,findAll:Cd,toPlainObject:Td,fromPlainObject:Ld,fork:Ad}=js;return Xs(Ed);})();
|