@skaldapp/runtime 3.0.6 → 3.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ const e=10,t=11,n=12,r=13,o=15,i=16,a=17,s=18,l=19,c=20,u=21,h=22,p=23,d=24,m=25;function g(e){return e>=48&&e<=57}function f(e){return g(e)||e>=65&&e<=70||e>=97&&e<=102}function b(e){return e>=65&&e<=90}function y(e){return function(e){return b(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function k(e){return y(e)||g(e)||45===e}function x(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function v(e){return 10===e||13===e||12===e}function w(e){return v(e)||32===e||9===e}function S(e,t){return 92===e&&(!v(t)&&0!==t)}function C(e,t,n){return 45===e?y(t)||45===t||S(t,n):!!y(e)||92===e&&S(e,t)}function z(e,t,n){return 43===e||45===e?g(t)?2:46===t&&g(n)?3:0:46===e?g(t)?2:0:g(e)?1:0}function _(e){return 65279===e||65534===e?1:0}const T=new Array(128),A=130;for(let ka=0;ka<T.length;ka++)T[ka]=(w(ka)?A:g(ka)&&131)||y(ka)&&132||x(ka)&&133||ka||128;function O(e){return e<128?T[e]:132}function L(e,t){return t<e.length?e.charCodeAt(t):0}function j(e,t,n){return 13===n&&10===L(e,t+1)?2:1}function P(e,t,n){let r=e.charCodeAt(t);return b(r)&&(r|=32),r===n}function M(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(let o=t;o<n;o++){const n=r.charCodeAt(o-t);let i=e.charCodeAt(o);if(b(i)&&(i|=32),i!==n)return!1}return!0}function D(e,t){for(;t<e.length&&w(e.charCodeAt(t));t++);return t}function E(e,t){for(;t<e.length&&g(e.charCodeAt(t));t++);return t}function I(e,t){if(f(L(e,(t+=2)-1))){for(const r=Math.min(e.length,t+5);t<r&&f(L(e,t));t++);const n=L(e,t);w(n)&&(t+=j(e,t,n))}return t}function N(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!k(n)){if(!S(n,L(e,t+1)))break;t=I(e,t)-1}}return t}function F(e,t){let n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),g(n)&&(t=E(e,t+1),n=e.charCodeAt(t)),46===n&&g(e.charCodeAt(t+1))&&(t=E(e,t+=2)),P(e,t,101)){let r=0;n=e.charCodeAt(t+1),45!==n&&43!==n||(r=1,n=e.charCodeAt(t+2)),g(n)&&(t=E(e,t+1+r+1))}return t}function R(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(41===n){t++;break}S(n,L(e,t+1))&&(t=I(e,t))}return t}function B(e){if(1===e.length&&!f(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const W=["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 q(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function U(e){const t=e.source,n=t.length,r=t.length>0?_(t.charCodeAt(0)):0,o=q(e.lines,n),i=q(e.columns,n);let a=e.startLine,s=e.startColumn;for(let l=r;l<n;l++){const e=t.charCodeAt(l);o[l]=a,i[l]=s++,10!==e&&13!==e&&12!==e||(13===e&&l+1<n&&10===t.charCodeAt(l+1)&&(l++,o[l]=a,i[l]=s),a++,s=1)}o[n]=a,i[n]=s,e.lines=o,e.columns=i,e.computed=!0}class V{constructor(e,t,n,r){this.setSource(e,t,n,r),this.lines=null,this.columns=null}setSource(e="",t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||U(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||U(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}const K=16777215,G=24,H=new Uint8Array(32);function $(e){return 0!==H[e]}H[2]=h,H[21]=h,H[19]=c,H[23]=d;class Q{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){const n=(e=String(e||"")).length,r=q(this.offsetAndType,e.length+1),o=q(this.balance,e.length+1);let i=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,o.fill(0),t(e,(e,t,n)=>{const c=i++;if(r[c]=e<<G|n,-1===a&&(a=t),o[c]=l,e===s){const e=o[l];o[l]=c,l=e,s=H[r[e]>>G]}else $(e)&&(l=c,s=H[e])}),r[i]=0|n,o[i]=i;for(let c=0;c<i;c++){const e=o[c];if(e<=c){const t=o[e];t!==c&&(o[c]=t)}else e>i&&(o[c]=i)}this.source=e,this.firstCharOffset=-1===a?0:a,this.tokenCount=i,this.offsetAndType=r,this.balance=o,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>G:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>G;if(n!==r&&n!==m&&0===e--)return n}return 0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&K:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){const n=this.offsetAndType[t]>>G;if(n!==r&&n!==m&&0===e--)return t-this.tokenIndex}return 0}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&M(this.source,this.offsetAndType[e-1]&K,this.offsetAndType[e]&K,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&K:this.offsetAndType[this.tokenCount]&K:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?9===this.lookupType(t)&&this.source.charCodeAt(this.lookupOffset(t))===e:9===this.tokenType&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&K,t=this.offsetAndType[t],this.tokenType=t>>G,this.tokenEnd=t&K):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>G,this.tokenEnd=e&K):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===r||this.tokenType===m;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,o=0;e:for(;n<this.tokenCount&&(r=this.balance[n],!(r<e));n++)switch(o=n>0?this.offsetAndType[n-1]&K:this.firstCharOffset,t(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:$(this.offsetAndType[n]>>G)&&(n=r)}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){const r=n,o=this.offsetAndType[t],i=o&K;n=i,e(o>>G,r,i,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((t,n,r,o)=>{e[o]={idx:o,type:W[t],chunk:this.source.substring(n,r),balance:this.balance[o]}}),e}}function X(g,f){function b(e){return e<T?g.charCodeAt(e):0}function y(){return E=F(g,E),C(b(E),b(E+1),b(E+2))?(L=n,void(E=N(g,E))):37===b(E)?(L=t,void E++):void(L=e)}function x(){const e=E;return E=N(g,E),M(g,e,E,"url")&&40===b(E)?(E=D(g,E+1),34===b(E)||39===b(E)?(L=2,void(E=e+4)):void function(){for(L=7,E=D(g,E);E<g.length;E++){const e=g.charCodeAt(E);switch(O(e)){case 41:return void E++;case A:return E=D(g,E),41===b(E)||E>=g.length?void(E<g.length&&E++):(E=R(g,E),void(L=8));case 34:case 39:case 40:case 133:return E=R(g,E),void(L=8);case 92:if(S(e,b(E+1))){E=I(g,E)-1;break}return E=R(g,E),void(L=8)}}}()):40===b(E)?(L=2,void E++):void(L=1)}function w(e){for(e||(e=b(E++)),L=5;E<g.length;E++){const t=g.charCodeAt(E);switch(O(t)){case e:return void E++;case A:if(v(t))return E+=j(g,E,t),void(L=6);break;case 92:if(E===g.length-1)break;const n=b(E+1);v(n)?E+=j(g,E+1,n):S(t,n)&&(E=I(g,E)-1)}}}const T=(g=String(g||"")).length;let L,P=_(b(0)),E=P;for(;E<T;){const e=g.charCodeAt(E);switch(O(e)){case A:L=r,E=D(g,E+1);break;case 34:w();break;case 35:k(b(E+1))||S(b(E+1),b(E+2))?(L=4,E=N(g,E+1)):(L=9,E++);break;case 39:w();break;case 40:L=u,E++;break;case 41:L=h,E++;break;case 43:z(e,b(E+1),b(E+2))?y():(L=9,E++);break;case 44:L=s,E++;break;case 45:z(e,b(E+1),b(E+2))?y():45===b(E+1)&&62===b(E+2)?(L=o,E+=3):C(e,b(E+1),b(E+2))?x():(L=9,E++);break;case 46:z(e,b(E+1),b(E+2))?y():(L=9,E++);break;case 47:42===b(E+1)?(L=m,E=g.indexOf("*/",E+2),E=-1===E?g.length:E+2):(L=9,E++);break;case 58:L=i,E++;break;case 59:L=a,E++;break;case 60:33===b(E+1)&&45===b(E+2)&&45===b(E+3)?(L=14,E+=4):(L=9,E++);break;case 64:C(b(E+1),b(E+2),b(E+3))?(L=3,E=N(g,E+1)):(L=9,E++);break;case 91:L=l,E++;break;case 92:S(e,b(E+1))?x():(L=9,E++);break;case 93:L=c,E++;break;case 123:L=p,E++;break;case 125:L=d,E++;break;case 131:y();break;case 132:x();break;default:L=9,E++}f(L,P,P=E)}}let Y=null;class Z{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return Z.createItem(e)}allocateCursor(e,t){let n;return null!==Y?(n=Y,Y=Y.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Y,Y=e}updateCursors(e,t,n,r){let{cursor:o}=this;for(;null!==o;)o.prev===e&&(o.prev=t),o.next===n&&(o.next=r),o=o.cursor}*[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){const e=Z.createItem(n);null!==t?t.next=e:this.head=e,e.prev=t,t=e}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){const n=this.allocateCursor(null,this.head);for(;null!==n.next;){const r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){const n=this.allocateCursor(this.tail,null);for(;null!==n.prev;){const r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r,o=this.allocateCursor(null,this.head),i=t;for(;null!==o.next;)r=o.next,o.next=r.next,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r,o=this.allocateCursor(this.tail,null),i=t;for(;null!==o.prev;)r=o.prev,o.prev=r.prev,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){const n=new Z;for(let r=this.head;null!==r;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){const n=new Z;for(let r=this.head;null!==r;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(null,e);for(;null!==r.next;){const e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(e,null);for(;null!==r.prev;){const e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const e=new Z;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(Z.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(Z.createItem(e))}insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(Z.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(Z.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(Z.createItem(e))}shift(){return null!==this.head?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return null===e.head||(null!=t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}function J(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}const ee=" ";function te({source:e,line:t,column:n,baseLine:r,baseColumn:o},i){function a(e,t){return s.slice(e,t).map((t,n)=>String(e+n+1).padStart(u)+" |"+t).join("\n")}const s=("\n".repeat(Math.max(r-1,0))+" ".repeat(Math.max(o-1,0))+e).split(/\r\n?|\n|\f/),l=Math.max(1,t-i)-1,c=Math.min(t+i,s.length+1),u=Math.max(4,String(c).length)+1;let h=0;(n+=3*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length)>100&&(h=n-60+3,n=58);for(let p=l;p<=c;p++)p>=0&&p<s.length&&(s[p]=s[p].replace(/\t/g,ee),s[p]=(h>0&&s[p].length>h?"…":"")+s[p].substr(h,98)+(s[p].length>h+100-1?"…":""));return[a(l,t),new Array(n+u+2).join("-")+"^",a(t,c)].filter(Boolean).join("\n").replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function ne(e,t,n,r,o,i=1,a=1){return Object.assign(J("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment:e=>te({source:t,line:r,column:o,baseLine:i,baseColumn:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+te({source:t,line:r,column:o,baseLine:i,baseColumn:a},2)}})}function re(e){const t=this.createList();let n=!1;const o={recognizer:e};for(;!this.eof;){switch(this.tokenType){case m:this.next();continue;case r:n=!0,this.next();continue}let i=e.getNode.call(this,o);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,o),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,o),t}const oe=()=>{};function ie(e){return function(){return this[e]()}}function ae(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function se(n){let o="",i="<unknown>",a=!1,s=oe,l=!1;const c=new V,u=Object.assign(new Q,function(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:ae(e.atrule),pseudo:ae(e.pseudo),node:ae(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=ie(r)}return{config:t,...t,...t.node}}(n||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:re,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>123===e?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>123===e||59===e?1:0,consumeUntilExclamationMarkOrSemicolon:e=>33===e||59===e?1:0,consumeUntilSemicolonIncluded:e=>59===e?2:0,createList:()=>new Z,createSingleNodeList:e=>(new Z).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){const n=this.tokenIndex;try{return e.call(this)}catch(r){if(l)throw r;this.skip(n-this.tokenIndex);const e=t.call(this);return l=!0,s(r,e),l=!1,e}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),t!==r&&t!==m)return t}while(0!==t);return 0},charCodeAt:e=>e>=0&&e<o.length?o.charCodeAt(e):0,substring:(e,t)=>o.substring(e,t),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,t)=>P(o,e,t),cmpStr:(e,t,n)=>M(o,e,t,n),consume(e){const t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){const e=o.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){const t=o.substring(this.tokenStart,F(o,this.tokenStart));return this.eat(e),t},eat(n){if(this.tokenType!==n){const r=W[n].slice(0,-6).replace(/-/g," ").replace(/^./,e=>e.toUpperCase());let o=`${/[[\](){}]/.test(r)?`"${r}"`:r} is expected`,i=this.tokenStart;switch(n){case 1:2===this.tokenType||7===this.tokenType?(i=this.tokenEnd-1,o="Identifier is expected but function found"):o="Identifier is expected";break;case 4:this.isDelim(35)&&(this.next(),i++,o="Name is expected");break;case t:this.tokenType===e&&(i=this.tokenEnd,o="Percent sign is expected")}this.error(o,i)}this.next()},eatIdent(e){1===this.tokenType&&!1!==this.lookupValue(0,e)||this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>a?c.getLocationRange(e,t,i):null,getLocationFromList(e){if(a){const t=this.getFirstListNode(e),n=this.getLastListNode(e);return c.getLocationRange(null!==t?t.loc.start.offset-c.startOffset:this.tokenStart,null!==n?n.loc.end.offset-c.startOffset:this.tokenStart,i)}return null},error(e,t){const n=void 0!==t&&t<o.length?c.getLocation(t):this.eof?c.getLocation(function(e,t){for(;t>=0&&w(e.charCodeAt(t));t--);return t+1}(o,o.length-1)):c.getLocation(this.tokenStart);throw new ne(e||"Unexpected input",o,n.offset,n.line,n.column,c.startLine,c.startColumn)}});return Object.assign(function(e,t){o=e,t=t||{},u.setSource(o,X),c.setSource(o,t.offset,t.line,t.column),i=t.filename||"<unknown>",a=Boolean(t.positions),s="function"==typeof t.onParseError?t.onParseError:oe,l=!1,u.parseAtrulePrelude=!("parseAtrulePrelude"in t)||Boolean(t.parseAtrulePrelude),u.parseRulePrelude=!("parseRulePrelude"in t)||Boolean(t.parseRulePrelude),u.parseValue=!("parseValue"in t)||Boolean(t.parseValue),u.parseCustomProperty="parseCustomProperty"in t&&Boolean(t.parseCustomProperty);const{context:n="default",onComment:r}=t;if(n in u.context==!1)throw new Error("Unknown context `"+n+"`");"function"==typeof r&&u.forEachToken((e,t,n)=>{if(e===m){const e=u.getLocation(t,n),i=M(o,n-2,n,"*/")?o.slice(t+2,n-2):o.slice(t+2,n);r(i,e)}});const h=u.context[n].call(u,t);return u.eof||u.error(),h},{SyntaxError:ne,config:u.config})}var le,ce,ue={},he={},pe={};function de(){if(ce)return he;ce=1;var e=function(){if(le)return pe;le=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return pe.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},pe.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},pe}();return he.encode=function(t){var n,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{n=31&o,(o>>>=5)>0&&(n|=32),r+=e.encode(n)}while(o>0);return r},he.decode=function(t,n,r){var o,i,a,s,l=t.length,c=0,u=0;do{if(n>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));o=!!(32&i),c+=(i&=31)<<u,u+=5}while(o);r.value=(s=(a=c)>>1,1&~a?s:-s),r.rest=n},he}var me,ge={};function fe(){return me||(me=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(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}e.urlParse=r,e.urlGenerate=o;var i,a,s=(i=function(t){var n=t,i=r(t);if(i){if(!i.path)return t;n=i.path}for(var a=e.isAbsolute(n),s=[],l=0,c=0;;){if(l=c,-1===(c=n.indexOf("/",l))){s.push(n.slice(l));break}for(s.push(n.slice(l,c));c<n.length&&"/"===n[c];)c++}var u,h=0;for(c=s.length-1;c>=0;c--)"."===(u=s[c])?s.splice(c,1):".."===u?h++:h>0&&(""===u?(s.splice(c+1,h),h=0):(s.splice(c,2),h--));return""===(n=s.join("/"))&&(n=a?"/":"."),i?(i.path=n,o(i)):n},a=[],function(e){for(var t=0;t<a.length;t++)if(a[t].input===e){var n=a[0];return a[0]=a[t],a[t]=n,a[0].result}var r=i(e);return a.unshift({input:e,result:r}),a.length>32&&a.pop(),r});function l(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),a=r(e);if(a&&(e=a.path||"/"),i&&!i.scheme)return a&&(i.scheme=a.scheme),o(i);if(i||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}e.normalize=s,e.join=l,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function u(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=c?u:function(e){return h(e)?"$"+e:e},e.fromSetString=c?u:function(e){return h(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=p(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:p(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:p(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=p(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:p(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var i=r(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var a=i.path.lastIndexOf("/");a>=0&&(i.path=i.path.substring(0,a+1))}t=l(o(i),t)}return s(t)}}(ge)),ge}var be,ye={};var ke,xe,ve={};function we(){if(ke)return ve;ke=1;var e=fe();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var n,r,o,i,a,s;n=this._last,r=t,o=n.generatedLine,i=r.generatedLine,a=n.generatedColumn,s=r.generatedColumn,i>o||i==o&&s>=a||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},ve.MappingList=t,ve}var Se=function(){if(xe)return ue;xe=1;var e=de(),t=fe(),n=function(){if(be)return ye;be=1;var e=fe(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,o){var i=n?r:e.toSetString(r),a=n?this.has(r):t.call(this._set,i),s=this._array.length;a&&!o||this._array.push(r),a||(n?this._set.set(r,s):this._set[i]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var o=e.toSetString(r);return t.call(this._set,o)},r.prototype.indexOf=function(r){if(n){var o=this._set.get(r);if(o>=0)return o}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},ye.ArraySet=r,ye}().ArraySet,r=we().MappingList;function o(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(e,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(e,n){var r=e.sourceRoot,i=new o(Object.assign(n||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=r&&(n.source=t.relative(r,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),i.addMapping(n)}),e.sources.forEach(function(n){var o=n;null!==r&&(o=t.relative(r,n)),i._sources.has(o)||i._sources.add(o);var a=e.sourceContentFor(n);null!=a&&i.setSourceContent(n,a)}),i},o.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),o=t.getArg(e,"source",null),i=t.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(n,r,o,i))&&(null!=o&&(o=String(o),this._sources.has(o)||this._sources.add(o)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:o,name:i}))},o.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,r,o){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var a=this._sourceRoot;null!=a&&(i=t.relative(a,i));var s=new n,l=new n;this._mappings.unsortedForEach(function(n){if(n.source===i&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=o&&(n.source=t.join(o,n.source)),null!=a&&(n.source=t.relative(a,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var c=n.source;null==c||s.has(c)||s.add(c);var u=n.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=o&&(n=t.join(o,n)),null!=a&&(n=t.relative(a,n)),this.setSourceContent(n,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){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"undefined"!=typeof console&&console.warn&&console.warn(o),!1;throw new Error(o)}if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){o="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(o),!1;throw new Error(o)}},o.prototype._serializeMappings=function(){for(var n,r,o,i,a=0,s=1,l=0,c=0,u=0,h=0,p="",d=this._mappings.toArray(),m=0,g=d.length;m<g;m++){if(n="",(r=d[m]).generatedLine!==s)for(a=0;r.generatedLine!==s;)n+=";",s++;else if(m>0){if(!t.compareByGeneratedPositionsInflated(r,d[m-1]))continue;n+=","}n+=e.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),n+=e.encode(i-h),h=i,n+=e.encode(r.originalLine-1-c),c=r.originalLine-1,n+=e.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(o=this._names.indexOf(r.name),n+=e.encode(o-u),u=o)),p+=n}return p},o.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},ue.SourceMapGenerator=o,ue}();const Ce=new Set(["Atrule","Selector","Declaration"]);const ze=(e,t)=>{if(9===e&&(e=t),"string"==typeof e){const t=e.charCodeAt(0);return t>127?32768:t<<8}return e},_e=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,e],[1,t],[1,n],[1,o],[1,u],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,e],[3,t],[3,n],[3,o],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,e],[4,t],[4,n],[4,o],[n,1],[n,2],[n,7],[n,8],[n,"-"],[n,e],[n,t],[n,n],[n,o],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",e],["#",t],["#",n],["#",o],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",e],["-",t],["-",n],["-",o],[e,1],[e,2],[e,7],[e,8],[e,e],[e,t],[e,n],[e,"%"],[e,o],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",o],[".",e],[".",t],[".",n],["+",e],["+",t],["+",n],["/","*"]],Te=_e.concat([[1,4],[n,4],[4,4],[3,u],[3,5],[3,i],[t,t],[t,n],[t,2],[t,"-"],[h,1],[h,2],[h,t],[h,n],[h,4],[h,"-"]]);function Ae(e){const t=new Set(e.map(([e,t])=>ze(e)<<16|ze(t)));return function(e,n,i){const a=ze(n,i),s=i.charCodeAt(0);return(45===s&&1!==n&&2!==n&&n!==o||43===s?t.has(e<<16|s<<8):t.has(e<<16|a))&&this.emit(" ",r,!0),a}}const Oe=Ae(_e),Le=Ae(Te),je=Object.freeze(Object.defineProperty({__proto__:null,safe:Le,spec:Oe},Symbol.toStringTag,{value:"Module"}));function Pe(e,t){if("function"==typeof t){let n=null;return void e.children.forEach(e=>{null!==n&&t.call(this,n),this.node(e),n=e})}e.children.forEach(this.node,this)}function Me(e){X(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function De(e){const t=new Map;for(let[n,r]of Object.entries(e.node)){"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){let o="",i=0,a={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(s,e)},tokenBefore:Le,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),9===e&&92===t.charCodeAt(0)&&this.emit("\n",r,!0)},emit(e){o+=e},result:()=>o};n&&("function"==typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=function(e){const t=new Se.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},i={generated:o};let a=1,s=0,l=!1;const c=e.node;e.node=function(e){if(e.loc&&e.loc.start&&Ce.has(e.type)){const c=e.loc.start.line,u=e.loc.start.column-1;r.line===c&&r.column===u||(r.line=c,r.column=u,n.line=a,n.column=s,l&&(l=!1,n.line===o.line&&n.column===o.column||t.addMapping(i)),l=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}c.call(this,e),l&&Ce.has(e.type)&&(o.line=a,o.column=s)};const u=e.emit;e.emit=function(e,t,n){for(let r=0;r<e.length;r++)10===e.charCodeAt(r)?(a++,s=0):s++;u(e,t,n)};const h=e.result;return e.result=function(){return l&&t.addMapping(i),{css:h(),map:t}},e}(a)),n.mode in je&&(a.tokenBefore=je[n.mode]));const s={node:e=>a.node(e),children:Pe,token:(e,t)=>a.token(e,t),tokenize:Me};return a.node(e),a.result()}}const{hasOwnProperty:Ee}=Object.prototype,Ie=function(){};function Ne(e){return"function"==typeof e?e:Ie}function Fe(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function Re(e,t){const n=t.structure,r=[];for(const o in n){if(!1===Ee.call(n,o))continue;let e=n[o];const t={name:o,type:!1,nullable:!1};Array.isArray(e)||(e=[e]);for(const n of e)null===n?t.nullable=!0:"string"==typeof n?t.type="node":Array.isArray(n)&&(t.type="list");t.type&&r.push(t)}return r.length?{context:t.walkContext,fields:r}:null}function Be(e,t){const n=e.fields.slice(),r=e.context,o="string"==typeof r;return t&&n.reverse(),function(e,i,a,s){let l;o&&(l=i[r],i[r]=e);for(const r of n){const n=e[r.name];if(!r.nullable||n)if("list"===r.type){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(a(n))return!0}o&&(i[r]=l)}}function We({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function qe(e){const t=function(e){const t={};for(const n in e.node)if(Ee.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Re(0,r)}return t}(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(const c in t)Ee.call(t,c)&&null!==t[c]&&(n[c]=Be(t[c],!1),r[c]=Be(t[c],!0));const a=We(n),s=We(r),l=function(e,l){function c(e,t,n){const r=u.call(m,e,t,n);return r===o||r!==i&&(!(!p.hasOwnProperty(e.type)||!p[e.type](e,m,c,d))||h.call(m,e,t,n)===o)}let u=Ie,h=Ie,p=n,d=(e,t,n,r)=>e||c(t,n,r);const m={break:o,skip:i,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof l)u=l;else if(l&&(u=Ne(l.enter),h=Ne(l.leave),l.reverse&&(p=r),l.visit)){if(a.hasOwnProperty(l.visit))p=l.reverse?s[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(", ")+")");u=Fe(u,l.visit),h=Fe(h,l.visit)}if(u===Ie&&h===Ie)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return l.break=o,l.skip=i,l.find=function(e,t){let n=null;return l(e,function(e,r,i){if(t.call(this,e,r,i))return n=e,o}),n},l.findLast=function(e,t){let n=null;return l(e,{reverse:!0,enter(e,r,i){if(t.call(this,e,r,i))return n=e,o}}),n},l.findAll=function(e,t){const n=[];return l(e,function(e,r,o){t.call(this,e,r,o)&&n.push(e)}),n},l}function Ue(e){return e}function Ve(e,t,n,r){let o;switch(e.type){case"Group":o=function(e,t,n,r){const o=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",i=e.terms.map(e=>Ve(e,t,n,r)).join(o);return e.explicit||n?(r||","===i[0]?"[":"[ ")+i+(r?"]":" ]"):i}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Ve(e.term,t,n,r)+t(function(e){const{min:t,max:n,comma:r}=e;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Boolean":o="<boolean-expr["+Ve(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function Ke(e,t){let n=Ue,r=!1,o=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),o=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),Ve(e,n,r,o)}const Ge={offset:0,line:1,column:1};function He(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?$e(n):n:null}function $e({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const e=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=e.length-1,o.column=1===e.length?o.column+r.length:e.pop().length+1}return o}const Qe=function(e,t){const n=J("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Xe=function(e,t,n,r){const o=J("SyntaxMatchError",e),{css:i,mismatchOffset:a,mismatchLength:s,start:l,end:c}=function(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,i=o!==t?o:null;let a,s,l=0,c=0,u=0,h="";for(let p=0;p<n.length;p++){const e=n[p].value;p===r&&(c=e.length,l=h.length),null!==i&&n[p].node===i&&(p<=r?u++:u=0),h+=e}return r===n.length||u>1?(a=He(i||t,"end")||$e(Ge,h),s=$e(a)):(a=He(i,"start")||$e(He(t,"start")||Ge,h.slice(0,l)),s=He(i,"end")||$e(a,h.substr(l,c))),{css:h,mismatchOffset:l,mismatchLength:c,start:a,end:s}}(r,n);return o.rawMessage=e,o.syntax=t?Ke(t):"<generic>",o.css=i,o.mismatchOffset=a,o.mismatchLength=s,o.message=e+"\n syntax: "+o.syntax+"\n value: "+(i||"<empty string>")+"\n --------"+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,l),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},o},Ye=new Map,Ze=new Map,Je=function(e){if(Ye.has(e))return Ye.get(e);const t=e.toLowerCase();let n=Ye.get(t);if(void 0===n){const e=tt(t,0),r=e?"":nt(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Ye.set(e,n),n},et=function(e){if(Ze.has(e))return Ze.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");const r=tt(t,n.length);if(!r&&(t=t.toLowerCase(),Ze.has(t))){const n=Ze.get(t);return Ze.set(e,n),n}const o=r?"":nt(t,n.length),i=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:o,prefix:i,custom:r});return Ze.set(e,a),a};function tt(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function nt(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){const n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}const rt=["initial","inherit","unset","revert","revert-layer"],ot=45,it=!0;function at(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function st(e,t,n){for(;null!==e&&(e.type===r||e.type===m);)e=n(++t);return t}function lt(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(43===o||o===ot){if(n)return 0;t++}for(;t<e.value.length;t++)if(!g(e.value.charCodeAt(t)))return 0;return r+1}function ct(t,n,r){let o=!1,i=st(t,n,r);if(null===(t=r(i)))return n;if(t.type!==e){if(!at(t,43)&&!at(t,ot))return n;if(o=!0,i=st(r(++i),i,r),null===(t=r(i))||t.type!==e)return 0}if(!o){const e=t.value.charCodeAt(0);if(43!==e&&e!==ot)return 0}return lt(t,o?0:1,o,i)}function ut(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function ht(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const i=e.value.charCodeAt(o);if(45===i&&n&&0!==r)return ht(e,t+r+1,!1),6;if(!f(i))return 0;if(++r>6)return 0}return r}function pt(e,t,n){if(!e)return 0;for(;ut(n(t),63);){if(++e>6)return 0;t++}return t}const dt=["calc(","-moz-calc(","-webkit-calc("],mt=new Map([[2,h],[u,h],[l,c],[p,d]]);function gt(e,t){return t<e.length?e.charCodeAt(t):0}function ft(e,t){return M(e,0,e.length,t)}function bt(e,t){for(let n=0;n<t.length;n++)if(ft(e,t[n]))return!0;return!1}function yt(e,t){return t===e.length-2&&(92===gt(e,t)&&g(gt(e,t+1)))}function kt(e,t,n){if(e&&"Range"===e.type){const r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min&&"string"!=typeof e.min)return!0;if(null!==e.max&&r>e.max&&"string"!=typeof e.max)return!0}return!1}function xt(e){return function(t,n,r){return null===t?0:2===t.type&&bt(t.value,dt)?function(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case d:case h:case c:if(e.type!==n)break e;if(n=r.pop(),0===r.length){o++;break e}break;case 2:case u:case l:case p:r.push(n),n=mt.get(e.type)}o++}while(e=t(o));return o}(t,n):e(t,n,r)}}function vt(e){return function(t){return null===t||t.type!==e?0:1}}function wt(e){return null===e||1!==e.type||45!==gt(e.value,0)||45!==gt(e.value,1)?0:1}function St(e){return e&&(e=new Set(e)),function(t,r,o){if(null===t||t.type!==n)return 0;const i=F(t.value,0);if(null!==e){const n=t.value.indexOf("\\",i),r=-1!==n&&yt(t.value,n)?t.value.substring(i,n):t.value.substr(i);if(!1===e.has(r.toLowerCase()))return 0}return kt(o,t.value,i)?0:1}}function Ct(t){return"function"!=typeof t&&(t=function(){return 0}),function(n,r,o){return null!==n&&n.type===e&&0===Number(n.value)?1:t(n,r,o)}}const zt={"ident-token":vt(1),"function-token":vt(2),"at-keyword-token":vt(3),"hash-token":vt(4),"string-token":vt(5),"bad-string-token":vt(6),"url-token":vt(7),"bad-url-token":vt(8),"delim-token":vt(9),"number-token":vt(e),"percentage-token":vt(t),"dimension-token":vt(n),"whitespace-token":vt(r),"CDO-token":vt(14),"CDC-token":vt(o),"colon-token":vt(i),"semicolon-token":vt(a),"comma-token":vt(s),"[-token":vt(l),"]-token":vt(c),"(-token":vt(u),")-token":vt(h),"{-token":vt(p),"}-token":vt(d)},_t={string:vt(5),ident:vt(1),percentage:xt(function(e,n,r){return null===e||e.type!==t||kt(r,e.value,e.value.length-1)?0:1}),zero:Ct(),number:xt(function(e,t,n){if(null===e)return 0;const r=F(e.value,0);return r===e.value.length||yt(e.value,r)?kt(n,e.value,r)?0:1:0}),integer:xt(function(t,n,r){if(null===t||t.type!==e)return 0;let o=43===gt(t.value,0)||45===gt(t.value,0)?1:0;for(;o<t.value.length;o++)if(!g(gt(t.value,o)))return 0;return kt(r,t.value,o)?0:1}),"custom-ident":function(e){if(null===e||1!==e.type)return 0;const t=e.value.toLowerCase();return bt(t,rt)||ft(t,"default")?0:1},"dashed-ident":wt,"custom-property-name":function(e){return wt(e)?"--"===e.value?0:1:0},"hex-color":function(e){if(null===e||4!==e.type)return 0;const t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(let n=1;n<t;n++)if(!f(gt(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||4!==e.type?0:C(gt(e.value,1),gt(e.value,2),gt(e.value,3))?1:0},"an-plus-b":function(t,r){let o=0;if(!t)return 0;if(t.type===e)return lt(t,0,false,o);if(1===t.type&&t.value.charCodeAt(0)===ot){if(!P(t.value,1,110))return 0;switch(t.value.length){case 2:return ct(r(++o),o,r);case 3:return t.value.charCodeAt(2)!==ot?0:(o=st(r(++o),o,r),lt(t=r(o),0,it,o));default:return t.value.charCodeAt(2)!==ot?0:lt(t,3,it,o)}}else if(1===t.type||at(t,43)&&1===r(o+1).type){if(1!==t.type&&(t=r(++o)),null===t||!P(t.value,0,110))return 0;switch(t.value.length){case 1:return ct(r(++o),o,r);case 2:return t.value.charCodeAt(1)!==ot?0:(o=st(r(++o),o,r),lt(t=r(o),0,it,o));default:return t.value.charCodeAt(1)!==ot?0:lt(t,2,it,o)}}else if(t.type===n){let e=t.value.charCodeAt(0),n=43===e||e===ot?1:0,i=n;for(;i<t.value.length&&g(t.value.charCodeAt(i));i++);return i===n?0:P(t.value,i,110)?i+1===t.value.length?ct(r(++o),o,r):t.value.charCodeAt(i+1)!==ot?0:i+2===t.value.length?(o=st(r(++o),o,r),lt(t=r(o),0,it,o)):lt(t,i+2,it,o):0}return 0},urange:function(t,r){let o=0;if(null===t||1!==t.type||!P(t.value,0,117))return 0;if(null===(t=r(++o)))return 0;if(ut(t,43))return null===(t=r(++o))?0:1===t.type?pt(ht(t,0,!0),++o,r):ut(t,63)?pt(1,++o,r):0;if(t.type===e){const i=ht(t,1,!0);return 0===i?0:null===(t=r(++o))?o:t.type===n||t.type===e?function(e,t){return e.value.charCodeAt(0)===t}(t,45)&&ht(t,1,!1)?o+1:0:pt(i,o,r)}return t.type===n?pt(ht(t,1,!0),++o,r):0},"declaration-value":function(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case d:case h:case c:if(e.type!==n)break e;n=r.pop();break;case a:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case u:case l:case p:r.push(n),n=mt.get(e.type)}o++}while(e=t(o));return o},"any-value":function(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case 6:case 8:break e;case d:case h:case c:if(e.type!==n)break e;n=r.pop();break;case 2:case u:case l:case p:r.push(n),n=mt.get(e.type)}o++}while(e=t(o));return o}};function Tt(e){const{angle:t,decibel:n,frequency:r,flex:o,length:i,resolution:a,semitones:s,time:l}=e||{};return{dimension:xt(St(null)),angle:xt(St(t)),decibel:xt(St(n)),frequency:xt(St(r)),flex:xt(St(o)),length:xt(Ct(St(i))),resolution:xt(St(a)),semitones:xt(St(s)),time:xt(St(l))}}const At=Object.freeze(Object.defineProperty({__proto__:null,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"]},Symbol.toStringTag,{value:"Module"}));function Ot(e,t,n){return Object.assign(J("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}const Lt=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class jt{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&1===Lt[e]}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new Ot(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(t>=128||0===Lt[t])break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){const e=this.str.indexOf("'",this.pos+1);return-1===e&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}const Pt=123,Mt={" ":1,"&&":2,"||":3,"|":4};function Dt(e){let t=null,n=null;return e.eat(Pt),e.skipWs(),t=e.scanNumber(e),e.skipWs(),44===e.charCode()?(e.pos++,e.skipWs(),125!==e.charCode()&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(125),{min:Number(t),max:n?Number(n):0}}function Et(e,t){const n=function(e){let t=null,n=!1;switch(e.charCode()){case 42:e.pos++,t={min:0,max:0};break;case 43:e.pos++,t={min:1,max:0};break;case 63:e.pos++,t={min:0,max:1};break;case 35:e.pos++,n=!0,e.charCode()===Pt?t=Dt(e):63===e.charCode()?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Pt:t=Dt(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,35===e.charCode()&&43===e.charCodeAt(e.pos-1)?Et(e,n):n):t}function It(e){const t=e.peek();return""===t?null:Et(e,{type:"Token",value:t})}function Nt(e){let t,n=null;if(e.eat(60),t=e.scanWord(),"boolean-expr"===t){e.eat(91);const t=Rt(e,93);return e.eat(93),e.eat(62),Et(e,{type:"Boolean",term:1===t.terms.length?t.terms[0]:t})}return 40===e.charCode()&&41===e.nextCharCode()&&(e.pos+=2,t+="()"),91===e.charCodeAt(e.findWsEnd(e.pos))&&(e.skipWs(),n=function(e){let t=null,n=null,r=1;return e.eat(91),45===e.charCode()&&(e.peek(),r=-1),-1==r&&8734===e.charCode()?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(44),e.skipWs(),8734===e.charCode()?e.peek():(r=1,45===e.charCode()&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(93),{type:"Range",min:t,max:n}}(e)),e.eat(62),Et(e,{type:"Type",name:t,opts:n})}function Ft(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((e,t)=>Mt[e]-Mt[t]);t.length>0;){r=t.shift();let o=0,i=0;for(;o<e.length;o++){const t=e[o];"Combinator"===t.type&&(t.value===r?(-1===i&&(i=o-1),e.splice(o,1),o--):(-1!==i&&o-i>1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function Rt(e,t){const n=Object.create(null),r=[];let o,i=null,a=e.pos;for(;e.charCode()!==t&&(o=Bt(e,t));)"Spaces"!==o.type&&("Combinator"===o.type?(null!==i&&"Combinator"!==i.type||(e.pos=a,e.error("Unexpected combinator")),n[o.value]=!0):null!==i&&"Combinator"!==i.type&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(o),i=o,a=e.pos);return null!==i&&"Combinator"===i.type&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:Ft(r,n)||" ",disallowEmpty:!1,explicit:!1}}function Bt(e,t){let n=e.charCode();switch(n){case 93:break;case 91:return Et(e,function(e,t){let n;return e.eat(91),n=Rt(e,t),e.eat(93),n.explicit=!0,33===e.charCode()&&(e.pos++,n.disallowEmpty=!0),n}(e,t));case 60:return 39===e.nextCharCode()?function(e){let t;return e.eat(60),e.eat(39),t=e.scanWord(),e.eat(39),e.eat(62),Et(e,{type:"Property",name:t})}(e):Nt(e);case 124:return{type:"Combinator",value:e.substringToPos(e.pos+(124===e.nextCharCode()?2:1))};case 38:return e.pos++,e.eat(38),{type:"Combinator",value:"&&"};case 44:return e.pos++,{type:"Comma"};case 39:return Et(e,{type:"String",value:e.scanString()});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:e.scanSpaces()};case 64:return n=e.nextCharCode(),e.isNameCharCode(n)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):It(e);case 42:case 43:case 63:case 35:case 33:break;case Pt:if(n=e.nextCharCode(),n<48||n>57)return It(e);break;default:return e.isNameCharCode(n)?function(e){const t=e.scanWord();return 40===e.charCode()?(e.pos++,{type:"Function",name:t}):Et(e,{type:"Keyword",name:t})}(e):It(e)}}function Wt(e){const t=new jt(e),n=Rt(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}const qt=function(){};function Ut(e){return"function"==typeof e?e:qt}const Vt={decorator(e){const t=[];let n=null;return{...e,node(t){const r=n;n=t,e.node.call(this,t),n=r},emit(e,r,o){t.push({type:r,value:e,node:o?null:n})},result:()=>t}}};function Kt(e,t){return"string"==typeof e?function(e){const t=[];return X(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}(e):t.generate(e,Vt)}const Gt={type:"Match"},Ht={type:"Mismatch"},$t={type:"DisallowEmpty"};function Qt(e,t,n){return t===Gt&&n===Ht||e===Gt&&t===Gt&&n===Gt?e:("If"===e.type&&e.else===Ht&&t===Gt&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Xt(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function Yt(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Xt(e.name)}function Zt(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Jt(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Jt(e.match,t,n),e.then=Jt(e.then,t,n),e.else=Jt(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function en(e,t,n){switch(e){case" ":{let e=Gt;for(let n=t.length-1;n>=0;n--){e=Qt(t[n],e,Ht)}return e}case"|":{let e=Ht,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];if(Yt(o)&&(null===n&&r>0&&Yt(t[r-1])&&(n=Object.create(null),e=Qt({type:"Enum",map:n},Gt,e)),null!==n)){const e=(Xt(o.name)?o.name.slice(0,-1):o.name).toLowerCase();if(e in n==!1){n[e]=o;continue}}n=null,e=Qt(o,Gt,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=Ht;for(let r=t.length-1;r>=0;r--){const o=t[r];let i;i=t.length>1?en(e,t.filter(function(e){return e!==o}),!1):Gt,n=Qt(o,i,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Gt:Ht;for(let n=t.length-1;n>=0;n--){const o=t[n];let i;i=t.length>1?en(e,t.filter(function(e){return e!==o}),!0):Gt,r=Qt(o,i,r)}return r}}}function tn(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=en(e.combinator,e.terms.map(tn),!1);return e.disallowEmpty&&(t=Qt(t,$t,Ht)),t}case"Multiplier":return function(e){let t=Gt,n=tn(e.term);if(0===e.max)n=Qt(n,$t,Ht),t=Qt(n,null,Ht),t.then=Qt(Gt,Gt,t),e.comma&&(t.then.else=Qt({type:"Comma",syntax:e},t,Ht));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Gt&&(t=Qt({type:"Comma",syntax:e},t,Ht)),t=Qt(n,Qt(Gt,Gt,t),Ht);if(0===e.min)t=Qt(Gt,Gt,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Gt&&(t=Qt({type:"Comma",syntax:e},t,Ht)),t=Qt(n,t,Ht);return t}(e);case"Boolean":{const t=tn(e.term),n=tn(Zt([Zt([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Zt([{type:"Type",name:"!boolean-group"},Zt([{type:"Multiplier",comma:!1,min:0,max:0,term:Zt([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Zt([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=tn(Zt([{type:"Type",name:"!term"},Zt([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Jt(r,{"!term":t,"!self":n}),Jt(n,{"!boolean-group":r}),n}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 3===e.value.length?{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 nn(e,t){return"string"==typeof e&&(e=Wt(e)),{type:"MatchGraph",match:tn(e),syntax:t||null,source:e}}const{hasOwnProperty:rn}=Object.prototype,on="Match";function an(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o|=32),o!==r)return!1}return!0}function sn(e){return null===e||(e.type===s||2===e.type||e.type===u||e.type===l||e.type===p||function(e){return 9===e.type&&"?"!==e.value}(e))}function ln(e){return null===e||(e.type===h||e.type===c||e.type===d||9===e.type&&"/"===e.value)}function cn(e,t,n){const o=function(e,t,n){function o(){do{v++,x=v<e.length?e[v]:null}while(null!==x&&(x.type===r||x.type===m))}function i(t){const n=v+t;return n<e.length?e[n]:null}function a(e,t){return{nextState:e,matchStack:S,syntaxStack:d,thenStack:g,tokenIndex:v,prev:t}}function l(e){g={nextState:e,matchStack:S,syntaxStack:d,prev:g}}function c(e){f=a(e,f)}function u(){S={type:1,syntax:t.syntax,token:x,prev:S},o(),b=null,v>w&&(w=v)}function h(){d={syntax:t.syntax,opts:t.syntax.opts||null!==d&&d.opts||null,prev:d},S={type:2,syntax:t.syntax,token:S.token,prev:S}}function p(){S=2===S.type?S.prev:{type:3,syntax:d.syntax,token:S.token,prev:S},d=d.prev}let d=null,g=null,f=null,b=null,y=0,k=null,x=null,v=-1,w=0,S={type:0,syntax:null,token:null,prev:null};for(o();null===k&&++y<15e3;)switch(t.type){case"Match":if(null===g){if(null!==x&&(v!==e.length-1||"\\0"!==x.value&&"\\9"!==x.value)){t=Ht;break}k=on;break}if((t=g.nextState)===$t){if(g.matchStack===S){t=Ht;break}t=Gt}for(;g.syntaxStack!==d;)p();g=g.prev;break;case"Mismatch":if(null!==b&&!1!==b)(null===f||v>f.tokenIndex)&&(f=b,b=!1);else if(null===f){k="Mismatch";break}t=f.nextState,g=f.thenStack,d=f.syntaxStack,S=f.matchStack,v=f.tokenIndex,x=v<e.length?e[v]:null,f=f.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Ht&&c(t.else),t.then!==Gt&&l(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const e=t.syntax.terms;if(t.index===e.length){if(0===t.mask||t.syntax.all){t=Ht;break}t=Gt;break}if(t.mask===(1<<e.length)-1){t=Gt;break}for(;t.index<e.length;t.index++){const n=1<<t.index;if(0===(t.mask&n)){c(t),l({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|n}),t=e[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==x){let e=x.value.toLowerCase();if(-1!==e.indexOf("\\")&&(e=e.replace(/\\[09].*$/,"")),rn.call(t.map,e)){t=t.map[e];break}}t=Ht;break;case"Generic":{const e=null!==d?d.opts:null,n=v+Math.floor(t.fn(x,i,e));if(!isNaN(n)&&n>v){for(;v<n;)u();t=Gt}else t=Ht;break}case"Type":case"Property":{const e="Type"===t.type?"types":"properties",r=rn.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==b&&null!==x&&"Type"===t.type&&("custom-ident"===t.name&&1===x.type||"length"===t.name&&"0"===x.value)){null===b&&(b=a(t,f)),t=Ht;break}h(),t=r.matchRef||r.match;break}case"Keyword":{const e=t.name;if(null!==x){let n=x.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),an(n,e)){u(),t=Gt;break}}t=Ht;break}case"AtKeyword":case"Function":if(null!==x&&an(x.value,t.name)){u(),t=Gt;break}t=Ht;break;case"Token":if(null!==x&&x.value===t.value){u(),t=Gt;break}t=Ht;break;case"Comma":null!==x&&x.type===s?sn(S.token)?t=Ht:(u(),t=ln(x)?Ht:Gt):t=sn(S.token)||ln(x)?Gt:Ht;break;case"String":let r="",o=v;for(;o<e.length&&r.length<t.value.length;o++)r+=e[o].value;if(an(r,t.value)){for(;v<o;)u();t=Gt}else t=Ht;break;default:throw new Error("Unknown node type: "+t.type)}switch(k){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),k="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",S=null;break;case on:for(;null!==d;)p();break;default:S=null}return{tokens:e,reason:k,iterations:y,match:S,longestMatch:w}}(e,t,n||{});if(null===o.match)return o;let i=o.match,a=o.match={syntax:t.syntax||null,match:[]};const l=[a];for(i=function(e){let t=null,n=null,r=e;for(;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}(i).prev;null!==i;){switch(i.type){case 2:a.match.push(a={syntax:i.syntax,match:[]}),l.push(a);break;case 3:l.pop(),a=l[l.length-1];break;default:a.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return o}function un(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}let n=null;return null!==this.matched&&function r(o){if(Array.isArray(o.match)){for(let e=0;e<o.match.length;e++)if(r(o.match[e]))return t(o.syntax)&&n.unshift(o.syntax),!0}else if(o.node===e)return n=t(o.syntax)?[o.syntax]:[],!0;return!1}(this.matched),n}function hn(e,t,n){const r=un.call(e,t);return null!==r&&r.some(n)}const pn=Object.freeze(Object.defineProperty({__proto__:null,getTrace:un,isKeyword:function(e){return hn(this,e,e=>"Keyword"===e.type)},isProperty:function(e,t){return hn(this,e,e=>"Property"===e.type&&e.name===t)},isType:function(e,t){return hn(this,e,e=>"Type"===e.type&&e.name===t)}},Symbol.toStringTag,{value:"Module"}));function dn(e){return"node"in e?e.node:dn(e.match[0])}function mn(e){return"node"in e?e.node:mn(e.match[e.match.length-1])}function gn(e,t,n,r,o){const i=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===o){const n=dn(a),r=mn(a);e.syntax.walk(t,function(e,t,o){if(e===n){const e=new Z;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);i.push({parent:o,nodes:e})}})}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),i}const{hasOwnProperty:fn}=Object.prototype;function bn(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function yn(e){return Boolean(e)&&bn(e.offset)&&bn(e.line)&&bn(e.column)}function kn(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let o in n){let i=!0;if(!1!==fn.call(n,o)){if("type"===o)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===o){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)o+=".source";else if(yn(n.loc.start)){if(yn(n.loc.end))continue;o+=".end"}else o+=".start";i=!1}else if(t.hasOwnProperty(o)){i=!1;for(let e=0;!i&&e<t[o].length;e++){const r=t[o][e];switch(r){case String:i="string"==typeof n[o];break;case Boolean:i="boolean"==typeof n[o];break;case null:i=null===n[o];break;default:"string"==typeof r?i=n[o]&&n[o].type===r:Array.isArray(r)&&(i=n[o]instanceof Z)}}}else r(n,"Unknown field `"+o+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+o+"`")}}for(const o in t)fn.call(t,o)&&!1===fn.call(n,o)&&r(n,"Field `"+e+"."+o+"` is missed")}}function xn(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(null===o)n.push("null");else if("string"==typeof o)n.push(o);else{if(!Array.isArray(o))throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition");n.push("List<"+(xn(o,t)||"any")+">")}}return n.join(" | ")}function vn(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const i in n){if(!1===fn.call(n,i))continue;const t=r[i]=Array.isArray(n[i])?n[i].slice():[n[i]];o[i]=xn(t,e+"."+i)}return{docs:o,check:kn(e,r)}}function wn(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:Ke(e[o].syntax,{compact:t}));return r}function Sn(e,t,n){const r={};for(const[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:Ke(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&wn(i.descriptors,t,n)};return r}function Cn(e,t,n){return{matched:e,iterations:n,error:t,...pn}}function zn(e,t,n,r){const o=Kt(n,e.syntax);let i;return function(e){for(let t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(o)?Cn(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=cn(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=cn(o,t.match,e),i.match)?Cn(i.match,null,i.iterations):Cn(null,new Xe(i.reason,t.syntax,n,i),i.iterations))}class _n{constructor(e,t,n){if(this.cssWideKeywords=rt,this.syntax=t,this.generic=!1,this.units={...At},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||function(e){const t={};if(e.node)for(const n in e.node)if(fn.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=vn(n,r)}return t}(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(const t of Object.keys(At))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(const[t,n]of Object.entries(e.types))this.addType_(t,n);if(e.generic){this.generic=!0;for(const[e,t]of Object.entries((r=this.units,{...zt,..._t,...Tt(r)})))this.addType_(e,t)}if(e.atrules)for(const[t,n]of Object.entries(e.atrules))this.addAtrule_(t,n);if(e.properties)for(const[t,n]of Object.entries(e.properties))this.addProperty_(t,n)}var r;this.cssWideKeywordsSyntax=nn(this.cssWideKeywords.join(" | "))}checkStructure(e){function t(e,t){r.push({node:e,message:t})}const n=this.structure,r=[];return this.syntax.walk(e,function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),!!r.length&&r}createDescriptor(e,t,n,r=null){const o={type:t,name:n},i={type:t,name:n,parent:r,serializable:"string"==typeof e||e&&"string"==typeof e.type,syntax:null,match:null,matchRef:null};return"function"==typeof e?i.match=nn(e,o):("string"==typeof e?Object.defineProperty(i,"syntax",{get:()=>(Object.defineProperty(i,"syntax",{value:Wt(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:nn(i.syntax,o)}),i.match)}),"Property"===t&&Object.defineProperty(i,"matchRef",{get(){const e=i.syntax,t=function(e){const t=e.terms[0];return!1===e.explicit&&1===e.terms.length&&"Multiplier"===t.type&&!0===t.comma}(e)?nn({...e,terms:[e.terms[0].term]},o):null;return Object.defineProperty(i,"matchRef",{value:t}),t}})),i}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Qe("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||zn(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e),o=Je(t);return r.descriptors?r.descriptors[o.name]||r.descriptors[o.basename]?void 0:new Qe("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new Qe("Unknown property",e)}matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)return Cn(null,n);const r=this.getAtrule(e);return r.prelude?zn(this,r.prelude,t||"",!1):Cn(null,null)}matchAtruleDescriptor(e,t,n){const r=this.checkAtruleDescriptorName(e,t);if(r)return Cn(null,r);const o=this.getAtrule(e),i=Je(t);return zn(this,o.descriptors[i.name]||o.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?Cn(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(et(e).custom)return Cn(null,new Error("Lexer matching doesn't applicable for custom properties"));const n=this.checkPropertyName(e);return n?Cn(null,n):zn(this,this.getProperty(e),t,!0)}matchType(e,t){const n=this.getType(e);return n?zn(this,n,t,!1):Cn(null,new Qe("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),zn(this,e,t,!1)):Cn(null,new Qe("Bad syntax"))}findValueFragments(e,t,n,r){return gn(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return gn(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){const r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){const n=Je(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){const n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){const n=et(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(e,t){return t?`<${e}>`:`<'${e}'>`}function t(i,a,s,l){if(s.has(a))return s.get(a);s.set(a,!1),null!==l.syntax&&function(e,t,n){let r=qt,o=qt;if("function"==typeof t?r=t:t&&(r=Ut(t.enter),o=Ut(t.leave)),r===qt&&o===qt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":case"Boolean":e(t.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: "+t.type)}o.call(n,t)}(e)}(l.syntax,function(l){if("Type"!==l.type&&"Property"!==l.type)return;const c="Type"===l.type?i.types:i.properties,u="Type"===l.type?r:o;hasOwnProperty.call(c,l.name)?t(i,l.name,u,c[l.name])&&(n.push(`${e(a,s===r)} used broken syntax definition ${e(l.name,"Type"===l.type)}`),s.set(a,!0)):(n.push(`${e(a,s===r)} used missed syntax definition ${e(l.name,"Type"===l.type)}`),s.set(a,!0))},this)}const n=[];let r=new Map,o=new Map;for(const s in this.types)t(this,s,r,this.types[s]);for(const s in this.properties)t(this,s,o,this.properties[s]);const i=[...r.keys()].filter(e=>r.get(e)),a=[...o.keys()].filter(e=>o.get(e));return i.length||a.length?{errors:n,types:i,properties:a}:null}dump(e,t){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:wn(this.types,!t,e),properties:wn(this.properties,!t,e),atrules:Sn(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}}function Tn(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function An(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))if(o){n[r]={};for(const e of Object.keys(o))t.includes(e)&&(n[r][e]=o[e])}return n}function On(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=Boolean(o);break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]=Array.isArray(t)?t:[];break;case"atrules":n[r]={...e[r]};for(const[e,t]of Object.entries(o)){const o=n[r][e]||{},i=n[r][e]={prelude:o.prelude||null,descriptors:{...o.descriptors}};if(t){i.prelude=t.prelude?Tn(i.prelude,t.prelude):i.prelude||null;for(const[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?Tn(i.descriptors[e],n):null;Object.keys(i.descriptors).length||(i.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]=Tn(n[r][e],t);break;case"scope":case"features":n[r]={...e[r]};for(const[e,t]of Object.entries(o))n[r][e]={...n[r][e],...t};break;case"parseContext":n[r]={...e[r],...o};break;case"atrule":case"pseudo":n[r]={...e[r],...An(o,["parse"])};break;case"node":n[r]={...e[r],...An(o,["name","structure","parse","generate","walkContext"])}}return n}function Ln(e){const t=se(e),n=qe(e),r=De(e),{fromPlainObject:o,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&e.children instanceof Z==0&&(e.children=(new Z).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof Z&&(e.children=e.children.toArray())}}),t)}}(n),a={lexer:null,createLexer:e=>new _n(e,a,a.lexer.structure),tokenize:X,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(t){const n=On({},e);return Ln("function"==typeof t?t(n):On(n,t))}};return a.lexer=new _n({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const jn=43,Pn=45,Mn=110,Dn=!0;function En(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for(r!==jn&&r!==Pn||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)g(this.charCodeAt(n))||this.error("Integer is expected",n)}function In(e){return En.call(this,0,e)}function Nn(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Mn:n="N is expected";break;case Pn:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function Fn(){let t=0,n=0,o=this.tokenType;for(;o===r||o===m;)o=this.lookupType(++t);if(o!==e){if(!this.isDelim(jn,t)&&!this.isDelim(Pn,t))return null;n=this.isDelim(jn,t)?jn:Pn;do{o=this.lookupType(++t)}while(o===r||o===m);o!==e&&(this.skip(t),In.call(this,Dn))}return t>0&&this.skip(t),0===n&&(o=this.charCodeAt(this.tokenStart),o!==jn&&o!==Pn&&this.error("Number sign is expected")),In.call(this,0!==n),n===Pn?"-"+this.consume(e):this.consume(e)}const Rn={a:[String,null],b:[String,null]};function Bn(){const t=this.tokenStart;let r=null,o=null;if(this.tokenType===e)In.call(this,false),o=this.consume(e);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,Pn))switch(r="-1",Nn.call(this,1,Mn),this.tokenEnd-this.tokenStart){case 2:this.next(),o=Fn.call(this);break;case 3:Nn.call(this,2,Pn),this.next(),this.skipSC(),In.call(this,Dn),o="-"+this.consume(e);break;default:Nn.call(this,2,Pn),En.call(this,3,Dn),this.next(),o=this.substrToCursor(t+2)}else if(1===this.tokenType||this.isDelim(jn)&&1===this.lookupType(1)){let n=0;switch(r="1",this.isDelim(jn)&&(n=1,this.next()),Nn.call(this,0,Mn),this.tokenEnd-this.tokenStart){case 1:this.next(),o=Fn.call(this);break;case 2:Nn.call(this,1,Pn),this.next(),this.skipSC(),In.call(this,Dn),o="-"+this.consume(e);break;default:Nn.call(this,1,Pn),En.call(this,2,Dn),this.next(),o=this.substrToCursor(t+n+1)}}else if(this.tokenType===n){const n=this.charCodeAt(this.tokenStart),i=n===jn||n===Pn;let a=this.tokenStart+i;for(;a<this.tokenEnd&&g(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Nn.call(this,a-this.tokenStart,Mn),r=this.substring(t,a),a+1===this.tokenEnd?(this.next(),o=Fn.call(this)):(Nn.call(this,a-this.tokenStart+1,Pn),a+2===this.tokenEnd?(this.next(),this.skipSC(),In.call(this,Dn),o="-"+this.consume(e)):(En.call(this,a-this.tokenStart+2,Dn),this.next(),o=this.substrToCursor(a+1)))}else this.error();return null!==r&&r.charCodeAt(0)===jn&&(r=r.substr(1)),null!==o&&o.charCodeAt(0)===jn&&(o=o.substr(1)),{type:"AnPlusB",loc:this.getLocation(t,this.tokenStart),a:r,b:o}}const Wn=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){if(e.a){const t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){const n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)},name:"AnPlusB",parse:Bn,structure:Rn},Symbol.toStringTag,{value:"Module"}));function qn(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Un(){for(let e,t=1;e=this.lookupType(t);t++){if(e===d)return!0;if(e===p||3===e)return!1}return!1}const Vn={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Kn(e=!1){const t=this.tokenStart;let n,r,o=null,i=null;switch(this.eat(3),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==p&&this.tokenType!==a&&(o=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),qn):qn.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case a:this.next();break;case p:i=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].block?this.atrule[r].block.call(this,e):this.Block(Un.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}const Gn=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(a,";")},name:"Atrule",parse:Kn,structure:Vn,walkContext:"atrule"},Symbol.toStringTag,{value:"Module"}));function Hn(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==p&&this.tokenType!==a&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}const $n=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"AtrulePrelude",parse:Hn,structure:{children:[[]]},walkContext:"atrulePrelude"},Symbol.toStringTag,{value:"Module"}));function Qn(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(42)?(t=!0,this.next()):this.isDelim(124)||this.eat(1),this.isDelim(124)?61!==this.charCodeAt(this.tokenStart+1)?(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 Xn(){const e=this.tokenStart,t=this.charCodeAt(e);return 61!==t&&126!==t&&94!==t&&36!==t&&42!==t&&124!==t&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),61!==t&&(this.isDelim(61)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const Yn={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Zn(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(l),this.skipSC(),t=Qn.call(this),this.skipSC(),this.tokenType!==c&&(1!==this.tokenType&&(n=Xn.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(o=this.consume(1),this.skipSC())),this.eat(c),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}const Jn=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(1,e.flags),this.token(9,"]")},name:"AttributeSelector",parse:Zn,structure:Yn},Symbol.toStringTag,{value:"Module"}));function er(){return this.Raw(null,!0)}function tr(){return this.parseWithFallback(this.Rule,er)}function nr(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function rr(){if(this.tokenType===a)return nr.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,nr);return this.tokenType===a&&this.next(),e}function or(e){const t=e?rr:tr,n=this.tokenStart;let o=this.createList();this.eat(p);e:for(;!this.eof;)switch(this.tokenType){case d:break e;case r:case m:this.next();break;case 3:o.push(this.parseWithFallback(this.Atrule.bind(this,e),er));break;default:e&&this.isDelim(38)?o.push(tr.call(this)):o.push(t.call(this))}return this.eof||this.eat(d),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:o}}const ir=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(p,"{"),this.children(e,e=>{"Declaration"===e.type&&this.token(a,";")}),this.token(d,"}")},name:"Block",parse:or,structure:{children:[["Atrule","Rule","Declaration"]]},walkContext:"block"},Symbol.toStringTag,{value:"Module"}));function ar(e,t){const n=this.tokenStart;let r=null;return this.eat(l),r=e.call(this,t),this.eof||this.eat(c),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}const sr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"["),this.children(e),this.token(9,"]")},name:"Brackets",parse:ar,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"}));function lr(){const e=this.tokenStart;return this.eat(o),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}const cr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(o,"--\x3e")},name:"CDC",parse:lr,structure:[]},Symbol.toStringTag,{value:"Module"}));function ur(){const e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}const hr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(14,"\x3c!--")},name:"CDO",parse:ur,structure:[]},Symbol.toStringTag,{value:"Module"})),pr={name:String};function dr(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}const mr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"."),this.token(1,e.name)},name:"ClassSelector",parse:dr,structure:pr},Symbol.toStringTag,{value:"Module"})),gr={name:String};function fr(){const e=this.tokenStart;let t;switch(this.tokenType){case r:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case 62:case 43:case 126:this.next();break;case 47:this.next(),this.eatIdent("deep"),this.eatDelim(47);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e)}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}const br=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Combinator",parse:fr,structure:gr},Symbol.toStringTag,{value:"Module"})),yr={value:String};function kr(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(m),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}const xr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(m,"/*"+e.value+"*/")},name:"Comment",parse:kr,structure:yr},Symbol.toStringTag,{value:"Module"})),vr=new Set([i,h,0]),wr={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Sr(e){return 1===this.lookupTypeNonSC(1)&&vr.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const Cr={media:Sr,container:Sr,supports(){return this.SupportsDeclaration()}};function zr(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case m:case r:this.next();continue;case 1:t.push(this.Identifier());break;case u:{let n=this.parseWithFallback(()=>Cr[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(u);const t=this.Condition(e);return this.eat(h),t},()=>this.GeneralEnclosed(e))),t.push(n);break}case 2:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}const _r=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.children.forEach(e=>{"Condition"===e.type?(this.token(u,"("),this.node(e),this.token(h,")")):this.node(e)})},name:"Condition",parse:zr,structure:wr},Symbol.toStringTag,{value:"Module"}));function Tr(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function Ar(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function Or(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==a&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}const Lr={important:[Boolean,String],property:String,value:["Value","Raw"]};function jr(){const e=this.tokenStart,t=this.tokenIndex,n=Pr.call(this),o=tt(n),s=o?this.parseCustomProperty:this.parseValue,l=o?Ar:Tr;let c,u=!1;this.skipSC(),this.eat(i);const h=this.tokenIndex;if(o||this.skipSC(),c=s?this.parseWithFallback(Or,l):l.call(this,this.tokenIndex),o&&"Value"===c.type&&c.children.isEmpty)for(let i=h-this.tokenIndex;i<=0;i++)if(this.lookupType(i)===r){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(33)&&(u=Mr.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==a&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:u,property:n,value:c}}function Pr(){const e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.next();break;case 47:this.next(),this.isDelim(47)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function Mr(){this.eat(9),this.skipSC();const e=this.consume(1);return"important"===e||e}const Dr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(1,e.property),this.token(i,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))},name:"Declaration",parse:jr,structure:Lr,walkContext:"declaration"},Symbol.toStringTag,{value:"Module"}));function Er(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Ir(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case r:case m:case a:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Er));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,Er)):e.push(this.parseWithFallback(this.Declaration,Er))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}const Nr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,e=>{"Declaration"===e.type&&this.token(a,";")})},name:"DeclarationList",parse:Ir,structure:{children:[["Declaration","Atrule","Rule"]]}},Symbol.toStringTag,{value:"Module"})),Fr={value:String,unit:String};function Rr(){const e=this.tokenStart,t=this.consumeNumber(n);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}const Br=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(n,e.value+e.unit)},name:"Dimension",parse:Rr,structure:Fr},Symbol.toStringTag,{value:"Module"})),Wr={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function qr(t){const r=this.tokenStart;let o,a=null;if(this.eat(u),this.skipSC(),o=this.consume(1),this.skipSC(),this.tokenType!==h){switch(this.eat(i),this.skipSC(),this.tokenType){case e:a=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case n:a=this.Dimension();break;case 1:a=this.Identifier();break;case 2:a=this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(h),{type:"Feature",loc:this.getLocation(r,this.tokenStart),kind:t,name:o,value:a}}const Ur=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(u,"("),this.token(1,e.name),null!==e.value&&(this.token(i,":"),this.node(e.value)),this.token(h,")")},name:"Feature",parse:qr,structure:Wr},Symbol.toStringTag,{value:"Module"})),Vr={kind:String,feature:String,value:["Declaration","Selector"]};function Kr(e,t){const n=(this.features[e]||{})[t];return"function"!=typeof n&&this.error(`Unknown feature ${t}()`),n}function Gr(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=Kr.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const e=this.tokenIndex,t=r.call(this);return!1===this.eof&&!1===this.isBalanceEdge(e)&&this.error(),t},()=>this.Raw(null,!1));return this.eof||this.eat(h),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}const Hr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(2,e.feature+"("),this.node(e.value),this.token(h,")")},name:"FeatureFunction",parse:Gr,structure:Vr},Symbol.toStringTag,{value:"Module"})),$r={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 Qr(){switch(this.skipSC(),this.tokenType){case e:return this.isDelim(47,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case n:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Xr(e){if(this.skipSC(),this.isDelim(60)||this.isDelim(62)){const e=this.source[this.tokenStart];return this.next(),this.isDelim(61)?(this.next(),e+"="):e}if(this.isDelim(61))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Yr(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(u);const n=Qr.call(this),r=Xr.call(this,"Identifier"===n.type),o=Qr.call(this);let i=null,a=null;return this.lookupNonWSType(0)!==h&&(i=Xr.call(this),a=Qr.call(this)),this.skipSC(),this.eat(h),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:i,right:a}}const Zr=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(u,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(h,")")},name:"FeatureRange",parse:Yr,structure:$r},Symbol.toStringTag,{value:"Module"})),Jr={name:String,children:[[]]};function eo(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(h),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}const to=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(2,e.name+"("),this.children(e),this.token(h,")")},name:"Function",parse:eo,structure:Jr,walkContext:"function"},Symbol.toStringTag,{value:"Module"})),no={kind:String,function:[String,null],children:[[]]};function ro(e){const t=this.tokenStart;let n=null;2===this.tokenType?n=this.consumeFunctionName():this.eat(u);const r=this.parseWithFallback(()=>{const e=this.tokenIndex,t=this.readSequence(this.scope.Value);return!1===this.eof&&!1===this.isBalanceEdge(e)&&this.error(),t},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(h),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}const oo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.function?this.token(2,e.function+"("):this.token(u,"("),this.children(e),this.token(h,")")},name:"GeneralEnclosed",parse:ro,structure:no},Symbol.toStringTag,{value:"Module"})),io={value:String};function ao(){const e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}const so=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(4,"#"+e.value)},name:"Hash",parse:ao,structure:io,xxx:"XXX"},Symbol.toStringTag,{value:"Module"})),lo={name:String};function co(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}const uo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(1,e.name)},name:"Identifier",parse:co,structure:lo},Symbol.toStringTag,{value:"Module"})),ho={name:String};function po(){const e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}const mo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(9,"#"+e.name)},name:"IdSelector",parse:po,structure:ho},Symbol.toStringTag,{value:"Module"})),go={name:String};function fo(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(46);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}const bo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"Layer",parse:fo,structure:go},Symbol.toStringTag,{value:"Module"}));function yo(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===s);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}const ko=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(s,","))},name:"LayerList",parse:yo,structure:{children:[["Layer"]]}},Symbol.toStringTag,{value:"Module"})),xo={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function vo(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),1===this.tokenType&&this.lookupTypeNonSC(1)!==u){const e=this.consume(1),o=e.toLowerCase();switch("not"===o||"only"===o?(this.skipSC(),t=o,n=this.consume(1)):n=e,this.lookupTypeNonSC(0)){case 1:this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break;case p:case a:case s:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case u:case 2:r=this.Condition("media");break;case p:case a:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}const wo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(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)},name:"MediaQuery",parse:vo,structure:xo},Symbol.toStringTag,{value:"Module"}));function So(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===s);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}const Co=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(s,","))},name:"MediaQueryList",parse:So,structure:{children:[["MediaQuery"]]}},Symbol.toStringTag,{value:"Module"}));function zo(){const e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}const _o=Object.freeze(Object.defineProperty({__proto__:null,generate:function(){this.token(9,"&")},name:"NestingSelector",parse:zo,structure:{}},Symbol.toStringTag,{value:"Module"}));function To(){this.skipSC();const e=this.tokenStart;let t,n=e,r=null;return t=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(e,n),nth:t,selector:r}}const Ao=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))},name:"Nth",parse:To,structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}},Symbol.toStringTag,{value:"Module"})),Oo={value:String};function Lo(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(e)}}const jo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(t){this.token(e,t.value)},name:"Number",parse:Lo,structure:Oo},Symbol.toStringTag,{value:"Module"})),Po={value:String};function Mo(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}const Do=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Operator",parse:Mo,structure:Po},Symbol.toStringTag,{value:"Module"}));function Eo(e,t){const n=this.tokenStart;let r=null;return this.eat(u),r=e.call(this,t),this.eof||this.eat(h),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}const Io=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(u,"("),this.children(e),this.token(h,")")},name:"Parentheses",parse:Eo,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"})),No={value:String};function Fo(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(t)}}const Ro=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(t,e.value+"%")},name:"Percentage",parse:Fo,structure:No},Symbol.toStringTag,{value:"Module"})),Bo={name:String,children:[["Raw"],null]};function Wo(){const e=this.tokenStart;let t,n,r=null;return this.eat(i),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==h?r=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(null,!1))),this.eat(h)):t=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}const qo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(i,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(h,")"))},name:"PseudoClassSelector",parse:Wo,structure:Bo,walkContext:"function"},Symbol.toStringTag,{value:"Module"})),Uo={name:String,children:[["Raw"],null]};function Vo(){const e=this.tokenStart;let t,n,r=null;return this.eat(i),this.eat(i),2===this.tokenType?(t=this.consumeFunctionName(),n=t.toLowerCase(),this.lookupNonWSType(0)==h?r=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(null,!1))),this.eat(h)):t=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}const Ko=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(i,":"),this.token(i,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(h,")"))},name:"PseudoElementSelector",parse:Vo,structure:Uo,walkContext:"function"},Symbol.toStringTag,{value:"Module"}));function Go(){switch(this.skipSC(),this.tokenType){case e:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function Ho(){const e=this.tokenStart,t=Go.call(this);let n=null;return this.skipSC(),this.isDelim(47)&&(this.eatDelim(47),n=Go.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}const $o=Object.freeze(Object.defineProperty({__proto__:null,generate:function(t){this.node(t.left),this.token(9,"/"),t.right?this.node(t.right):this.node(e,1)},name:"Ratio",parse:Ho,structure:{left:["Number","Function"],right:["Number","Function",null]}},Symbol.toStringTag,{value:"Module"}));function Qo(){return this.tokenIndex>0&&this.lookupType(-1)===r?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const Xo={value:String};function Yo(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?Qo.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}const Zo=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"Raw",parse:Yo,structure:Xo},Symbol.toStringTag,{value:"Module"}));function Jo(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function ei(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==p&&this.error(),e}function ti(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return n=this.parseRulePrelude?this.parseWithFallback(ei,Jo):Jo.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}const ni=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.node(e.prelude),this.node(e.block)},name:"Rule",parse:ti,structure:{prelude:["SelectorList","Raw"],block:["Block"]},walkContext:"rule"},Symbol.toStringTag,{value:"Module"}));function ri(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===u&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(h)),1===this.lookupNonWSType(0)&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(u),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(h)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}const oi=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){e.root&&(this.token(u,"("),this.node(e.root),this.token(h,")")),e.limit&&(this.token(1,"to"),this.token(u,"("),this.node(e.limit),this.token(h,")"))},name:"Scope",parse:ri,structure:{root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}},Symbol.toStringTag,{value:"Module"}));function ii(){const e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}const ai=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"Selector",parse:ii,structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}},Symbol.toStringTag,{value:"Module"}));function si(){const e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===s);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}const li=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e,()=>this.token(s,","))},name:"SelectorList",parse:si,structure:{children:[["Selector","Raw"]]},walkContext:"selector"},Symbol.toStringTag,{value:"Module"}));function ci(e){const t=e.length,n=e.charCodeAt(0),r=34===n||39===n?1:0,o=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let i="";for(let a=r;a<=o;a++){let n=e.charCodeAt(a);if(92===n){if(a===o){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),S(92,n)){const t=a-1,n=I(e,t);a=n-1,i+=B(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(a+1)&&a++}else i+=e[a]}return i}const ui={value:String};function hi(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:ci(this.consume(5))}}const pi=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(5,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),n=!0):34===o||92===o?(t+="\\"+e.charAt(r),n=!1):(n&&(f(o)||w(o))&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return'"'+t+'"'}(e.value))},name:"String",parse:hi,structure:ui},Symbol.toStringTag,{value:"Module"}));function di(){return this.Raw(null,!1)}function mi(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case r:this.next();continue;case m:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case o:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,di);break;default:n=this.parseWithFallback(this.Rule,di)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}const gi=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"StyleSheet",parse:mi,structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},walkContext:"stylesheet"},Symbol.toStringTag,{value:"Module"}));function fi(){const e=this.tokenStart;this.eat(u),this.skipSC();const t=this.Declaration();return this.eof||this.eat(h),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}const bi=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(u,"("),this.node(e.declaration),this.token(h,")")},name:"SupportsDeclaration",parse:fi,structure:{declaration:"Declaration"}},Symbol.toStringTag,{value:"Module"}));function yi(){1!==this.tokenType&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}const ki={name:String};function xi(){const e=this.tokenStart;return this.isDelim(124)?(this.next(),yi.call(this)):(yi.call(this),this.isDelim(124)&&(this.next(),yi.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}const vi=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.name)},name:"TypeSelector",parse:xi,structure:ki},Symbol.toStringTag,{value:"Module"}));function wi(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(45===o&&t&&0!==n)return wi.call(this,e+n+1,!1),-1;f(o)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Si(e){let t=0;for(;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function Ci(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function zi(){let t=0;switch(this.tokenType){case e:if(t=wi.call(this,1,!0),this.isDelim(63)){Si.call(this,6-t);break}if(this.tokenType===n||this.tokenType===e){Ci.call(this,45),wi.call(this,1,!1);break}break;case n:t=wi.call(this,1,!0),t>0&&Si.call(this,6-t);break;default:if(this.eatDelim(43),1===this.tokenType){t=wi.call(this,0,!0),t>0&&Si.call(this,6-t);break}if(this.isDelim(63)){this.next(),Si.call(this,5);break}this.error("Hex digit or question mark is expected")}}const _i={value:String};function Ti(){const e=this.tokenStart;return this.eatIdent("u"),zi.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}const Ai=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.tokenize(e.value)},name:"UnicodeRange",parse:Ti,structure:_i},Symbol.toStringTag,{value:"Module"}));const Oi={value:String};function Li(){const e=this.tokenStart;let t;switch(this.tokenType){case 7:t=function(e){const t=e.length;let n=4,r=41===e.charCodeAt(t-1)?t-2:t-1,o="";for(;n<r&&w(e.charCodeAt(n));)n++;for(;n<r&&w(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let n=e.charCodeAt(i);if(92===n){if(i===r){i!==t-1&&(o=e.substr(i+1));break}if(n=e.charCodeAt(++i),S(92,n)){const t=i-1,n=I(e,t);i=n-1,o+=B(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(i+1)&&i++}else o+=e[i]}return o}(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=ci(this.consume(5)),this.skipSC(),this.eof||this.eat(h);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}const ji=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(7,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),n=!0):32===o||92===o||34===o||39===o||40===o||41===o?(t+="\\"+e.charAt(r),n=!1):(n&&f(o)&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return"url("+t+")"}(e.value))},name:"Url",parse:Li,structure:Oi},Symbol.toStringTag,{value:"Module"}));function Pi(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}const Mi=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.children(e)},name:"Value",parse:Pi,structure:{children:[[]]}},Symbol.toStringTag,{value:"Module"})),Di=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Ei={value:String};function Ii(){return this.eat(r),Di}const Ni=Object.freeze(Object.defineProperty({__proto__:null,generate:function(e){this.token(r,e.value)},name:"WhiteSpace",parse:Ii,structure:Ei},Symbol.toStringTag,{value:"Module"})),Fi=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Wn,Atrule:Gn,AtrulePrelude:$n,AttributeSelector:Jn,Block:ir,Brackets:sr,CDC:cr,CDO:hr,ClassSelector:mr,Combinator:br,Comment:xr,Condition:_r,Declaration:Dr,DeclarationList:Nr,Dimension:Br,Feature:Ur,FeatureFunction:Hr,FeatureRange:Zr,Function:to,GeneralEnclosed:oo,Hash:so,IdSelector:mo,Identifier:uo,Layer:bo,LayerList:ko,MediaQuery:wo,MediaQueryList:Co,NestingSelector:_o,Nth:Ao,Number:jo,Operator:Do,Parentheses:Io,Percentage:Ro,PseudoClassSelector:qo,PseudoElementSelector:Ko,Ratio:$o,Raw:Zo,Rule:ni,Scope:oi,Selector:ai,SelectorList:li,String:pi,StyleSheet:gi,SupportsDeclaration:bi,TypeSelector:vi,UnicodeRange:Ai,Url:ji,Value:Mi,WhiteSpace:Ni},Symbol.toStringTag,{value:"Module"})),Ri={generic:!0,cssWideKeywords:rt,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>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","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>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","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()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<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>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [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-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","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>#","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","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>","contrast()":"contrast( [<number-percentage>] )","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-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|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( <length>{2,3} <color>? )","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( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","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>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<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-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-name":"serif|sans-serif|cursive|fantasy|monospace","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> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|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> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>|<timeline-range-name> <percentage>","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-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [[<angle>|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> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|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>","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]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","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-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,∞]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )","polar-color-space":"hsl|hwb|lch|oklch",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>]]","pow()":"pow( <calc-sum> , <calc-sum> )","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]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rectangular-color-space":"srgb|srgb-linear|display-p3|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( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","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>] )","scroll()":"scroll( [<axis>||<scroller>]? )",scroller:"root|nearest|self","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","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":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","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-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}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","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]? )","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","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,∞]>] , [<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> )","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>","-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>? )","absolute-color-base":"<hex-color>|<absolute-color-function>|<named-color>|transparent","absolute-color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",age:"child|young|old","anchor-name":"<dashed-ident>","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont",left:"<length>|auto","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","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-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>","custom-color-space":"<dashed-ident>",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","palette-identifier":"<dashed-ident>",right:"<length>|auto","scope-start":"<forgiving-selector-list>","scope-end":"<forgiving-selector-list>","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","selector-list":"<complex-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]","single-animation-composition":"replace|add|accumulate","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,∞]>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","predefined-rgb":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","xyz-space":"xyz|xyz-d50|xyz-d65","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]]? )","offset-path":"<ray()>|<url>|<basic-shape>","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-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}]","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}]","anchor()":"anchor( <anchor-element>?&&<anchor-side> , <length-percentage>? )","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size()":"anchor-size( [<anchor-element>||<anchor-size>]? , <length-percentage>? )","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-element":"<dashed-ident>","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","font-variant-css2":"normal|small-caps","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-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-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-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-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-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-image-region":"<shape>|auto","-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>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<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","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>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",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":"<time>#","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-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto||<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-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":"<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>#","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","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-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","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-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{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> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","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|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","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-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":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","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>]+]?","content-visibility":"visible|auto|hidden","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]]",d:"none|path( <string> )",cx:"<length>|<percentage>",cy:"<length>|<percentage>",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","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd",filter:"none|<filter-function-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",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>","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","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-weight":"<font-weight-absolute>|bolder|lighter","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>|min-content|max-content|fit-content|fit-content( <length-percentage> )|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|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'>","input-security":"auto|none",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","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]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","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:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","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":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-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>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",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:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-width'>||<'outline-style'>||<'outline-color'>]","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<'border-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","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto",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:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>",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|<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>",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",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-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"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-timeline":"[<'scroll-timeline-name'>||<'scroll-timeline-axis'>]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",stroke:"<paint>","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-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-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|trim-both|trim-all|auto","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","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":"auto|wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#",top:"<length>|<percentage>|auto","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>?]?","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|contain|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-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"none|<dashed-ident>#","view-transition-name":"none|<custom-ident>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces|[<'white-space-collapse'>||<'text-wrap'>||<'white-space-trim'>]","white-space-collapse":"collapse|discard|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|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>|<percentage>","-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":"[<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","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",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",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",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|never|always","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","unicode-range":"<urange>#","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>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<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>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <absolute-color-base>]#"}},"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-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","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},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>{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:{syntax:"<string>",inherits:"true|false","initial-value":"<declaration-value>?"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}},node:Fi};function Bi(r){switch(this.tokenType){case 4:return this.Hash();case s:return this.Operator();case u:return this.Parentheses(this.readSequence,r.recognizer);case l:return this.Brackets(this.readSequence,r.recognizer);case 5:return this.String();case n:return this.Dimension();case t:return this.Percentage();case e:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,r.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case 9:{const e=this.charCodeAt(this.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const Wi={getNode:Bi};const qi={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case l:return this.AttributeSelector();case 4:return this.IdSelector();case i:return this.lookupType(1)===i?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case e:case t:return this.Percentage();case n:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector();case 38:return this.NestingSelector()}break}}};function Ui(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}const Vi={getNode:Bi,onWhiteSpace(e,t){Ui(e)&&(e.value=" "+e.value),Ui(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(null,!1))},var:function(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===s){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===r){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},Ki=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:Wi,Selector:qi,Value:Vi},Symbol.toStringTag,{value:"Module"})),Gi=new Set(["none","and","not","or"]),Hi={parse:{prelude(){const e=this.createList();if(1===this.tokenType){const t=this.substring(this.tokenStart,this.tokenEnd);Gi.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},$i={parse:{prelude:null,block(){return this.Block(!0)}}};function Qi(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==h&&this.error()}},t||(()=>this.Raw(null,!0)))}const Xi={layer(){this.skipSC();const e=this.createList(),t=Qi.call(this,this.Layer);return"Raw"===t.type&&""===t.value||e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=Qi.call(this,this.Declaration,()=>Qi.call(this,()=>this.Condition("supports")));return"Raw"===t.type&&""===t.value||e.push(t),e}},Yi={container:Hi,"font-face":$i,import:{parse:{prelude(){const 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(),1===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Xi)),this.skipSC(),2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Xi)),1!==this.lookupNonWSType(0)&&this.lookupNonWSType(0)!==u||e.push(this.MediaQueryList()),e},block:null}},layer:{parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},media:{parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},nest:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},page:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},scope:{parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},"starting-style":{parse:{prelude:null,block(e=!1){return this.Block(e)}}},supports:{parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}};const Zi={parse(){return this.createSingleNodeList(this.SelectorList())}},Ji={parse(){return this.createSingleNodeList(this.Selector())}},ea={parse(){return this.createSingleNodeList(this.Identifier())}},ta={parse:function(){const 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 s:e.push(this.Operator());break;case h:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}},na={parse(){return this.createSingleNodeList(this.Nth())}},ra={dir:ea,has:Zi,lang:ta,matches:Zi,is:Zi,"-moz-any":Zi,"-webkit-any":Zi,where:Zi,not:Zi,"nth-child":na,"nth-last-child":na,"nth-last-of-type":na,"nth-of-type":na,slotted:Ji,host:Ji,"host-context":Ji},oa=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Bn,Atrule:Kn,AtrulePrelude:Hn,AttributeSelector:Zn,Block:or,Brackets:ar,CDC:lr,CDO:ur,ClassSelector:dr,Combinator:fr,Comment:kr,Condition:zr,Declaration:jr,DeclarationList:Ir,Dimension:Rr,Feature:qr,FeatureFunction:Gr,FeatureRange:Yr,Function:eo,GeneralEnclosed:ro,Hash:ao,IdSelector:po,Identifier:co,Layer:fo,LayerList:yo,MediaQuery:vo,MediaQueryList:So,NestingSelector:zo,Nth:To,Number:Lo,Operator:Mo,Parentheses:Eo,Percentage:Fo,PseudoClassSelector:Wo,PseudoElementSelector:Vo,Ratio:Ho,Raw:Yo,Rule:ti,Scope:ri,Selector:ii,SelectorList:si,String:hi,StyleSheet:mi,SupportsDeclaration:fi,TypeSelector:xi,UnicodeRange:Ti,Url:Li,Value:Pi,WhiteSpace:Ii},Symbol.toStringTag,{value:"Module"})),ia=Ln(On({},{...Ri,...{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:Ki,atrule:Yi,pseudo:ra,node:oa},...{node:Fi}}));function aa(e){const t={};for(const n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof Z?r=r.map(aa):r.constructor===Object&&(r=aa(r))),t[n]=r}return t}const{tokenize:sa,parse:la,generate:ca,lexer:ua,createLexer:ha,walk:pa,find:da,findLast:ma,findAll:ga,toPlainObject:fa,fromPlainObject:ba,fork:ya}=ia;export{Z as L,aa as c,ca as g,la as p,pa as w};
@@ -0,0 +1 @@
1
+ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-tag,.hljs-punctuation{color:#444a}.hljs-tag .hljs-name,.hljs-tag .hljs-attr{color:#444}.hljs-keyword,.hljs-attribute,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-name{font-weight:700}.hljs-type,.hljs-string,.hljs-number,.hljs-selector-id,.hljs-selector-class,.hljs-quote,.hljs-template-tag,.hljs-deletion{color:#800}.hljs-title,.hljs-section{color:#800;font-weight:700}.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr,.hljs-operator,.hljs-selector-pseudo{color:#ab5656}.hljs-literal{color:#695}.hljs-built_in,.hljs-bullet,.hljs-code,.hljs-addition{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}