/* ! * Tiny PowerPaste plugin * * Copyright (c) 2023 Ephox Corporation DBA Tiny Technologies, Inc. * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ * * Version: 8.3.0-112 */ "use strict";(()=>{var Zd=Object.create;var Bo=Object.defineProperty;var $d=Object.getOwnPropertyDescriptor;var em=Object.getOwnPropertyNames;var tm=Object.getPrototypeOf,rm=Object.prototype.hasOwnProperty;var kr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),O=(e,t)=>{for(var r in t)Bo(e,r,{get:t[r],enumerable:!0})},nm=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of em(t))!rm.call(e,i)&&i!==r&&Bo(e,i,{get:()=>t[i],enumerable:!(n=$d(t,i))||n.enumerable});return e};var im=(e,t,r)=>(r=e!=null?Zd(tm(e)):{},nm(t||!e||!e.__esModule?Bo(r,"default",{value:e,enumerable:!0}):r,e));var jf=kr(pa=>{var Gf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");pa.encode=function(e){if(0<=e&&e{var Uf=jf(),va=5,qf=1<>1;return t?-r:r}_a.encode=function(t){var r="",n,i=Vm(t);do n=i&Vf,i>>>=va,i>0&&(n|=Xf),r+=Uf.encode(n);while(i>0);return r};_a.decode=function(t,r,n){var i=t.length,o=0,a=0,u,s;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(s=Uf.decode(t.charCodeAt(r++)),s===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));u=!!(s&Xf),s&=Vf,o=o+(s<{function Wm(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}Ie.getArg=Wm;var Hf=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Hm=/^data:.+\,.+$/;function Tn(e){var t=e.match(Hf);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}Ie.urlParse=Tn;function qr(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}Ie.urlGenerate=qr;var Ym=32;function Km(e){var t=[];return function(r){for(var n=0;nYm&&t.pop(),o}}var ga=Km(function(t){var r=t,n=Tn(t);if(n){if(!n.path)return t;r=n.path}for(var i=Ie.isAbsolute(r),o=[],a=0,u=0;;)if(a=u,u=r.indexOf("/",a),u===-1){o.push(r.slice(a));break}else for(o.push(r.slice(a,u));u=0;u--)s=o[u],s==="."?o.splice(u,1):s===".."?l++:l>0&&(s===""?(o.splice(u+1,l),l=0):(o.splice(u,2),l--));return r=o.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,qr(n)):r});Ie.normalize=ga;function Yf(e,t){e===""&&(e="."),t===""&&(t=".");var r=Tn(t),n=Tn(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),qr(r);if(r||t.match(Hm))return t;if(n&&!n.host&&!n.path)return n.host=t,qr(n);var i=t.charAt(0)==="/"?t:ga(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,qr(n)):i}Ie.join=Yf;Ie.isAbsolute=function(e){return e.charAt(0)==="/"||Hf.test(e)};function Qm(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}Ie.relative=Qm;var Kf=function(){var e=Object.create(null);return!("__proto__"in e)}();function Qf(e){return e}function Zm(e){return Zf(e)?"$"+e:e}Ie.toSetString=Kf?Qf:Zm;function $m(e){return Zf(e)?e.slice(1):e}Ie.fromSetString=Kf?Qf:$m;function Zf(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function ep(e,t,r){var n=Gt(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:Gt(e.name,t.name)}Ie.compareByOriginalPositions=ep;function tp(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:Gt(e.name,t.name)}Ie.compareByOriginalPositionsNoSource=tp;function rp(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=Gt(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Gt(e.name,t.name)}Ie.compareByGeneratedPositionsDeflated=rp;function np(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=Gt(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Gt(e.name,t.name)}Ie.compareByGeneratedPositionsDeflatedNoLine=np;function Gt(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function ip(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=Gt(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:Gt(e.name,t.name)}Ie.compareByGeneratedPositionsInflated=ip;function op(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}Ie.parseSourceMapInput=op;function ap(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=Tn(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=Yf(qr(n),t)}return ga(t)}Ie.computeSourceURL=ap});var ec=kr($f=>{var xa=Oi(),ya=Object.prototype.hasOwnProperty,vr=typeof Map<"u";function jt(){this._array=[],this._set=vr?new Map:Object.create(null)}jt.fromArray=function(t,r){for(var n=new jt,i=0,o=t.length;i=0)return r}else{var n=xa.toSetString(t);if(ya.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};jt.prototype.at=function(t){if(t>=0&&t{var tc=Oi();function lp(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return n>r||n==r&&o>=i||tc.compareByGeneratedPositionsInflated(e,t)<=0}function Mi(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Mi.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Mi.prototype.add=function(t){lp(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Mi.prototype.toArray=function(){return this._sorted||(this._array.sort(tc.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};rc.MappingList=Mi});var oc=kr(ic=>{var Dn=Wf(),ke=Oi(),Fi=ec().ArraySet,sp=nc().MappingList;function dt(e){e||(e={}),this._file=ke.getArg(e,"file",null),this._sourceRoot=ke.getArg(e,"sourceRoot",null),this._skipValidation=ke.getArg(e,"skipValidation",!1),this._sources=new Fi,this._names=new Fi,this._mappings=new sp,this._sourcesContents=null}dt.prototype._version=3;dt.fromSourceMap=function(t){var r=t.sourceRoot,n=new dt({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=ke.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),t.sources.forEach(function(i){var o=i;r!==null&&(o=ke.relative(r,i)),n._sources.has(o)||n._sources.add(o);var a=t.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n};dt.prototype.addMapping=function(t){var r=ke.getArg(t,"generated"),n=ke.getArg(t,"original",null),i=ke.getArg(t,"source",null),o=ke.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};dt.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=ke.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ke.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[ke.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};dt.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var o=this._sourceRoot;o!=null&&(i=ke.relative(o,i));var a=new Fi,u=new Fi;this._mappings.unsortedForEach(function(s){if(s.source===i&&s.originalLine!=null){var l=t.originalPositionFor({line:s.originalLine,column:s.originalColumn});l.source!=null&&(s.source=l.source,n!=null&&(s.source=ke.join(n,s.source)),o!=null&&(s.source=ke.relative(o,s.source)),s.originalLine=l.line,s.originalColumn=l.column,l.name!=null&&(s.name=l.name))}var f=s.source;f!=null&&!a.has(f)&&a.add(f);var c=s.name;c!=null&&!u.has(c)&&u.add(c)},this),this._sources=a,this._names=u,t.sources.forEach(function(s){var l=t.sourceContentFor(s);l!=null&&(n!=null&&(s=ke.join(n,s)),o!=null&&(s=ke.relative(o,s)),this.setSourceContent(s,l))},this)};dt.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("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(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};dt.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,o=0,a=0,u="",s,l,f,c,d=this._mappings.toArray(),h=0,_=d.length;h<_;h++){if(l=d[h],s="",l.generatedLine!==r)for(t=0;l.generatedLine!==r;)s+=";",r++;else if(h>0){if(!ke.compareByGeneratedPositionsInflated(l,d[h-1]))continue;s+=","}s+=Dn.encode(l.generatedColumn-t),t=l.generatedColumn,l.source!=null&&(c=this._sources.indexOf(l.source),s+=Dn.encode(c-a),a=c,s+=Dn.encode(l.originalLine-1-i),i=l.originalLine-1,s+=Dn.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(f=this._names.indexOf(l.name),s+=Dn.encode(f-o),o=f)),u+=s}return u};dt.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=ke.relative(r,n));var i=ke.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};dt.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};dt.prototype.toString=function(){return JSON.stringify(this.toJSON())};ic.SourceMapGenerator=dt});function ti(e,t,r){for(var n=new Array(r),i=0,o=t;i=e.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};e[t]=r}function at(e,t){if(t<0||t>=e.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return e[t]}function Pt(e,t){for(var r=new Array(e),n=0;n=0;--a)r[a+n|0]=e[a+t|0]}function Me(e,t){for(;;){var r=t,n=e,i=n.length,o=i===0?1:i,a=r.length,u=o-a|0;if(u===0)return n.apply(null,r);if(u>=0)return function(s,l){return function(f){return Me(s,l.concat([f]))}}(n,r);t=ti(r,o,-u|0),e=n.apply(null,ti(r,0,o))}}function g(e,t){var r=e.length;if(r===1)return e(t);switch(r){case 1:return e(t);case 2:return function(n){return e(t,n)};case 3:return function(n,i){return e(t,n,i)};case 4:return function(n,i,o){return e(t,n,i,o)};case 5:return function(n,i,o,a){return e(t,n,i,o,a)};case 6:return function(n,i,o,a,u){return e(t,n,i,o,a,u)};case 7:return function(n,i,o,a,u,s){return e(t,n,i,o,a,u,s)};default:return Me(e,[t])}}function Xt(e){var t=e.length;return t===1?e:function(r){return g(e,r)}}function L(e,t,r){var n=e.length;if(n===2)return e(t,r);switch(n){case 1:return Me(e(t),[r]);case 2:return e(t,r);case 3:return function(i){return e(t,r,i)};case 4:return function(i,o){return e(t,r,i,o)};case 5:return function(i,o,a){return e(t,r,i,o,a)};case 6:return function(i,o,a,u){return e(t,r,i,o,a,u)};case 7:return function(i,o,a,u,s){return e(t,r,i,o,a,u,s)};default:return Me(e,[t,r])}}function on(e,t,r,n){var i=e.length;if(i===3)return e(t,r,n);switch(i){case 1:return Me(e(t),[r,n]);case 2:return Me(e(t,r),[n]);case 3:return e(t,r,n);case 4:return function(o){return e(t,r,n,o)};case 5:return function(o,a){return e(t,r,n,o,a)};case 6:return function(o,a,u){return e(t,r,n,o,a,u)};case 7:return function(o,a,u,s){return e(t,r,n,o,a,u,s)};default:return Me(e,[t,r,n])}}function ri(e,t,r,n,i){var o=e.length;if(o===4)return e(t,r,n,i);switch(o){case 1:return Me(e(t),[r,n,i]);case 2:return Me(e(t,r),[n,i]);case 3:return Me(e(t,r,n),[i]);case 4:return e(t,r,n,i);case 5:return function(a){return e(t,r,n,i,a)};case 6:return function(a,u){return e(t,r,n,i,a,u)};case 7:return function(a,u,s){return e(t,r,n,i,a,u,s)};default:return Me(e,[t,r,n,i])}}function Po(e,t,r,n,i,o){var a=e.length;if(a===5)return e(t,r,n,i,o);switch(a){case 1:return Me(e(t),[r,n,i,o]);case 2:return Me(e(t,r),[n,i,o]);case 3:return Me(e(t,r,n),[i,o]);case 4:return Me(e(t,r,n,i),[o]);case 5:return e(t,r,n,i,o);case 6:return function(u){return e(t,r,n,i,o,u)};case 7:return function(u,s){return e(t,r,n,i,o,u,s)};default:return Me(e,[t,r,n,i,o])}}function Ar(e,t){return e===t?0:er?!0:n=t[1]}function Sr(e,t){return e[0]>t[0]?!0:e[0]t[1]}function wu(e,t){return!Sr(e,t)}var Cu=function(e,t){for(var r in e)t(r)};function fe(e,t){if(e===t)return!0;var r=typeof e;if(r==="string"||r==="number"||r==="bigint"||r==="boolean"||r==="undefined"||e===null)return!1;var n=typeof t;if(r==="function"||n==="function")throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if(n==="number"||n==="bigint"||n==="undefined"||t===null)return!1;var i=e.TAG,o=t.TAG;if(i===248)return e[1]===t[1];if(i===251)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(i!==o)return!1;var a=e.length|0,u=t.length|0;if(a===u)if(Array.isArray(e))for(var s=0;;){var l=s;if(l===a)return!0;if(!fe(e[l],t[l]))return!1;s=l+1|0}else{if(e instanceof Date&&t instanceof Date)return!(e>t||e>>0]}function Su(e,t,r){var n=e[1],i=n+t|0,o=Jo(n)&&(Jo(t)||Eu(i))||Jo(t)&&Eu(i)?1:0;return[e[0]+r+o|0,i>>>0]}function sn(e,t){return Su(e,t[1],t[0])}function lm(e,t,r){var n=(t^-1)+1>>>0,i=(r^-1)+(n===0?1:0)|0;return Su(e,n,i)}function or(e,t){return lm(e,t[1],t[0])}function li(e,t){if(t===0)return e;var r=e[1];return t>=32?[r<<(t-32|0),0]:[r>>>(32-t|0)|e[0]<>>0]}function sm(e,t){if(t===0)return e;var r=e[0];return t<32?[r>>t,(r<<(32-t|0)|e[1]>>>t)>>>0]:[r>=0?0:-1,r>>(t-32|0)>>>0]}function um(e){return e[0]!==0?!1:e[1]===0}function ir(e,t){for(;;){var r=t,n=e,i,o=n[0],a=0,u=0,s=0;if(o!==0)s=4;else{if(n[1]===0)return gt;s=4}if(s===4)if(r[0]!==0)u=3;else{if(r[1]===0)return gt;u=3}if(u===3&&(o!==-2147483648||n[1]!==0?a=2:i=r[1]),a===2){var l=r[0],f=n[1],c=0;if(l!==-2147483648||r[1]!==0?c=3:i=f,c===3){var d=r[1];if(o<0){if(l>=0)return Fe(ir(Fe(n),r));t=Fe(r),e=Fe(n);continue}if(l<0)return Fe(ir(n,Fe(r)));var h=o>>>16,_=o&65535,x=f>>>16,E=f&65535,y=l>>>16,A=l&65535,D=d>>>16,I=d&65535,T=0,B=0,J=0,Q=E*I;return J=(Q>>>16)+x*I,B=J>>>16,J=(J&65535)+E*D,B=B+(J>>>16)+_*I,T=B>>>16,B=(B&65535)+x*D,T=T+(B>>>16),B=(B&65535)+E*A,T=T+(B>>>16),B=B&65535,T=T+(h*I+_*D+x*A+E*y)&65535,[B|T<<16,(Q&65535|(J&65535)<<16)>>>0]}}return i&1?oi:gt}}function si(e,t){return[e[0]|t[0],(e[1]|t[1])>>>0]}function ku(e){return e[0]*4294967296+e[1]}function Oo(e){if(isNaN(e)||!isFinite(e))return gt;if(e<=-9223372036854776e3)return oi;if(e+1>=9223372036854776e3)return ai;if(e<0)return Fe(Oo(-e));var t=e/4294967296|0,r=e%4294967296|0;return[t,r>>>0]}function ln(e,t){for(;;){var r=t,n=e,i=n[0],o=0,a=0;if(r[0]!==0||r[1]!==0)a=2;else throw{RE_EXN_ID:"Division_by_zero",Error:new Error};if(a===2)if(i!==-2147483648)if(i!==0)o=1;else{if(n[1]===0)return gt;o=1}else if(n[1]!==0)o=1;else{if(an(r,Wt)||an(r,Au))return n;if(an(r,oi))return Wt;var u=sm(n,1),s=li(ln(u,r),1),l=0;if(s[0]!==0)l=3;else{if(s[1]===0)return r[0]<0?Wt:Fe(Wt);l=3}if(l===3){var f=or(n,ir(r,s));return sn(s,ln(f,r))}}if(o===1){var c=r[0],d=0;if(c!==-2147483648)d=2;else{if(r[1]===0)return gt;d=2}if(d===2){if(i<0){if(c>=0)return Fe(ln(Fe(n),r));t=Fe(r),e=Fe(n);continue}if(c<0)return Fe(ln(n,Fe(r)));for(var h=gt,_=n;ni(_,r);){for(var x=Math.floor(ku(_)/ku(r)),E=1>x?1:x,y=Math.ceil(Math.log(E)/Math.LN2),A=y<=48?1:Math.pow(2,y-48),D=Oo(E),I=ir(D,r);I[0]<0||Sr(I,_);)E=E-A,D=Oo(E),I=ir(D,r);um(D)&&(D=Wt),h=sn(h,D),_=or(_,I)}return h}}}}function Lu(e,t){return or(e,ir(ln(e,t),t))}function un(e){return[e<0?-1:0,e>>>0]}function Iu(e){return e>=65?e>=97?e>=123?-1:e-87|0:e>=91?-1:e-55|0:e>57||e<48?-1:e-48|0}function cm(e){switch(e){case"Oct":return 8;case"Hex":return 16;case"Dec":return 10;case"Bin":return 2}}function hm(e){var t=1,r="Dec",n=0,i=e.codePointAt(n);switch(i){case 43:n=n+1|0;break;case 45:t=-1,n=n+1|0;break;default:}if(e.codePointAt(n)===48){var o=e.codePointAt(n+1|0);if(o>=89)if(o>=111){if(o<121)switch(o){case 111:r="Oct",n=n+2|0;break;case 117:n=n+2|0;break;case 112:case 113:case 114:case 115:case 116:case 118:case 119:break;case 120:r="Hex",n=n+2|0;break}}else o===98&&(r="Bin",n=n+2|0);else if(o!==66){if(o>=79)switch(o){case 79:r="Oct",n=n+2|0;break;case 85:n=n+2|0;break;case 80:case 81:case 82:case 83:case 84:case 86:case 87:break;case 88:r="Hex",n=n+2|0;break}}else r="Bin",n=n+2|0}return[n,t,r]}function ar(e){var t=hm(e),r=t[0],n=cm(t[2]),i=4294967295,o=e.length,a=r=n)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error};var s=function(c,d){for(;;){var h=d,_=c;if(h===o)return _;var x=e.codePointAt(h);if(x===95){d=h+1|0;continue}var E=Iu(x);if(E<0||E>=n)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error};var y=n*_+E;if(y>i)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error};d=h+1|0,c=y}},l=t[1]*s(u,r+1|0),f=l|0;if(n===10&&l!==f)throw{RE_EXN_ID:"Failure",_1:"int_of_string",Error:new Error};return f}function tt(e,t){if(t>=e.length||t<0)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return e.codePointAt(t)}function Fo(e,t){return String.fromCharCode(t).repeat(e)}var zo=new Map;function At(e){var t=zo.get(e),r;if(t!==void 0){var n=t+1|0;zo.set(e,n),r=n}else zo.set(e,1),r=1;return e+("/"+r)}function Nu(e){return e==null?!1:typeof e.RE_EXN_ID=="string"}function $(e){return e===void 0?{BS_PRIVATE_NESTED_SOME_NONE:0}:e!==null&&e.BS_PRIVATE_NESTED_SOME_NONE!==void 0?{BS_PRIVATE_NESTED_SOME_NONE:e.BS_PRIVATE_NESTED_SOME_NONE+1|0}:e}function fi(e){if(e!=null)return $(e)}function oe(e){if(!(e!==null&&e.BS_PRIVATE_NESTED_SOME_NONE!==void 0))return e;var t=e.BS_PRIVATE_NESTED_SOME_NONE;if(t!==0)return{BS_PRIVATE_NESTED_SOME_NONE:t-1|0}}function ve(e){return Nu(e)?e:{RE_EXN_ID:"JsError",_1:e}}function Tu(e){throw{RE_EXN_ID:"Failure",_1:e,Error:new Error}}function Lr(e){try{return ar(e)}catch(r){var t=ve(r);if(t.RE_EXN_ID==="Failure")return;throw t}}function fn(e,t){return e?{hd:e.hd,tl:fn(e.tl,t)}:t}function ur(e){for(var t=0,r=e;;){var n=r,i=t;if(!n)return i;r=n.tl,t=i+1|0}}function cn(e,t){for(;;){var r=t,n=e;if(!n)return r;t={hd:n.hd,tl:r},e=n.tl}}function lt(e){return cn(e,0)}function ci(e,t){if(!t)return 0;var r=g(e,t.hd);return{hd:r,tl:ci(e,t.tl)}}function Ht(e,t){for(;;){var r=t;if(!r)return;g(e,r.hd),t=r.tl}}function Go(e,t,r){for(;;){var n=r,i=t;if(!n)return i;r=n.tl,t=L(e,i,n.hd)}}function jo(e,t){for(;;){var r=t;if(!r)return!1;if(fe(r.hd,e))return!0;t=r.tl}}function hn(e,t){for(;;){var r=t;if(r){var n=r.hd;if(fe(n[0],e))return n[1];t=r.tl;continue}throw{RE_EXN_ID:"Not_found",Error:new Error}}}function Ru(e,t){for(;;){var r=t;if(!r)return;var n=r.hd;if(g(e,n))return $(n);t=r.tl}}function Du(e,t){for(;;){var r=t,n=e;if(n===0)return r;if(r){t=r.tl,e=n-1|0;continue}throw{RE_EXN_ID:"Assert_failure",_1:["list.res",420,11],Error:new Error}}}function Bu(e,t){var r=function(o,a){if(o!==2){if(o===3&&a){var u=a.tl;if(u){var s=u.tl;if(s){var l=s.hd,f=u.hd,c=a.hd,d=L(e,c,f);if(d===0){var h=L(e,f,l);return h===0?{hd:f,tl:0}:h<0?{hd:f,tl:{hd:l,tl:0}}:{hd:l,tl:{hd:f,tl:0}}}if(d<0){var _=L(e,f,l);if(_===0)return{hd:c,tl:{hd:f,tl:0}};if(_<0)return{hd:c,tl:{hd:f,tl:{hd:l,tl:0}}};var x=L(e,c,l);return x===0?{hd:c,tl:{hd:f,tl:0}}:x<0?{hd:c,tl:{hd:l,tl:{hd:f,tl:0}}}:{hd:l,tl:{hd:c,tl:{hd:f,tl:0}}}}var E=L(e,c,l);if(E===0)return{hd:f,tl:{hd:c,tl:0}};if(E<0)return{hd:f,tl:{hd:c,tl:{hd:l,tl:0}}};var y=L(e,f,l);return y===0?{hd:f,tl:{hd:c,tl:0}}:y<0?{hd:f,tl:{hd:l,tl:{hd:c,tl:0}}}:{hd:l,tl:{hd:f,tl:{hd:c,tl:0}}}}}}}else if(a){var A=a.tl;if(A){var D=A.hd,I=a.hd,T=L(e,I,D);return T===0?{hd:I,tl:0}:T<0?{hd:I,tl:{hd:D,tl:0}}:{hd:D,tl:{hd:I,tl:0}}}}for(var B=o>>1,J=o-B|0,Q=Du(B,a),Ne=n(B,a),vt=n(J,Q),Te=Ne,G=vt,P=0;;){var q=P,H=G,U=Te;if(!U)return cn(H,q);if(!H)return cn(U,q);var X=H.tl,De=H.hd,me=U.tl,le=U.hd,we=L(e,le,De);if(we===0){P={hd:le,tl:q},G=X,Te=me;continue}if(we>0){P={hd:le,tl:q},Te=me;continue}P={hd:De,tl:q},G=X}},n=function(o,a){if(o!==2){if(o===3&&a){var u=a.tl;if(u){var s=u.tl;if(s){var l=s.hd,f=u.hd,c=a.hd,d=L(e,c,f);if(d===0){var h=L(e,f,l);return h===0?{hd:f,tl:0}:h>0?{hd:f,tl:{hd:l,tl:0}}:{hd:l,tl:{hd:f,tl:0}}}if(d>0){var _=L(e,f,l);if(_===0)return{hd:c,tl:{hd:f,tl:0}};if(_>0)return{hd:c,tl:{hd:f,tl:{hd:l,tl:0}}};var x=L(e,c,l);return x===0?{hd:c,tl:{hd:f,tl:0}}:x>0?{hd:c,tl:{hd:l,tl:{hd:f,tl:0}}}:{hd:l,tl:{hd:c,tl:{hd:f,tl:0}}}}var E=L(e,c,l);if(E===0)return{hd:f,tl:{hd:c,tl:0}};if(E>0)return{hd:f,tl:{hd:c,tl:{hd:l,tl:0}}};var y=L(e,f,l);return y===0?{hd:f,tl:{hd:c,tl:0}}:y>0?{hd:f,tl:{hd:l,tl:{hd:c,tl:0}}}:{hd:l,tl:{hd:f,tl:{hd:c,tl:0}}}}}}}else if(a){var A=a.tl;if(A){var D=A.hd,I=a.hd,T=L(e,I,D);return T===0?{hd:I,tl:0}:T>0?{hd:I,tl:{hd:D,tl:0}}:{hd:D,tl:{hd:I,tl:0}}}}for(var B=o>>1,J=o-B|0,Q=Du(B,a),Ne=r(B,a),vt=r(J,Q),Te=Ne,G=vt,P=0;;){var q=P,H=G,U=Te;if(!U)return cn(H,q);if(!H)return cn(U,q);var X=H.tl,De=H.hd,me=U.tl,le=U.hd,we=L(e,le,De);if(we===0){P={hd:le,tl:q},G=X,Te=me;continue}if(we<0){P={hd:le,tl:q},Te=me;continue}P={hd:De,tl:q},G=X}},i=ur(t);return i<2?t:r(i,t)}var Uo=fn;function Pu(e){for(var t=0,r=e;;){var n=r,i=t;if(!n)return i;r=n.tl,t=i+1|0}}function Ju(e){if(e)return e.tl;throw{RE_EXN_ID:"Failure",_1:"tl",Error:new Error}}function Ou(e,t){if(t<0)throw{RE_EXN_ID:"Invalid_argument",_1:"List.nth",Error:new Error};for(var r=e,n=t;;){var i=n,o=r;if(o){if(i===0)return o.hd;n=i-1|0,r=o.tl;continue}throw{RE_EXN_ID:"Failure",_1:"nth",Error:new Error}}}function Mu(e,t){for(;;){var r=t,n=e;if(!n)return r;t={hd:n.hd,tl:r},e=n.tl}}function qo(e){return Mu(e,0)}function Vo(e,t){if(!t)return 0;var r=g(e,t.hd);return{hd:r,tl:Vo(e,t.tl)}}function hi(e,t,r){for(;;){var n=r,i=t;if(!n)return i;r=n.tl,t=L(e,i,n.hd)}}function Xo(e,t,r){return t?L(e,t.hd,Xo(e,t.tl,r)):r}function Fu(e,t){for(;;){var r=t;if(!r)return!0;if(!g(e,r.hd))return!1;t=r.tl}}function zu(e,t){for(;;){var r=t;if(!r)return!1;if(g(e,r.hd))return!0;t=r.tl}}function Gu(e,t){for(;;){var r=t;if(r){var n=r.hd;if(fe(n[0],e))return n[1];t=r.tl;continue}throw{RE_EXN_ID:"Not_found",Error:new Error}}}var ju=fn;function Wo(e,t){if(!t)return t;var r=t.tl,n=t.hd,i=g(e,n),o=Wo(e,r);return n===i&&r===o?t:{hd:i,tl:o}}function _e(e,t){if(!t)return t;var r=t.tl,n=t.hd,i=g(e,n),o=_e(e,r);return i?r===o?t:{hd:n,tl:o}:o}function di(e,t,r){return hi(function(n,i){return L(e,i,n)},r,qo(t))}function Uu(e){return hi(Uo,0,e)}function dn(e){if(e)return $(e.hd)}function Ge(e,t){for(;;){var r=t;if(!r)return;var n=g(e,r.hd);if(n!==void 0)return n;t=r.tl}}function Ir(e,t){return di(function(r,n){var i=g(e,r);return i!==void 0?{hd:oe(i),tl:n}:n},t,0)}function Nr(e,t){for(;;){var r=t;if(!r)return;var n=r.hd;if(g(e,n))return $(n);t=r.tl}}function qu(e,t){for(;;){var r=t,n=e;if(n===0)return r;if(!r)return 0;t=r.tl,e=n-1|0}}function Vu(e,t){for(;;){var r=t;if(!r||!g(e,r.hd))return r;t=r.tl}}function Xu(e){return function(t){var r=0;return di(function(n,i){return g(e,n)&&i===0?i:{hd:n,tl:i}},t,r)}}function Tr(e){return function(t){var r=[0,0];return di(function(n,i){var o=i[1],a=i[0];return g(e,n)?[{hd:n,tl:a},o]:[a,{hd:n,tl:o}]},t,r)}}function mn(e,t){return di(function(r,n){return Uo(g(e,r),n)},t,0)}function mi(e,t){if(!t)return[0,t];var r=t.hd;if(!g(e,r))return[0,t];var n=mi(e,t.tl);return[{hd:r,tl:n[0]},n[1]]}function pi(e,t){return mi(function(r){return!g(e,r)},t)}function Wu(e){var t=lt(e);return t?{TAG:"NonEmptyListWithLastChild",_0:t.hd,_1:lt(t.tl)}:"EmptyList"}var Dr=Pu;var pn=Ju,vi=Ou;var Se=qo;var Z=ju;var Re=Vo;var Kt=hi,Hu=Xo;var Yu=Fu,ce=zu;var Ku=Gu;var Qu=At("CamlinternalLazy.Undefined");function mm(e,t){var r=t();return e.VAL=r,e.LAZY_DONE=!0,r}function pm(){throw{RE_EXN_ID:Qu,Error:new Error}}function Ot(e){if(e.LAZY_DONE)return e.VAL;var t=e.VAL;e.VAL=pm;try{return mm(e,t)}catch(r){throw e.VAL=function(){throw r},r}}function Zu(e){return e!==void 0}function $u(e){return!Zu(e)}function te(e,t){return t!==void 0?oe(t):e}function fr(e,t){return t!==void 0?t:Ot(e)}function ae(e,t){if(t!==void 0)return $(g(e,oe(t)))}function _i(e,t){if(t!==void 0&&g(e,oe(t)))return t}function Ae(e,t){if(t!==void 0)return g(e,oe(t))}function gi(e,t){return t!==void 0?oe(t):Ot(e)}function Ho(e){return e!==void 0?{hd:oe(e),tl:0}:0}function ef(e,t){return t!==void 0?e!==void 0?fe(oe(t),oe(e)):!1:e===void 0}function tf(e,t,r){if(e!==void 0&&t!==void 0)return L(r,oe(e),oe(t))}function rf(e,t,r){for(var n=e!==void 0?e:!1,i=0,o=r;;){var a=o,u=i;if(!a)return Se(u);var s=a.hd;if(s.TAG==="Data"){o=a.tl,i={hd:s,tl:u};continue}var l=a.tl,f=s._3,c=s._2,d=s._1,h=s._0,_=Po(t,h,d,c,f,l);if(typeof _!="object"){if(_==="RemoveNode"){o=l;continue}var x=rf(n,t,f),E={TAG:"Element",_0:h,_1:d,_2:c,_3:x};if(n&&ii(x,f)){o={hd:E,tl:l};continue}o=l,i={hd:E,tl:u};continue}else{if(_.TAG==="UpdateNode"){o={hd:_._0,tl:l};continue}o=_._0;continue}}}function nf(e,t,r,n,i){return te("Noop",Ge(function(o){if(ri(o.elementApplies,t,r,n,i)){var a=ri(o.process,t,r,n,i);if(!(typeof a!="object"&&a==="Noop"))return a}},e))}function vm(e,t,r,n,i,o){return Ge(function(a){if(ri(a.siblingApplies,t,r,n,i))return Po(a.process,t,r,n,i,o)},e)}function of(e,t,r,n,i){var o=nf(e,t,r,n,i);if(typeof o=="object")return o.TAG==="ReplaceSingle"?{hd:o._0,tl:0}:o._0;switch(o){case"Noop":return;case"Unwrap":return i;case"Remove":return 0}}function Rr(e,t,r,n){var i=e!==void 0?e:!1;return rf(i,function(o,a,u,s,l){var f=nf(t,o,a,u,s);if(typeof f=="object")return f.TAG==="ReplaceSingle"?{TAG:"UpdateNode",_0:f._0}:{TAG:"UpdateSiblings",_0:Z(f._0,l)};switch(f){case"Noop":var c=vm(r,o,a,u,s,l);return c!==void 0?{TAG:"UpdateSiblings",_0:c}:"Continue";case"Unwrap":return{TAG:"UpdateSiblings",_0:Z(s,l)};case"Remove":return"RemoveNode"}},n)}function af(e,t,r,n,i){if(i<0||t<0||t>(e.length-i|0)||n<0||n>(r.length-i|0))throw{RE_EXN_ID:"Invalid_argument",_1:"Array.blit",Error:new Error};bu(e,t,r,n,i)}function _n(e){for(var t=e.length-1|0,r=0;;){var n=r,i=t;if(i<0)return n;r={hd:e[i],tl:n},t=i-1|0}}function _m(e,t){for(;;){var r=t,n=e;if(!r)return n;t=r.tl,e=n+1|0}}function xi(e){if(!e)return[];for(var t=Pt(_m(0,e),e.hd),r=1,n=e.tl;;){var i=n,o=r;if(!i)return t;t[o]=i.hd,n=i.tl,r=o+1|0}}function lf(e){return e>=65&&e<=90?e+32|0:e}function Qt(e){if(e<0)throw{RE_EXN_ID:"Invalid_argument",_1:"String.create",Error:new Error};for(var t=new Array(e),r=0;ra?a:o,s=u;s>=0;--s)e[n+s|0]=e[t+s|0];return}if(t<=n)return;for(var l=(e.length-t|0)-1|0,f=i-1|0,c=l>f?f:l,d=0;d<=c;++d)e[n+d|0]=e[t+d|0];return}var h=e.length-t|0;if(i<=h){for(var _=0;_0;){for(var a=i<1024?i:1024,u=new Array(a),s=0;s(e.length-r|0))throw{RE_EXN_ID:"Invalid_argument",_1:"String.sub / Bytes.sub",Error:new Error};var n=Qt(r);return uf(e,t,n,0,r),n}function gn(e,t,r){return Qo(cr(e,t,r))}function $o(e,t,r,n,i){if(i<0||t<0||t>(e.length-i|0)||n<0||n>(r.length-i|0))throw{RE_EXN_ID:"Invalid_argument",_1:"Bytes.blit",Error:new Error};uf(e,t,r,n,i)}function bi(e,t,r,n,i){if(i<0||t<0||t>(e.length-i|0)||n<0||n>(r.length-i|0))throw{RE_EXN_ID:"Invalid_argument",_1:"String.blit / Bytes.blit_string",Error:new Error};if(!(i<=0)){var o=e.length-t|0;if(i<=o){for(var a=0;a13||e<9?e===32:e!==11}function ea(e){for(var t=e.length,r=0;r=r&&sf(e[n]);)n=n-1|0;return n>=r?cr(e,r,(n-r|0)+1|0):xm}function ta(e,t){var r=t.length;if(r===0)return t;for(var n=Qt(r),i=0;i13||e<9?e===32:e!==11}function hf(e){return e===""||!(ff(e.codePointAt(0))||ff(e.codePointAt(e.length-1|0)))?e:Mt(ea(hr(e)))}function Ci(e){return Mt(wi(hr(e)))}var ra=Ar;function Jr(e,t,r){return Mt(cr(hr(e),t,r))}function df(e,t){return xi(t).join(e)}function mf(e,t,r,n){for(;;){var i=r;if(i>=t)throw{RE_EXN_ID:"Not_found",Error:new Error};if(e.codePointAt(i)===n)return i;r=i+1|0}}function pf(e,t){return mf(e,e.length,0,t)}function vf(e,t,r){var n=e.length;if(t<0||t>n)throw{RE_EXN_ID:"Invalid_argument",_1:"String.contains_from / Bytes.contains_from",Error:new Error};try{return mf(e,n,t,r),!0}catch(o){var i=ve(o);if(i.RE_EXN_ID==="Not_found")return!1;throw i}}function _f(e,t){return vf(e,0,t)}function gf(e){return Mt(wi(hr(e)))}var xf=Fo;function Ei(e,t){return e===t}function na(e){return hf(e)===""}function Pe(e,t){var r=e.length,n=t.length;return rr?"":Jr(e,t,r-t|0)}function bn(e,t){var r=function(n,i){try{var o=pf(i,t),a=Jr(i,0,o),u=ia(i,o+1|0);return r(a===""?n:{hd:a,tl:n},u)}catch(l){var s=ve(l);if(s.RE_EXN_ID==="Not_found")return i===""?n:{hd:i,tl:n};throw s}};return lt(r(0,e))}function je(e,t){return e.toLocaleLowerCase().includes(t.toLocaleLowerCase())}var Or=xf;var ki=Jr;var st=df;var yf=_f;var Mr=gf;function Sm(e,t,r,n){return e==="img"?t!==0:!1}function Lm(e,t,r,n){var i=Tr(function(s){return s[0]==="src"})(t),o=i[0];if(!o)return"Noop";var a=o.hd;if(a[0]!=="src"||o.tl)return"Noop";var u=a[1];return Pe(u,"file:")?{TAG:"ReplaceSingle",_0:{TAG:"Element",_0:e,_1:Z(i[1],{hd:["data-image-src",u],tl:0}),_2:r,_3:n}}:"Noop"}var bf={elementApplies:Sm,process:Lm};function wf(e){return e[0]==="align"}function Im(e,t,r,n){return e==="p"?ce(wf,t):!1}function Nm(e,t,r,n){var i=Nr(wf,t);if(i===void 0)return"Noop";var o=_e(function(s){return s[0]!=="align"},t),a=ce(function(s){return s._0._0==="text-align"},r),u=a?r:{hd:{TAG:"Declaration",_0:{TAG:"Property",_0:"text-align"},_1:{TAG:"Value",_0:{hd:i[1],tl:0}}},tl:r};return{TAG:"ReplaceSingle",_0:{TAG:"Element",_0:e,_1:o,_2:u,_3:n}}}var Cf={elementApplies:Im,process:Nm};function yt(e){return String(e)}var Ef="JsError";function kf(e){for(var t=Object.keys(e),r=t.length,n=new Array(r),i=0;i=48&&e<=57}function rt(e){return ge(e)||e>=65&&e<=70||e>=97&&e<=102}function Ii(e){return e>=65&&e<=90}function Bm(e){return e>=97&&e<=122}function Pm(e){return Ii(e)||Bm(e)}function Jm(e){return e>=128}function Li(e){return Pm(e)||Jm(e)||e===95}function Cn(e){return Li(e)||ge(e)||e===45}function Om(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function En(e){return e===10||e===13||e===12}function St(e){return En(e)||e===32||e===9}function Ze(e,t){return!(e!==92||En(t)||t===0)}function Fr(e,t,r){return e===45?Li(t)||t===45||Ze(t,r):Li(e)?!0:e===92?Ze(e,t):!1}function Ni(e,t,r){return e===43||e===45?ge(t)?2:t===46&&ge(r)?3:0:e===46?ge(t)?2:0:ge(e)?1:0}function Ti(e){return e===65279||e===65534?1:0}var aa=new Array(128),Mm=128,kn=130,la=131,Di=132,sa=133;for(let e=0;ee.length)return!1;for(let i=t;i=0&&St(e.charCodeAt(t));t--);return t+1}function An(e,t){for(;t=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Gr=["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"];function jr(e=null,t){return e===null||e.length0?Ti(t.charCodeAt(0)):0,i=jr(e.lines,r),o=jr(e.columns,r),a=e.startLine,u=e.startColumn;for(let s=n;s{}){t=String(t||"");let n=t.length,i=jr(this.offsetAndType,t.length+1),o=jr(this.balance,t.length+1),a=0,u=0,s=0,l=-1;for(this.offsetAndType=null,this.balance=null,r(t,(f,c,d)=>{switch(f){default:o[a]=n;break;case u:{let h=s&ht;for(s=o[h],u=s>>Zt,o[a]=h,o[h++]=a;h>Zt:0}lookupOffset(t){return t+=this.tokenIndex,t0?t>Zt,this.tokenEnd=r&ht):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t>Zt,this.tokenEnd=t&ht):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(t,r){let n=t,i,o;e:for(;n0?this.offsetAndType[n-1]&ht:this.firstCharOffset,r(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.balance[i]===n&&(n=i)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r>Zt;n=a,t(u,i,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,i,o)=>{t[o]={idx:o,type:Gr[r],chunk:this.source.substring(n,i),balance:this.balance[o]}}),t}};function er(e,t){function r(c){return c=e.length){lString(f+h+1).padStart(s)+" |"+d).join(` `)}let o=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-n)-1,u=Math.min(t+n,o.length+1),s=Math.max(4,String(u).length)+1,l=0;r+=(Bf.length-1)*(o[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>ca&&(l=r-Rf+3,r=Rf-2);for(let f=a;f<=u;f++)f>=0&&f0&&o[f].length>l?"\u2026":"")+o[f].substr(l,ca-2)+(o[f].length>l+ca-1?"\u2026":""));return[i(a,t),new Array(r+s+2).join("-")+"^",i(t,u)].filter(Boolean).join(` `)}function ha(e,t,r,n,i){return Object.assign(pr("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(a){return Pf({source:t,line:n,column:i},isNaN(a)?0:a)},get formattedMessage(){return`Parse error: ${e} `+Pf({source:t,line:n,column:i},2)}})}function Jf(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var Of=()=>{},Gm=33,jm=35,da=59,Mf=123,Ff=0;function Um(e){return function(){return this[e]()}}function ma(e){let t=Object.create(null);for(let r in e){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function qm(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:ma(e.atrule),pseudo:ma(e.pseudo),node:ma(e.node)};for(let r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=Um(e.parseContext[r]);break}return{config:t,...t,...t.node}}function zf(e){let t="",r="",n=!1,i=Of,o=!1,a=new Ji,u=Object.assign(new In,qm(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Jf,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(l){return l===Mf?1:0},consumeUntilLeftCurlyBracketOrSemicolon(l){return l===Mf||l===da?1:0},consumeUntilExclamationMarkOrSemicolon(l){return l===Gm||l===da?1:0},consumeUntilSemicolonIncluded(l){return l===da?2:0},createList(){return new $e},createSingleNodeList(l){return new $e().appendData(l)},getFirstListNode(l){return l&&l.first},getLastListNode(l){return l&&l.last},parseWithFallback(l,f){let c=this.tokenIndex;try{return l.call(this)}catch(d){if(o)throw d;let h=f.call(this,c);return o=!0,i(d,h),o=!1,h}},lookupNonWSType(l){let f;do if(f=this.lookupType(l++),f!==13)return f;while(f!==Ff);return Ff},charCodeAt(l){return l>=0&&lh.toUpperCase()),c=`${/[[\](){}]/.test(f)?`"${f}"`:f} is expected`,d=this.tokenStart;switch(l){case 1:this.tokenType===2||this.tokenType===7?(d=this.tokenEnd-1,c="Identifier is expected but function found"):c="Identifier is expected";break;case 4:this.isDelim(jm)&&(this.next(),d++,c="Name is expected");break;case 11:this.tokenType===10&&(d=this.tokenEnd,c="Percent sign is expected");break}this.error(c,d)}this.next()},eatIdent(l){(this.tokenType!==1||this.lookupValue(0,l)===!1)&&this.error(`Identifier "${l}" is expected`),this.next()},eatDelim(l){this.isDelim(l)||this.error(`Delim "${String.fromCharCode(l)}" is expected`),this.next()},getLocation(l,f){return n?a.getLocationRange(l,f,r):null},getLocationFromList(l){if(n){let f=this.getFirstListNode(l),c=this.getLastListNode(l);return a.getLocationRange(f!==null?f.loc.start.offset-a.startOffset:this.tokenStart,c!==null?c.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(l,f){let c=typeof f<"u"&&f",n=!!f.positions,i=typeof f.onParseError=="function"?f.onParseError:Of,o=!1,u.parseAtrulePrelude="parseAtrulePrelude"in f?!!f.parseAtrulePrelude:!0,u.parseRulePrelude="parseRulePrelude"in f?!!f.parseRulePrelude:!0,u.parseValue="parseValue"in f?!!f.parseValue:!0,u.parseCustomProperty="parseCustomProperty"in f?!!f.parseCustomProperty:!1;let{context:c="default",onComment:d}=f;if(!(c in u.context))throw new Error("Unknown context `"+c+"`");typeof d=="function"&&u.forEachToken((_,x,E)=>{if(_===25){let y=u.getLocation(x,E),A=zt(t,E-2,E,"*/")?t.slice(x+2,E-2):t.slice(x+2,E);d(A,y)}});let h=u.context[c].call(u,f);return u.eof||u.error(),h},{SyntaxError:ha,config:u.config})}var lc=im(oc(),1),ac=new Set(["Atrule","Selector","Declaration"]);function sc(e){let t=new lc.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,u=0,s=!1,l=e.node;e.node=function(d){if(d.loc&&d.loc.start&&ac.has(d.type)){let h=d.loc.start.line,_=d.loc.start.column-1;(n.line!==h||n.column!==_)&&(n.line=h,n.column=_,r.line=a,r.column=u,s&&(s=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(o)),s=!0,t.addMapping({source:d.loc.source,original:n,generated:r}))}l.call(this,d),s&&ac.has(d.type)&&(i.line=a,i.column=u)};let f=e.emit;e.emit=function(d,h,_){for(let x=0;xwa,spec:()=>hp});var up=43,fp=45,ba=(e,t)=>{if(e===9&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},uc=[[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],["/","*"]],cp=uc.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 fc(e){let t=new Set(e.map(([r,n])=>ba(r)<<16|ba(n)));return function(r,n,i){let o=ba(n,i),a=i.charCodeAt(0);return(a===fp&&n!==1&&n!==2&&n!==15||a===up?t.has(r<<16|a<<8):t.has(r<<16|o))&&this.emit(" ",13,!0),o}}var hp=fc(uc),wa=fc(cp);var dp=92;function mp(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function pp(e){er(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function cc(e){let t=new Map;for(let r in e.node){let n=e.node[r];typeof(n.generate||n)=="function"&&t.set(r,n.generate||n)}return function(r,n){let i="",o=0,a={node(s){if(t.has(s.type))t.get(s.type).call(u,s);else throw new Error("Unknown node type: "+s.type)},tokenBefore:wa,token(s,l){o=this.tokenBefore(o,s,l),this.emit(l,s,!1),s===9&&l.charCodeAt(0)===dp&&this.emit(` `,13,!0)},emit(s){i+=s},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=sc(a)),n.mode in zi&&(a.tokenBefore=zi[n.mode]));let u={node:s=>a.node(s),children:mp,token:(s,l)=>a.token(s,l),tokenize:pp};return a.node(r),a.result()}}function hc(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof $e)&&(r.children=new $e().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof $e&&(r.children=r.children.toArray())}}),t}}}var{hasOwnProperty:Ca}=Object.prototype,Rn=function(){};function dc(e){return typeof e=="function"?e:Rn}function mc(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function vp(e,t){let r=t.structure,n=[];for(let i in r){if(Ca.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let u of o)u===null?a.nullable=!0:typeof u=="string"?a.type="node":Array.isArray(u)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function _p(e){let t={};for(let r in e.node)if(Ca.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=vp(r,n)}return t}function pc(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,u,s){let l;i&&(l=a[n],a[n]=o);for(let f of r){let c=o[f.name];if(!f.nullable||c){if(f.type==="list"){if(t?c.reduceRight(s,!1):c.reduce(s,!1))return!0}else if(u(c))return!0}}i&&(a[n]=l)}}function vc({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function _c(e){let t=_p(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let l in t)Ca.call(t,l)&&t[l]!==null&&(r[l]=pc(t[l],!1),n[l]=pc(t[l],!0));let a=vc(r),u=vc(n),s=function(l,f){function c(y,A,D){let I=d.call(E,y,A,D);return I===i?!0:I===o?!1:!!(_.hasOwnProperty(y.type)&&_[y.type](y,E,c,x)||h.call(E,y,A,D)===i)}let d=Rn,h=Rn,_=r,x=(y,A,D,I)=>y||c(A,D,I),E={break:i,skip:o,root:l,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof f=="function")d=f;else if(f&&(d=dc(f.enter),h=dc(f.leave),f.reverse&&(_=n),f.visit)){if(a.hasOwnProperty(f.visit))_=f.reverse?u[f.visit]:a[f.visit];else if(!t.hasOwnProperty(f.visit))throw new Error("Bad value `"+f.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");d=mc(d,f.visit),h=mc(h,f.visit)}if(d===Rn&&h===Rn)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(l)};return s.break=i,s.skip=o,s.find=function(l,f){let c=null;return s(l,function(d,h,_){if(f.call(this,d,h,_))return c=d,i}),c},s.findLast=function(l,f){let c=null;return s(l,{reverse:!0,enter(d,h,_){if(f.call(this,d,h,_))return c=d,i}}),c},s.findAll=function(l,f){let c=[];return s(l,function(d,h,_){f.call(this,d,h,_)&&c.push(d)}),c},s}function gp(e){return e}function xp(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function yp(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function bp(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Ea(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Ea(e,t,r,n){let i;switch(e.type){case"Group":i=bp(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Ea(e.term,t,r,n)+t(xp(e),e);case"Type":i="<"+e.name+(e.opts?t(yp(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Vr(e,t){let r=gp,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Ea(e,r,n,i)}var gc={offset:0,line:1,column:1};function wp(e,t){let r=e.tokens,n=e.longestMatch,i=n1?(f=Gi(o||t,"end")||Bn(gc,l),c=Bn(f)):(f=Gi(o,"start")||Bn(Gi(t,"start")||gc,l.slice(0,a)),c=Gi(o,"end")||Bn(f,l.substr(a,u))),{css:l,mismatchOffset:a,mismatchLength:u,start:f,end:c}}function Gi(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?Bn(r):r:null}function Bn({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var Xr=function(e,t){let r=pr("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},xc=function(e,t,r,n){let i=pr("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:u,start:s,end:l}=wp(n,r);return i.rawMessage=e,i.syntax=t?Vr(t):"",i.css=o,i.mismatchOffset=a,i.mismatchLength=u,i.message=e+` syntax: `+i.syntax+` value: `+(o||"")+` --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,s),i.loc={source:r&&r.loc&&r.loc.source||"",start:s,end:l},i};var ji=new Map,Wr=new Map,Ui=45,qi=Cp,ka=Ep;function Vi(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ui&&e.charCodeAt(t+1)===Ui}function yc(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ui&&e.charCodeAt(t+1)!==Ui){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function Cp(e){if(ji.has(e))return ji.get(e);let t=e.toLowerCase(),r=ji.get(t);if(r===void 0){let n=Vi(t,0),i=n?"":yc(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return ji.set(e,r),r}function Ep(e){if(Wr.has(e))return Wr.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=Vi(t,r.length);if(!n&&(t=t.toLowerCase(),Wr.has(t))){let u=Wr.get(t);return Wr.set(e,u),u}let i=n?"":yc(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return Wr.set(e,a),a}var Xi=["initial","inherit","unset","revert","revert-layer"];var Jn=43,It=45,Aa=110,Hr=!0,Ap=!1;function La(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Pn(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function tr(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Jn||i===It){if(r)return 0;t++}for(;t6)return 0}return n}function Wi(e,t,r){if(!e)return 0;for(;Na(r(t),wc);){if(++e>6)return 0;t++}return t}function Ta(e,t){let r=0;if(e===null||e.type!==1||!Ft(e.value,0,Lp)||(e=t(++r),e===null))return 0;if(Na(e,Sp))return e=t(++r),e===null?0:e.type===1?Wi(On(e,0,!0),++r,t):Na(e,wc)?Wi(1,++r,t):0;if(e.type===10){let n=On(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!Ip(e,bc)||!On(e,1,!1)?0:r+1:Wi(n,r,t))}return e.type===12?Wi(On(e,1,!0),++r,t):0}var Np=["calc(","-moz-calc(","-webkit-calc("],Da=new Map([[2,22],[21,22],[19,20],[23,24]]);function bt(e,t){return te.max&&typeof e.max!="string")return!0}return!1}function Tp(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=Da.get(e.type);break}i++}while(e=t(i));return i}function mt(e){return function(t,r,n){return t===null?0:t.type===2&&Ec(t.value,Np)?Tp(t,r):e(t,r,n)}}function de(e){return function(t){return t===null||t.type!==e?0:1}}function Dp(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return Ec(t,Xi)||Cc(t,"default")?0:1}function Rp(e){return e===null||e.type!==1||bt(e.value,0)!==45||bt(e.value,1)!==45?0:1}function Bp(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;rVp,decibel:()=>Kp,flex:()=>Yp,frequency:()=>Wp,length:()=>qp,resolution:()=>Hp,semitones:()=>Qp,time:()=>Xp});var qp=["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"],Vp=["deg","grad","rad","turn"],Xp=["s","ms"],Wp=["hz","khz"],Hp=["dpi","dpcm","dppx","x"],Yp=["fr"],Kp=["db"],Qp=["st"];function Ra(e,t,r){return Object.assign(pr("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+` `+t+` --`+new Array((r||t.length)+1).join("-")+"^"})}var Zp=9,$p=10,ev=12,tv=13,rv=32,Ki=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),Rc={" ":1,"&&":2,"||":3,"|":4};function $i(e){return e.substringToPos(e.findWsEnd(e.pos))}function Yr(e){let t=e.pos;for(;t=128||Mn[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function eo(e){let t=e.pos;for(;t57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function fv(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Bc(e){let t=null,r=null;return e.eat(Zi),t=eo(e),e.charCode()===Ma?(e.pos++,e.charCode()!==Tc&&(r=eo(e))):r=t,e.eat(Tc),{min:Number(t),max:r?Number(r):0}}function cv(e){let t=null,r=!1;switch(e.charCode()){case Oc:e.pos++,t={min:0,max:0};break;case Oa:e.pos++,t={min:1,max:0};break;case Pa:e.pos++,t={min:0,max:1};break;case Ja:e.pos++,r=!0,e.charCode()===Zi?t=Bc(e):e.charCode()===Pa?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Zi:t=Bc(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Kr(e,t){let r=cv(e);return r!==null?(r.term=t,e.charCode()===Ja&&e.charCodeAt(e.pos-1)===Oa?Kr(e,r):r):t}function Ba(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function hv(e){let t;return e.eat(Fa),e.eat(Qi),t=Yr(e),e.eat(Qi),e.eat(Mc),Kr(e,{type:"Property",name:t})}function dv(e){let t=null,r=null,n=1;return e.eat(to),e.charCode()===Ic&&(e.peek(),n=-1),n==-1&&e.charCode()===Dc?e.peek():(t=n*Number(eo(e)),Mn[e.charCode()]!==0&&(t+=Yr(e))),$i(e),e.eat(Ma),$i(e),e.charCode()===Dc?e.peek():(n=1,e.charCode()===Ic&&(e.peek(),n=-1),r=n*Number(eo(e)),Mn[e.charCode()]!==0&&(r+=Yr(e))),e.eat(za),{type:"Range",min:t,max:r}}function mv(e){let t,r=null;return e.eat(Fa),t=Yr(e),e.charCode()===Jc&&e.nextCharCode()===sv&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===to&&($i(e),r=dv(e)),e.eat(Mc),Kr(e,{type:"Type",name:t,opts:r})}function pv(e){let t=Yr(e);return e.charCode()===Jc?(e.pos++,{type:"Function",name:t}):Kr(e,{type:"Keyword",name:t})}function vv(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>Rc[i]-Rc[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function Fc(e){let t=[],r={},n,i=null,o=e.pos;for(;n=gv(e);)n.type!=="Spaces"&&(n.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[n.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(n),i=n,o=e.pos);return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:vv(t,r)||" ",disallowEmpty:!1,explicit:!1}}function _v(e){let t;return e.eat(to),t=Fc(e),e.eat(za),t.explicit=!0,e.charCode()===Pc&&(e.pos++,t.disallowEmpty=!0),t}function gv(e){let t=e.charCode();if(t<128&&Mn[t]===1)return pv(e);switch(t){case za:break;case to:return Kr(e,_v(e));case Fa:return e.nextCharCode()===Qi?hv(e):mv(e);case Nc:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Nc?2:1))};case Lc:return e.pos++,e.eat(Lc),{type:"Combinator",value:"&&"};case Ma:return e.pos++,{type:"Comma"};case Qi:return Kr(e,{type:"String",value:fv(e)});case lv:case nv:case iv:case av:case ov:return{type:"Spaces",value:$i(e)};case uv:return t=e.nextCharCode(),t<128&&Mn[t]===1?(e.pos++,{type:"AtKeyword",name:Yr(e)}):Ba(e);case Oc:case Oa:case Pa:case Ja:case Pc:break;case Zi:if(t=e.nextCharCode(),t<48||t>57)return Ba(e);break;default:return Ba(e)}}function Fn(e){let t=new Ki(e),r=Fc(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var zn=function(){};function zc(e){return typeof e=="function"?e:zn}function Ga(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(r,a)}let i=zn,o=zn;if(typeof t=="function"?i=t:t&&(i=zc(t.enter),o=zc(t.leave)),i===zn&&o===zn)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}var yv={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}};function bv(e){let t=[];return er(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function Gc(e,t){return typeof e=="string"?bv(e):t.generate(e,yv)}var K={type:"Match"},ie={type:"Mismatch"},ro={type:"DisallowEmpty"},wv=40,Cv=41;function Xe(e,t,r){return t===K&&r===ie||e===K&&t===K&&r===K?e:(e.type==="If"&&e.else===ie&&t===K&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function Uc(e){return e.length>2&&e.charCodeAt(e.length-2)===wv&&e.charCodeAt(e.length-1)===Cv}function jc(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&Uc(e.name)}function ja(e,t,r){switch(e){case" ":{let n=K;for(let i=t.length-1;i>=0;i--){let o=t[i];n=Xe(o,n,ie)}return n}case"|":{let n=ie,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(jc(a)&&(i===null&&o>0&&jc(t[o-1])&&(i=Object.create(null),n=Xe({type:"Enum",map:i},K,n)),i!==null)){let u=(Uc(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(u in i)){i[u]=a;continue}}i=null,n=Xe(a,K,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=ie;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=ja(e,t.filter(function(u){return u!==o}),!1):a=K,n=Xe(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?K:ie;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=ja(e,t.filter(function(u){return u!==o}),!0):a=K,n=Xe(o,a,n)}return n}}}function Ev(e){let t=K,r=Ua(e.term);if(e.max===0)r=Xe(r,ro,ie),t=Xe(r,null,ie),t.then=Xe(K,K,t),e.comma&&(t.then.else=Xe({type:"Comma",syntax:e},t,ie));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==K&&(t=Xe({type:"Comma",syntax:e},t,ie)),t=Xe(r,Xe(K,K,t),ie);if(e.min===0)t=Xe(K,K,t);else for(let n=0;n=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function Tv(e){return e.type!==9?!1:e.value!=="?"}function Wc(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||Tv(e)}function Hc(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function Dv(e,t,r){function n(){do A++,y=AD&&(D=A)}function l(){c={syntax:t.syntax,opts:t.syntax.opts||c!==null&&c.opts||null,prev:c},I={type:Va,syntax:t.syntax,token:I.token,prev:I}}function f(){I.type===Va?I=I.prev:I={type:Yc,syntax:c.syntax,token:I.token,prev:I},c=c.prev}let c=null,d=null,h=null,_=null,x=0,E=null,y=null,A=-1,D=0,I={type:kv,syntax:null,token:null,prev:null};for(n();E===null&&++xh.tokenIndex)&&(h=_,_=!1);else if(h===null){E=Sv;break}t=h.nextState,d=h.thenStack,c=h.syntaxStack,I=h.matchStack,A=h.tokenIndex,y=AA){for(;A":"<'"+t.name+"'>"));if(_!==!1&&y!==null&&t.type==="Type"&&(t.name==="custom-ident"&&y.type===1||t.name==="length"&&y.value==="0")){_===null&&(_=o(t,h)),t=ie;break}l(),t=Q.match;break}case"Keyword":{let J=t.name;if(y!==null){let Q=y.value;if(Q.indexOf("\\")!==-1&&(Q=Q.replace(/\\[09].*$/,"")),qa(Q,J)){s(),t=K;break}}t=ie;break}case"AtKeyword":case"Function":if(y!==null&&qa(y.value,t.name)){s(),t=K;break}t=ie;break;case"Token":if(y!==null&&y.value===t.value){s(),t=K;break}t=ie;break;case"Comma":y!==null&&y.type===18?Wc(I.token)?t=ie:(s(),t=Hc(y)?ie:K):t=Wc(I.token)||Hc(y)?K:ie;break;case"String":let T="",B=A;for(;BKc,isKeyword:()=>Pv,isProperty:()=>Bv,isType:()=>Rv});function Kc(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;or.type==="Type"&&r.name===t)}function Bv(e,t){return Wa(this,e,r=>r.type==="Property"&&r.name===t)}function Pv(e){return Wa(this,e,t=>t.type==="Keyword")}function Wa(e,t,r){let n=Kc.call(e,t);return n===null?!1:n.some(r)}function Qc(e){return"node"in e?e.node:Qc(e.match[0])}function Zc(e){return"node"in e?e.node:Zc(e.match[e.match.length-1])}function Ya(e,t,r,n,i){function o(u){if(u.syntax!==null&&u.syntax.type===n&&u.syntax.name===i){let s=Qc(u),l=Zc(u);e.syntax.walk(t,function(f,c,d){if(f===s){let h=new $e;do{if(h.appendData(c.data),c.data===l)break;c=c.next}while(c!==null);a.push({parent:d,nodes:h})}})}Array.isArray(u.match)&&u.match.forEach(o)}let a=[];return r.matched!==null&&o(r.matched),a}var{hasOwnProperty:Gn}=Object.prototype;function Ka(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function $c(e){return!!e&&Ka(e.offset)&&Ka(e.line)&&Ka(e.column)}function Jv(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(let o in n){let a=!0;if(Gn.call(n,o)!==!1){if(o==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!$c(n.loc.start))o+=".start";else if(!$c(n.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(let u=0;!a&&u");else if(Array.isArray(l))a.push("List");else throw new Error("Wrong value `"+l+"` in `"+e+"."+o+"` structure definition")}i[o]=a.join(" | ")}return{docs:i,check:Jv(e,n)}}function e0(e){let t={};if(e.node){for(let r in e.node)if(Gn.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=Ov(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Mv=no(Xi.join(" | "));function Qa(e,t,r){let n={};for(let i in e)e[i].syntax&&(n[i]=r?e[i].syntax:Vr(e[i].syntax,{compact:t}));return n}function Fv(e,t,r){let n={};for(let[i,o]of Object.entries(e))n[i]={prelude:o.prelude&&(r?o.prelude.syntax:Vr(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&Qa(o.descriptors,t,r)};return n}function zv(e){for(let t=0;t(n[i]=this.createDescriptor(r.descriptors[i],"AtruleDescriptor",i,t),n),Object.create(null)):null})}addProperty_(t,r){r&&(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){r&&(this.types[t]=this.createDescriptor(r,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new Xr("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t);if(!i.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!r&&!Qr(this,i.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t),o=qi(r);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[o.name]&&!i.descriptors[o.basename])return new Xr("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new Xr("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);if(n)return wt(null,n);let i=this.getAtrule(t);return i.prelude?Qr(this,i.prelude,r||"",!1):wt(null,null)}matchAtruleDescriptor(t,r,n){let i=this.checkAtruleDescriptorName(t,r);if(i)return wt(null,i);let o=this.getAtrule(t),a=qi(r);return Qr(this,o.descriptors[a.name]||o.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?wt(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(ka(t).custom)return wt(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?wt(null,n):Qr(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?Qr(this,n,r,!1):wt(null,new Xr("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?wt(null,new Xr("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Qr(this,t,r,!1))}findValueFragments(t,r,n,i){return Ya(this,r,this.matchProperty(t,r),n,i)}findDeclarationValueFragments(t,r,n){return Ya(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let i=[];return this.syntax.walk(t,{visit:"Declaration",enter:o=>{i.push.apply(i,this.findDeclarationValueFragments(o,r,n))}}),i}getAtrule(t,r=!0){let n=qi(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=ka(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(i,o,a,u){if(a.has(o))return a.get(o);a.set(o,!1),u.syntax!==null&&Ga(u.syntax,function(s){if(s.type!=="Type"&&s.type!=="Property")return;let l=s.type==="Type"?i.types:i.properties,f=s.type==="Type"?r:n;(!hasOwnProperty.call(l,s.name)||t(i,s.name,f,l[s.name]))&&a.set(o,!0)},this)}let r=new Map,n=new Map;for(let i in this.types)t(this,i,r,this.types[i]);for(let i in this.properties)t(this,i,n,this.properties[i]);return r=[...r.keys()].filter(i=>r.get(i)),n=[...n.keys()].filter(i=>n.get(i)),r.length||n.length?{types:r,properties:n}:null}dump(t,r){return{generic:this.generic,units:this.units,types:Qa(this.types,!r,t),properties:Qa(this.properties,!r,t),atrules:Fv(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}};function Za(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function t0(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))if(i){r[n]={};for(let o of Object.keys(i))t.includes(o)&&(r[n][o]=i[o])}return r}function jn(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let u=r[n][o]||{},s=r[n][o]={prelude:u.prelude||null,descriptors:{...u.descriptors}};if(a){s.prelude=a.prelude?Za(s.prelude,a.prelude):s.prelude||null;for(let[l,f]of Object.entries(a.descriptors||{}))s.descriptors[l]=f?Za(s.descriptors[l],f):null;Object.keys(s.descriptors).length||(s.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Za(r[n][o],a);break;case"scope":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]={...r[n][o],...a};break;case"parseContext":r[n]={...e[n],...i};break;case"atrule":case"pseudo":r[n]={...e[n],...t0(i,["parse"])};break;case"node":r[n]={...e[n],...t0(i,["name","structure","parse","generate","walkContext"])};break}return r}function r0(e){let t=zf(e),r=_c(e),n=cc(e),{fromPlainObject:i,toPlainObject:o}=hc(r),a={lexer:null,createLexer:u=>new Zr(u,a,a.lexer.structure),tokenize:er,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(u){let s=jn({},e);return r0(typeof u=="function"?u(s,Object.assign):jn(s,u))}};return a.lexer=new Zr({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var $a=e=>r0(jn({},e));var n0={generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( )","alpha-value":"|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|","asin()":"asin( )","atan()":"atan( )","atan2()":"atan2( , )",attachment:"scroll|fixed|local","attr()":"attr( ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"||||","bg-image":"none|","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blur()":"blur( )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( )","calc()":"calc( )","calc-sum":" [['+'|'-'] ]*","calc-product":" ['*' |'/' ]*","calc-value":"||||( )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"|||||||||currentcolor|","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? * [ *]*]!","compound-selector-list":"#","complex-selector":" [? ]*","complex-selector-list":"#","conic-gradient()":"conic-gradient( [from ]? [at ]? , )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents||||||]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contrast()":"contrast( [] )","cos()":"cos( )",counter:"|","counter()":"counter( , ? )","counter-name":"","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters( , , ? )","cross-fade()":"cross-fade( , ? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( , , , )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( {2,3} ? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( , [first|start|last|first-except]? )|element( )","ellipse()":"ellipse( [{2}]? [at ]? )","ending-shape":"circle|ellipse","env()":"env( , ? )","exp()":"exp( )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{' '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","fill-rule":"nonzero|evenodd","filter-function":"|||||||||","filter-function-list":"[|]+","final-bg-layer":"<'background-color'>|||| [/ ]?||||||||","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax( , )|minmax( , )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|","frequency-percentage":"|","general-enclosed":"[ )]|( )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"|fill-box|stroke-box|view-box",gradient:"||||||<-legacy-gradient>","grayscale()":"grayscale( )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( [/ ]? )|hsl( , , , ? )","hsla()":"hsla( [/ ]? )|hsla( , , , ? )",hue:"|","hue-rotate()":"hue-rotate( )","hwb()":"hwb( [|none] [|none] [|none] [/ [|none]]? )","hypot()":"hypot( # )",image:"||||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] [||type( )]","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"|min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert( )","keyframes-name":"|","keyframe-block":"# { }","keyframe-block-list":"+","keyframe-selector":"from|to|","lab()":"lab( [||none] [||none] [||none] [/ [|none]]? )","layer()":"layer( )","layer-name":" ['.' ]*","lch()":"lch( [||none] [||none] [|none] [/ [|none]]? )","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","line-names":"'[' * ']'","line-name-list":"[|]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear-color-hint":"","linear-color-stop":" ?","linear-gradient()":"linear-gradient( [|to ]? , )","log()":"log( , ? )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"( )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]? [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='? '<' '='? | '>' '='? '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [|min-content|max-content|auto] , [||min-content|max-content|auto] )","mod()":"mod( , )","name-repeat":"repeat( [|auto-fill] , + )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"|even|odd","opacity()":"opacity( [] )","overflow-position":"unsafe|safe","outline-radius":"|","page-body":"? [; ]?| ","page-margin-box":" '{' '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[#]?","page-selector":"+| *","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [ ,]? )","paint()":"paint( , ? )","perspective()":"perspective( [|none] )","polygon()":"polygon( ? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pow()":"pow( , )","pseudo-class-selector":"':' |':' ')'","pseudo-element-selector":"':' ","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [||]? [at ]? , )",ratio:" [/ ]?","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","rem()":"rem( , )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from ]? [at ]? , )","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? , )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? , )","reversed-counter-name":"reversed( )","rgb()":"rgb( {3} [/ ]? )|rgb( {3} [/ ]? )|rgb( #{3} , ? )|rgb( #{3} , ? )","rgba()":"rgba( {3} [/ ]? )|rgba( {3} [/ ]? )|rgba( #{3} , ? )|rgba( #{3} , ? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d( , , , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","round()":"round( ? , , )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( )","scale()":"scale( [|]#{1,2} )","scale3d()":"scale3d( [|]#{3} )","scaleX()":"scaleX( [|] )","scaleY()":"scaleY( [|] )","scaleZ()":"scaleZ( [|] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","sign()":"sign( )","skew()":"skew( [|] , [|]? )","skewX()":"skewX( [|] )","skewY()":"skewY( [|] )","sepia()":"sepia( )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect( , , , )|rect( )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( )","single-animation":"