@doubao-dev/cli 0.0.19 → 0.0.20
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.
- package/dist/2514.js +8 -8
- package/dist/2932.js +1 -1
- package/dist/318.js +1 -1
- package/dist/3494.js +284 -0
- package/dist/{1122.js.LICENSE.txt → 3494.js.LICENSE.txt} +6 -0
- package/dist/4931.js +1 -1
- package/dist/7410.js +1 -1
- package/dist/{1664.js → 8713.js} +3 -3
- package/dist/@byted-doubao-apps/create.js +1 -1
- package/dist/@byted-doubao-apps/login.js +1 -1
- package/dist/@byted-doubao-apps/login~1.js +1 -1
- package/dist/@byted-doubao-apps/template-empty/README.md +0 -2
- package/dist/@byted-doubao-apps/template-empty/package.json +3 -3
- package/dist/@byted-doubao-apps/template-starter/README.md +1 -1
- package/dist/@byted-doubao-apps/template-starter/package.json +3 -3
- package/dist/@byted-hdt/cli.js +1 -1
- package/dist/@inquirer/select.js +1 -1
- package/dist/@lynx-js/web-core-canary.js +2 -13
- package/dist/@lynx-js/web-core-canary~1.js +2 -0
- package/dist/app.js +1 -1
- package/dist/assets/web-sdk-debugger/chrome-devtools/entrypoints/devtools_app/devtools_app.js +9 -7
- package/dist/assets/web-sdk-debugger/chrome-devtools/panels/wsd-debug/WsdDebug.js +9 -7
- package/dist/assets/web-sdk-debugger/chrome-devtools/panels/wsd-debug/WsdDebugMeta.js +79 -77
- package/dist/assets/web-sdk-debugger/index.html +1 -1
- package/dist/assets/web-sdk-debugger/static/css/index.9952f4197c.css +1 -0
- package/dist/assets/web-sdk-debugger/static/js/{741.ece428827e.js → 48.8c158322ee.js} +60 -67
- package/dist/assets/web-sdk-debugger/static/js/48.8c158322ee.js.LICENSE.txt +5 -0
- package/dist/assets/web-sdk-debugger/static/js/async/257.4d55bd5ce8.js +1 -0
- package/dist/assets/web-sdk-debugger/static/js/async/{web-core-template-loader-thread.f9f3ef68b1.js → web-core-template-loader-thread.20d5b2a451.js} +2 -2
- package/dist/assets/web-sdk-debugger/static/js/async/{web-core-worker-chunk.002a4f7b9d.js → web-core-worker-chunk.71b9323071.js} +1 -1
- package/dist/assets/web-sdk-debugger/static/js/index.e5bc5f1bbd.js +26 -0
- package/dist/assets/web-sdk-debugger/static/js/{lib-polyfill.8cf763c414.js → lib-polyfill.4f00df8f2a.js} +1 -1
- package/dist/assets/web-sdk-debugger/wsd/doubao-apps-api.template.js +0 -0
- package/dist/assets/web-sdk-debugger/wsd/doubao-apps-framework.template.js +0 -0
- package/dist/auth.js +1 -1
- package/dist/browser.js +1 -1
- package/dist/csstree.esm.js +12 -0
- package/dist/dbx-demo.js +1 -1
- package/dist/dbx.js +1 -1
- package/dist/demo-server.js +1 -1
- package/dist/dev-config.js +1 -1
- package/dist/dev-service-client.js +6 -6
- package/dist/dev-shell.js +1 -1
- package/dist/dev.js +7 -7
- package/dist/eval.js +1 -1
- package/dist/gen-explore.js +1 -1
- package/dist/gen-trajectory.js +1 -1
- package/dist/get.js +1 -1
- package/dist/init.js +2 -2
- package/dist/ink.js +1 -1
- package/dist/json-file.js +1 -1
- package/dist/login.js +1 -1
- package/dist/main.js +1 -1
- package/dist/manifest-mcp-config.js +1 -1
- package/dist/ora.js +1 -1
- package/dist/portal.js +1 -1
- package/dist/project-layout.js +1 -1
- package/dist/prompt.js +1 -1
- package/dist/prompts.js +1 -1
- package/dist/report.js +1 -1
- package/dist/run-registry.js +1 -1
- package/dist/run.js +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/sdk.js +67 -133
- package/dist/sdk~1.js +67 -133
- package/dist/server.js +1 -1
- package/dist/shared.js +1 -1
- package/dist/simulator-client.js +1 -1
- package/dist/skill.js +1 -1
- package/dist/skills~1.js +1 -1
- package/dist/static/assets/web-view-proxy-page-client.js +1 -0
- package/dist/static/assets/web-view-proxy-service-worker.js +1 -0
- package/dist/status.js +1 -1
- package/dist/status~1.js +1 -1
- package/dist/stop.js +1 -1
- package/dist/update.js +1 -1
- package/dist/upgrade.js +1 -1
- package/dist/upload.js +1 -1
- package/dist/validate.js +1 -1
- package/dist/workspace.js +1 -1
- package/dist/yaml.js +1 -1
- package/package.json +2 -2
- package/skills/doubao-agentic-service-development/references/dev-debug.md +6 -6
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/01-/345/237/272/347/241/200.md +105 -25
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/02-/347/263/273/347/273/237.md +118 -6
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/06-/344/272/244/344/272/222.md +18 -8
- package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/quick-reference.md +3 -3
- package/skills/doubao-agentic-service-development/references/frontend/examples/page-widget-basics.md +2 -3
- package/skills/doubao-agentic-service-development/references/frontend/guides/component-development.md +2 -1
- package/skills/doubao-agentic-service-development/references/frontend/guides/debugger-mcp.md +7 -1
- package/skills/doubao-agentic-service-development/references/frontend/rules/dos-and-donts.md +4 -7
- package/skills/doubao-agentic-service-development/references/frontend-dev.md +0 -1
- package/skills/doubao-agentic-service-development/references/manifest-guide.md +5 -4
- package/skills/doubao-agentic-service-development/references/mcp-protocol.md +4 -3
- package/dist/1122.js +0 -277
- package/dist/assets/web-sdk-debugger/static/css/index.fe34ed7927.css +0 -1
- package/dist/assets/web-sdk-debugger/static/js/index.da81c37197.js +0 -26
- package/dist/push-page.js +0 -1
- package/dist/push-widget.js +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
let e;import"node:module";var t,n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},u=l(e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError("Must be between 0 and 63: "+e)},e.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}}),h=l(e=>{var t=u();e.encode=function(e){var n,r="",i=e<0?(-e<<1)+1:(e<<1)+0;do n=31&i,(i>>>=5)>0&&(n|=32),r+=t.encode(n);while(i>0);return r},e.decode=function(e,n,r){var i,o,a,s,l=e.length,c=0,u=0;do{if(n>=l)throw Error("Expected more digits in base 64 VLQ value.");if(-1===(s=t.decode(e.charCodeAt(n++))))throw Error("Invalid base64 digit: "+e.charAt(n-1));a=!!(32&s),s&=31,c+=s<<u,u+=5}while(a);o=(i=c)>>1,r.value=(1&i)==1?-o:o,r.rest=n}}),p=l(e=>{e.getArg=function(e,t,n){if(t in e)return e[t];if(3==arguments.length)return n;throw Error('"'+t+'" is a required argument.')};var t,n,r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function o(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(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=o,e.urlGenerate=a;var s=(t=function(t){var n=t,r=o(t);if(r){if(!r.path)return t;n=r.path}for(var i=e.isAbsolute(n),s=[],l=0,c=0;;)if(l=c,-1===(c=n.indexOf("/",l))){s.push(n.slice(l));break}else for(s.push(n.slice(l,c));c<n.length&&"/"===n[c];)c++;for(var u,h=0,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=i?"/":"."),r?(r.path=n,a(r)):n},n=[],function(e){for(var r=0;r<n.length;r++)if(n[r].input===e){var i=n[0];return n[0]=n[r],n[r]=i,n[0].result}var o=t(e);return n.unshift({input:e,result:o}),n.length>32&&n.pop(),o});function l(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),r=o(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),a(n);if(n||t.match(i))return t;if(r&&!r.host&&!r.path)return r.host=t,a(r);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=l,a(r)):l}e.normalize=s,e.join=l,e.isAbsolute=function(e){return"/"===e.charAt(0)||r.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||(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||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 r=o(n);if(!r)throw Error("sourceMapURL could not be parsed");if(r.path){var i=r.path.lastIndexOf("/");i>=0&&(r.path=r.path.substring(0,i+1))}t=l(a(r),t)}return s(t)}}),d=l(e=>{var t=p(),n=Object.prototype.hasOwnProperty,r="u">typeof Map;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var o=r?e:t.toSetString(e),a=r?this.has(e):n.call(this._set,o),s=this._array.length;(!a||i)&&this._array.push(e),a||(r?this._set.set(e,s):this._set[o]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var o=t.toSetString(e);if(n.call(this._set,o))return this._set[o]}throw Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i}),m=l(e=>{var t=p();function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){var n,r,i,o,a;(n=this._last,r=n.generatedLine,i=e.generatedLine,o=n.generatedColumn,a=e.generatedColumn,i>r||i==r&&a>=o||0>=t.compareByGeneratedPositionsInflated(n,e))?this._last=e:this._sorted=!1,this._array.push(e)},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}),g=l(e=>{var t=h(),n=p(),r=d().ArraySet,i=m().MappingList;function o(e){e||(e={}),this._file=n.getArg(e,"file",null),this._sourceRoot=n.getArg(e,"sourceRoot",null),this._skipValidation=n.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=n.getArg(e,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new o(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=r&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var o=t;null!==r&&(o=n.relative(r,t)),i._sources.has(o)||i._sources.add(o);var a=e.sourceContentFor(t);null!=a&&i.setSourceContent(t,a)}),i},o.prototype.addMapping=function(e){var t=n.getArg(e,"generated"),r=n.getArg(e,"original",null),i=n.getArg(e,"source",null),o=n.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(t,r,i,o))&&(null!=i&&(i=String(i),this._sources.has(i)||this._sources.add(i)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:i,name:o}))},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=n.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,t,i){var o=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=e.file}var a=this._sourceRoot;null!=a&&(o=n.relative(a,o));var s=new r,l=new r;this._mappings.unsortedForEach(function(t){if(t.source===o&&null!=t.originalLine){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=i&&(t.source=n.join(i,t.source)),null!=a&&(t.source=n.relative(a,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}var c=t.source;null==c||s.has(c)||s.add(c);var u=t.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=i&&(t=n.join(i,t)),null!=a&&(t=n.relative(a,t)),this.setSourceContent(t,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var i="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"u">typeof console&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)){if(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)return;var i="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return"u">typeof console&&console.warn&&console.warn(i),!1;throw Error(i)}},o.prototype._serializeMappings=function(){for(var e,r,i,o,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(r=d[m],e="",r.generatedLine!==s)for(a=0;r.generatedLine!==s;)e+=";",s++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(r,d[m-1]))continue;e+=","}e+=t.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(o=this._sources.indexOf(r.source),e+=t.encode(o-h),h=o,e+=t.encode(r.originalLine-1-c),c=r.originalLine-1,e+=t.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(i=this._names.indexOf(r.name),e+=t.encode(i-u),u=i)),p+=e}return p},o.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=n.relative(t,e));var r=n.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())},e.SourceMapGenerator=o});c({},{AtKeyword:()=>k,BadString:()=>w,BadUrl:()=>C,CDC:()=>E,CDO:()=>P,Colon:()=>D,Comma:()=>N,Comment:()=>_,Delim:()=>z,Dimension:()=>L,EOF:()=>f,Function:()=>y,Hash:()=>x,Ident:()=>b,LeftCurlyBracket:()=>M,LeftParenthesis:()=>R,LeftSquareBracket:()=>j,Number:()=>A,Percentage:()=>T,RightCurlyBracket:()=>q,RightParenthesis:()=>B,RightSquareBracket:()=>F,Semicolon:()=>I,String:()=>v,Url:()=>S,WhiteSpace:()=>O});var f=0,b=1,y=2,k=3,x=4,v=5,w=6,S=7,C=8,z=9,A=10,T=11,L=12,O=13,P=14,E=15,D=16,I=17,N=18,j=19,F=20,R=21,B=22,M=23,q=24,_=25;function W(e){return e>=48&&e<=57}function U(e){return W(e)||e>=65&&e<=70||e>=97&&e<=102}function V(e){return e>=65&&e<=90}function K(e){return V(e)||e>=97&&e<=122||e>=128||95===e}function G(e){return K(e)||W(e)||45===e}function H(e){return 10===e||13===e||12===e}function $(e){return H(e)||32===e||9===e}function Q(e,t){return!(92!==e||H(t)||0===t)}function X(e,t,n){return 45===e?K(t)||45===t||Q(t,n):!!K(e)||92===e&&Q(e,t)}function Y(e,t,n){return 43===e||45===e?W(t)?2:46===t&&W(n)?3:0:46===e?2*!!W(t):+!!W(e)}function Z(e){return+(65279===e||65534===e)}var J=Array(128);for(let e=0;e<J.length;e++)J[e]=$(e)&&130||W(e)&&131||K(e)&&132||((t=e)>=0&&t<=8||11===t||t>=14&&t<=31||127===t)&&133||e||128;function ee(e){return e<128?J[e]:132}function et(e,t){return t<e.length?e.charCodeAt(t):0}function en(e,t,n){return 13===n&&10===et(e,t+1)?2:1}function er(e,t,n){let r=e.charCodeAt(t);return V(r)&&(r|=32),r===n}function ei(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let i=t;i<n;i++){let n=r.charCodeAt(i-t),o=e.charCodeAt(i);if(V(o)&&(o|=32),o!==n)return!1}return!0}function eo(e,t){for(;t<e.length&&$(e.charCodeAt(t));t++);return t}function ea(e,t){for(;t<e.length&&W(e.charCodeAt(t));t++);return t}function es(e,t){if(U(et(e,(t+=2)-1))){for(let n=Math.min(e.length,t+5);t<n&&U(et(e,t));t++);let n=et(e,t);$(n)&&(t+=en(e,t,n))}return t}function el(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!G(n)){if(Q(n,et(e,t+1))){t=es(e,t)-1;continue}break}}return t}function ec(e,t){let n=e.charCodeAt(t);if((43===n||45===n)&&(n=e.charCodeAt(t+=1)),W(n)&&(t=ea(e,t+1),n=e.charCodeAt(t)),46===n&&W(e.charCodeAt(t+1))&&(t+=2,t=ea(e,t)),er(e,t,101)){let r=0;(45===(n=e.charCodeAt(t+1))||43===n)&&(r=1,n=e.charCodeAt(t+2)),W(n)&&(t=ea(e,t+1+r+1))}return t}function eu(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(41===n){t++;break}Q(n,et(e,t+1))&&(t=es(e,t))}return t}function eh(e){if(1===e.length&&!U(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)}var ep=["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 ed(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function em(e){let t=e.source,n=t.length,r=t.length>0?Z(t.charCodeAt(0)):0,i=ed(e.lines,n),o=ed(e.columns,n),a=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);i[e]=a,o[e]=s++,(10===r||13===r||12===r)&&(13===r&&e+1<n&&10===t.charCodeAt(e+1)&&(i[++e]=a,o[e]=s),a++,s=1)}i[n]=a,o[n]=s,e.lines=i,e.columns=o,e.computed=!0}var eg=class{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||em(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||em(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]}}}},ef=new Uint8Array(32);ef[2]=22,ef[21]=22,ef[19]=20,ef[23]=24;var eb=new Uint8Array(32);eb[2]=1,eb[21]=1,eb[19]=1,eb[23]=1,eb[22]=2,eb[20]=2,eb[24]=2;var ey=class{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=()=>{}){let n=(e=String(e||"")).length,r=ed(this.offsetAndType,e.length+1),i=ed(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(e,t,n)=>{let c=o++;if(r[c]=e<<24|n,-1===a&&(a=t),i[c]=l,e===s){let e=i[l];i[l]=c,l=e,s=ef[r[e]>>24]}else this.isBlockOpenerTokenType(e)&&(l=c,s=ef[e])}),r[o]=0|n,i[o]=o;for(let e=0;e<o;e++){let t=i[e];if(t<=e){let n=i[t];n!==e&&(i[e]=n)}else t>o&&(i[e]=o)}this.source=e,this.firstCharOffset=-1===a?0:a,this.tokenCount=o,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>24:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let n=this.offsetAndType[t]>>24;if(13!==n&&25!==n&&0==e--)return n}return 0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?0xffffff&this.offsetAndType[e-1]:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let n=this.offsetAndType[t]>>24;if(13!==n&&25!==n&&0==e--)return t-this.tokenIndex}return 0}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&ei(this.source,0xffffff&this.offsetAndType[e-1],0xffffff&this.offsetAndType[e],t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?0xffffff&this.offsetAndType[e-1]:0xffffff&this.offsetAndType[this.tokenCount]:this.firstCharOffset}getTokenEnd(e){var t;return e===this.tokenIndex?this.tokenEnd:0xffffff&this.offsetAndType[t=this.tokenCount,e<0?0:e>t?t:e]}getTokenType(e){var t;return e===this.tokenIndex?this.tokenType:this.offsetAndType[t=this.tokenCount,e<0?0:e>t?t:e]>>24}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return 1===eb[e]}isBlockCloserTokenType(e){return 2===eb[e]}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(1===eb[t]){let n=this.balance[e],r=this.getTokenType(n);return ef[t]===r?n:-1}if(2===eb[t]){let n=this.balance[e];return ef[this.getTokenType(n)]===t?n:-1}return -1}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=0xffffff&this.offsetAndType[t-1],t=this.offsetAndType[t],this.tokenType=t>>24,this.tokenEnd=0xffffff&t):(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>>24,this.tokenEnd=0xffffff&e):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;13===this.tokenType||25===this.tokenType;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,i=0;e:for(;n<this.tokenCount&&!((r=this.balance[n])<e);n++)switch(i=n>0?0xffffff&this.offsetAndType[n-1]:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:n++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[n]>>24)&&(n=r)}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){let r=n,i=this.offsetAndType[t],o=0xffffff&i,a=i>>24;n=o,e(a,r,o,t)}}dump(){let e=Array(this.tokenCount);return this.forEachToken((t,n,r,i)=>{e[i]={idx:i,type:ep[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function ek(e,t){function n(t){return t<o?e.charCodeAt(t):0}function r(){if(X(n(s=ec(e,s)),n(s+1),n(s+2))){l=12,s=el(e,s);return}if(37===n(s)){l=11,s++;return}l=10}function i(){let t=s;if(s=el(e,s),ei(e,t,s,"url")&&40===n(s)){if(34===n(s=eo(e,s+1))||39===n(s)){l=2,s=t+4;return}!function(){for(l=7,s=eo(e,s);s<e.length;s++){let t=e.charCodeAt(s);switch(ee(t)){case 41:s++;return;case 130:if(41===n(s=eo(e,s))||s>=e.length){s<e.length&&s++;return}s=eu(e,s),l=8;return;case 34:case 39:case 40:case 133:s=eu(e,s),l=8;return;case 92:if(Q(t,n(s+1))){s=es(e,s)-1;break}s=eu(e,s),l=8;return}}}();return}if(40===n(s)){l=2,s++;return}l=1}let o=(e=String(e||"")).length,a=Z(n(0)),s=a,l;for(;s<o;){let o=e.charCodeAt(s);switch(ee(o)){case 130:l=13,s=eo(e,s+1);break;case 34:case 39:!function(t){for(t||(t=n(s++)),l=5;s<e.length;s++){let r=e.charCodeAt(s);switch(ee(r)){case t:s++;return;case 130:if(H(r)){s+=en(e,s,r),l=6;return}break;case 92:if(s===e.length-1)break;let i=n(s+1);H(i)?s+=en(e,s+1,i):Q(r,i)&&(s=es(e,s)-1)}}}();break;case 35:G(n(s+1))||Q(n(s+1),n(s+2))?(l=4,s=el(e,s+1)):(l=9,s++);break;case 40:l=21,s++;break;case 41:l=22,s++;break;case 43:case 46:Y(o,n(s+1),n(s+2))?r():(l=9,s++);break;case 44:l=18,s++;break;case 45:Y(o,n(s+1),n(s+2))?r():45===n(s+1)&&62===n(s+2)?(l=15,s+=3):X(o,n(s+1),n(s+2))?i():(l=9,s++);break;case 47:42===n(s+1)?(l=25,s=-1===(s=e.indexOf("*/",s+2))?e.length:s+2):(l=9,s++);break;case 58:l=16,s++;break;case 59:l=17,s++;break;case 60:33===n(s+1)&&45===n(s+2)&&45===n(s+3)?(l=14,s+=4):(l=9,s++);break;case 64:X(n(s+1),n(s+2),n(s+3))?(l=3,s=el(e,s+1)):(l=9,s++);break;case 91:l=19,s++;break;case 92:Q(o,n(s+1))?i():(l=9,s++);break;case 93:l=20,s++;break;case 123:l=23,s++;break;case 125:l=24,s++;break;case 131:r();break;case 132:i();break;default:l=9,s++}t(l,a,a=s)}}var ex=null,ev=class e{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(e,t){let n;return null!==ex?(n=ex,ex=ex.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=ex,ex=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;null!==i;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.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(t){let n=null;for(let r of(this.head=null,t)){let t=e.createItem(r);null!==n?n.next=t:this.head=t,t.prev=n,n=t}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;null!==n.next;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;null!==n.prev;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r=this.allocateCursor(null,this.head),i=t,o;for(;null!==r.next;)o=r.next,r.next=o.next,i=e.call(n,i,o.data,o,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),i=t,o;for(;null!==r.prev;)o=r.prev,r.prev=o.prev,i=e.call(n,i,o.data,o,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(t,n=this){let r=new e;for(let e=this.head;null!==e;e=e.next)r.appendData(t.call(n,e.data,e,this));return r}filter(t,n=this){let r=new e;for(let e=this.head;null!==e;e=e.next)t.call(n,e.data,e,this)&&r.appendData(e.data);return r}nextUntil(e,t,n=this){if(null===e)return;let r=this.allocateCursor(null,e);for(;null!==r.next;){let 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;let r=this.allocateCursor(e,null);for(;null!==r.prev;){let 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(){let t=new e;for(let e of this)t.appendData(e);return t}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(t){return this.prepend(e.createItem(t))}append(e){return this.insert(e)}appendData(t){return this.insert(e.createItem(t))}insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw 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(t,n){return this.insert(e.createItem(t),n)}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 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 Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(t){this.insert(e.createItem(t))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(t){this.prepend(e.createItem(t))}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 ew(e,t){let n=Object.create(SyntaxError.prototype),r=Error();return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
2
|
+
`)}})}var eS=" ";function eC({source:e,line:t,column:n,baseLine:r,baseColumn:i},o){function a(e,t){return s.slice(e,t).map((t,n)=>String(e+n+1).padStart(u)+" |"+t).join(`
|
|
3
|
+
`)}let s=(`
|
|
4
|
+
`.repeat(Math.max(r-1,0))+" ".repeat(Math.max(i-1,0))+e).split(/\r\n?|\n|\f/),l=Math.max(1,t-o)-1,c=Math.min(t+o,s.length+1),u=Math.max(4,String(c).length)+1,h=0;(n+=(eS.length-1)*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length)>100&&(h=n-60+3,n=58);for(let e=l;e<=c;e++)e>=0&&e<s.length&&(s[e]=s[e].replace(/\t/g,eS),s[e]=(h>0&&s[e].length>h?"…":"")+s[e].substr(h,98)+(s[e].length>h+100-1?"…":""));return[a(l,t),Array(n+u+2).join("-")+"^",a(t,c)].filter(Boolean).join(`
|
|
5
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function ez(e,t,n,r,i,o=1,a=1){return Object.assign(ew("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment:e=>eC({source:t,line:r,column:i,baseLine:o,baseColumn:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}
|
|
6
|
+
`+eC({source:t,line:r,column:i,baseLine:o,baseColumn:a},2)}})}function eA(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var eT=()=>{},eL={createList:()=>[],createSingleNodeList:e=>[e],getFirstListNode:e=>e&&e[0]||null,getLastListNode:e=>e&&e.length>0?e[e.length-1]:null},eO={createList:()=>new ev,createSingleNodeList:e=>new ev().appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last};function eP(e){let t=Object.create(null);for(let n of Object.keys(e)){let r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}var eE=((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))s.call(e,a)||void 0===a||r(e,a,{get:()=>t[a],enumerable:!(n=i(t,a))||n.enumerable});return e})(r(null!=(e=g())?n(a(e)):{},"default",{value:e,enumerable:!0}),e),eD=new Set(["Atrule","Selector","Declaration"]),eI={};c(eI,{safe:()=>eM,spec:()=>eB});var eN=(e,t)=>(9===e&&(e=t),"string"==typeof e&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),ej=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],eF=ej.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);function eR(e){let t=new Set(e.map(([e,t])=>eN(e)<<16|eN(t)));return function(e,n,r){let i=eN(n,r),o=r.charCodeAt(0),a=45===o&&1!==n&&2!==n&&15!==n||43===o?t.has((65534&e)<<16|o<<7):t.has((65534&e)<<16|i);return i|a}}var eB=eR(ej),eM=eR(eF);function eq(e,t){if("function"==typeof t){let n=null;e.children.forEach(e=>{null!==n&&t.call(this,n),this.node(e),n=e});return}e.children.forEach(this.node,this)}var{hasOwnProperty:e_}=Object.prototype,eW=function(){};function eU(e){return"function"==typeof e?e:eW}function eV(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function eK(e,t){let n=e.fields.slice(),r=e.context,i="string"==typeof r;return t&&n.reverse(),function(e,o,a,s){let l;for(let c of(i&&(l=o[r],o[r]=e),n)){let n=e[c.name];if(!c.nullable||n){if("list"===c.type){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(a(n))return!0}}i&&(o[r]=l)}}function eG({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}){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:i}}}function eH(e){return e}function e$(e,t){let n=eH,r=!1,i=!1;return"function"==typeof t?n=t:t&&(r=!!t.forceBraces,i=!!t.compact,"function"==typeof t.decorate&&(n=t.decorate)),function e(t,n,r,i){let o;switch(t.type){case"Group":let a,s;a=" "===t.combinator||i?t.combinator:" "+t.combinator+" ",s=t.terms.map(t=>e(t,n,r,i)).join(a),o=(t.explicit||r?(i||","===s[0]?"[":"[ ")+s+(i?"]":" ]"):s)+(t.disallowEmpty?"!":"");break;case"Multiplier":return e(t.term,n,r,i)+n(function(e){let{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:"")+"}")}(t),t);case"Boolean":o="<boolean-expr["+e(t.term,n,r,i)+"]>";break;case"Type":o="<"+t.name+(t.opts?n(function(e){if("Range"===e.type)return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";throw Error("Unknown node type `"+e.type+"`")}(t.opts),t.opts):"")+">";break;case"Property":o="<'"+t.name+"'>";break;case"Keyword":o=t.name;break;case"AtKeyword":o="@"+t.name;break;case"Function":o=t.name+"(";break;case"String":case"Token":o=t.value;break;case"Comma":o=",";break;default:throw Error("Unknown node type `"+t.type+"`")}return n(o,t)}(e,n,r,i)}var eQ={offset:0,line:1,column:1};function eX(e,t){let n=e&&e.loc&&e.loc[t];return n?"line"in n?eY(n):n:null}function eY({offset:e,line:t,column:n},r){let i={offset:e,line:t,column:n};if(r){let e=r.split(/\n|\r\n?|\f/);i.offset+=r.length,i.line+=e.length-1,i.column=1===e.length?i.column+r.length:e.pop().length+1}return i}var eZ=function(e,t){let n=ew("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},eJ=function(e,t,n,r){let i=ew("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:c}=function(e,t){let n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,o=i!==t?i:null,a=0,s=0,l=0,c="",u,h;for(let e=0;e<n.length;e++){let t=n[e].value;e===r&&(s=t.length,a=c.length),null!==o&&n[e].node===o&&(e<=r?l++:l=0),c+=t}return r===n.length||l>1?(u=eX(o||t,"end")||eY(eQ,c),h=eY(u)):(u=eX(o,"start")||eY(eX(t,"start")||eQ,c.slice(0,a)),h=eX(o,"end")||eY(u,c.substr(a,s))),{css:c,mismatchOffset:a,mismatchLength:s,start:u,end:h}}(r,n);return i.rawMessage=e,i.syntax=t?e$(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
|
|
7
|
+
syntax: `+i.syntax+`
|
|
8
|
+
value: `+(o||"<empty string>")+`
|
|
9
|
+
--------`+Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},i},e1=new Map,e0=new Map,e2=function(e){if(e1.has(e))return e1.get(e);let t=e.toLowerCase(),n=e1.get(t);if(void 0===n){let e=e4(t,0),r=e?"":e5(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return e1.set(e,n),n},e3=function(e){if(e0.has(e))return e0.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");let r=e4(t,n.length);if(!r&&(t=t.toLowerCase(),e0.has(t))){let n=e0.get(t);return e0.set(e,n),n}let i=r?"":e5(t,n.length),o=t.substr(0,n.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(n.length),hack:n,vendor:i,prefix:o,custom:r});return e0.set(e,a),a};function e4(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function e5(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){let n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var e9=["initial","inherit","unset","revert","revert-layer"];function e6(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function e7(e,t,n){for(;null!==e&&(13===e.type||25===e.type);)e=n(++t);return t}function e8(e,t,n,r){if(!e)return 0;let i=e.value.charCodeAt(t);if(43===i||45===i){if(n)return 0;t++}for(;t<e.value.length;t++)if(!W(e.value.charCodeAt(t)))return 0;return r+1}function te(e,t,n){let r=!1,i=e7(e,t,n);if(null===(e=n(i)))return t;if(10!==e.type){if(!(e6(e,43)||e6(e,45)))return t;else if(r=!0,i=e7(n(++i),i,n),null===(e=n(i))||10!==e.type)return 0}if(!r){let t=e.value.charCodeAt(0);if(43!==t&&45!==t)return 0}return e8(e,+!r,r,i)}function tt(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function tn(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(45===o&&n&&0!==r)return tn(e,t+r+1,!1),6;if(!U(o)||++r>6)return 0}return r}function tr(e,t,n){if(!e)return 0;for(;tt(n(t),63);){if(++e>6)return 0;t++}return t}var ti=["calc(","-moz-calc(","-webkit-calc("],to=["min(","max(","clamp("],ta=["round(","mod(","rem("],ts=["hypot("],tl=["abs("],tc=[...ti,...to,...ta,"sin(","cos(","tan(","pow(","sqrt(","log(","exp(","sign(",...ts,...tl],tu=[...ti,...to,...ta,...ts,...tl],th=[...ti,...to,...ta,"asin(","acos(","atan(","atan2(",...ts,...tl],tp=new Map([[2,22],[21,22],[19,20],[23,24]]);function td(e,t){return t<e.length?e.charCodeAt(t):0}function tm(e,t){return ei(e,0,e.length,t)}function tg(e,t){for(let n=0;n<t.length;n++)if(tm(e,t[n]))return!0;return!1}function tf(e,t){return t===e.length-2&&92===td(e,t)&&W(td(e,t+1))}function tb(e,t,n){if(e&&"Range"===e.type){let r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||null!==e.min&&r<e.min&&"string"!=typeof e.min||null!==e.max&&r>e.max&&"string"!=typeof e.max)return!0}return!1}function ty(e,t){return function(n,r,i){return null===n?0:2===n.type&&tg(n.value,t)?function(e,t){let n=0,r=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==n)break e;if(n=r.pop(),0===r.length){i++;break e}break;case 2:case 21:case 19:case 23:r.push(n),n=tp.get(e.type)}i++}while(e=t(i));return i}(n,r):e(n,r,i)}}function tk(e){return function(t){return+(null!==t&&t.type===e)}}function tx(e){return+(null!==e&&1===e.type&&45===td(e.value,0)&&45===td(e.value,1))}function tv(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||12!==t.type)return 0;let i=ec(t.value,0);if(null!==e){let n=t.value.indexOf("\\",i),r=-1!==n&&tf(t.value,n)?t.value.substring(i,n):t.value.substr(i);if(!1===e.has(r.toLowerCase()))return 0}return+!tb(r,t.value,i)}}function tw(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&10===t.type&&0===Number(t.value)?1:e(t,n,r)}}var tS={"ident-token":tk(1),"function-token":tk(2),"at-keyword-token":tk(3),"hash-token":tk(4),"string-token":tk(5),"bad-string-token":tk(6),"url-token":tk(7),"bad-url-token":tk(8),"delim-token":tk(9),"number-token":tk(10),"percentage-token":tk(11),"dimension-token":tk(12),"whitespace-token":tk(13),"CDO-token":tk(14),"CDC-token":tk(15),"colon-token":tk(16),"semicolon-token":tk(17),"comma-token":tk(18),"[-token":tk(19),"]-token":tk(20),"(-token":tk(21),")-token":tk(22),"{-token":tk(23),"}-token":tk(24)},tC={string:tk(5),ident:tk(1),percentage:ty(function(e,t,n){return null===e||11!==e.type||tb(n,e.value,e.value.length-1)?0:1},tu),zero:tw(),number:ty(function(e,t,n){if(null===e)return 0;let r=ec(e.value,0);return r!==e.value.length&&!tf(e.value,r)||tb(n,e.value,r)?0:1},tc),integer:ty(function(e,t,n){if(null===e||10!==e.type)return 0;let r=+(43===td(e.value,0)||45===td(e.value,0));for(;r<e.value.length;r++)if(!W(td(e.value,r)))return 0;return+!tb(n,e.value,r)},tc),"custom-ident":function(e){if(null===e||1!==e.type)return 0;let t=e.value.toLowerCase();return tg(t,e9)||tm(t,"default")?0:1},"dashed-ident":tx,"custom-property-name":function(e){return tx(e)&&"--"!==e.value?1:0},"hex-color":function(e){if(null===e||4!==e.type)return 0;let t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(let n=1;n<t;n++)if(!U(td(e.value,n)))return 0;return 1},"id-selector":function(e){return null!==e&&4===e.type&&X(td(e.value,1),td(e.value,2),td(e.value,3))?1:0},"an-plus-b":function(e,t){let n=0;if(!e)return 0;if(10===e.type)return e8(e,0,!1,n);if(1===e.type&&45===e.value.charCodeAt(0)){if(!er(e.value,1,110))return 0;switch(e.value.length){case 2:return te(t(++n),n,t);case 3:return 45!==e.value.charCodeAt(2)?0:(n=e7(t(++n),n,t),e8(e=t(n),0,!0,n));default:return 45!==e.value.charCodeAt(2)?0:e8(e,3,!0,n)}}if(1===e.type||e6(e,43)&&1===t(n+1).type){if(1!==e.type&&(e=t(++n)),null===e||!er(e.value,0,110))return 0;switch(e.value.length){case 1:return te(t(++n),n,t);case 2:return 45!==e.value.charCodeAt(1)?0:(n=e7(t(++n),n,t),e8(e=t(n),0,!0,n));default:return 45!==e.value.charCodeAt(1)?0:e8(e,2,!0,n)}}if(12===e.type){let r=e.value.charCodeAt(0),i=+(43===r||45===r),o=i;for(;o<e.value.length&&W(e.value.charCodeAt(o));o++);return o!==i&&er(e.value,o,110)?o+1===e.value.length?te(t(++n),n,t):45!==e.value.charCodeAt(o+1)?0:o+2===e.value.length?(n=e7(t(++n),n,t),e8(e=t(n),0,!0,n)):e8(e,o+2,!0,n):0}return 0},urange:function(e,t){let n=0;if(null===e||1!==e.type||!er(e.value,0,117)||null===(e=t(++n)))return 0;if(tt(e,43))return null===(e=t(++n))?0:1===e.type?tr(tn(e,0,!0),++n,t):tt(e,63)?tr(1,++n,t):0;if(10===e.type){let r=tn(e,1,!0);return 0===r?0:null===(e=t(++n))?n:12===e.type||10===e.type?45===e.value.charCodeAt(0)&&tn(e,1,!1)?n+1:0:tr(r,n,t)}return 12===e.type?tr(tn(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==n)break e;n=r.pop();break;case 17:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case 21:case 19:case 23:r.push(n),n=tp.get(e.type)}i++}while(e=t(i));return i},"any-value":function(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==n)break e;n=r.pop();break;case 2:case 21:case 19:case 23:r.push(n),n=tp.get(e.type)}i++}while(e=t(i));return i}},tz=["length","angle","time","frequency","resolution","flex","decibel","semitones"],tA={};c(tA,{angle:()=>tL,decibel:()=>tI,flex:()=>tD,frequency:()=>tP,length:()=>tT,resolution:()=>tE,semitones:()=>tN,time:()=>tO});var tT=["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"],tL=["deg","grad","rad","turn"],tO=["s","ms"],tP=["hz","khz"],tE=["dpi","dpcm","dppx","x"],tD=["fr"],tI=["db"],tN=["st"];function tj(e,t,n){return Object.assign(ew("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
10
|
+
`+t+`
|
|
11
|
+
--`+Array((n||t.length)+1).join("-")+"^"})}c({},{SyntaxError:()=>tj,generate:()=>e$,parse:()=>tW,walk:()=>tK});var tF=new Uint8Array(128).map((e,t)=>+!!/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))),tR=class{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===tF[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++){let 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 tj(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||0===tF[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++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return -1===e&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}},tB={" ":1,"&&":2,"||":3,"|":4};function tM(e){let t=null,n=null;return e.eat(123),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 tq(e,t){let 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,123===e.charCode()?t=tM(e):63===e.charCode()?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case 123:t=tM(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)||63===e.charCode()&&125===e.charCodeAt(e.pos-1)?tq(e,n):n):t}function t_(e){let t=e.peek();return""===t?null:tq(e,{type:"Token",value:t})}function tW(e){let t=new tR(e),n=function e(t,n=-1){let r=Object.create(null),i=[],o=null,a=t.pos,s=!1;for(;t.charCode()!==n;){let n=s?e(t,41):function(t){let n=t.charCode();switch(n){case 93:case 42:case 43:case 63:case 35:case 33:break;case 91:let r;return tq(t,(t.eat(91),r=e(t,93),t.eat(93),r.explicit=!0,33===t.charCode()&&(t.pos++,r.disallowEmpty=!0),r));case 60:let i;return 39===t.nextCharCode()?(t.eat(60),t.eat(39),i=t.scanWord(),t.eat(39),t.eat(62),tq(t,{type:"Property",name:i})):function(t){let n,r,i,o,a=null;if(t.eat(60),"boolean-expr"===(o=t.scanWord())){t.eat(91);let n=e(t,93);return t.eat(93),t.eat(62),tq(t,{type:"Boolean",term:1===n.terms.length?n.terms[0]:n})}return 40===t.charCode()&&41===t.nextCharCode()&&(t.pos+=2,o+="()"),91===t.charCodeAt(t.findWsEnd(t.pos))&&(t.skipWs(),n=null,r=null,i=1,t.eat(91),45===t.charCode()&&(t.peek(),i=-1),-1==i&&8734===t.charCode()?t.peek():(n=i*Number(t.scanNumber(t)),t.isNameCharCode()&&(n+=t.scanWord())),t.skipWs(),t.eat(44),t.skipWs(),8734===t.charCode()?t.peek():(i=1,45===t.charCode()&&(t.peek(),i=-1),r=i*Number(t.scanNumber(t)),t.isNameCharCode()&&(r+=t.scanWord())),t.eat(93),a={type:"Range",min:n,max:r}),t.eat(62),tq(t,{type:"Type",name:o,opts:a})}(t);case 124:return{type:"Combinator",value:t.substringToPos(t.pos+(124===t.nextCharCode()?2:1))};case 38:return t.pos++,t.eat(38),{type:"Combinator",value:"&&"};case 44:return t.pos++,{type:"Comma"};case 39:return tq(t,{type:"String",value:t.scanString()});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:t.scanSpaces()};case 64:return n=t.nextCharCode(),t.isNameCharCode(n)?(t.pos++,{type:"AtKeyword",name:t.scanWord()}):t_(t);case 123:if((n=t.nextCharCode())<48||n>57)return t_(t);break;default:let o;return t.isNameCharCode(n)?(o=t.scanWord(),40===t.charCode()?(t.pos++,{type:"Function",name:o}):tq(t,{type:"Keyword",name:o})):t_(t)}}(t);if(!n)break;if("Spaces"!==n.type){if(s){if(0===n.terms.length){s=!1;continue}if(" "===n.combinator){for(;n.terms.length>1;)r[" "]=!0,i.push({type:"Combinator",value:" "},n.terms.shift());n=n.terms[0]}}"Combinator"===n.type?((null===o||"Combinator"===o.type)&&(t.pos=a,t.error("Unexpected combinator")),r[n.value]=!0):null!==o&&"Combinator"!==o.type&&(r[" "]=!0,i.push({type:"Combinator",value:" "})),i.push(n),o=n,a=t.pos,s="Function"===n.type}}return null!==o&&"Combinator"===o.type&&(t.pos-=a,t.error("Unexpected combinator")),{type:"Group",terms:i,combinator:function(e,t){let n;function r(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}for(t=Object.keys(t).sort((e,t)=>tB[e]-tB[t]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let t=e[i];"Combinator"===t.type&&(t.value===n?(-1===o&&(o=i-1),e.splice(i,1),i--):(-1!==o&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}-1!==o&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}(i,r)||" ",disallowEmpty:!1,explicit:!1}}(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var tU=function(){};function tV(e){return"function"==typeof e?e:tU}function tK(e,t,n){let r=tU,i=tU;if("function"==typeof t?r=t:t&&(r=tV(t.enter),i=tV(t.leave)),r===tU&&i===tU)throw 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 Error("Unknown type: "+t.type)}i.call(n,t)}(e)}var tG={decorator(e){let t=[],n=null;return{...e,node(t){let r=n;n=t,e.node.call(this,t),n=r},emit(e,r,i){t.push({type:r,value:e,node:i?null:n})},result:()=>t}}},tH={type:"Match"},t$={type:"Mismatch"},tQ={type:"DisallowEmpty"};function tX(e,t,n){return t===tH&&n===t$||e===tH&&t===tH&&n===tH?e:("If"===e.type&&e.else===t$&&t===tH&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function tY(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function tZ(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&tY(e.name)}function tJ(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function t1(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=t1(e.match,t,n),e.then=t1(e.then,t,n),e.else=t1(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function t0(e,t){return"string"==typeof e&&(e=tW(e)),{type:"MatchGraph",match:function e(t){if("function"==typeof t)return{type:"Generic",fn:t};switch(t.type){case"Group":{let n=function e(t,n,r){switch(t){case" ":{let e=tH;for(let t=n.length-1;t>=0;t--)e=tX(n[t],e,t$);return e}case"|":{let e=t$,t=null;for(let r=n.length-1;r>=0;r--){let i=n[r];if(tZ(i)&&(null===t&&r>0&&tZ(n[r-1])&&(e=tX({type:"Enum",map:t=Object.create(null)},tH,e)),null!==t)){let e=(tY(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(e in t)){t[e]=i;continue}}t=null,e=tX(i,tH,e)}return e}case"&&":{if(n.length>5)return{type:"MatchOnce",terms:n,all:!0};let r=t$;for(let i=n.length-1;i>=0;i--){let o=n[i],a;a=n.length>1?e(t,n.filter(function(e){return e!==o}),!1):tH,r=tX(o,a,r)}return r}case"||":{if(n.length>5)return{type:"MatchOnce",terms:n,all:!1};let i=r?tH:t$;for(let r=n.length-1;r>=0;r--){let o=n[r],a;a=n.length>1?e(t,n.filter(function(e){return e!==o}),!0):tH,i=tX(o,a,i)}return i}}}(t.combinator,t.terms.map(e),!1);return t.disallowEmpty&&(n=tX(n,tQ,t$)),n}case"Multiplier":let n=tH,r=e(t.term);if(0===t.max)r=tX(r,tQ,t$),(n=tX(r,null,t$)).then=tX(tH,tH,n),t.comma&&(n.then.else=tX({type:"Comma",syntax:t},n,t$));else for(let e=t.min||1;e<=t.max;e++)t.comma&&n!==tH&&(n=tX({type:"Comma",syntax:t},n,t$)),n=tX(r,tX(tH,tH,n),t$);if(0===t.min)n=tX(tH,tH,n);else for(let e=0;e<t.min-1;e++)t.comma&&n!==tH&&(n=tX({type:"Comma",syntax:t},n,t$)),n=tX(r,n,t$);return n;case"Boolean":{let n=e(t.term),r=e(tJ([tJ([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),tJ([{type:"Type",name:"!boolean-group"},tJ([{type:"Multiplier",comma:!1,min:0,max:0,term:tJ([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:tJ([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),i=e(tJ([{type:"Type",name:"!term"},tJ([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return t1(i,{"!term":n,"!self":r}),t1(r,{"!boolean-group":i}),r}case"Type":case"Property":return{type:t.type,name:t.name,syntax:t};case"Keyword":return{type:t.type,name:t.name.toLowerCase(),syntax:t};case"AtKeyword":return{type:t.type,name:"@"+t.name.toLowerCase(),syntax:t};case"Function":return{type:t.type,name:t.name.toLowerCase()+"(",syntax:t};case"String":return 3===t.value.length?{type:"Token",value:t.value.charAt(1),syntax:t}:{type:t.type,value:t.value.substr(1,t.value.length-2).replace(/\\'/g,"'"),syntax:t};case"Token":return{type:t.type,value:t.value,syntax:t};case"Comma":return{type:t.type,syntax:t};default:throw Error("Unknown node type:",t.type)}}(e),syntax:t||null,source:e}}var{hasOwnProperty:t2}=Object.prototype,t3="Match",t4=0;function t5(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=t.charCodeAt(n),i=e.charCodeAt(n);if(i>=65&&i<=90&&(i|=32),i!==r)return!1}return!0}function t9(e){return null===e||18===e.type||2===e.type||21===e.type||19===e.type||23===e.type||9===e.type&&"?"!==e.value}function t6(e){return null===e||22===e.type||20===e.type||24===e.type||9===e.type&&"/"===e.value}function t7(e,t,n){let r=function(e,t,n){function r(){do g=++f<e.length?e[f]:null;while(null!==g&&(13===g.type||25===g.type))}function i(t){let n=f+t;return n<e.length?e[n]:null}function o(e,t){return{nextState:e,matchStack:y,syntaxStack:c,thenStack:u,tokenIndex:f,prev:t}}function a(e){u={nextState:e,matchStack:y,syntaxStack:c,prev:u}}function s(){y={type:1,syntax:t.syntax,token:g,prev:y},r(),p=null,f>b&&(b=f)}function l(){y=2===y.type?y.prev:{type:3,syntax:c.syntax,token:y.token,prev:y},c=c.prev}let c=null,u=null,h=null,p=null,d=0,m=null,g=null,f=-1,b=0,y={type:0,syntax:null,token:null,prev:null};for(r();null===m&&++d<15e3;)switch(t.type){case"Match":if(null===u){if(null!==g&&(f!==e.length-1||"\\0"!==g.value&&"\\9"!==g.value)){t=t$;break}m=t3;break}if((t=u.nextState)===tQ)if(u.matchStack===y){t=t$;break}else t=tH;for(;u.syntaxStack!==c;)l();u=u.prev;break;case"Mismatch":if(null!==p&&!1!==p)(null===h||f>h.tokenIndex)&&(h=p,p=!1);else if(null===h){m="Mismatch";break}t=h.nextState,u=h.thenStack,c=h.syntaxStack,y=h.matchStack,g=(f=h.tokenIndex)<e.length?e[f]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==t$&&(h=o(t.else,h)),t.then!==tH&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let e=t.syntax.terms;if(t.index===e.length){if(0===t.mask||t.syntax.all){t=t$;break}t=tH;break}if(t.mask===(1<<e.length)-1){t=tH;break}for(;t.index<e.length;t.index++){let n=1<<t.index;if((t.mask&n)==0){h=o(t,h),a({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!==g){let e=g.value.toLowerCase();if(-1!==e.indexOf("\\")&&(e=e.replace(/\\[09].*$/,"")),t2.call(t.map,e)){t=t.map[e];break}}t=t$;break;case"Generic":{let e=null!==c?c.opts:null,n=f+Math.floor(t.fn(g,i,e));if(!isNaN(n)&&n>f){for(;f<n;)s();t=tH}else t=t$;break}case"Type":case"Property":{let e="Type"===t.type?"types":"properties",r=t2.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==p&&null!==g&&"Type"===t.type&&("custom-ident"===t.name&&1===g.type||"length"===t.name&&"0"===g.value)){null===p&&(p=o(t,h)),t=t$;break}c={syntax:t.syntax,opts:t.syntax.opts||null!==c&&c.opts||null,prev:c},y={type:2,syntax:t.syntax,token:y.token,prev:y},t=r.matchRef||r.match;break}case"Keyword":{let e=t.name;if(null!==g){let n=g.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),t5(n,e)){s(),t=tH;break}}t=t$;break}case"AtKeyword":case"Function":if(null!==g&&t5(g.value,t.name)){s(),t=tH;break}t=t$;break;case"Token":if(null!==g&&g.value===t.value){s(),t=tH;break}t=t$;break;case"Comma":null!==g&&18===g.type?t9(y.token)?t=t$:(s(),t=t6(g)?t$:tH):t=t9(y.token)||t6(g)?tH:t$;break;case"String":let r="",d=f;for(;d<e.length&&r.length<t.value.length;d++)r+=e[d].value;if(t5(r,t.value)){for(;f<d;)s();t=tH}else t=t$;break;default:throw Error("Unknown node type: "+t.type)}switch(t4+=d,m){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),m="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",y=null;break;case t3:for(;null!==c;)l();break;default:y=null}return{tokens:e,reason:m,iterations:d,match:y,longestMatch:b}}(e,t,n||{});if(null===r.match)return r;let i=r.match,o=r.match={syntax:t.syntax||null,match:[]},a=[o];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:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case 3:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}var t8={};function ne(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(i){if(Array.isArray(i.match)){for(let e=0;e<i.match.length;e++)if(r(i.match[e]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}(this.matched),n}function nt(e,t){return ni(this,e,e=>"Type"===e.type&&e.name===t)}function nn(e,t){return ni(this,e,e=>"Property"===e.type&&e.name===t)}function nr(e){return ni(this,e,e=>"Keyword"===e.type)}function ni(e,t,n){let r=ne.call(e,t);return null!==r&&r.some(n)}function no(e,t,n,r,i){let o=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===i){let n=function e(t){return"node"in t?t.node:e(t.match[0])}(a),r=function e(t){return"node"in t?t.node:e(t.match[t.match.length-1])}(a);e.syntax.walk(t,function(e,t,i){if(e===n){let e=new ev;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);o.push({parent:i,nodes:e})}})}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),o}c(t8,{getTrace:()=>ne,isKeyword:()=>nr,isProperty:()=>nn,isType:()=>nt});var{hasOwnProperty:na}=Object.prototype;function ns(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function nl(e){return!!e&&ns(e.offset)&&ns(e.line)&&ns(e.column)}function nc(e,t,n){let r={};for(let i in e)e[i].syntax&&(r[i]=n?e[i].syntax:e$(e[i].syntax,{compact:t}));return r}function nu(e,t,n){return{matched:e,iterations:n,error:t,...t8}}function nh(e,t,n,r){var i;let o,a=(i=e.syntax,"string"==typeof n?(o=[],ek(n,(e,t,r)=>o.push({type:e,value:n.slice(t,r),node:null})),o):i.generate(n,tG)),s;return!function(e){for(let t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(a)?(r&&(s=t7(a,e.cssWideKeywordsSyntax,e)),r&&s.match||(s=t7(a,t.match,e)).match?nu(s.match,null,s.iterations):nu(null,new eJ(s.reason,t.syntax,n,s),s.iterations)):nu(null,Error("Matching for a tree with var() is not supported"))}var np=class{constructor(e,t,n){if(this.cssWideKeywords=e9,this.syntax=t,this.generic=!1,this.units={...tA},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||function(e){let t={};if(e.node){for(let n in e.node)if(na.call(e.node,n)){let r=e.node[n];if(r.structure)t[n]=function(e,t){let n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(let t in n){if(!1===na.call(n,t))continue;let o=r[t]=Array.isArray(n[t])?n[t].slice():[n[t]];i[t]=function e(t,n){let r=[];for(let i=0;i<t.length;i++){let o=t[i];if(o===String||o===Boolean)r.push(o.name.toLowerCase());else if(null===o)r.push("null");else if("string"==typeof o)r.push(o);else if(Array.isArray(o))r.push("List<"+(e(o,n)||"any")+">");else throw Error("Wrong value `"+o+"` in `"+n+"` structure definition")}return r.join(" | ")}(o,e+"."+t)}return{docs:i,check:function(t,n){if(!t||t.constructor!==Object)return n(t,"Type of node should be an Object");for(let i in t){let o=!0;if(!1!==na.call(t,i)){if("type"===i)t.type!==e&&n(t,"Wrong node type `"+t.type+"`, expected `"+e+"`");else if("loc"===i){if(null===t.loc)continue;if(t.loc&&t.loc.constructor===Object)if("string"!=typeof t.loc.source)i+=".source";else if(nl(t.loc.start))if(nl(t.loc.end))continue;else i+=".end";else i+=".start";o=!1}else if(r.hasOwnProperty(i)){o=!1;for(let e=0;!o&&e<r[i].length;e++){let n=r[i][e];switch(n){case String:o="string"==typeof t[i];break;case Boolean:o="boolean"==typeof t[i];break;case null:o=null===t[i];break;default:"string"==typeof n?o=t[i]&&t[i].type===n:Array.isArray(n)&&(o=t[i]instanceof ev)}}}else n(t,"Unknown field `"+i+"` for "+e+" node type");o||n(t,"Bad value for `"+e+"."+i+"`")}}for(let i in r)na.call(r,i)&&!1===na.call(t,i)&&n(t,"Field `"+e+"."+i+"` is missed")}}}(n,r);else throw Error("Missed `structure` field in `"+n+"` node type definition")}}return t}(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let t of Object.keys(tA))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(let[t,n]of Object.entries(e.types))this.addType_(t,n);if(e.generic){var r;for(let[e,t]of(this.generic=!0,Object.entries((r=this.units,{...tS,...tC,...function(e){let{angle:t,decibel:n,frequency:r,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:ty(tv(null),th),angle:ty(tv(t),th),decibel:ty(tv(n),th),frequency:ty(tv(r),th),flex:ty(tv(i),th),length:ty(tw(tv(o)),th),resolution:ty(tv(a),th),semitones:ty(tv(s),th),time:ty(tv(l),th)}}(r),"attr-unit":function(e){let t=new Set;for(let n of tz)if(Array.isArray(e[n]))for(let r of e[n])t.add(r.toLowerCase());return function(e){return null===e?0:9===e.type&&"%"===e.value||1===e.type&&t.has(e.value.toLowerCase())?1:0}}(r)}))))this.addType_(e,t)}if(e.atrules)for(let[t,n]of Object.entries(e.atrules))this.addAtrule_(t,n);if(e.properties)for(let[t,n]of Object.entries(e.properties))this.addProperty_(t,n)}this.cssWideKeywordsSyntax=t0(this.cssWideKeywords.join(" | "))}checkStructure(e){function t(e,t){r.push({node:e,message:t})}let 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){let i={type:t,name:n},o={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?o.match=t0(e,i):("string"==typeof e?Object.defineProperty(o,"syntax",{get:()=>(Object.defineProperty(o,"syntax",{value:tW(e)}),o.syntax)}):o.syntax=e,Object.defineProperty(o,"match",{get:()=>(Object.defineProperty(o,"match",{value:t0(o.syntax,i)}),o.match)}),"Property"===t&&Object.defineProperty(o,"matchRef",{get(){let e,t=o.syntax,n=(e=t.terms[0],!1===t.explicit&&1===t.terms.length&&"Multiplier"===e.type&&!0===e.comma)?t0({...t,terms:[t.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:n}),n}})),o}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 eZ("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);return!r.prelude&&t?SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||nh(this,r.prelude,"",!1).matched?void 0:SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e),i=e2(t);return r.descriptors?r.descriptors[i.name]||r.descriptors[i.basename]?void 0:new eZ("Unknown at-rule descriptor",t):SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new eZ("Unknown property",e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return nu(null,n);let r=this.getAtrule(e);return r.prelude?nh(this,r.prelude,t||"",!1):nu(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return nu(null,r);let i=this.getAtrule(e),o=e2(t);return nh(this,i.descriptors[o.name]||i.descriptors[o.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?nu(null,Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(e3(e).custom)return nu(null,Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(e);return n?nu(null,n):nh(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?nh(this,n,t,!1):nu(null,new eZ("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),nh(this,e,t,!1)):nu(null,new eZ("Bad syntax"))}findValueFragments(e,t,n,r){return no(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return no(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){let r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){let n=e2(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){let 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){let n=e3(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(o,a,s,l){if(s.has(a))return s.get(a);s.set(a,!1),null!==l.syntax&&tK(l.syntax,function(l){if("Type"!==l.type&&"Property"!==l.type)return;let c="Type"===l.type?o.types:o.properties,u="Type"===l.type?r:i;hasOwnProperty.call(c,l.name)?t(o,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)}let n=[],r=new Map,i=new Map;for(let e in this.types)t(this,e,r,this.types[e]);for(let e in this.properties)t(this,e,i,this.properties[e]);let o=[...r.keys()].filter(e=>r.get(e)),a=[...i.keys()].filter(e=>i.get(e));return o.length||a.length?{errors:n,types:o,properties:a}:null}dump(e,t){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:nc(this.types,!t,e),properties:nc(this.properties,!t,e),atrules:function(e,t,n){let r={};for(let[i,o]of Object.entries(e))r[i]={prelude:o.prelude&&(n?o.prelude.syntax:e$(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&nc(o.descriptors,t,n)};return r}(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};function nd(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function nm(e,t,n){let r={...e};for(let[e,i]of Object.entries(t))r[e]={...r[e],...n?function(e,t){let n=Object.create(null);for(let r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}(i,n):i};return r}function ng(e,t){let n={...e};for(let[r,i]of Object.entries(t))switch(r){case"generic":n[r]=!!i;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...i]:i||[];break;case"units":for(let[t,o]of(n[r]={...e[r]},Object.entries(i)))n[r][t]=Array.isArray(o)?o:[];break;case"atrules":for(let[t,o]of(n[r]={...e[r]},Object.entries(i))){let e=n[r][t]||{},i=n[r][t]={prelude:e.prelude||null,descriptors:{...e.descriptors}};if(o){for(let[e,t]of(i.prelude=o.prelude?nd(i.prelude,o.prelude):i.prelude||null,Object.entries(o.descriptors||{})))i.descriptors[e]=t?nd(i.descriptors[e],t):null;Object.keys(i.descriptors).length||(i.descriptors=null)}}break;case"types":case"properties":for(let[t,o]of(n[r]={...e[r]},Object.entries(i)))n[r][t]=nd(n[r][t],o);break;case"parseContext":n[r]={...e[r],...i};break;case"scope":case"features":n[r]=nm(e[r],i);break;case"atrule":case"pseudo":n[r]=nm(e[r],i,["parse"]);break;case"node":n[r]=nm(e[r],i,["name","structure","parse","generate","walkContext"])}return n}var nf={};c(nf,{AnPlusB:()=>nb,Atrule:()=>nA,AtrulePrelude:()=>nN,AttributeSelector:()=>nq,Block:()=>nH,Brackets:()=>n3,CDC:()=>n7,CDO:()=>rr,ClassSelector:()=>rl,Combinator:()=>rd,Comment:()=>ry,Condition:()=>rS,Declaration:()=>rE,DeclarationList:()=>rW,Dimension:()=>r$,Feature:()=>rJ,FeatureFunction:()=>r4,FeatureRange:()=>ie,Function:()=>il,GeneralEnclosed:()=>im,Hash:()=>ix,IdSelector:()=>iE,Identifier:()=>iA,Layer:()=>iF,LayerList:()=>i_,MediaQuery:()=>iG,MediaQueryList:()=>iY,NestingSelector:()=>i2,Nth:()=>i6,Number:()=>on,Operator:()=>os,Parentheses:()=>op,Percentage:()=>ob,PseudoClassSelector:()=>ow,PseudoElementSelector:()=>oL,Ratio:()=>oN,Raw:()=>oq,Rule:()=>oG,Scope:()=>o1,Selector:()=>o5,SelectorList:()=>ae,String:()=>aa,StyleSheet:()=>ad,SupportsDeclaration:()=>ax,TypeSelector:()=>az,UnicodeRange:()=>aE,Url:()=>aq,Value:()=>aH,WhiteSpace:()=>aZ});var nb={};function ny(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((43===r||45===r)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)W(this.charCodeAt(n))||this.error("Integer is expected",n)}function nk(e){return ny.call(this,0,e)}function nx(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case 110:n="N is expected";break;case 45:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function nv(){let e=0,t=0,n=this.tokenType;for(;13===n||25===n;)n=this.lookupType(++e);if(10!==n)if(!(this.isDelim(43,e)||this.isDelim(45,e)))return null;else{t=this.isDelim(43,e)?43:45;do n=this.lookupType(++e);while(13===n||25===n);10!==n&&(this.skip(e),nk.call(this,!0))}return e>0&&this.skip(e),0===t&&43!==(n=this.charCodeAt(this.tokenStart))&&45!==n&&this.error("Number sign is expected"),nk.call(this,0!==t),45===t?"-"+this.consume(10):this.consume(10)}c(nb,{generate:()=>nz,name:()=>nw,parse:()=>nC,structure:()=>nS});var nw="AnPlusB",nS={a:[String,null],b:[String,null]};function nC(){let e=this.tokenStart,t=null,n=null;if(10===this.tokenType)nk.call(this,!1),n=this.consume(10);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,45))switch(t="-1",nx.call(this,1,110),this.tokenEnd-this.tokenStart){case 2:this.next(),n=nv.call(this);break;case 3:nx.call(this,2,45),this.next(),this.skipSC(),nk.call(this,!0),n="-"+this.consume(10);break;default:nx.call(this,2,45),ny.call(this,3,!0),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(43)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(43)&&(r=1,this.next()),nx.call(this,0,110),this.tokenEnd-this.tokenStart){case 1:this.next(),n=nv.call(this);break;case 2:nx.call(this,1,45),this.next(),this.skipSC(),nk.call(this,!0),n="-"+this.consume(10);break;default:nx.call(this,1,45),ny.call(this,2,!0),this.next(),n=this.substrToCursor(e+r+1)}}else if(12===this.tokenType){let r=this.charCodeAt(this.tokenStart),i=43===r||45===r,o=this.tokenStart+i;for(;o<this.tokenEnd&&W(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),nx.call(this,o-this.tokenStart,110),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),n=nv.call(this)):(nx.call(this,o-this.tokenStart+1,45),o+2===this.tokenEnd?(this.next(),this.skipSC(),nk.call(this,!0),n="-"+this.consume(10)):(ny.call(this,o-this.tokenStart+2,!0),this.next(),n=this.substrToCursor(o+1)))}else this.error();return null!==t&&43===t.charCodeAt(0)&&(t=t.substr(1)),null!==n&&43===n.charCodeAt(0)&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function nz(e){if(e.a){let t="+1"===e.a&&"n"||"1"===e.a&&"n"||"-1"===e.a&&"-n"||e.a+"n";if(e.b){let n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}var nA={};function nT(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function nL(){for(let e=1,t;t=this.lookupType(e);e++){if(24===t)return!0;if(23===t||3===t)break}return!1}c(nA,{generate:()=>nI,name:()=>nO,parse:()=>nD,structure:()=>nE,walkContext:()=>nP});var nO="Atrule",nP="atrule",nE={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function nD(e=!1){let t=this.tokenStart,n,r,i=null,o=null;switch(this.eat(3),r=(n=this.substrToCursor(t+1)).toLowerCase(),this.skipSC(),!1===this.eof&&23!==this.tokenType&&17!==this.tokenType&&(i=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),nT):nT.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:o=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].block?this.atrule[r].block.call(this,e):this.Block(nL.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:i,block:o}}function nI(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var nN={};c(nN,{generate:()=>nM,name:()=>nj,parse:()=>nB,structure:()=>nR,walkContext:()=>nF});var nj="AtrulePrelude",nF="atrulePrelude",nR={children:[[]]};function nB(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&&23!==this.tokenType&&17!==this.tokenType&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function nM(e){this.children(e)}var nq={};function n_(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,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 nW(){let 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)}c(nq,{generate:()=>nG,name:()=>nU,parse:()=>nK,structure:()=>nV});var nU="AttributeSelector",nV={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function nK(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(19),this.skipSC(),t=n_.call(this),this.skipSC(),20!==this.tokenType&&(1!==this.tokenType&&(n=nW.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function nG(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,"]")}var nH={};function n$(){return this.Raw(null,!0)}function nQ(){return this.parseWithFallback(this.Rule,n$)}function nX(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function nY(){if(17===this.tokenType)return nX.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,nX);return 17===this.tokenType&&this.next(),e}c(nH,{generate:()=>n2,name:()=>nZ,parse:()=>n0,structure:()=>n1,walkContext:()=>nJ});var nZ="Block",nJ="block",n1={children:[["Atrule","Rule","Declaration"]]};function n0(e){let t=e?nY:nQ,n=this.tokenStart,r=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),n$));break;default:e&&this.isDelim(38)?r.push(nQ.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function n2(e){this.token(23,"{"),this.children(e,e=>{"Declaration"===e.type&&this.token(17,";")}),this.token(24,"}")}var n3={};c(n3,{generate:()=>n6,name:()=>n4,parse:()=>n9,structure:()=>n5});var n4="Brackets",n5={children:[[]]};function n9(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function n6(e){this.token(9,"["),this.children(e),this.token(9,"]")}var n7={};c(n7,{generate:()=>rn,name:()=>n8,parse:()=>rt,structure:()=>re});var n8="CDC",re=[];function rt(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function rn(){this.token(15,"--\x3e")}var rr={};c(rr,{generate:()=>rs,name:()=>ri,parse:()=>ra,structure:()=>ro});var ri="CDO",ro=[];function ra(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function rs(){this.token(14,"\x3c!--")}var rl={};c(rl,{generate:()=>rp,name:()=>rc,parse:()=>rh,structure:()=>ru});var rc="ClassSelector",ru={name:String};function rh(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function rp(e){this.token(9,"."),this.token(1,e.name)}var rd={};c(rd,{generate:()=>rb,name:()=>rm,parse:()=>rf,structure:()=>rg});var rm="Combinator",rg={name:String};function rf(){let e=this.tokenStart,t;switch(this.tokenType){case 13: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}}function rb(e){this.tokenize(e.name)}var ry={};c(ry,{generate:()=>rw,name:()=>rk,parse:()=>rv,structure:()=>rx});var rk="Comment",rx={value:String};function rv(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),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)}}function rw(e){this.token(25,"/*"+e.value+"*/")}var rS={};c(rS,{generate:()=>rP,name:()=>rz,parse:()=>rO,structure:()=>rA});var rC=new Set([16,22,0]),rz="Condition",rA={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function rT(e){return 1===this.lookupTypeNonSC(1)&&rC.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}var rL={media:rT,container:rT,supports(){return this.SupportsDeclaration()}};function rO(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let n=this.parseWithFallback(()=>rL[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(21);let t=this.Condition(e);return this.eat(22),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}}function rP(e){e.children.forEach(e=>{"Condition"===e.type?(this.token(21,"("),this.node(e),this.token(22,")")):this.node(e)})}var rE={};function rD(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function rI(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function rN(){let e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&17!==this.tokenType&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}c(rE,{generate:()=>rM,name:()=>rj,parse:()=>rB,structure:()=>rR,walkContext:()=>rF});var rj="Declaration",rF="declaration",rR={important:[Boolean,String],property:String,value:["Value","Raw"]};function rB(){let e=this.tokenStart,t=this.tokenIndex,n=rq.call(this),r=e4(n),i=r?this.parseCustomProperty:this.parseValue,o=r?rI:rD,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(rN,o):o.call(this,this.tokenIndex),r&&"Value"===s.type&&s.children.isEmpty){for(let e=l-this.tokenIndex;e<=0;e++)if(13===this.lookupType(e)){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(33)&&(a=r_.call(this),this.skipSC()),!1===this.eof&&17!==this.tokenType&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:s}}function rM(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))}function rq(){let 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 r_(){this.eat(9),this.skipSC();let e=this.consume(1);return"important"===e||e}var rW={};function rU(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}c(rW,{generate:()=>rH,name:()=>rV,parse:()=>rG,structure:()=>rK});var rV="DeclarationList",rK={children:[["Declaration","Atrule","Rule"]]};function rG(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),rU));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,rU)):e.push(this.parseWithFallback(this.Declaration,rU))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function rH(e){this.children(e,e=>{"Declaration"===e.type&&this.token(17,";")})}var r$={};c(r$,{generate:()=>rZ,name:()=>rQ,parse:()=>rY,structure:()=>rX});var rQ="Dimension",rX={value:String,unit:String};function rY(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function rZ(e){this.token(12,e.value+e.unit)}var rJ={};c(rJ,{generate:()=>r3,name:()=>r1,parse:()=>r2,structure:()=>r0});var r1="Feature",r0={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function r2(e){let t=this.tokenStart,n,r=null;if(this.eat(21),this.skipSC(),n=this.consume(1),this.skipSC(),22!==this.tokenType){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:r=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case 12:r=this.Dimension();break;case 1:r=this.Identifier();break;case 2:r=this.parseWithFallback(()=>{let 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(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function r3(e){this.token(21,"("),this.token(1,e.name),null!==e.value&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var r4={};c(r4,{generate:()=>r8,name:()=>r5,parse:()=>r7,structure:()=>r9});var r5="FeatureFunction",r9={kind:String,feature:String,value:["Declaration","Selector"]};function r6(e,t){let n=(this.features[e]||{})[t];return"function"!=typeof n&&this.error(`Unknown feature ${t}()`),n}function r7(e="unknown"){let t=this.tokenStart,n=this.consumeFunctionName(),r=r6.call(this,e,n.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let 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(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:i}}function r8(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var ie={};c(ie,{generate:()=>is,name:()=>it,parse:()=>ia,structure:()=>ir});var it="FeatureRange",ir={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 ii(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(47,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(47)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function io(e){if(this.skipSC(),this.isDelim(60)||this.isDelim(62)){let 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 ia(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let n=ii.call(this),r=io.call(this,"Identifier"===n.type),i=ii.call(this),o=null,a=null;return 22!==this.lookupNonWSType(0)&&(o=io.call(this),a=ii.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:i,rightComparison:o,right:a}}function is(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var il={};c(il,{generate:()=>id,name:()=>ic,parse:()=>ip,structure:()=>ih,walkContext:()=>iu});var ic="Function",iu="function",ih={name:String,children:[[]]};function ip(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:o}}function id(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var im={};c(im,{generate:()=>ik,name:()=>ig,parse:()=>iy,structure:()=>ib});var ig="GeneralEnclosed",ib={kind:String,function:[String,null],children:[[]]};function iy(e){let t=this.tokenStart,n=null;2===this.tokenType?n=this.consumeFunctionName():this.eat(21);let r=this.parseWithFallback(()=>{let 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(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function ik(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var ix={};c(ix,{generate:()=>iz,name:()=>iw,parse:()=>iC,structure:()=>iS,xxx:()=>iv});var iv="XXX",iw="Hash",iS={value:String};function iC(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function iz(e){this.token(4,"#"+e.value)}var iA={};c(iA,{generate:()=>iP,name:()=>iT,parse:()=>iO,structure:()=>iL});var iT="Identifier",iL={name:String};function iO(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function iP(e){this.token(1,e.name)}var iE={};c(iE,{generate:()=>ij,name:()=>iD,parse:()=>iN,structure:()=>iI});var iD="IdSelector",iI={name:String};function iN(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function ij(e){this.token(9,"#"+e.name)}var iF={};c(iF,{generate:()=>iq,name:()=>iR,parse:()=>iM,structure:()=>iB});var iR="Layer",iB={name:String};function iM(){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}}function iq(e){this.tokenize(e.name)}var i_={};c(i_,{generate:()=>iK,name:()=>iW,parse:()=>iV,structure:()=>iU});var iW="LayerList",iU={children:[["Layer"]]};function iV(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),18===this.lookupTypeNonSC(0));)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function iK(e){this.children(e,()=>this.token(18,","))}var iG={};c(iG,{generate:()=>iX,name:()=>iH,parse:()=>iQ,structure:()=>i$});var iH="MediaQuery",i$={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function iQ(){let e=this.tokenStart,t=null,n=null,r=null;if(this.skipSC(),1===this.tokenType&&21!==this.lookupTypeNonSC(1)){let e=this.consume(1),i=e.toLowerCase();switch("not"===i||"only"===i?(this.skipSC(),t=i,n=this.consume(1)):n=e,this.lookupTypeNonSC(0)){case 1:this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break;case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:r=this.Condition("media");break;case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function iX(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var iY={};c(iY,{generate:()=>i0,name:()=>iZ,parse:()=>i1,structure:()=>iJ});var iZ="MediaQueryList",iJ={children:[["MediaQuery"]]};function i1(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),18===this.tokenType);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function i0(e){this.children(e,()=>this.token(18,","))}var i2={};c(i2,{generate:()=>i9,name:()=>i3,parse:()=>i5,structure:()=>i4});var i3="NestingSelector",i4={};function i5(){let e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function i9(){this.token(9,"&")}var i6={};c(i6,{generate:()=>ot,name:()=>i7,parse:()=>oe,structure:()=>i8});var i7="Nth",i8={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function oe(){this.skipSC();let e=this.tokenStart,t=e,n=null,r;return r=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function ot(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))}var on={};c(on,{generate:()=>oa,name:()=>or,parse:()=>oo,structure:()=>oi});var or="Number",oi={value:String};function oo(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function oa(e){this.token(10,e.value)}var os={};c(os,{generate:()=>oh,name:()=>ol,parse:()=>ou,structure:()=>oc});var ol="Operator",oc={value:String};function ou(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function oh(e){this.tokenize(e.value)}var op={};c(op,{generate:()=>of,name:()=>od,parse:()=>og,structure:()=>om});var od="Parentheses",om={children:[[]]};function og(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function of(e){this.token(21,"("),this.children(e),this.token(22,")")}var ob={};c(ob,{generate:()=>ov,name:()=>oy,parse:()=>ox,structure:()=>ok});var oy="Percentage",ok={value:String};function ox(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function ov(e){this.token(11,e.value+"%")}var ow={};c(ow,{generate:()=>oT,name:()=>oS,parse:()=>oA,structure:()=>oz,walkContext:()=>oC});var oS="PseudoClassSelector",oC="function",oz={name:String,children:[["Raw"],null]};function oA(){let e=this.tokenStart,t=null,n,r;return this.eat(16),2===this.tokenType?(r=(n=this.consumeFunctionName()).toLowerCase(),22==this.lookupNonWSType(0)?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList()).push(this.Raw(null,!1)),this.eat(22)):n=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function oT(e){this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var oL={};c(oL,{generate:()=>oI,name:()=>oO,parse:()=>oD,structure:()=>oE,walkContext:()=>oP});var oO="PseudoElementSelector",oP="function",oE={name:String,children:[["Raw"],null]};function oD(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.eat(16),2===this.tokenType?(r=(n=this.consumeFunctionName()).toLowerCase(),22==this.lookupNonWSType(0)?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList()).push(this.Raw(null,!1)),this.eat(22)):n=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function oI(e){this.token(16,":"),this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var oN={};function oj(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}c(oN,{generate:()=>oM,name:()=>oF,parse:()=>oB,structure:()=>oR});var oF="Ratio",oR={left:["Number","Function"],right:["Number","Function",null]};function oB(){let e=this.tokenStart,t=oj.call(this),n=null;return this.skipSC(),this.isDelim(47)&&(this.eatDelim(47),n=oj.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function oM(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var oq={};function o_(){return this.tokenIndex>0&&13===this.lookupType(-1)?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}c(oq,{generate:()=>oK,name:()=>oW,parse:()=>oV,structure:()=>oU});var oW="Raw",oU={value:String};function oV(e,t){let n=this.getTokenStart(this.tokenIndex),r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?o_.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function oK(e){this.tokenize(e.value)}var oG={};function oH(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function o$(){let e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&23!==this.tokenType&&this.error(),e}c(oG,{generate:()=>oJ,name:()=>oQ,parse:()=>oZ,structure:()=>oY,walkContext:()=>oX});var oQ="Rule",oX="rule",oY={prelude:["SelectorList","Raw"],block:["Block"]};function oZ(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback(o$,oH):oH.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function oJ(e){this.node(e.prelude),this.node(e.block)}var o1={};c(o1,{generate:()=>o4,name:()=>o0,parse:()=>o3,structure:()=>o2});var o0="Scope",o2={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function o3(){let e=null,t=null;this.skipSC();let n=this.tokenStart;return 21===this.tokenType&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),1===this.lookupNonWSType(0)&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function o4(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var o5={};c(o5,{generate:()=>o8,name:()=>o9,parse:()=>o7,structure:()=>o6});var o9="Selector",o6={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function o7(){let e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function o8(e){this.children(e)}var ae={};c(ae,{generate:()=>ao,name:()=>at,parse:()=>ai,structure:()=>ar,walkContext:()=>an});var at="SelectorList",an="selector",ar={children:[["Selector","Raw"]]};function ai(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),18===this.tokenType){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function ao(e){this.children(e,()=>this.token(18,","))}var aa={};function as(e){let t=e.length,n=e.charCodeAt(0),r=+(34===n||39===n),i=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,o="";for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(92===r){if(n===i){n!==t-1&&(o=e.substr(n+1));break}if(Q(92,r=e.charCodeAt(++n))){let t=n-1,r=es(e,t);n=r-1,o+=eh(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else o+=e[n]}return o}function al(e,t){let n=t?"'":'"',r=t?39:34,i="",o=!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(0===n){i+="�";continue}if(n<=31||127===n){i+="\\"+n.toString(16),o=!0;continue}n===r||92===n?i+="\\"+e.charAt(t):(o&&(U(n)||$(n))&&(i+=" "),i+=e.charAt(t)),o=!1}return n+i+n}c(aa,{generate:()=>ap,name:()=>ac,parse:()=>ah,structure:()=>au}),c({},{decode:()=>as,encode:()=>al});var ac="String",au={value:String};function ah(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:as(this.consume(5))}}function ap(e){this.token(5,al(e.value))}var ad={};function am(){return this.Raw(null,!1)}c(ad,{generate:()=>ak,name:()=>ag,parse:()=>ay,structure:()=>ab,walkContext:()=>af});var ag="StyleSheet",af="stylesheet",ab={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function ay(){let e=this.tokenStart,t=this.createList(),n;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case 15:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,am);break;default:n=this.parseWithFallback(this.Rule,am)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function ak(e){this.children(e)}var ax={};c(ax,{generate:()=>aC,name:()=>av,parse:()=>aS,structure:()=>aw});var av="SupportsDeclaration",aw={declaration:"Declaration"};function aS(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function aC(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var az={};function aA(){1!==this.tokenType&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}c(az,{generate:()=>aP,name:()=>aT,parse:()=>aO,structure:()=>aL});var aT="TypeSelector",aL={name:String};function aO(){let e=this.tokenStart;return this.isDelim(124)?(this.next(),aA.call(this)):(aA.call(this),this.isDelim(124)&&(this.next(),aA.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function aP(e){this.tokenize(e.name)}var aE={};function aD(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(45===i&&t&&0!==n)return aD.call(this,e+n+1,!1),-1;U(i)||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 aI(e){let t=0;for(;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function aN(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function aj(){let e=0;switch(this.tokenType){case 10:if(e=aD.call(this,1,!0),this.isDelim(63)){aI.call(this,6-e);break}(12===this.tokenType||10===this.tokenType)&&(aN.call(this,45),aD.call(this,1,!1));break;case 12:(e=aD.call(this,1,!0))>0&&aI.call(this,6-e);break;default:if(this.eatDelim(43),1===this.tokenType){(e=aD.call(this,0,!0))>0&&aI.call(this,6-e);break}if(this.isDelim(63)){this.next(),aI.call(this,5);break}this.error("Hex digit or question mark is expected")}}c(aE,{generate:()=>aM,name:()=>aF,parse:()=>aB,structure:()=>aR});var aF="UnicodeRange",aR={value:String};function aB(){let e=this.tokenStart;return this.eatIdent("u"),aj.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function aM(e){this.tokenize(e.value)}var aq={};function a_(e){let t=e.length,n=4,r=41===e.charCodeAt(t-1)?t-2:t-1,i="";for(;n<r&&$(e.charCodeAt(n));)n++;for(;n<r&&$(e.charCodeAt(r));)r--;for(let o=n;o<=r;o++){let n=e.charCodeAt(o);if(92===n){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(Q(92,n=e.charCodeAt(++o))){let t=o-1,n=es(e,t);o=n-1,i+=eh(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(o+1)&&o++}else i+=e[o]}return i}function aW(e){let t="",n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(0===i){t+="�";continue}if(i<=31||127===i){t+="\\"+i.toString(16),n=!0;continue}32===i||92===i||34===i||39===i||40===i||41===i?t+="\\"+e.charAt(r):(n&&U(i)&&(t+=" "),t+=e.charAt(r)),n=!1}return"url("+t+")"}c(aq,{generate:()=>aG,name:()=>aU,parse:()=>aK,structure:()=>aV}),c({},{decode:()=>a_,encode:()=>aW});var aU="Url",aV={value:String};function aK(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=a_(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=as(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function aG(e){this.token(7,aW(e.value))}var aH={};c(aH,{generate:()=>aY,name:()=>a$,parse:()=>aX,structure:()=>aQ});var a$="Value",aQ={children:[[]]};function aX(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function aY(e){this.children(e)}var aZ={};c(aZ,{generate:()=>a3,name:()=>a1,parse:()=>a2,structure:()=>a0});var aJ=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),a1="WhiteSpace",a0={value:String};function a2(){return this.eat(13),aJ}function a3(e){this.token(13,e.value)}var a4={};function a5(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case 9:{let 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)}}}c(a4,{AtrulePrelude:()=>a9,Selector:()=>a6,Value:()=>a8});var a9={getNode:a5},a6={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 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return 16===this.lookupType(1)?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12: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()}}}};function a7(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var a8={getNode:a5,onWhiteSpace(e,t){a7(e)&&(e.value=" "+e.value),a7(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(null,!1))},var:function(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),18===this.tokenType){e.push(this.Operator());let 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(13===this.lookupType(e)){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}},se=new Set(["none","and","not","or"]);function st(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),22!==this.lookupNonWSType(0)&&this.error()}},t||(()=>this.Raw(null,!0)))}var sn={layer(){this.skipSC();let e=this.createList(),t=st.call(this,this.Layer);return("Raw"!==t.type||""!==t.value)&&e.push(t),e},supports(){this.skipSC();let e=this.createList(),t=st.call(this,this.Declaration,()=>st.call(this,()=>this.Condition("supports")));return("Raw"!==t.type||""!==t.value)&&e.push(t),e}},sr={parse(){return this.createSingleNodeList(this.SelectorList())}},si={parse(){return this.createSingleNodeList(this.Selector())}},so={parse(){return this.createSingleNodeList(this.Nth())}},sa={};c(sa,{AnPlusB:()=>nC,Atrule:()=>nD,AtrulePrelude:()=>nB,AttributeSelector:()=>nK,Block:()=>n0,Brackets:()=>n9,CDC:()=>rt,CDO:()=>ra,ClassSelector:()=>rh,Combinator:()=>rf,Comment:()=>rv,Condition:()=>rO,Declaration:()=>rB,DeclarationList:()=>rG,Dimension:()=>rY,Feature:()=>r2,FeatureFunction:()=>r7,FeatureRange:()=>ia,Function:()=>ip,GeneralEnclosed:()=>iy,Hash:()=>iC,IdSelector:()=>iN,Identifier:()=>iO,Layer:()=>iM,LayerList:()=>iV,MediaQuery:()=>iQ,MediaQueryList:()=>i1,NestingSelector:()=>i5,Nth:()=>oe,Number:()=>oo,Operator:()=>ou,Parentheses:()=>og,Percentage:()=>ox,PseudoClassSelector:()=>oA,PseudoElementSelector:()=>oD,Ratio:()=>oB,Raw:()=>oV,Rule:()=>oZ,Scope:()=>o3,Selector:()=>o7,SelectorList:()=>ai,String:()=>ah,StyleSheet:()=>ay,SupportsDeclaration:()=>aS,TypeSelector:()=>aO,UnicodeRange:()=>aB,Url:()=>aK,Value:()=>aX,WhiteSpace:()=>a2});var ss=function e(t){let n,r,i,o,a,s,l,c=(n="",r="<unknown>",i=!1,o=eT,a=!1,s=new eg,l=Object.assign(new ey,function(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:eP(e.atrule),pseudo:eP(e.pseudo),node:eP(e.node)};for(let[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=function(e){return function(){return this[e]()}}(r)}return{config:t,...t,...t.node}}(t||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:eA,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>+(123===e),consumeUntilLeftCurlyBracketOrSemicolon:e=>+(123===e||59===e),consumeUntilExclamationMarkOrSemicolon:e=>+(33===e||59===e),consumeUntilSemicolonIncluded:e=>2*(59===e),createList:eT,createSingleNodeList:eT,getFirstListNode:eT,getLastListNode:eT,parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(r){if(a)throw r;this.skip(n-this.tokenIndex);let e=t.call(this);return a=!0,o(r,e),a=!1,e}},lookupNonWSType(e){let t;do if(13!==(t=this.lookupType(e++))&&25!==t)return t;while(0!==t);return 0},charCodeAt:e=>e>=0&&e<n.length?n.charCodeAt(e):0,substring:(e,t)=>n.substring(e,t),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,t)=>er(n,e,t),cmpStr:(e,t,r)=>ei(n,e,t,r),consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=n.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){let t=n.substring(this.tokenStart,ec(n,this.tokenStart));return this.eat(e),t},eat(e){if(this.tokenType!==e){let t=ep[e].slice(0,-6).replace(/-/g," ").replace(/^./,e=>e.toUpperCase()),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:2===this.tokenType||7===this.tokenType?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case 4:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case 11:10===this.tokenType&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}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)=>i?s.getLocationRange(e,t,r):null,getLocationFromList(e){if(i){let t=this.getFirstListNode(e),n=this.getLastListNode(e);return s.getLocationRange(null!==t?t.loc.start.offset-s.startOffset:this.tokenStart,null!==n?n.loc.end.offset-s.startOffset:this.tokenStart,r)}return null},error(e,t){let r="u">typeof t&&t<n.length?s.getLocation(t):this.eof?s.getLocation(function(e,t){for(;t>=0&&$(e.charCodeAt(t));t--);return t+1}(n,n.length-1)):s.getLocation(this.tokenStart);throw new ez(e||"Unexpected input",n,r.offset,r.line,r.column,s.startLine,s.startColumn)}}),Object.assign(function(e,t){n=e,t=t||{},l.setSource(n,ek),s.setSource(n,t.offset,t.line,t.column),r=t.filename||"<unknown>",i=!!t.positions,o="function"==typeof t.onParseError?t.onParseError:eT,a=!1,l.parseAtrulePrelude=!("parseAtrulePrelude"in t)||!!t.parseAtrulePrelude,l.parseRulePrelude=!("parseRulePrelude"in t)||!!t.parseRulePrelude,l.parseValue=!("parseValue"in t)||!!t.parseValue,l.parseCustomProperty="parseCustomProperty"in t&&!!t.parseCustomProperty;let{context:c="default",list:u=!0,onComment:h,onToken:p}=t;if(!(c in l.context))throw Error("Unknown context `"+c+"`");Object.assign(l,u?eO:eL),Array.isArray(p)?l.forEachToken((e,t,n)=>{p.push({type:e,start:t,end:n})}):"function"==typeof p&&l.forEachToken(p.bind({filename:r,source:n,tokenCount:l.tokenCount,getTokenType:e=>l.getTokenType(e),getTokenTypeName:e=>ep[l.getTokenType(e)],getTokenStart:e=>l.getTokenStart(e),getTokenEnd:e=>l.getTokenEnd(e),getTokenValue:e=>l.source.substring(l.getTokenStart(e),l.getTokenEnd(e)),substring:(e,t)=>l.source.substring(e,t),balance:l.balance.subarray(0,l.tokenCount+1),isBlockOpenerTokenType:l.isBlockOpenerTokenType,isBlockCloserTokenType:l.isBlockCloserTokenType,getBlockTokenPairIndex:e=>l.getBlockTokenPairIndex(e),getLocation:e=>s.getLocation(e,r),getRangeLocation:(e,t)=>s.getLocationRange(e,t,r)})),"function"==typeof h&&l.forEachToken((e,t,r)=>{if(25===e){let e=l.getLocation(t,r);h(ei(n,r-2,r,"*/")?n.slice(t+2,r-2):n.slice(t+2,r),e)}});let d=l.context[c].call(l,t);return l.eof||l.error(),d},{SyntaxError:ez,config:l.config})),u=function(e){let t=function(e){let t={};for(let n in e.node)if(e_.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=function(e){let t=e.structure,n=[];for(let e in t){if(!1===e_.call(t,e))continue;let r=t[e],i={name:e,type:!1,nullable:!1};for(let e of(Array.isArray(r)||(r=[r]),r))null===e?i.nullable=!0:"string"==typeof e?i.type="node":Array.isArray(e)&&(i.type="list");i.type&&n.push(i)}return n.length?{context:e.walkContext,fields:n}:null}(r)}return t}(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let e in t)e_.call(t,e)&&null!==t[e]&&(n[e]=eK(t[e],!1),r[e]=eK(t[e],!0));let a=eG(n),s=eG(r),l=function(e,l){function c(e,t,n){let r=u.call(m,e,t,n);return r===i||r!==o&&!!(p.hasOwnProperty(e.type)&&p[e.type](e,m,c,d)||h.call(m,e,t,n)===i)}let u=eW,h=eW,p=n,d=(e,t,n,r)=>e||c(t,n,r),m={break:i,skip:o,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=eU(l.enter),h=eU(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 Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");u=eV(u,l.visit),h=eV(h,l.visit)}if(u===eW&&h===eW)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return l.break=i,l.skip=o,l.find=function(e,t){let n=null;return l(e,function(e,r,o){if(t.call(this,e,r,o))return n=e,i}),n},l.findLast=function(e,t){let n=null;return l(e,{reverse:!0,enter(e,r,o){if(t.call(this,e,r,o))return n=e,i}}),n},l.findAll=function(e,t){let n=[];return l(e,function(e,r,i){t.call(this,e,r,i)&&n.push(e)}),n},l}(t),h=function(e){let 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){var r;let i,o,a,s,l,c,u,h,p,d,m,g="",f=0,b={node(e){if(t.has(e.type))t.get(e.type).call(y,e);else throw Error("Unknown node type: "+e.type)},tokenBefore:eM,token(e,t,n){f=this.tokenBefore(f,e,t),!n&&1&f&&this.emit(" ",13,!0),this.emit(t,e,!1),9===e&&92===t.charCodeAt(0)&&this.emit(`
|
|
12
|
+
`,13,!0)},emit(e){g+=e},result:()=>g};n&&("function"==typeof n.decorator&&(b=n.decorator(b)),n.sourceMap&&(r=b,i=new eE.SourceMapGenerator,o={line:1,column:0},a={line:0,column:0},l={generated:s={line:1,column:0}},c=1,u=0,h=!1,p=r.node,r.node=function(e){if(e.loc&&e.loc.start&&eD.has(e.type)){let t=e.loc.start.line,n=e.loc.start.column-1;(a.line!==t||a.column!==n)&&(a.line=t,a.column=n,o.line=c,o.column=u,h&&(h=!1,(o.line!==s.line||o.column!==s.column)&&i.addMapping(l)),h=!0,i.addMapping({source:e.loc.source,original:a,generated:o}))}p.call(this,e),h&&eD.has(e.type)&&(s.line=c,s.column=u)},d=r.emit,r.emit=function(e,t,n){for(let t=0;t<e.length;t++)10===e.charCodeAt(t)?(c++,u=0):u++;d(e,t,n)},m=r.result,r.result=function(){return h&&i.addMapping(l),{css:m(),map:i}},b=r),n.mode in eI&&(b.tokenBefore=eI[n.mode]));let y={node:e=>b.node(e),children:eq,token:(e,t)=>b.token(e,t),tokenize:e=>ek(e,(t,n,r)=>{b.token(t,e.slice(n,r),0!==n)})};return b.node(e),b.result()}}(t),{fromPlainObject:p,toPlainObject:d}={fromPlainObject:e=>(u(e,{enter(e){!e.children||e.children instanceof ev||(e.children=new ev().fromArray(e.children))}}),e),toPlainObject:e=>(u(e,{leave(e){e.children&&e.children instanceof ev&&(e.children=e.children.toArray())}}),e)},m={lexer:null,createLexer:e=>new np(e,m,m.lexer.structure),tokenize:ek,parse:c,generate:h,walk:u,find:u.find,findLast:u.findLast,findAll:u.findAll,fromPlainObject:p,toPlainObject:d,fork(n){let r=ng({},t);return e("function"==typeof n?n(r):ng(r,n))}};return m.lexer=new np({generic:t.generic,cssWideKeywords:t.cssWideKeywords,units:t.units,types:t.types,atrules:t.atrules,properties:t.properties,node:t.node},m),m}(ng({},{generic:!0,cssWideKeywords:e9,generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","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-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}},node:nf,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:a4,atrule:{container:{parse:{prelude(){let e=this.createList();if(1===this.tokenType){let t=this.substring(this.tokenStart,this.tokenEnd);se.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},"font-face":{parse:{prelude:null,block(){return this.Block(!0)}}},import:{parse:{prelude(){let e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),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,sn)),this.skipSC(),2===this.tokenType&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,sn)),(1===this.lookupNonWSType(0)||21===this.lookupNonWSType(0))&&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)}}}},pseudo:{dir:{parse(){return this.createSingleNodeList(this.Identifier())}},has:sr,lang:{parse:function(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}},matches:sr,is:sr,"-moz-any":sr,"-webkit-any":sr,where:sr,not:sr,"nth-child":so,"nth-last-child":so,"nth-last-of-type":so,"nth-of-type":so,slotted:si,host:si,"host-context":si},node:sa,node:nf}));function sl(e){let t=e.length-1,n="";for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(92===i){if(r===t)break;if(Q(92,i=e.charCodeAt(++r))){let t=r-1,i=es(e,t);r=i-1,n+=eh(e.substring(t+1,i))}else 13===i&&10===e.charCodeAt(r+1)&&r++}else n+=e[r]}return n}function sc(e){let t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(0===r){t+="�";continue}if(r<=31||127===r||r>=48&&r<=57&&(0===n||1===n&&45===e.charCodeAt(0))){t+="\\"+r.toString(16)+" ";continue}G(r)?t+=e.charAt(n):t+="\\"+e.charAt(n)}return t}c({},{decode:()=>sl,encode:()=>sc});var{tokenize:su,parse:sh,generate:sp,lexer:sd,createLexer:sm,walk:sg,find:sf,findLast:sb,findAll:sy,toPlainObject:sk,fromPlainObject:sx,fork:sv}=ss;export{sp as hy,sh as py};
|