1var e=Symbol(),t=(n,r,i)=>{let a=r[n.type];if(!(a?.enter&&a.enter(n,i)===e)){if(n.type===`root`)for(let e of n.children)t(e,r,n);if(n.type===`element`&&i.children.includes(n))for(let e of n.children)t(e,r,n);a?.exit&&a.exit(n,i)}},n=(e,n,r,i,a)=>{for(let o of r){let r=i?.[o.name];if(r===!1)continue;let s={...o.params,...a,...r},c=o.fn(e,s,n);c!=null&&t(e,c)}},r=({name:e,plugins:t})=>({name:e,isPreset:!0,plugins:Object.freeze(t),fn:(r,i,a)=>{let{floatPrecision:o,overrides:s}=i,c={};if(o!=null&&(c.floatPrecision=o),s){let n=t.map(({name:e})=>e);for(let t of Object.keys(s))n.includes(t)||console.warn(`You are trying to configure ${t} which is not part of ${e}.\nTry to put it before or after, for example\n\nplugins: [\n {\n name: '${e}',\n },\n '${t}'\n]\n`)}n(r,a,t,s,c)}});function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var a,o;function s(){return o?a:(o=1,a={trueFunc:function(){return!0},falseFunc:function(){return!1}},a)}var c=s(),l=i(c),u;(function(e){e.Attribute=`attribute`,e.Pseudo=`pseudo`,e.PseudoElement=`pseudo-element`,e.Tag=`tag`,e.Universal=`universal`,e.Adjacent=`adjacent`,e.Child=`child`,e.Descendant=`descendant`,e.Parent=`parent`,e.Sibling=`sibling`,e.ColumnCombinator=`column-combinator`})(u||={});var d;(function(e){e.Any=`any`,e.Element=`element`,e.End=`end`,e.Equals=`equals`,e.Exists=`exists`,e.Hyphen=`hyphen`,e.Not=`not`,e.Start=`start`})(d||={});var f=/^[^#\\]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\u00B0-\uFFFF-])+/,p=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,m;(function(e){e[e.LeftParenthesis=40]=`LeftParenthesis`,e[e.RightParenthesis=41]=`RightParenthesis`,e[e.LeftSquareBracket=91]=`LeftSquareBracket`,e[e.RightSquareBracket=93]=`RightSquareBracket`,e[e.Comma=44]=`Comma`,e[e.Period=46]=`Period`,e[e.Colon=58]=`Colon`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Plus=43]=`Plus`,e[e.Tilde=126]=`Tilde`,e[e.QuestionMark=63]=`QuestionMark`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Slash=47]=`Slash`,e[e.Equal=61]=`Equal`,e[e.Dollar=36]=`Dollar`,e[e.Pipe=124]=`Pipe`,e[e.Circumflex=94]=`Circumflex`,e[e.Asterisk=42]=`Asterisk`,e[e.GreaterThan=62]=`GreaterThan`,e[e.LessThan=60]=`LessThan`,e[e.Hash=35]=`Hash`,e[e.LowerI=105]=`LowerI`,e[e.LowerS=115]=`LowerS`,e[e.BackSlash=92]=`BackSlash`,e[e.Space=32]=`Space`,e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`})(m||={});var h=new Map([[m.Tilde,d.Element],[m.Circumflex,d.Start],[m.Dollar,d.End],[m.Asterisk,d.Any],[m.ExclamationMark,d.Not],[m.Pipe,d.Hyphen]]),g=new Set([`has`,`not`,`matches`,`is`,`where`,`host`,`host-context`]),_=new Set([`before`,`after`,`first-line`,`first-letter`]);function v(e){switch(e.type){case u.Adjacent:case u.Child:case u.Descendant:case u.Parent:case u.Sibling:case u.ColumnCombinator:return!0;default:return!1}}var y=new Set([`contains`,`icontains`]);function b(e,t,n){let r=Number.parseInt(t,16)-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function x(e){return e.replace(p,b)}function ee(e){return e===m.SingleQuote||e===m.DoubleQuote}function te(e){return e===m.Space||e===m.Tab||e===m.NewLine||e===m.FormFeed||e===m.CarriageReturn}function ne(e){let t=[],n=re(t,`${e}`,0);if(n<e.length)throw Error(`Unmatched selector: ${e.slice(n)}`);return t}function re(e,t,n){let r=[];function i(e){let r=t.slice(n+e).match(f);if(!r)throw Error(`Expected name, found ${t.slice(n)}`);let[i]=r;return n+=e+i.length,x(i)}function a(e){for(n+=e;n<t.length&&te(t.charCodeAt(n));)n++}function o(){n+=1;let e=n;for(let r=1;n<t.length;n++)switch(t.charCodeAt(n)){case m.BackSlash:n+=1;break;case m.LeftParenthesis:r+=1;break;case m.RightParenthesis:if(--r,r===0)return x(t.slice(e,n++))}throw Error(`Parenthesis not matched`)}function s(){if(r.length>0&&v(r[r.length-1]))throw Error(`Did not expect successive traversals.`)}function c(e){if(r.length>0&&r[r.length-1].type===u.Descendant){r[r.length-1].type=e;return}s(),r.push({type:e})}function l(e,t){r.push({type:u.Attribute,name:e,action:t,value:i(1),namespace:null,ignoreCase:`quirks`})}function p(){if(r.length>0&&r[r.length-1].type===u.Descendant&&r.pop(),r.length===0)throw Error(`Empty sub-selector`);e.push(r)}if(a(0),t.length===n)return n;loop:for(;n<t.length;){let e=t.charCodeAt(n);switch(e){case m.Space:case m.Tab:case m.NewLine:case m.FormFeed:case m.CarriageReturn:(r.length===0||r[0].type!==u.Descendant)&&(s(),r.push({type:u.De
1scendant})),a(1);break;case m.GreaterThan:c(u.Child),a(1);break;case m.LessThan:c(u.Parent),a(1);break;case m.Tilde:c(u.Sibling),a(1);break;case m.Plus:c(u.Adjacent),a(1);break;case m.Period:l(`class`,d.Element);break;case m.Hash:l(`id`,d.Equals);break;case m.LeftSquareBracket:{a(1);let e,o=null;t.charCodeAt(n)===m.Pipe?e=i(1):t.startsWith(`*|`,n)?(o=`*`,e=i(2)):(e=i(0),t.charCodeAt(n)===m.Pipe&&t.charCodeAt(n+1)!==m.Equal&&(o=e,e=i(1))),a(0);let s=d.Exists,c=h.get(t.charCodeAt(n));if(c){if(s=c,t.charCodeAt(n+1)!==m.Equal)throw Error("Expected `=`");a(2)}else t.charCodeAt(n)===m.Equal&&(s=d.Equals,a(1));let l=``,f=null;if(s!==`exists`){if(ee(t.charCodeAt(n))){let e=t.charCodeAt(n);n+=1;let r=n;for(;n<t.length&&t.charCodeAt(n)!==e;)n+=t.charCodeAt(n)===m.BackSlash?2:1;if(t.charCodeAt(n)!==e)throw Error(`Attribute value didn't end`);l=x(t.slice(r,n)),n+=1}else{let e=n;for(;n<t.length&&!te(t.charCodeAt(n))&&t.charCodeAt(n)!==m.RightSquareBracket;)n+=t.charCodeAt(n)===m.BackSlash?2:1;l=x(t.slice(e,n))}switch(a(0),t.charCodeAt(n)|32){case m.LowerI:f=!0,a(1);break;case m.LowerS:f=!1,a(1)}}if(t.charCodeAt(n)!==m.RightSquareBracket)throw Error(`Attribute selector didn't terminate`);n+=1;let p={type:u.Attribute,name:e,action:s,value:l,namespace:o,ignoreCase:f};r.push(p);break}case m.Colon:{if(t.charCodeAt(n+1)===m.Colon){r.push({type:u.PseudoElement,name:i(2).toLowerCase(),data:t.charCodeAt(n)===m.LeftParenthesis?o():null});break}let e=i(1).toLowerCase();if(_.has(e)){r.push({type:u.PseudoElement,name:e,data:null});break}let a=null;if(t.charCodeAt(n)===m.LeftParenthesis){if(g.has(e)){if(ee(t.charCodeAt(n+1)))throw Error(`Pseudo-selector ${e} cannot be quoted`);if(a=[],n=re(a,t,n+1),t.charCodeAt(n)!==m.RightParenthesis)throw Error(`Missing closing parenthesis in :${e} (${t})`);n+=1}else{if(a=o(),y.has(e)){let e=a.charCodeAt(0);e===a.charCodeAt(a.length-1)&&ee(e)&&(a=a.slice(1,-1))}a=x(a)}}r.push({type:u.Pseudo,name:e,data:a});break}case m.Comma:p(),r=[],a(1);break;default:{if(t.startsWith(`/*`,n)){let e=t.indexOf(`*/`,n+2);if(e<0)throw Error(`Comment was not terminated`);n=e+2,r.length===0&&a(0);break}let o=null,s;if(e===m.Asterisk)n+=1,s=`*`;else if(e===m.Pipe){if(s=``,t.charCodeAt(n+1)===m.Pipe){c(u.ColumnCombinator),a(2);break}}else{if(!f.test(t.slice(n)))break loop;s=i(0)}t.charCodeAt(n)===m.Pipe&&t.charCodeAt(n+1)!==m.Pipe&&(o=s,t.charCodeAt(n+1)===m.Asterisk?(s=`*`,n+=2):s=i(1)),r.push(s===`*`?{type:u.Universal,namespace:o}:{type:u.Tag,name:s,namespace:o})}}}return p(),n}var S;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(S||={});function C(e){return e.type===S.Tag||e.type===S.Script||e.type===S.Style}var ie=S.Root,ae=S.Text,oe=S.Directive,se=S.Comment,w=S.Script,ce=S.Style,le=S.Tag,ue=S.CDATA,de=S.Doctype;function fe(e){return C(e)}function pe(e){return e.type===S.CDATA}function me(e){return e.type===S.Text}function he(e){return e.type===S.Comment}function ge(e){return e.type===S.Root}function _e(e){return Object.prototype.hasOwnProperty.call(e,`children`)}var ve=/["&'<>$\x80-\uFFFF]/g,ye=new Map([[34,`"`],[38,`&`],[39,`'`],[60,`<`],[62,`>`]]),be=String.prototype.codePointAt==null?(e,t)=>(e.charCodeAt(t)&64512)==55296?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t):(e,t)=>e.codePointAt(t);function xe(e){let t=``,n=0,r;for(;(r=ve.exec(e))!==null;){let i=r.index,a=e.charCodeAt(i),o=ye.get(a);o===void 0?(t+=`${e.substring(n,i)}&#x${be(e,i).toString(16)};`,n=ve.lastIndex+=Number((a&64512)==55296)):(t+=e.substring(n,i)+o,n=i+1)}return t+e.substr(n)}function Se(e,t){return function(n){let r,i=0,a=``;for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}var Ce=Se(/["&\u00A0]/g,new Map([[34,`"`],[38,`&`],[160,` `]])),we=Se(/[&<>\u00A0]/g,new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]])),Te=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),Ee=new Map(`definitionURL.attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),De=new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function Oe(e){return e.replace(/"/g,`"`)}function ke(e,t){if(!e)return;let n=(t.encodeEntities??t.decodeEntities)===!1?Oe:t.xmlMode||t.encodeEntities!==`utf8`?xe:Ce;return Object.keys(e).map(r=>{let i=e[r]??``;return t.xmlMode===`foreign`&&(r=Ee.get(r)??r),!t.emptyAttrs&&!t.xmlMode&&i===``?r:`${r}="${n(i)}"`}).join(` `)}var Ae=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function je(e,t={}){let n=`length`in e?e:[e],r=``;for(let e=0;e<n.length;e++)r+=Me(n[e],t);return r}function Me(e,t){switch(e.type){case ie:return je(e.children,t);case de:case oe:return Ie(e);case se:return ze(e);case ue:return Re(e);case w:case ce:case le:return Fe(e,t);case ae:return Le(e,t)}}var Ne=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),Pe=new Set([`svg`,`math`]);
1function Fe(e,t){t.xmlMode===`foreign`&&(e.name=Te.get(e.name)??e.name,e.parent&&Ne.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&Pe.has(e.name)&&(t={...t,xmlMode:`foreign`});let n=`<${e.name}`,r=ke(e.attribs,t);return r&&(n+=` ${r}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&Ae.has(e.name))?(t.xmlMode||(n+=` `),n+=`/>`):(n+=`>`,e.children.length>0&&(n+=je(e.children,t)),!t.xmlMode&&Ae.has(e.name)||(n+=`</${e.name}>`)),n}function Ie(e){return`<${e.data}>`}function Le(e,t){let n=e.data||``;return(t.encodeEntities??t.decodeEntities)===!1||!t.xmlMode&&e.parent&&De.has(e.parent.name)||(n=t.xmlMode||t.encodeEntities!==`utf8`?xe(n):we(n)),n}function Re(e){return`<![CDATA[${e.children[0].data}]]>`}function ze(e){return`\x3c!--${e.data}--\x3e`}function Be(e,t){return je(e,t)}function Ve(e,t){return _e(e)?e.children.map(e=>Be(e,t)).join(``):``}function He(e){return Array.isArray(e)?e.map(He).join(``):fe(e)?e.name===`br`?` 2`:He(e.children):pe(e)?He(e.children):me(e)?e.data:``}function Ue(e){return Array.isArray(e)?e.map(Ue).join(``):_e(e)&&!he(e)?Ue(e.children):me(e)?e.data:``}function We(e){return Array.isArray(e)?e.map(We).join(``):_e(e)&&(e.type===S.Tag||pe(e))?We(e.children):me(e)?e.data:``}function Ge(e){return _e(e)?e.children:[]}function Ke(e){return e.parent||null}function qe(e){let t=Ke(e);if(t!=null)return Ge(t);let n=[e],{prev:r,next:i}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;i!=null;)n.push(i),{next:i}=i;return n}function Je(e,t){return e.attribs?.[t]}function Ye(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function Xe(e){return e.name}function Ze(e){let{next:t}=e;for(;t!==null&&!fe(t);)({next:t}=t);return t}function Qe(e){let{prev:t}=e;for(;t!==null&&!fe(t);)({prev:t}=t);return t}function $e(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function et(e,t){let n=t.prev=e.prev;n&&(n.next=t);let r=t.next=e.next;r&&(r.prev=t);let i=t.parent=e.parent;if(i){let n=i.children;n[n.lastIndexOf(e)]=t,e.parent=null}}function tt(e,t){if($e(t),t.next=null,t.parent=e,e.children.push(t)>1){let n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function nt(e,t){$e(t);let{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){let e=n.children;e.splice(e.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function rt(e,t){if($e(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){let n=e.children[1];n.prev=t,t.next=n}else t.next=null}function it(e,t){$e(t);let{parent:n}=e;if(n){let r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function at(e,t,n=!0,r=1/0){return ot(e,Array.isArray(t)?t:[t],n,r)}function ot(e,t,n,r){let i=[],a=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=a[0].length){if(o.length===1)return i;a.shift(),o.shift();continue}let t=a[0][o[0]++];if(e(t)&&(i.push(t),--r<=0))return i;n&&_e(t)&&t.children.length>0&&(o.unshift(0),a.unshift(t.children))}}function st(e,t){return t.find(e)}function ct(e,t,n=!0){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t];if(fe(i)&&e(i))return i;if(n&&_e(i)&&i.children.length>0){let t=ct(e,i.children,!0);if(t)return t}}return null}function lt(e,t){return(Array.isArray(t)?t:[t]).some(t=>fe(t)&&e(t)||_e(t)&<(e,t.children))}function ut(e,t){let n=[],r=[Array.isArray(t)?t:[t]],i=[0];for(;;){if(i[0]>=r[0].length){if(r.length===1)return n;r.shift(),i.shift();continue}let t=r[0][i[0]++];fe(t)&&e(t)&&n.push(t),_e(t)&&t.children.length>0&&(i.unshift(0),r.unshift(t.children))}}var dt={tag_name(e){return typeof e==`function`?t=>fe(t)&&e(t.name):e===`*`?fe:t=>fe(t)&&t.name===e},tag_type(e){return typeof e==`function`?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e==`function`?t=>me(t)&&e(t.data):t=>me(t)&&t.data===e}};function ft(e,t){return typeof t==`function`?n=>fe(n)&&t(n.attribs[e]):n=>fe(n)&&n.attribs[e]===t}function pt(e,t){return n=>e(n)||t(n)}function mt(e){let t=Object.keys(e).map(t=>{let n=e[t];return Object.prototype.hasOwnProperty.call(dt,t)?dt[t](n):ft(t,n)});return t.length===0?null:t.reduce(pt)}function ht(e,t){let n=mt(e);return!n||n(t)}function gt(e,t,n,r=1/0){let i=mt(e);return i?at(i,t,n,r):[]}function _t(e,t,n=!0){return Array.isArray(t)||(t=[t]),ct(ft(`id`,e),t,n)}function vt(e,t,n=!0,r=1/0){return at(dt.tag_name(e),t,n,r)}function yt(e,t,n=!0,r=1/0){return at(ft(`class`,e),t,n,r)}function bt(e,t,n=!0,r=1/0){return at(dt.tag_type(e),t,n,r)}function xt(e){let t=e.length;for(;--t>=0;){let n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var St;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(St||={});function Ct(e,t){let n=[],r=[];if(e===t)return 0;let i=_e(e)?e:e.parent;for(;i;)n.unshift(i),i=i.parent;for(i=_e(t)?t:t.parent;i;)r.unshift(i),i=i.parent;let a=Math.min(n.length,r.length),o=0;for(;o<a&&n[o]===r[o];)o++;if(o===0)return St.DISCONNECTED;let s=n[o-1],c=s.children,l=n[o],u=r[o];return c.indexOf(l)>c.indexOf(u)?s===t?St.FOLLOWING|St.CONTAINED_BY:St.FOLLOWING:s===e?St.PRECEDING|St.CONTAINS:St.PRECEDING}
vendor: 1,632 bytes, line 2
2function wt(e){return e=e.filter((e,t,n)=>!n.includes(e,t+1)),e.sort((e,t)=>{let n=Ct(e,t);return n&St.PRECEDING?-1:n&St.FOLLOWING?1:0}),e}function Tt(e){let t=jt(Pt,e);return t?t.name===`feed`?Et(t):Dt(t):null}function Et(e){let t=e.children,n={type:`atom`,items:vt(`entry`,t).map(e=>{let{children:t}=e,n={media:At(t)};Nt(n,`id`,`id`,t),Nt(n,`title`,`title`,t);let r=jt(`link`,t)?.attribs.href;r&&(n.link=r);let i=Mt(`summary`,t)||Mt(`content`,t);i&&(n.description=i);let a=Mt(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};Nt(n,`id`,`id`,t),Nt(n,`title`,`title`,t);let r=jt(`link`,t)?.attribs.href;r&&(n.link=r),Nt(n,`description`,`subtitle`,t);let i=Mt(`updated`,t);return i&&(n.updated=new Date(i)),Nt(n,`author`,`email`,t,!0),n}function Dt(e){let t=jt(`channel`,e.children)?.children??[],n={type:e.name.substr(0,3),id:``,items:vt(`item`,e.children).map(e=>{let{children:t}=e,n={media:At(t)};Nt(n,`id`,`guid`,t),Nt(n,`title`,`title`,t),Nt(n,`link`,`link`,t),Nt(n,`description`,`description`,t);let r=Mt(`pubDate`,t)||Mt(`dc:date`,t);return r&&(n.pubDate=new Date(r)),n})};Nt(n,`title`,`title`,t),Nt(n,`link`,`link`,t),Nt(n,`description`,`description`,t);let r=Mt(`lastBuildDate`,t);return r&&(n.updated=new Date(r)),Nt(n,`author`,`managingEditor`,t,!0),n}var Ot=[`url`,`type`,`lang`],kt=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function At(e){return vt(`media:content`,e).map(e=>{let{attribs:t}=e,n={medium:t.medium,isDefault:!!t.isDefault};for(let e of Ot)t[e]&&(n[e]=t[e]);for(let e of kt)t[e]&&(n[e]=parseInt(t[e],10));return t.expression&&(n.expression=t.expression),n})}
2function jt(e,t){return vt(e,t,!0,1)[0]}function Mt(e,t,n=!1){return Ue(vt(e,t,n,1)).trim()}function Nt(e,t,n,r,i=!1){let a=Mt(n,r,i);a&&(e[t]=a)}function Pt(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}var Ft=Object.freeze({__proto__:null,get DocumentPosition(){return St},append:nt,appendChild:tt,compareDocumentPosition:Ct,existsOne:lt,filter:at,find:ot,findAll:ut,findOne:ct,findOneChild:st,getAttributeValue:Je,getChildren:Ge,getElementById:_t,getElements:gt,getElementsByClassName:yt,getElementsByTagName:vt,getElementsByTagType:bt,getFeed:Tt,getInnerHTML:Ve,getName:Xe,getOuterHTML:Be,getParent:Ke,getSiblings:qe,getText:He,hasAttrib:Ye,hasChildren:_e,innerText:We,isCDATA:pe,isComment:he,isDocument:ge,isTag:fe,isText:me,nextElementSibling:Ze,prepend:it,prependChild:rt,prevElementSibling:Qe,removeElement:$e,removeSubsets:xt,replaceElement:et,testElement:ht,textContent:Ue,uniqueSort:wt}),It=/[-[\]{}()*+?.,\\^$|#\s]/g;function Lt(e){return e.replace(It,`\\$&`)}var Rt=new Set(`accept.accept-charset.align.alink.axis.bgcolor.charset.checked.clear.codetype.color.compact.declare.defer.dir.direction.disabled.enctype.face.frame.hreflang.http-equiv.lang.language.link.media.method.multiple.nohref.noresize.noshade.nowrap.readonly.rel.rev.rules.scope.scrolling.selected.shape.target.text.type.valign.valuetype.vlink`.split(`.`));function zt(e,t){return typeof e.ignoreCase==`boolean`?e.ignoreCase:e.ignoreCase===`quirks`?!!t.quirksMode:!t.xmlMode&&Rt.has(e.name)}var Bt={equals(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t;return zt(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return n!=null&&n.length===a.length&&n.toLowerCase()===a&&e(t)}):t=>r.getAttributeValue(t,i)===a&&e(t)},hyphen(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=a.length;return zt(t,n)?(a=a.toLowerCase(),function(t){let n=r.getAttributeValue(t,i);return n!=null&&(n.length===o||n.charAt(o)===`-`)&&n.substr(0,o).toLowerCase()===a&&e(t)}):function(t){let n=r.getAttributeValue(t,i);return n!=null&&(n.length===o||n.charAt(o)===`-`)&&n.substr(0,o)===a&&e(t)}}
2,element(e,t,n){let{adapter:r}=n,{name:i,value:a}=t;if(/\s/.test(a))return c.falseFunc;let o=RegExp(`(?:^|\\s)${Lt(a)}(?:$|\\s)`,zt(t,n)?`i`:``);return function(t){let n=r.getAttributeValue(t,i);return n!=null&&n.length>=a.length&&o.test(n)&&e(t)}},exists:(e,{name:t},{adapter:n})=>r=>n.hasAttrib(r,t)&&e(r),start(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=a.length;return o===0?c.falseFunc:zt(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return n!=null&&n.length>=o&&n.substr(0,o).toLowerCase()===a&&e(t)}):t=>!!r.getAttributeValue(t,i)?.startsWith(a)&&e(t)},end(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t,o=-a.length;return o===0?c.falseFunc:zt(t,n)?(a=a.toLowerCase(),t=>r.getAttributeValue(t,i)?.substr(o).toLowerCase()===a&&e(t)):t=>!!r.getAttributeValue(t,i)?.endsWith(a)&&e(t)},any(e,t,n){let{adapter:r}=n,{name:i,value:a}=t;if(a===``)return c.falseFunc;if(zt(t,n)){let t=new RegExp(Lt(a),`i`);return function(n){let o=r.getAttributeValue(n,i);return o!=null&&o.length>=a.length&&t.test(o)&&e(n)}}return t=>!!r.getAttributeValue(t,i)?.includes(a)&&e(t)},not(e,t,n){let{adapter:r}=n,{name:i}=t,{value:a}=t;return a===``?t=>!!r.getAttributeValue(t,i)&&e(t):zt(t,n)?(a=a.toLowerCase(),t=>{let n=r.getAttributeValue(t,i);return(n==null||n.length!==a.length||n.toLowerCase()!==a)&&e(t)}):t=>r.getAttributeValue(t,i)!==a&&e(t)}};function Vt(e,t,n){let{adapter:r,xmlMode:i=!1}=n,a=[],o=[t],s=[0];for(;;){if(s[0]>=o[0].length){if(o.length===1)return a;o.shift(),s.shift();continue}let t=o[0][s[0]++];if(r.isTag(t)&&(e(t)&&a.push(t),i||r.getName(t)!==`template`)){let e=r.getChildren(t);e.length>0&&(o.unshift(e),s.unshift(0))}}}function Ht(e,t,n){let{adapter:r,xmlMode:i=!1}=n,a=[t],o=[0];for(;;){if(o[0]>=a[0].length){if(a.length===1)return null;a.shift(),o.shift();continue}let t=a[0][o[0]++];if(r.isTag(t)){if(e(t))return t;if(i||r.getName(t)!==`template`){let e=r.getChildren(t);e.length>0&&(a.unshift(e),o.unshift(0))}}}}function Ut(e,t){let n=t.getSiblings(e);if(n.length<=1)return[];let r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function Wt(e,t){let n=t.getParent(e);return n!=null&&t.isTag(n)?n:null}var Gt=`input:is([type=text i],[type=search i],[type=url i],[type=tel i],[type=email i],[type=password i],[type=date i],[type=month i],[type=week i],[type=time i],[type=datetime-local i],[type=number i])`,Kt={"any-link":`:is(a, area, link)[href]`,link:`:any-link:not(:visited)`,disabled:`:is( 3 :is(button, input, select, textarea, optgroup, option)[disabled], 4 optgroup[disabled] > option, 5 fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) 6 )`,enabled:`:not(:disabled)`,checked:`:is(:is(input[type=radio], input[type=checkbox])[checked], :selected)`,required:`:is(input, select, textarea)[required]`,optional:`:is(input, select, textarea):not([required])`,"read-only":`[readonly]:is(textarea, ${Gt})`,"read-write":`:not([readonly]):is(textarea, ${Gt})`,selected:`option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)`,checkbox:`[type=checkbox]`,file:`[type=file]`,password:`[type=password]`,radio:`[type=radio]`,reset:`[type=reset]`,image:`[type=image]`,submit:`[type=submit]`,parent:`:not(:empty)`,header:`:is(h1, h2, h3, h4, h5, h6)`,button:`:is(button, input[type=button])`,input:`:is(input, textarea, select, button)`,text:`input:is(:not([type!='']), [type=text])`},qt=new Set([9,10,12,13,32]),Jt=48,Yt=57;function Xt(e){if(e=e.trim().toLowerCase(),e===`even`)return[2,0];if(e===`odd`)return[2,1];let t=0,n=0,r=a(),i=o();if(t<e.length&&e.charAt(t)===`n`&&(t++,n=r*(i??1),s(),t<e.length?(r=a(),s(),i=o()):r=i=0),i===null||t<e.length)throw Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*i];function a(){return e.charAt(t)===`-`?(t++,-1):(e.charAt(t)===`+`&&t++,1)}function o(){let n=t,r=0;for(;t<e.length&&e.charCodeAt(t)>=Jt&&e.charCodeAt(t)<=Yt;)r=r*10+(e.charCodeAt(t)-Jt),t++;return t===n?null:r}function s(){for(;t<e.length&&qt.has(e.charCodeAt(t));)t++}}function Zt(e){let t=e[0],n=e[1]-1;if(n<0&&t<=0)return l.falseFunc;if(t===-1)return e=>e<=n;if(t===0)return e=>e===n;if(t===1)return n<0?l.trueFunc:e=>e>=n;let r=Math.abs(t),i=(n%r+r)%r;return t>1?e=>e>
6=n&&e%r===i:e=>e<=n&&e%r===i}function Qt(e){return Zt(Xt(e))}function $t(e,{adapter:t,cacheResults:n},r){if(n===!1||typeof WeakMap>`u`)return t=>e(t)&&r(t);let i=new WeakMap;function a(e){let t=r(e);return i.set(e,t),t}return function(n){if(!e(n))return!1;if(i.has(n))return i.get(n);let r=n;do{let e=Wt(r,t);if(e===null)return a(n);r=e}while(!i.has(r));return i.get(r)&&a(n)}}var en={contains(e,t,n){let{getText:r}=n.adapter;return $t(e,n,e=>r(e).includes(t))},icontains(e,t,n){let r=t.toLowerCase(),{getText:i}=n.adapter;return $t(e,n,e=>i(e).toLowerCase().includes(r))},"nth-child"(e,t,{adapter:n,equals:r}){let i=Qt(t);return i===c.falseFunc?c.falseFunc:i===c.trueFunc?t=>Wt(t,n)!==null&&e(t):function(t){let a=n.getSiblings(t),o=0;for(let e=0;e<a.length&&!r(t,a[e]);e++)n.isTag(a[e])&&o++;return i(o)&&e(t)}},"nth-last-child"(e,t,{adapter:n,equals:r}){let i=Qt(t);return i===c.falseFunc?c.falseFunc:i===c.trueFunc?t=>Wt(t,n)!==null&&e(t):function(t){let a=n.getSiblings(t),o=0;for(let e=a.length-1;e>=0&&!r(t,a[e]);e--)n.isTag(a[e])&&o++;return i(o)&&e(t)}},"nth-of-type"(e,t,{adapter:n,equals:r}){let i=Qt(t);return i===c.falseFunc?c.falseFunc:i===c.trueFunc?t=>Wt(t,n)!==null&&e(t):function(t){let a=n.getSiblings(t),o=0;for(let e=0;e<a.length;e++){let i=a[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return i(o)&&e(t)}},"nth-last-of-type"(e,t,{adapter:n,equals:r}){let i=Qt(t);return i===c.falseFunc?c.falseFunc:i===c.trueFunc?t=>Wt(t,n)!==null&&e(t):function(t){let a=n.getSiblings(t),o=0;for(let e=a.length-1;e>=0;e--){let i=a[e];if(r(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return i(o)&&e(t)}},root:(e,t,{adapter:n})=>t=>Wt(t,n)===null&&e(t),scope(e,t,n,r){let{equals:i}=n;return!r||r.length===0?en.root(e,t,n):r.length===1?t=>i(r[0],t)&&e(t):t=>r.includes(t)&&e(t)},hover:tn(`isHovered`),visited:tn(`isVisited`),active:tn(`isActive`)};function tn(e){return function(t,n,{adapter:r}){let i=r[e];return typeof i==`function`?function(e){return i(e)&&t(e)}:c.falseFunc}}var nn=/^[ \t\r\n]*$/,rn={empty(e,{adapter:t}){let n=t.getChildren(e);return n.every(e=>!t.isTag(e))&&n.every(e=>nn.test(t.getText(e)))},"first-child"(e,{adapter:t,equals:n}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;let r=t.getSiblings(e).find(e=>t.isTag(e));return r!=null&&n(e,r)},"last-child"(e,{adapter:t,equals:n}){let r=t.getSiblings(e);for(let i=r.length-1;i>=0;i--){if(n(e,r[i]))return!0;if(t.isTag(r[i]))break}return!1},"first-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let a=0;a<r.length;a++){let o=r[a];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===i)break}return!1},"last-of-type"(e,{adapter:t,equals:n}){let r=t.getSiblings(e),i=t.getName(e);for(let a=r.length-1;a>=0;a--){let o=r[a];if(n(e,o))return!0;if(t.isTag(o)&&t.getName(o)===i)break}return!1},"only-of-type"(e,{adapter:t,equals:n}){let r=t.getName(e);return t.getSiblings(e).every(i=>n(e,i)||!t.isTag(i)||t.getName(i)!==r)},"only-child":(e,{adapter:t,equals:n})=>t.getSiblings(e).every(r=>n(e,r)||!t.isTag(r))};function an(e,t,n,r){if(n===null){if(e.length>r)throw Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===r)throw Error(`Pseudo-class :${t} doesn't have any arguments`)}function on(e){return e.type===`_flexibleDescendant`||v(e)}function sn(e){let t=e.map(ln);for(let n=1;n<e.length;n++){let r=t[n];if(!(r<0))for(let i=n;i>0&&r<t[i-1];i--){let n=e[i];e[i]=e[i-1],e[i-1]=n,t[i]=t[i-1],t[i-1]=r}}}function cn(e){switch(e.action){case d.Exists:return 10;case d.Equals:return e.name===`id`?9:8;case d.Not:return 7;case d.Start:return 6;case d.End:return 6;case d.Any:return 5;case d.Hyphen:return 4;case d.Element:return 3}}function ln(e){switch(e.type){case u.Universal:return 50;case u.Tag:return 30;case u.Attribute:return Math.floor(cn(e)/(e.ignoreCase?2:1));case u.Pseudo:return e.data?e.name===`has`||e.name===`contains`||e.name===`icontains`?0:Array.isArray(e.data)?Math.max(0,Math.min(...e.data.map(e=>Math.min(...e.map(ln))))):2:3;default:return-1}}function un(e){return e.type===u.Pseudo&&(e.name===`scope`||Array.isArray(e.data)&&e.data.some(e=>e.some(un)))}var dn={};function fn(e){return e.some(e=>e.length>0&&(on(e[0])||e.some(un)))}function pn(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}var mn=(e,t,n,r,i)=>{let a=i(t,pn(n),r);return a===c.trueFunc?e:a===c.falseFunc?c.falseFunc:t=>a(t)&&e(t)},hn={is:mn,matches:mn,where:mn,not(e,t,n,r,i){let a=i(t,pn(n),r);return a===c.falseFunc?e:a===c.trueFunc?c.falseFunc:t=>!a(t)&&e(t)},has(e,t,n,r,i){let{adapter:a}=n,o=pn(n);o.relativeSelector=!0;let s=t.some(e=>e.some(on))?[dn]:void 0,l=fn(t),u=i(t,o,s);if(u===c.falseFunc)return c.falseFunc;if(s&&u!==c.trueFunc)return l?t=>{if(!e(t))return!1;s[0]=t;let r=a.getChildren(t);return Ht(u,u.shouldTestNextSiblings?[...r,...Ut(t,a)]:r,n)!==null}:$t(e,n,e=>(s[0]=e,Ht(u,a.getChildren(e),n)!==null));let d=e=>Ht(u,a.getChildren(e),n)!==null;return l?t=>e(t)&&d(t):$t(e,n,d)}};function gn(e,t,n,r,i){let{name:a,data:o}=t;if(Array.isArray(o)){if(!(a in hn))throw Error(`Unknown pseudo-class :${a}(${o})`);return hn[a](e,o,n,r,i)}
6let s=n.pseudos?.[a],c=typeof s==`string`?s:Kt[a];if(typeof c==`string`){if(o!=null)throw Error(`Pseudo ${a} doesn't have any arguments`);let t=ne(c);return hn.is(e,t,n,r,i)}if(typeof s==`function`)return an(s,a,o,1),t=>s(t,o)&&e(t);if(a in en)return en[a](e,o,n,r);if(a in rn){let t=rn[a];return an(t,a,o,2),r=>t(r,n,o)&&e(r)}throw Error(`Unknown pseudo-class :${a}`)}function _n(e,t,n,r,i,a){let{adapter:o,equals:s,cacheResults:c}=n;switch(t.type){case u.PseudoElement:throw Error(`Pseudo-elements are not supported by css-select`);case u.ColumnCombinator:throw Error(`Column combinators are not yet supported by css-select`);case u.Attribute:if(t.namespace!=null)throw Error(`Namespaced attributes are not yet supported by css-select`);return n.xmlMode&&!n.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),Bt[t.action](e,t,n);case u.Pseudo:return gn(e,t,n,r,i);case u.Tag:{if(t.namespace!=null)throw Error(`Namespaced tag names are not yet supported by css-select`);let{name:r}=t;return n.xmlMode&&!n.lowerCaseTags||(r=r.toLowerCase()),function(t){return o.getName(t)===r&&e(t)}}case u.Descendant:{if(!a||c===!1||typeof WeakMap>`u`)return function(t){let n=t;for(;n=Wt(n,o);)if(e(n))return!0;return!1};let t=new WeakMap;return function(n){let r=n,i;for(;r=Wt(r,o);){let n=t.get(r);if(n!==void 0)return i&&(i.matches=n.matches),n.matches;if(i??={matches:!1},i.matches=e(r),t.set(r,i),i.matches)return!0}return!1}}case`_flexibleDescendant`:return function(t){let n=t;do{if(e(n))return!0;n=Wt(n,o)}while(n);return!1};case u.Parent:return function(t){return o.getChildren(t).some(t=>o.isTag(t)&&e(t))};case u.Child:return function(t){let n=Wt(t,o);return n!==null&&e(n)};case u.Sibling:return function(t){let n=o.getSiblings(t);for(let r=0;r<n.length;r++){let i=n[r];if(s(t,i))break;if(o.isTag(i)&&e(i))return!0}return!1};case u.Adjacent:return o.prevElementSibling?function(t){let n=o.prevElementSibling(t);return n!=null&&e(n)}:function(t){let n=o.getSiblings(t),r;for(let e=0;e<n.length;e++){let i=n[e];if(s(t,i))break;o.isTag(i)&&(r=i)}return!!r&&e(r)};case u.Universal:if(t.namespace!=null&&t.namespace!==`*`)throw Error(`Namespaced universal selectors are not yet supported by css-select`);return e}}var vn={type:u.Descendant},yn={type:`_flexibleDescendant`},bn={type:u.Pseudo,name:`scope`,data:null};function xn(e,{adapter:t},n){let r=!!n?.every(e=>e===dn||t.isTag(e)&&Wt(e,t)!==null);for(let t of e){if(!(t.length>0&&on(t[0])&&t[0].type!==u.Descendant)){if(!r||t.some(un))continue;t.unshift(vn)}t.unshift(bn)}}function Sn(e,t,n){e.forEach(sn);let{context:r=n,rootFunc:i=c.trueFunc}=t,a=Array.isArray(r),o=r&&(Array.isArray(r)?r:[r]);if(t.relativeSelector!==!1)xn(e,t,o);else if(e.some(e=>e.length>0&&on(e[0])))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1,l=c.falseFunc;combineLoop:for(let n of e){if(n.length>=2){let[e,t]=n;e.type!==u.Pseudo||e.name!==`scope`||(a&&t.type===u.Descendant?n[1]=yn:t.type!==u.Adjacent&&t.type!==u.Sibling||(s=!0))}let e=i,r=!1;for(let i of n)if(e=_n(e,i,t,o,Sn,r),ln(i)===0&&(r=!0),e===c.falseFunc)continue combineLoop;if(e===i)return i;l=l===c.falseFunc?e:Cn(l,e)}return l.shouldTestNextSiblings=s,l}function Cn(e,t){return n=>e(n)||t(n)}var wn=(e,t)=>e===t,Tn={adapter:Ft,equals:wn};function En(e){let t=e??Tn;return t.adapter??=Ft,t.equals??=t.adapter?.equals??wn,t}function Dn(e,t,n){let r=En(t),i=On(e,r,n);return i===c.falseFunc?c.falseFunc:e=>r.adapter.isTag(e)&&i(e)}function On(e,t,n){return kn(typeof e==`string`?ne(e):e,t,n)}function kn(e,t,n){return Sn(e,En(t),n)}function An(e){return function(t,n,r){let i=En(r);typeof t!=`function`&&(t=On(t,i,n));let a=jn(n,i.adapter,t.shouldTestNextSiblings);return e(t,a,i)}}function jn(e,t,n=!1){return n&&(e=Mn(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function Mn(e,t){let n=Array.isArray(e)?e.slice(0):[e],r=n.length;for(let e=0;e<r;e++){let r=Ut(n[e],t);n.push(...r)}return n}var Nn=An((e,t,n)=>e!==c.falseFunc&&t&&t.length!==0?Vt(e,t,n):[]),Pn=An((e,t,n)=>e!==c.falseFunc&&t&&t.length!==0?Ht(e,t,n):null);function Fn(e,t,n){return(typeof t==`function`?t:Dn(t,n))(e)}function In(e){let n=new Map;for(let r of e.children)n.set(r,e),t(r,{element:{enter:(e,t)=>{n.set(e,t)}}},e);return n}var Ln=e=>e.type===`element`,Rn=(e,t)=>e.attributes[t],zn=e=>e.children||[],Bn=e=>e.name,Vn=e=>e.children[0].type===`text`||e.children[0].type===`cdata`?e.children[0].value:``,Hn=(e,t)=>e.attributes[t]!==void 0;function Un(e,t){let n=n=>(t||=In(e),t.get(n)||null);return{isTag:Ln,getAttributeValue:Rn,getChildren:zn,getName:Bn,getParent:n,getSiblings:e=>{let t=n(e);return t?zn(t):[]},getText:Vn,hasAttrib:Hn,removeSubsets:e=>{let t=e.length,r,i,a;for(;--t>-1;){for(r=i=e[t],e[t]=null,a=!0;i;){if(e.includes(i)){a=!1,e.splice(t,1);break}i=n(i)}a&&(e[t]=r)}return e}}}function Wn(e,t){return{xmlMode:!0,adapter:Un(e,t)}}var Gn=(e,t,n)=>Nn(t,e,Wn(e,n)),Kn=(e,t,n)=>Pn(t,e,Wn(e,n)),qn=(e,t,n)=>t!==``&&Fn(e,t,Wn(e,n)),T=(e,t)=>
6{t.children=t.children.filter(t=>t!==e)},Jn=Object.freeze({__proto__:null,description:`removes doctype declaration`,fn:()=>({doctype:{enter:(e,t)=>{T(e,t)}}}),name:`removeDoctype`}),Yn=Object.freeze({__proto__:null,description:`removes XML processing instructions`,fn:()=>({instruction:{enter:(e,t)=>{e.name===`xml`&&T(e,t)}}}),name:`removeXMLProcInst`}),Xn=`removeComments`,Zn=`removes comments`,Qn=[/^!/],$n=Object.freeze({__proto__:null,description:Zn,fn:(e,t)=>{let{preservePatterns:n=Qn}=t;return{comment:{enter:(e,t)=>{if(n){if(!Array.isArray(n))throw Error(`Expected array in removeComments preservePatterns parameter but received ${n}`);if(n.some(t=>new RegExp(t).test(e.value)))return}T(e,t)}}}},name:Xn}),er={animation:new Set([`animate`,`animateColor`,`animateMotion`,`animateTransform`,`set`]),descriptive:new Set([`desc`,`metadata`,`title`]),shape:new Set([`circle`,`ellipse`,`line`,`path`,`polygon`,`polyline`,`rect`]),structural:new Set([`defs`,`g`,`svg`,`symbol`,`use`]),paintServer:new Set([`hatch`,`linearGradient`,`meshGradient`,`pattern`,`radialGradient`,`solidColor`]),nonRendering:new Set([`clipPath`,`filter`,`linearGradient`,`marker`,`mask`,`pattern`,`radialGradient`,`solidColor`,`symbol`]),container:new Set([`a`,`defs`,`foreignObject`,`g`,`marker`,`mask`,`missing-glyph`,`pattern`,`svg`,`switch`,`symbol`]),textContent:new Set([`a`,`altGlyph`,`altGlyphDef`,`altGlyphItem`,`glyph`,`glyphRef`,`text`,`textPath`,`tref`,`tspan`]),textContentChild:new Set([`altGlyph`,`textPath`,`tref`,`tspan`]),lightSource:new Set([`feDiffuseLighting`,`feDistantLight`,`fePointLight`,`feSpecularLighting`,`feSpotLight`]),filterPrimitive:new Set([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`feSpecularLighting`,`feTile`,`feTurbulence`])},tr=new Set([...er.textContent,`pre`,`title`]),nr=new Set([`glyph`,`missing-glyph`,`path`]),rr={animationAddition:new Set([`additive`,`accumulate`]),animationAttributeTarget:new Set([`attributeType`,`attributeName`]),animationEvent:new Set([`onbegin`,`onend`,`onrepeat`,`onload`]),animationTiming:new Set([`begin`,`dur`,`end`,`fill`,`max`,`min`,`repeatCount`,`repeatDur`,`restart`]),animationValue:new Set([`by`,`calcMode`,`from`,`keySplines`,`keyTimes`,`to`,`values`]),conditionalProcessing:new Set([`requiredExtensions`,`requiredFeatures`,`systemLanguage`]),core:new Set([`id`,`tabindex`,`xml:base`,`xml:lang`,`xml:space`]),graphicalEvent:new Set([`onactivate`,`onclick`,`onfocusin`,`onfocusout`,`onload`,`onmousedown`,`onmousemove`,`onmouseout`,`onmouseover`,`onmouseup`]),presentation:new Set(`alignment-baseline.baseline-shift.clip-path.clip-rule.clip.color-interpolation-filters.color-interpolation.color-profile.color-rendering.color.cursor.direction.display.dominant-baseline.enable-background.fill-opacity.fill-rule.fill.filter.flood-color.flood-opacity.font-family.font-size-adjust.font-size.font-stretch.font-style.font-variant.font-weight.glyph-orientation-horizontal.glyph-orientation-vertical.image-rendering.letter-spacing.lighting-color.marker-end.marker-mid.marker-start.mask.opacity.overflow.paint-order.pointer-events.shape-rendering.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.stroke.text-anchor.text-decoration.text-overflow.text-rendering.transform-origin.transform.unicode-bidi.vector-effect.visibility.word-spacing.writing-mode`.split(`.`)),xlink:new Set([`xlink:actuate`,`xlink:arcrole`,`xlink:href`,`xlink:role`,`xlink:show`,`xlink:title`,`xlink:type`]),documentEvent:new Set([`onabort`,`onerror`,`onresize`,`onscroll`,`onunload`,`onzoom`]),documentElementEvent:new Set([`oncopy`,`oncut`,`onpaste`]),globalEvent:ne
6w Set(`oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncuechange.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onload.onloadeddata.onloadedmetadata.onloadstart.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onmousewheel.onpause.onplay.onplaying.onprogress.onratechange.onreset.onresize.onscroll.onseeked.onseeking.onselect.onshow.onstalled.onsubmit.onsuspend.ontimeupdate.ontoggle.onvolumechange.onwaiting`.split(`.`)),filterPrimitive:new Set([`x`,`y`,`width`,`height`,`result`]),transferFunction:new Set([`amplitude`,`exponent`,`intercept`,`offset`,`slope`,`tableValues`,`type`])},ir={core:{"xml:space":`default`},presentation:{clip:`auto`,"clip-path":`none`,"clip-rule":`nonzero`,mask:`none`,opacity:`1`,"stop-color":`#000`,"stop-opacity":`1`,"fill-opacity":`1`,"fill-rule":`nonzero`,fill:`#000`,stroke:`none`,"stroke-width":`1`,"stroke-linecap":`butt`,"stroke-linejoin":`miter`,"stroke-miterlimit":`4`,"stroke-dasharray":`none`,"stroke-dashoffset":`0`,"stroke-opacity":`1`,"paint-order":`normal`,"vector-effect":`none`,display:`inline`,visibility:`visible`,"marker-start":`none`,"marker-mid":`n
6one`,"marker-end":`none`,"color-interpolation":`sRGB`,"color-interpolation-filters":`linearRGB`,"color-rendering":`auto`,"shape-rendering":`auto`,"text-rendering":`auto`,"image-rendering":`auto`,"font-style":`normal`,"font-variant":`normal`,"font-weight":`normal`,"font-stretch":`normal`,"font-size":`medium`,"font-size-adjust":`none`,kerning:`auto`,"letter-spacing":`normal`,"word-spacing":`normal`,"text-decoration":`none`,"text-anchor":`start`,"text-overflow":`clip`,"writing-mode":`lr-tb`,"glyph-orientation-vertical":`auto`,"glyph-orientation-horizontal":`0deg`,direction:`ltr`,"unicode-bidi":`normal`,"dominant-baseline":`auto`,"alignment-baseline":`baseline`,"baseline-shift":`baseline`},transferFunction:{slope:`1`,intercept:`0`,amplitude:`1`,exponent:`1`,offset:`0`}},ar={animationAttributeTarget:{unsafe:new Set([`attributeType`])},conditionalProcessing:{unsafe:new Set([`requiredFeatures`])},core:{unsafe:new Set([`xml:base`,`xml:lang`,`xml:space`])},presentation:{unsafe:new Set([`clip`,`color-profile`,`enable-background`,`glyph-orientation-horizontal`,`glyph-orientation-vertical`,`kerning`])}},or={a:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`style`,`target`,`transform`]),defaults:{target:`_self`},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`,`tspan`])},altGlyph:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`,`xlink`]),attrs:new Set([`class`,`dx`,`dy`,`externalResourcesRequired`,`format`,`glyphRef`,`rotate`,`style`,`x`,`y`])},altGlyphDef:{attrsGroups:new Set([`core`]),content:new Set([`glyphRef`])},altGlyphItem:{attrsGroups:new Set([`core`]),content:new Set([`glyphRef`,`altGlyphItem`])},animate:{attrsGroups:new Set([`animationAddition`,`animationAttributeTarget`,`animationEvent`,`animationTiming`,`animationValue`,`conditionalProcessing`,`core`,`presentation`,`xlink`]),attrs:new Set([`externalResourcesRequired`]),contentGroups:new Set([`descriptive`])},animateColor:{attrsGroups:new Set([`animationAddition`,`animationAttributeTarget`,`animationEvent`,`animationTiming`,`animationValue`,`conditionalProcessing`,`core`,`presentation`,`xlink`]),attrs:new Set([`externalResourcesRequired`]),contentGroups:new Set([`descriptive`])},animateMotion:{attrsGroups:new Set([`animationAddition`,`animationEvent`,`animationTiming`,`animationValue`,`conditionalProcessing`,`core`,`xlink`]),attrs:new Set([`externalResourcesRequired`,`keyPoints`,`origin`,`path`,`rotate`]),defaults:{rotate:`0`},contentGroups:new Set([`descriptive`]),content:new Set([`mpath`])},animateTransform:{attrsGroups:new Set([`animationAddition`,`animationAttributeTarget`,`animationEvent`,`animationTiming`,`animationValue`,`conditionalProcessing`,`core`,`xlink`]),attrs:new Set([`externalResourcesRequired`,`type`]),contentGroups:new Set([`descriptive`])},circle:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`cx`,`cy`,`externalResourcesRequired`,`r`,`style`,`transform`]),defaults:{cx:`0`,cy:`0`},contentGroups:new Set([`animation`,`descriptive`])},clipPath:{attrsGroups:new Set([`conditionalProcessing`,`core`,`presentation`]),attrs:new Set([`class`,`clipPathUnits`,`externalResourcesRequired`,`style`,`transform`]),defaults:{clipPathUnits:`userSpaceOnUse`},contentGroups:new Set([`animation`,`descriptive`,`shape`]),content:new Set([`text`,`use`])},"color-profile":{attrsGroups:new Set([`core`,`xlink`]),attrs:new Set([`local`,`name`,`rendering-intent`]),defaults:{name:`sRGB`,"rendering-intent":`auto`},deprecated:{unsafe:new Set([`name`])},contentGroups:new Set([`descriptive`])},cursor:{attrsGroups:new Set([`core`,`conditionalProcessing`,`xlink`]),attrs:new Set([`externalResourcesRequired`,`x`,`y`]),defaults:{x:`0`,y:`0`},contentGroups:new Set([`descriptive`])},defs:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`style`,`transform`]),contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},desc:{attrsGroups:new Set([`core`]),attrs:new Set([`class`,`style`])},ellipse:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`cx`,`cy`,`externalResourcesRequired`,`rx`,`ry`,`style`,`transform`]),defaults:{cx:`0`,cy:`0`},contentGroups:new Set([`animation`,`descriptive`])},feBlend:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`,`in2`,`mode`]),defaults:{mode:`normal`},content:new Set([`animate`,`set`])},feColorMatrix:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`,`type`,`values`]),defaults:{type:`matrix`},content:new Set([`animate`,`set`])},feComponentTransfer:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`]),content:new Set([`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`])},feComposite:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`in`,`in2`,`k1`,`k2`,`k3`,`k4`,`operator`,`style`]),defaults:{operator:`over`,k1:`0`,k2:`0`,k3:`0`,k4:`0`},content:new Set([`animate`,`set`])},feConvolveMatrix:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`in`,`kernelMatrix`,`order`,`style`,`bias`,`divisor`,`edgeMode`,`targetX`,`targetY`,`kernelUnitLength`,`preserveAlpha`]),defaults:{order:`3`,bias:`0`,edgeMode:`duplicate`,preserveAlpha:`false`},content:new Set([`animate`,`set`])},feDiffuseLighting:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`diffuseConstant`,`in`,`kernelUnitLength`,`style`,`surfaceScale`]),defaults:{surfaceScale:`1`,diffuseConstant:`1`},contentGroups:new Set([`descriptive`]),content:new Set([`feDistantLight`,`fePointLight`,`feSpotLight`])},feDisplacementMap:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`in`,`in2`,`scale`,`style`,`xChannelSelector`,`yChannelSelector`]),defaults:{scale:`0`,xChannelSelector:`A`,yChannelSelector:`A`},content:new Set([`animate`,`set`])},feDistantLight:{attrsGroups:new Set([`core`]),attrs:new Set([`azimuth`,`elevation`]),defaults:{azimuth:`0`,elevation:`0`},content:new Set([`animate`,`set`])},feFlood:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`]),content:new Set([`animate`,`animateColor`,`set`])},feFuncA:{attrsGroups:new Set([`core`,`transferFunction`]),content:new Set([`set`,`animate`])},feFuncB:{attrsGroups:new Set([`core`,`transferFunction`]),content:new Set([`set`,`animate`])},feFuncG:{attrsGroups:new Set([`core`,`transferFunction`]),content:new Set([`set`,`animate`])},feFuncR:{attrsGroups:new Set([`core`,`transferFunction`]),content:new Set([`set`,`animate`])},feGaussianBlur:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`,`stdDeviation`]),defaults:{stdDeviation:`0`},content:new Set([`set`,`animate`])},feImage:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`href`,`preserveAspectRatio`,`style`,`xlink:href`]),defaults:{preserveAspectRatio:`xMidYMid meet`},content:new Set([`animate`,`animateTransform`,`set`])},feMerge:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`]),content:new Set([`feMergeNode`])},feMergeNode:{attrsGroups:new Set([`core`]),attrs:new Set([`in`]),content:new Set([`animate`,`set`])},feMorphology:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`,`operator`,`radius`]),defaults:{operator:`erode`,radius:`0`},content:new Set([`animate`,`set`])},feOffset:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`,`dx`,`dy`]),defaults:{dx:`0`,dy:`0`},content:new Set([`animate`,`set`])},fePointLight:{attrsGroups:new Set([`core`]),attrs:new Set([`x`,`y`,`z`]),defaults:{x:`0`,y:`0`,z:`0`},content:new Set([`animate`,`set`])},feSpecularLighting:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`in`,`kernelUnitLength`,`specularConstant`,`specularExponent`,`style`,`surfaceScale`]),defaults:{surfaceScale:`1`,specularConstant:`1`,specularExponent:`1`},contentGroups:new Set([`descriptive`,`lightSource`])},feSpotLight:{attrsGroups:new Set([`core`]),attrs:new Set([`limitingConeAngle`,`pointsAtX`,`pointsAtY`,`pointsAtZ`,`specularExponent`,`x`,`y`,`z`]),defaults:{x:`0`,y:`0`,z:`0`,pointsAtX:`0`,pointsAtY:`0`,pointsAtZ:`0`,specularExponent:`1`},content:new Set([`animate`,`set`])},feTile:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`class`,`style`,`in`]),content:new Set([`animate`,`set`])},feTurbulence:{attrsGroups:new Set([`core`,`presentation`,`filterPrimitive`]),attrs:new Set([`baseFrequency`,`class`,`numOctaves`,`seed`,`stitchTiles`,`style`,`type`]),defaults:{baseFrequency:`0`,numOctaves:`1`,seed:`0`,stitchTiles:`noStitch`,type:`turbulence`},content:new Set([`animate`,`set`])},filter:{attrsGroups:new Set([`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`filterRes`,`filterUnits`,`height`,`href`,`primitiveUnits`,`style`,`width`,`x`,`xlink:href`,`y`]),defaults:{primitiveUnits:`userSpaceOnUse`,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`},deprecated:{unsafe:new Set([`filterRes`])},contentGroups:new Set([`descriptive`,`filterPrimitive`]),content:new Set([`animate`,`set`])},font:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`horiz-adv-x`,`horiz-origin-x`,`horiz-origin-y`,`style`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`]),defaults:{"horiz-origin-x":`0`,"horiz-origin-y":`0`},deprecated:{unsafe:new Set([`horiz-origin-x`,`horiz-origin-y`,`vert-
6adv-y`,`vert-origin-x`,`vert-origin-y`])},contentGroups:new Set([`descriptive`]),content:new Set([`font-face`,`glyph`,`hkern`,`missing-glyph`,`vkern`])},"font-face":{attrsGroups:new Set([`core`]),attrs:new Set(`font-family.font-style.font-variant.font-weight.font-stretch.font-size.unicode-range.units-per-em.panose-1.stemv.stemh.slope.cap-height.x-height.accent-height.ascent.descent.widths.bbox.ideographic.alphabetic.mathematical.hanging.v-ideographic.v-alphabetic.v-mathematical.v-hanging.underline-position.underline-thickness.strikethrough-position.strikethrough-thickness.overline-position.overline-thickness`.split(`.`)),defaults:{"font-style":`all`,"font-variant":`normal`,"font-weight":`all`,"font-stretch":`normal`,"unicode-range":`U+0-10FFFF`,"units-per-em":`1000`,"panose-1":`0 0 0 0 0 0 0 0 0 0`,slope:`0`},deprecated:{unsafe:new Set([`accent-height`,`alphabetic`,`ascent`,`bbox`,`cap-height`,`descent`,`hanging`,`ideographic`,`mathematical`,`panose-1`,`slope`,`stemh`,`stemv`,`unicode-range`,`units-per-em`,`v-alphabetic`,`v-hanging`,`v-ideographic`,`v-mathematical`,`widths`,`x-height`])},contentGroups:new Set([`descriptive`]),content:new Set([`font-face-src`])},"font-face-format":{attrsGroups:new Set([`core`]),attrs:new Set([`string`]),deprecated:{unsafe:new Set([`string`])}},"font-face-name":{attrsGroups:new Set([`core`]),attrs:new Set([`name`]),deprecated:{unsafe:new Set([`name`])}},"font-face-src":{attrsGroups:new Set([`core`]),content:new Set([`font-face-name`,`font-face-uri`])},"font-face-uri":{attrsGroups:new Set([`core`,`xlink`]),attrs:new Set([`href`,`xlink:href`]),content:new Set([`font-face-format`])},foreignObject:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`height`,`style`,`transform`,`width`,`x`,`y`]),defaults:{x:`0`,y:`0`}},g:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`style`,`transform`]),contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},glyph:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`arabic-form`,`class`,`d`,`glyph-name`,`horiz-adv-x`,`lang`,`orientation`,`style`,`unicode`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`]),defaults:{"arabic-form":`initial`},deprecated:{unsafe:new Set([`arabic-form`,`glyph-name`,`horiz-adv-x`,`orientation`,`unicode`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`])},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},glyphRef:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`d`,`horiz-adv-x`,`style`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`]),deprecated:{unsafe:new Set([`horiz-adv-x`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`])},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},hatch:{attrsGroups:new Set([`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`hatchContentUnits`,`hatchUnits`,`pitch`,`rotate`,`style`,`transform`,`x`,`y`]),defaults:{hatchUnits:`objectBoundingBox`,hatchContentUnits:`userSpaceOnUse`,x:`0`,y:`0`,pitch:`0`,rotate:`0`},contentGroups:new Set([`animation`,`descriptive`]),content:new Set([`hatchPath`])},hatchPath:{attrsGroups:new Set([`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`style`,`d`,`offset`]),defaults:{offset:`0`},contentGroups:new Set([`animation`,`descriptive`])},hkern:{attrsGroups:new Set([`core`]),attrs:new Set([`u1`,`g1`,`u2`,`g2`,`k`]),deprecated:{unsafe:new Set([`g1`,`g2`,`k`,`u1`,`u2`])}},image:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`height`,`href`,`preserveAspectRatio`,`style`,`transform`,`width`,`x`,`xlink:href`,`y`]),defaults:{x:`0`,y:`0`,preserveAspectRatio:`xMidYMid meet`},contentGroups:new Set([`animation`,`descriptive`])},line:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`style`,`transform`,`x1`,`x2`,`y1`,`y2`]),defaults:{x1:`0`,y1:`0`,x2:`0`,y2:`0`},contentGroups:new Set([`animation`,`descriptive`])},linearGradient:{attrsGroups:new Set([`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`gradientTransform`,`gradientUnits`,`href`,`spreadMethod`,`style`,`x1`,`x2`,`xlink:href`,`y1`,`y2`]),defaults:{x1:`0`,y1:`0`,x2:`100%`,y2:`0`,spreadMethod:`pad`},contentGroups:new Set([`descriptive`]),content:new Set([`animate`,`animateTransform`,`set`,`stop`])},marker:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`markerHeight`,`markerUnits`,`markerWidth`,`orient`,`preserveAspectRatio`,`refX`,`refY`,`style`,`viewBox`]),defaults:{markerUnits:`strokeWidth`,refX:`0`,refY:`0`,markerWidth:`3`,markerHeight:`3`},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},mask:{attrsGroups:new Set([`conditionalProcessing`,`core`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`height`,`mask-type`,`maskContentUnits`,`maskUnits`,`style`,`width`,`x`,`y`]),defaults:{maskUnits:`objectBoundingBox`,maskContentUnits:`userSpaceOnUse`,x:`-10%`,y:`-10%`,width:`120%`,height:`120%`},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},metadata:{attrsGroups:new Set([`core`])},"missing-glyph":{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`d`,`horiz-adv-x`,`style`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`]),deprecated:{unsafe:new Set([`horiz-adv-x`,`vert-
6adv-y`,`vert-origin-x`,`vert-origin-y`])},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},mpath:{attrsGroups:new Set([`core`,`xlink`]),attrs:new Set([`externalResourcesRequired`,`href`,`xlink:href`]),contentGroups:new Set([`descriptive`])},path:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`d`,`externalResourcesRequired`,`pathLength`,`style`,`transform`]),contentGroups:new Set([`animation`,`descriptive`])},pattern:{attrsGroups:new Set([`conditionalProcessing`,`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`height`,`href`,`patternContentUnits`,`patternTransform`,`patternUnits`,`preserveAspectRatio`,`style`,`viewBox`,`width`,`x`,`xlink:href`,`y`]),defaults:{patternUnits:`objectBoundingBox`,patternContentUnits:`userSpaceOnUse`,x:`0`,y:`0`,width:`0`,height:`0`,preserveAspectRatio:`xMidYMid meet`},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},polygon:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`points`,`style`,`transform`]),contentGroups:new Set([`animation`,`descriptive`])},polyline:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`points`,`style`,`transform`]),contentGroups:new Set([`animation`,`descriptive`])},radialGradient:{attrsGroups:new Set([`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`cx`,`cy`,`externalResourcesRequired`,`fr`,`fx`,`fy`,`gradientTransform`,`gradientUnits`,`href`,`r`,`spreadMethod`,`style`,`xlink:href`]),defaults:{gradientUnits:`objectBoundingBox`,cx:`50%`,cy:`50%`,r:`50%`},contentGroups:new Set([`descriptive`]),content:new Set([`animate`,`animateTransform`,`set`,`stop`])},meshGradient:{attrsGroups:new Set([`core`,`presentation`,`xlink`]),attrs:new Set([`class`,`style`,`x`,`y`,`gradientUnits`,`transform`]),contentGroups:new Set([`descriptive`,`paintServer`,`animation`]),content:new Set([`meshRow`])},meshRow:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`style`]),contentGroups:new Set([`descriptive`]),content:new Set([`meshPatch`])},meshPatch:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`style`]),contentGroups:new Set([`descriptive`]),content:new Set([`stop`])},rect:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`height`,`rx`,`ry`,`style`,`transform`,`width`,`x`,`y`]),defaults:{x:`0`,y:`0`},contentGroups:new Set([`animation`,`descriptive`])},script:{attrsGroups:new Set([`core`,`xlink`]),attrs:new Set([`externalResourcesRequired`,`type`,`href`,`xlink:href`])},set:{attrsGroups:new Set([`animation`,`animationAttributeTarget`,`animationTiming`,`conditionalProcessing`,`core`,`xlink`]),attrs:new Set([`externalResourcesRequired`,`to`]),contentGroups:new Set([`descriptive`])},solidColor:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`style`]),contentGroups:new Set([`paintServer`])},stop:{attrsGroups:new Set([`core`,`presentation`]),attrs:new Set([`class`,`style`,`offset`,`path`]),content:new Set([`animate`,`animateColor`,`set`])},style:{attrsGroups:new Set([`core`]),attrs:new Set([`type`,`media`,`title`]),defaults:{type:`text/css`}},svg:{attrsGroups:new Set([`conditionalProcessing`,`core`,`documentEvent`,`graphicalEvent`,`presentation`]),attrs:new Set([`baseProfile`,`class`,`contentScriptType`,`contentStyleType`,`height`,`preserveAspectRatio`,`style`,`version`,`viewBox`,`width`,`x`,`y`,`zoomAndPan`]),defaults:{x:`0`,y:`0`,width:`100%`,height:`100%`,preserveAspectRatio:`xMidYMid meet`,zoomAndPan:`magnify`,version:`1.1`,baseProfile:`none`,contentScriptType:`application/ecmascript`,contentStyleType:`text/css`},deprecated:{safe:new Set([`version`]),unsafe:new Set([`baseProfile`,`contentScriptType`,`contentStyleType`,`zoomAndPan`])},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},switch:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`style`,`transform`]),contentGroups:new Set([`animation`,`descriptive`,`shape`]),content:new Set([`a`,`foreignObject`,`g`,`image`,`svg`,`switch`,`text`,`use`])},symbol:{attrsGroups:new Set([`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`externalResourcesRequired`,`preserveAspectRatio`,`refX`,`refY`,`style`,`viewBox`]),defaults:{refX:`0`,refY:`0`},contentGroups:new Set([`animation`,`descriptive`,`paintServer`,`shape`,`structural`]),content:new Set([`a`,`altGlyphDef`,`clipPath`,`color-profile`,`cursor`,`filter`,`font-face`,`font`,`foreignObject`,`image`,`marker`,`mask`,`pattern`,`script`,`style`,`switch`,`text`,`view`])},text:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`dx`,`dy`,`externalResourcesRequired`,`lengthAdjust`,`rotate`,`style`,`textLength`,`transform`,`x`,`y`]),defaults:{x:`0`,y:`0`,lengthAdjust:`spacing`},contentGroups:new Set([`animation`,`descriptive`,`textContentChild`]),content:new Set([`a`])},textPath:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`,`xlink`]),attrs:new Set([`class`,`d`,`externalResourcesRequired`,`href`,`method`,`spacing`,`startOffset`,`style`,`xlink:href`]),defaults:{startOffset:`0`,method:`align`,spacing:`exact`},contentGroups:new Set([`descriptive`]),content:new Set([`a`,`altGlyph`,`animate`,`animateColor`,`set`,`tref`,`tspan`])},title:{attrsGroups:new Set([`core`]),attrs:new Set([`class`,`style`])},tref:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`href`,`style`,`xlink:href`]),contentGroups:new Set([`descriptive`]),content:new Set([`animate`,`animateColor`,`set`])},tspan:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`]),attrs:new Set([`class`,`dx`,`dy`,`externalResourcesRequired`,`lengthAdjust`,`rotate`,`style`,`textLength`,`x`,`y`]),contentGroups:new Set([`descriptive`]),content:new Set([`a`,`altGlyph`,`animate`,`animateColor`,`set`,`tref`,`tspan`])},use:{attrsGroups:new Set([`conditionalProcessing`,`core`,`graphicalEvent`,`presentation`,`xlink`]),attrs:new Set([`class`,`externalResourcesRequired`,`height`,`href`,`style`,`transform`,`width`,`x`,`xlink:href`,`y`]),defaults:{x:`0`,y:`0`},contentGroups:new Set([`animation`,`descriptive`])},view:{attrsGroups:new Set([`core`]),attrs:new Set([`externalResourcesRequired`,`preserveAspectRatio`,`viewBox`,`viewTarget`,`zoomAndPan`]),deprecated:{unsafe:new Set([`viewTarget`,`zoomAndPan`])},contentGroups:new Set([`descriptive`])},vkern:{attrsGroups:new Set([`core`]),attrs:new Set([`u1`,`g1`,`u2`,`g2`,`k`]),deprecated:{unsafe:new Set([`g1`,`g2`,`k`,`u1`,`u2`])}}},sr=new Set([`http://creativecommons.org/ns#`,`http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd`,`http://krita.org/namespaces/svg/krita`,`http://ns.adobe.com/AdobeIllustrator/10.0/`,`http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/`,`http://ns.adobe.com/Extensibility/1.0/`,`http://ns.adobe.com/Flows/1.0/`,`http://ns.adobe.com/GenericCustomNamespace/1.0/`,`http://ns.adobe.com/Graphs/1.0/`,`http://ns.adobe.com/ImageReplacement/1.0/`,`http://ns.adobe.com/SaveForWeb/1.0/`,`http://ns.adobe.com/Variables/1.0/`,`http://ns.adobe.com/XPath/1.0/`,`http://purl.org/dc/elements/1.1/`,`http://schemas.microsoft.com/visio/2003/SVGExtensions/`,`http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd`,`http://taptrix.com/vectorillustrator/svg_extensions`,`http://www.bohemiancoding.com/sketch/ns`,`http://www.figma.com/figma/ns`,`http://www.inkscape.org/namespaces/inkscape`,`http://www.serif.com/`,`http://www.vector.evaxdesign.sk`,`http://www.w3.org/1999/02/22-rdf-syntax-ns#`,`https://boxy-svg.com`]),cr=new Set([`clip-path`,`color-profile`,`fill`,`filter`,`marker-end`,`marker-mid`,`marker-start`,`mask`,`stroke`,`style`]),lr=new Set(`clip-rule.color-interpolation-filters.color-interpolation.color-profile.color-rendering.color.cursor.direction.dominant-baseline.fill-opacity.fill-rule.fill.font-family.font-size-adjust.font-size.font-stretch.font-style.font-variant.font-weight.font.glyph-orientation-horizontal.glyph-orientation-vertical.image-rendering.letter-spacing.marker-end.marker-mid.marker-start.marker.paint-order.pointer-events.shape-rendering.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.stroke.text-anchor.text-rendering.transform.visibility.word-spacing.writing-mode`.split(`.`)),ur=new Set([`clip-path`,`display`,`filter`,`mask`,`opacity`,`text-decoration`,`transform`,`unicode-bidi`]),dr={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#0ff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000`,blanchedalmond:`#ffebcd`,blue:`#00f`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#0ff`,dar
6kblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#f0f`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,gold:`#ffd700`,goldenrod:`#daa520`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavender:`#e6e6fa`,lavenderblush:`#fff0f5`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#789`,lightslategrey:`#789`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#0f0`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#f0f`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#639`,red:`#f00`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#fff`,whitesmoke:`#f5f5f5`,yellow:`#ff0`,yellowgreen:`#9acd32`},fr={"#f0ffff":`azure`,"#f5f5dc":`beige`,"#ffe4c4":`bisque`,"#a52a2a":`brown`,"#ff7f50":`coral`,"#ffd700":`gold`,"#808080":`gray`,"#008000":`green`,"#4b0082":`indigo`,"#fffff0":`ivory`,"#f0e68c":`khaki`,"#faf0e6":`linen`,"#800000":`maroon`,"#000080":`navy`,"#808000":`olive`,"#ffa500":`orange`,"#da70d6":`orchid`,"#cd853f":`peru`,"#ffc0cb":`pink`,"#dda0dd":`plum`,"#800080":`purple`,"#f00":`red`,"#ff0000":`red`,"#fa8072":`salmon`,"#a0522d":`sienna`,"#c0c0c0":`silver`,"#fffafa":`snow`,"#d2b48c":`tan`,"#008080":`teal`,"#ff6347":`tomato`,"#ee82ee":`violet`,"#f5deb3":`wheat`},pr=new Set([`color`,`fill`,`flood-color`,`lighting-color`,`stop-color`,`stroke`]),mr={displayState:new Set([`fullscreen`,`modal`,`picture-in-picture`]),input:new Set([`autofill`,`blank`,`checked`,`default`,`disabled`,`enabled`,`in-range`,`indeterminate`,`invalid`,`optional`,`out-of-range`,`placeholder-shown`,`read-only`,`read-write`,`required`,`user-invalid`,`valid`]),linguistic:new Set([`dir`,`lang`]),location:new Set([`any-link`,`link`,`local-link`,`scope`,`target-within`,`target`,`visited`]),resourceState:new Set([`playing`,`paused`]),timeDimensional:new Set([`current`,`past`,`future`]),treeStructural:new Set([`empty`,`first-child`,`first-of-type`,`last-child`,`last-of-type`,`nth-child`,`nth-last-child`,`nth-last-of-type`,`nth-of-type`,`only-child`,`only-of-type`,`root`]),userAction:new Set([`active`,`focus-visible`,`focus-within`,`focus`,`hover`]),functional:new Set([`is`,`not`,`where`,`has`])};Object.freeze({__proto__:null,attrsGroups:rr,attrsGroupsDefaults:ir,attrsGroupsDeprecated:ar,colorsNames:dr,colorsProps:pr,colorsShortNames:fr,editorNamespaces:sr,elems:or,elemsGroups:er,inheritableAttrs:lr,pathElems:nr,presentationNonInheritableGroupAttrs:ur,pseudoClasses:mr,referencesProps:cr,textElems:tr});var hr=0,E=1,D=2,O=3,k=4,gr=5,_r=6,vr=7,yr=8,A=9,j=10,M=11,N=12,P=13,br=14,xr=15,Sr=16,Cr=17,wr=18,Tr=19,Er=20,F=21,I=22,Dr=23,Or=24,kr=25,Ar=0;function jr(e){return e>=48&&e<=57}function Mr(e){return jr(e)||e>=65&&e<=70||e>=97&&e<=102}function Nr(e){return e>=65&&e<=90}function Pr(e){return e>=97&&e<=122}function Fr(e){return Nr(e)||Pr(e)}function Ir(e){return e>=128}function Lr(e){return Fr(e)||Ir(e)||e===95}function Rr(e){return Lr(e)||jr(e)||e===45}function zr(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Br(e){return e===10||e===13||e===12}function Vr(e){return Br(e)||e===32||e===9}function Hr(e,t){return!(e!==92||Br(t)||t===Ar)}
6function Ur(e,t,n){return e===45?Lr(t)||t===45||Hr(t,n):Lr(e)?!0:e===92&&Hr(e,t)}function Wr(e,t,n){return e===43||e===45?jr(t)?2:t===46&&jr(n)?3:0:e===46?jr(t)?2:0:+!!jr(e)}function Gr(e){return+(e===65279||e===65534)}var Kr=Array(128),qr=128,Jr=130,Yr=131,Xr=132,Zr=133;for(let e=0;e<Kr.length;e++)Kr[e]=Vr(e)&&Jr||jr(e)&&Yr||Lr(e)&&Xr||zr(e)&&Zr||e||qr;function Qr(e){return e<128?Kr[e]:Xr}function $r(e,t){return t<e.length?e.charCodeAt(t):0}function ei(e,t,n){return n===13&&$r(e,t+1)===10?2:1}function ti(e,t,n){let r=e.charCodeAt(t);return Nr(r)&&(r|=32),r===n}function ni(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),a=e.charCodeAt(i);if(Nr(a)&&(a|=32),a!==n)return!1}return!0}function ri(e,t){for(;t>=0&&Vr(e.charCodeAt(t));t--);return t+1}function ii(e,t){for(;t<e.length&&Vr(e.charCodeAt(t));t++);return t}function ai(e,t){for(;t<e.length&&jr(e.charCodeAt(t));t++);return t}function oi(e,t){if(t+=2,Mr($r(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Mr($r(e,t));t++);let n=$r(e,t);Vr(n)&&(t+=ei(e,t,n))}return t}function si(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!Rr(n)){if(Hr(n,$r(e,t+1))){t=oi(e,t)-1;continue}break}}return t}function ci(e,t){let n=e.charCodeAt(t);if(n!==43&&n!==45||(n=e.charCodeAt(t+=1)),jr(n)&&(t=ai(e,t+1),n=e.charCodeAt(t)),n===46&&jr(e.charCodeAt(t+1))&&(t+=2,t=ai(e,t)),ti(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),jr(n)&&(t=ai(e,t+1+r+1))}return t}function li(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n===41){t++;break}Hr(n,$r(e,t+1))&&(t=oi(e,t))}return t}function ui(e){if(e.length===1&&!Mr(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var di=`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`.split(`.`),fi=16384;function pi(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,fi)):e}var mi=10,hi=12,gi=13;function _i(e){let t=e.source,n=t.length,r=t.length>0?Gr(t.charCodeAt(0)):0,i=pi(e.lines,n),a=pi(e.columns,n),o=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);i[e]=o,a[e]=s++,(r===mi||r===gi||r===hi)&&(r===gi&&e+1<n&&t.charCodeAt(e+1)===mi&&(e++,i[e]=o,a[e]=s),o++,s=1)}i[n]=o,a[n]=s,e.lines=i,e.columns=a,e.computed=!0}var vi=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||_i(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||_i(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]}}}},yi=16777215,bi=24,xi=1,Si=2,Ci=new Uint8Array(32);Ci[D]=I,Ci[F]=I,Ci[Tr]=Er,Ci[Dr]=Or;var wi=new Uint8Array(32);wi[D]=xi,wi[F]=xi,wi[Tr]=xi,wi[Dr]=xi,wi[I]=Si,wi[Er]=Si,wi[Or]=Si;function Ti(e,t,n){return e<t?t:e>n?n:e}var Ei=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=()=>{}){e=String(e||``);let n=e.length,r=pi(this.offsetAndType,e.length+1),i=pi(this.balance,e.length+1),a=0,o=-1,s=0,c=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(e,t,n)=>{let l=a++;if(r[l]=e<<bi|n,o===-1&&(o=t),i[l]=c,e===s){let e=i[c];i[c]=l,c=e,s=Ci[r[e]>>bi]}else this.isBlockOpenerTokenType(e)&&(c=l,s=Ci[e])}),r[a]=0|n,i[a]=a;for(let e=0;e<a;e++){let t=i[e];if(t<=e){let n=i[t];n!==e&&(i[e]=n)}else t>a&&(i[e]=a)}this.source=e,this.firstCharOffset=o===-1?0:o,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>bi:hr}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let n=this.offsetAndType[t]>>bi;if(n!==P&&n!==kr&&e--===0)return n}return hr}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&yi:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let n=this.offsetAndType[t]>>bi;if(n!==P&&n!==kr&&e--===0)return t-this.tokenIndex}return hr}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount&&ni(this.source,this.offsetAndType[e-1]&yi,this.offsetAndType[e]&yi,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&yi:this.offsetAndType[this.tokenCount]&yi:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[Ti(e,0,this.tokenCount)]&yi}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[Ti(e,0,this.tokenCount)]>>bi}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return wi[e]===xi}isBlockCloserTokenType(e){return wi[e]===Si}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(wi[t]===1){let n=this.balance[e],r=this.getTokenType(n);return Ci[t]===r?n:-1}if(wi[t]===2){let n=this.balance[e];return Ci[this.getTokenType(n)]===t?n:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===A&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===A&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&yi,t=this.offsetAndType[t],this.tokenType=t>>bi,this.tokenEnd=t&yi):(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>>bi,this.tokenEnd=e&yi):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=hr,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===P||this.tokenType===kr;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,i=0;loop:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break loop;switch(i=n>0?this.offsetAndType[n-1]&yi:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break loop;case 2:n++;break loop;default:this.isBlockOpenerTokenType(this.offsetAndType[n]>>bi)&&(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],a=i&yi,o=i>>bi;n=a,e(o,r,a,t)}}dump(){let e=Array(this.tokenCount);return this.forEachToken((t,n,r,i)=>{e[i]={idx:i,type:di[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function Di(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){if(l=ci(e,l),Ur(n(l),n(l+1),n(l+2))){u=N,l=si(e,l);return}if(n(l)===37){u=M,l++;return}u=j}function i(){let t=l;if(l=si(e,l),ni(e,t,l,`url`)&&n(l)===40){if(l=ii(e,l+1),n(l)===34||n(l)===39){u=D,l=t+4;return}o();return}if(n(l)===40){u=D,l++;return}u=E}function a(t){for(t||=n(l++),u=gr;l<e.length;l++){let r=e.charCodeAt(l);switch(Qr(r)){case t:l++;return;case Jr:if(Br(r)){l+=ei(e,l,r),u=_r;return}break;case 92:if(l===e.length-1)break;let i=n(l+1);Br(i)?l+=ei(e,l+1,i):Hr(r,i)&&(l=oi(e,l)-1)}}}function o(){for(u=vr,l=ii(e,l);l<e.length;l++){let t=e.charCodeAt(l);switch(Qr(t)){case 41:l++;return;case Jr:if(l=ii(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=li(e,l),u=yr;return;case 34:case 39:case 40:case Zr:l=li(e,l),u=yr;return;case 92:if(Hr(t,n(l+1))){l=oi(e,l)-1;break}l=li(e,l),u=yr;return}}}e=String(e||``);let s=e.length,c=Gr(n(0)),l=c,u;
6for(;l<s;){let o=e.charCodeAt(l);switch(Qr(o)){case Jr:u=P,l=ii(e,l+1);break;case 34:a();break;case 35:Rr(n(l+1))||Hr(n(l+1),n(l+2))?(u=k,l=si(e,l+1)):(u=A,l++);break;case 39:a();break;case 40:u=F,l++;break;case 41:u=I,l++;break;case 43:Wr(o,n(l+1),n(l+2))?r():(u=A,l++);break;case 44:u=wr,l++;break;case 45:Wr(o,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=xr,l+=3):Ur(o,n(l+1),n(l+2))?i():(u=A,l++);break;case 46:Wr(o,n(l+1),n(l+2))?r():(u=A,l++);break;case 47:n(l+1)===42?(u=kr,l=e.indexOf(`*/`,l+2),l=l===-1?e.length:l+2):(u=A,l++);break;case 58:u=Sr,l++;break;case 59:u=Cr,l++;break;case 60:n(l+1)===33&&n(l+2)===45&&n(l+3)===45?(u=br,l+=4):(u=A,l++);break;case 64:Ur(n(l+1),n(l+2),n(l+3))?(u=O,l=si(e,l+1)):(u=A,l++);break;case 91:u=Tr,l++;break;case 92:Hr(o,n(l+1))?i():(u=A,l++);break;case 93:u=Er,l++;break;case 123:u=Dr,l++;break;case 125:u=Or,l++;break;case Yr:r();break;case Xr:i();break;default:u=A,l++}t(u,c,c=l)}}var Oi=null,ki=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 Oi===null?n={prev:e,next:t,cursor:this.cursor}:(n=Oi,Oi=Oi.cursor,n.prev=e,n.next=t,n.cursor=this.cursor),this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Oi,Oi=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;i!==null;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){let t=e.createItem(r);n===null?this.head=t:n.next=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(;n.next!==null;){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(;n.prev!==null;){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,a;for(;r.next!==null;)a=r.next,r.next=a.next,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),i=t,a;for(;r.prev!==null;)a=r.prev,r.prev=a.prev,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;n!==null;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;e!==null;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;e!==null;e=e.next)t.call(n,e.data,e,this)&&r.appendData(e.data);return r}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){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(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){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),this.head===null?this.tail=e:(this.head.prev=e,e.next=this.head),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(t!==null){if(this.updateCursors(t.prev,e,t,e),t.prev===null){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),this.tail===null?this.head=e:(this.tail.next=e,e.prev=this.tail),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),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw Error(`item doesn't belong to list`);this.head=e.next}if(e.next!==null)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 this.tail===null?null:this.remove(this.tail)}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head===null?null:this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t==null?(this.updateCursors(this.tail,e.tail,null,e.head),this.tail===null?this.head=e.head:(this.tail.next=e.head,e.head.prev=this.tail),this.tail=e.tail):(this.updateCursors(t.prev,e.tail,t,e.head),t.prev===null?this.head=e.head:(t.prev.next=e.head,e.head.prev=t.prev),t.prev=e.tail,e.tail.next=t),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 Ai(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}\n`)}})}var ji=100,Mi=60,Ni=` `;function Pi({source:e,line:t,column:n,baseLine:r,baseColumn:i},a){function o(e,t){return s.slice(e,t).map((t,n)=>String(e+n+1).padStart(u)+` |`+t).join(` 7`)}let s=(` 8`.repeat(Math.max(r-1,0))+` `.repeat(Math.max(i-1,0))+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-a)-1,l=Math.min(t+a,s.length+1),u=Math.max(4,String(l).length)+1,d=0;n+=3*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>ji&&(d=n-Mi+3,n=58);for(let e=c;e<=l;e++)e>=0&&e<s.length&&(s[e]=s[e].replace(/\t/g,Ni),s[e]=(d>0&&s[e].length>d?`â¦`:``)+s[e].substr(d,98)+(s[e].length>d+ji-1?`â¦`:``));
8return[o(c,t),Array(n+u+2).join(`-`)+`^`,o(t,l)].filter(Boolean).join(` 9`).replace(/^(\s+\d+\s+\|\n)+/,``).replace(/\n(\s+\d+\s+\|)+$/,``)}function Fi(e,t,n,r,i,a=1,o=1){return Object.assign(Ai(`SyntaxError`,e),{source:t,offset:n,line:r,column:i,sourceFragment:e=>Pi({source:t,line:r,column:i,baseLine:a,baseColumn:o},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+Pi({source:t,line:r,column:i,baseLine:a,baseColumn:o},2)}})}function Ii(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case kr:this.next();continue;case P:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&=(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var Li=()=>{},Ri=33,zi=35,Bi=59,Vi=123,Hi=0,Ui={createList:()=>[],createSingleNodeList:e=>[e],getFirstListNode:e=>e&&e[0]||null,getLastListNode:e=>e&&e.length>0?e[e.length-1]:null},Wi={createList:()=>new ki,createSingleNodeList:e=>new ki().appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last};function Gi(e){return function(){return this[e]()}}function Ki(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}function qi(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Ki(e.atrule),pseudo:Ki(e.pseudo),node:Ki(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]=Gi(r)}return{config:t,...t,...t.node}}function Ji(e){let t=``,n=`<unknown>`,r=!1,i=Li,a=!1,o=new vi,s=Object.assign(new Ei,qi(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Ii,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>+(e===Vi),consumeUntilLeftCurlyBracketOrSemicolon:e=>+(e===Vi||e===Bi),consumeUntilExclamationMarkOrSemicolon:e=>+(e===Ri||e===Bi),consumeUntilSemicolonIncluded:e=>e===Bi?2:0,createList:Li,createSingleNodeList:Li,getFirstListNode:Li,getLastListNode:Li,parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(a)throw e;this.skip(n-this.tokenIndex);let r=t.call(this);return a=!0,i(e,r),a=!1,r}},lookupNonWSType(e){let t;do if(t=this.lookupType(e++),t!==P&&t!==kr)return t;while(t!==Hi);return Hi},charCodeAt:e=>e>=0&&e<t.length?t.charCodeAt(e):0,substring:(e,n)=>t.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>ti(t,e,n),cmpStr:(e,n,r)=>ni(t,e,n,r),consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(D),e},consumeNumber(e){let n=t.substring(this.tokenStart,ci(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=di[e].slice(0,-6).replace(/-/g,` `).replace(/^./,e=>e.toUpperCase()),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case E:this.tokenType===D||this.tokenType===vr?(r=this.tokenEnd-1,n=`Identifier is expected but function found`):n=`Identifier is expected`;break;case k:this.isDelim(zi)&&(this.next(),r++,n=`Name is expected`);break;case M:this.tokenType===j&&(r=this.tokenEnd,n=`Percent sign is expected`)}this.error(n,r)}this.next()},eatIdent(e){this.tokenType===E&&this.lookupValue(0,e)!==!1||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){return r?o.getLocationRange(e,t,n):null},getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return o.getLocationRange(t===null?this.tokenStart:t.loc.start.offset-o.startOffset,r===null?this.tokenStart:r.loc.end.offset-o.startOffset,n)}return null},error(e,n){let r=n!==void 0&&n<t.length?o.getLocation(n):this.eof?o.getLocation(ri(t,t.length-1)):o.getLocation(this.tokenStart);throw new Fi(e||`Unexpected input`,t,r.offset,r.line,r.column,o.startLine,o.startColumn)}}),c=()=>({filename:n,source:t,tokenCount:s.tokenCount,getTokenType:e=>s.getTokenType(e),getTokenTypeName:e=>di[s.getTokenType(e)],getTokenStart:e=>s.getTokenStart(e),getTokenEnd:e=>s.getTokenEnd(e),getTokenValue:e=>s.source.substring(s.getTokenStart(e),s.getTokenEnd(e)),substring:(e,t)=>
9s.source.substring(e,t),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:e=>s.getBlockTokenPairIndex(e),getLocation:e=>o.getLocation(e,n),getRangeLocation:(e,t)=>o.getLocationRange(e,t,n)});return Object.assign(function(e,l){t=e,l||={},s.setSource(t,Di),o.setSource(t,l.offset,l.line,l.column),n=l.filename||`<unknown>`,r=!!l.positions,i=typeof l.onParseError==`function`?l.onParseError:Li,a=!1,s.parseAtrulePrelude=!(`parseAtrulePrelude`in l)||!!l.parseAtrulePrelude,s.parseRulePrelude=!(`parseRulePrelude`in l)||!!l.parseRulePrelude,s.parseValue=!(`parseValue`in l)||!!l.parseValue,s.parseCustomProperty=`parseCustomProperty`in l&&!!l.parseCustomProperty;let{context:u=`default`,list:d=!0,onComment:f,onToken:p}=l;if(!(u in s.context))throw Error("Unknown context `"+u+"`");Object.assign(s,d?Wi:Ui),Array.isArray(p)?s.forEachToken((e,t,n)=>{p.push({type:e,start:t,end:n})}):typeof p==`function`&&s.forEachToken(p.bind(c())),typeof f==`function`&&s.forEachToken((e,n,r)=>{if(e===kr){let e=s.getLocation(n,r),i=ni(t,r-2,r,`*/`)?t.slice(n+2,r-2):t.slice(n+2,r);f(i,e)}});let m=s.context[u].call(s,l);return s.eof||s.error(),m},{SyntaxError:Fi,config:s.config})}var Yi={},Xi={},Zi={},Qi;function $i(){if(Qi)return Zi;Qi=1;var e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);return Zi.encode=function(t){if(0<=t&&t<e.length)return e[t];throw TypeError(`Must be between 0 and 63: `+t)},Zi.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1},Zi}var ea;function ta(){if(ea)return Xi;ea=1;var e=$i(),t=5,n=1<<t,r=n-1,i=n;function a(e){return e<0?1+(-e<<1):0+(e<<1)}function o(e){var t=(e&1)==1,n=e>>1;return t?-n:n}return Xi.encode=function(n){var o=``,s,c=a(n);do s=c&r,c>>>=t,c>0&&(s|=i),o+=e.encode(s);while(c>0);return o},Xi.decode=function(n,a,s){var c=n.length,l=0,u=0,d,f;do{if(a>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=e.decode(n.charCodeAt(a++)),f===-1)throw Error(`Invalid base64 digit: `+n.charAt(a-1));d=!!(f&i),f&=r,l+=f<<u,u+=t}while(d);s.value=o(l),s.rest=a},Xi}var na={},ra;function ia(){return ra?na:(ra=1,(function(e){function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;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.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;){if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++}for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(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 n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function ee(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=ee;function te(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=te})(na),na)}var aa={},oa;function sa(){if(oa)return aa;oa=1;var e=ia(),t=Object.prototype.hasOwnProperty,n=typeof Map<`u`;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,a=e.length;i<a;i++)n.add(e[i],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,i){var a=n?r:e.toSetString(r),o=n?this.has(r):t.call(this._set,a),s=this._array.length;o&&!i||this._array.push(r),o||(n?this._set.set(r,s):this._set[a]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var i=e.toSetString(r);return t.call(this._set,i)},r.prototype.indexOf=function(r){if(n){var i=this._set.get(r);if(i>=0)return i}else{var a=e.toSetString(r);if(t.call(this._set,a))return this._set[a]}throw Error(`"`+r+`" is not in the set.`)},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},r.prototype.toArray=function(){return this._array.slice()},aa.ArraySet=r,aa}var ca={},la;function ua(){if(la)return ca;la=1;var e=ia();function t(t,n){var r=t.generatedLine,i=n.generatedLine,a=t.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||e.compareByGeneratedPositionsInflated(t,n)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||=(this._array.sort(e.compareByGeneratedPositionsInflated),!0),this._array},ca.MappingList=n,ca}var da;function fa(){if(da)return Yi;da=1;var e=ta(),t=ia(),n=sa().ArraySet,r=ua().MappingList;function i(e){e||={},this._file=t.getArg(e,`file`,null),this._sourceRoot=t.getArg(e,`sourceRoot`,null),this._skipValidation=t.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=t.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e,n){var r=e.sourceRoot,a=new i(Object.assign(n||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(n.source=e.source,r!=null&&(n.source=t.relative(r,n.source)),n.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(n.name=e.name)),a.addMapping(n)}
9),e.sources.forEach(function(n){var i=n;r!==null&&(i=t.relative(r,n)),a._sources.has(i)||a._sources.add(i);var o=e.sourceContentFor(n);o!=null&&a.setSourceContent(n,o)}),a},i.prototype.addMapping=function(e){var n=t.getArg(e,`generated`),r=t.getArg(e,`original`,null),i=t.getArg(e,`source`,null),a=t.getArg(e,`name`,null);(this._skipValidation||this._validateMapping(n,r,i,a)!==!1)&&(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},i.prototype.setSourceContent=function(e,n){var r=e;this._sourceRoot!=null&&(r=t.relative(this._sourceRoot,r)),n==null?this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[t.toSetString(r)]=n)},i.prototype.applySourceMap=function(e,r,i){var a=r;if(r==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=t.relative(o,a));var s=new n,c=new n;this._mappings.unsortedForEach(function(n){if(n.source===a&&n.originalLine!=null){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});r.source!=null&&(n.source=r.source,i!=null&&(n.source=t.join(i,n.source)),o!=null&&(n.source=t.relative(o,n.source)),n.originalLine=r.line,n.originalColumn=r.column,r.name!=null&&(n.name=r.name))}var l=n.source;l==null||s.has(l)||s.add(l);var u=n.name;u==null||c.has(u)||c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(n){var r=e.sourceContentFor(n);r!=null&&(i!=null&&(n=t.join(i,n)),o!=null&&(n=t.relative(o,n)),this.setSourceContent(n,r))},this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){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 typeof console<`u`&&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)&&!(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)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},i.prototype._serializeMappings=function(){for(var n=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(n=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!t.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=e.encode(u.generatedColumn-n),n=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=e.encode(f-s),s=f,l+=e.encode(u.originalLine-1-a),a=u.originalLine-1,l+=e.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=e.encode(d-o),o=d)),c+=l}return c},i.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;n!=null&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},Yi.SourceMapGenerator=i,Yi}var pa=fa(),ma=new Set([`Atrule`,`Selector`,`Declaration`]);function ha(e){let t=new pa.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},a={generated:i},o=1,s=0,c=!1,l=e.node;e.node=function(e){if(e.loc&&e.loc.start&&ma.has(e.type)){let l=e.loc.start.line,u=e.loc.start.column-1;(r.line!==l||r.column!==u)&&(r.line=l,r.column=u,n.line=o,n.column=s,c&&(c=!1,n.line===i.line&&n.column===i.column||t.addMapping(a)),c=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}l.call(this,e),c&&ma.has(e.type)&&(i.line=o,i.column=s)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)e.charCodeAt(t)===10?(o++,s=0):s++;u(e,t,n)};let d=e.result;return e.result=function(){return c&&t.addMapping(a),{css:d(),map:t}},e}var ga=43,_a=45,va=(e,t)=>
9(e===A&&(e=t),typeof e==`string`&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),ya=[[E,E],[E,D],[E,vr],[E,yr],[E,`-`],[E,j],[E,M],[E,N],[E,xr],[E,F],[O,E],[O,D],[O,vr],[O,yr],[O,`-`],[O,j],[O,M],[O,N],[O,xr],[k,E],[k,D],[k,vr],[k,yr],[k,`-`],[k,j],[k,M],[k,N],[k,xr],[N,E],[N,D],[N,vr],[N,yr],[N,`-`],[N,j],[N,M],[N,N],[N,xr],[`#`,E],[`#`,D],[`#`,vr],[`#`,yr],[`#`,`-`],[`#`,j],[`#`,M],[`#`,N],[`#`,xr],[`-`,E],[`-`,D],[`-`,vr],[`-`,yr],[`-`,`-`],[`-`,j],[`-`,M],[`-`,N],[`-`,xr],[j,E],[j,D],[j,vr],[j,yr],[j,j],[j,M],[j,N],[j,`%`],[j,xr],[`@`,E],[`@`,D],[`@`,vr],[`@`,yr],[`@`,`-`],[`@`,xr],[`.`,j],[`.`,M],[`.`,N],[`+`,j],[`+`,M],[`+`,N],[`/`,`*`]],ba=ya.concat([[E,k],[N,k],[k,k],[O,F],[O,gr],[O,Sr],[M,M],[M,N],[M,D],[M,`-`],[I,E],[I,D],[I,M],[I,N],[I,k],[I,`-`]]);function xa(e){let t=new Set(e.map(([e,t])=>va(e)<<16|va(t)));return function(e,n,r){let i=va(n,r),a=r.charCodeAt(0);return i|(a===_a&&n!==E&&n!==D&&n!==xr||a===ga?t.has((e&65534)<<16|a<<7):t.has((e&65534)<<16|i))}}var Sa=xa(ya),Ca=xa(ba),wa=Object.freeze({__proto__:null,safe:Ca,spec:Sa}),Ta=92;function Ea(e,t){if(typeof t==`function`){let n=null;e.children.forEach(e=>{n!==null&&t.call(this,n),this.node(e),n=e});return}e.children.forEach(this.node,this)}function Da(e){let t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)==`function`&&t.set(n,r.generate||r);return function(e,n){let r=``,i=0,a={node(e){if(!t.has(e.type))throw Error(`Unknown node type: `+e.type);t.get(e.type).call(o,e)},tokenBefore:Ca,token(e,t,n){i=this.tokenBefore(i,e,t),!n&&i&1&&this.emit(` `,P,!0),this.emit(t,e,!1),e===A&&t.charCodeAt(0)===Ta&&this.emit(` 10`,P,!0)},emit(e){r+=e},result:()=>r};n&&(typeof n.decorator==`function`&&(a=n.decorator(a)),n.sourceMap&&(a=ha(a)),n.mode in wa&&(a.tokenBefore=wa[n.mode]));let o={node:e=>a.node(e),children:Ea,token:(e,t)=>a.token(e,t),tokenize:e=>Di(e,(t,n,r)=>{a.token(t,e.slice(n,r),n!==0)})};return a.node(e),a.result()}}function Oa(e){return{fromPlainObject(t){return e(t,{enter(e){e.children&&!(e.children instanceof ki)&&(e.children=new ki().fromArray(e.children))}}),t},toPlainObject(t){return e(t,{leave(e){e.children&&e.children instanceof ki&&(e.children=e.children.toArray())}}),t}}}var{hasOwnProperty:ka}=Object.prototype,Aa=function(){};function ja(e){return typeof e==`function`?e:Aa}function Ma(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Na(e,t){let n=t.structure,r=[];for(let e in n){if(ka.call(n,e)===!1)continue;let t=n[e],i={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)e===null?i.nullable=!0:typeof e==`string`?i.type=`node`:Array.isArray(e)&&(i.type=`list`);i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function Pa(e){let t={};for(let n in e.node)if(ka.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Na(n,r)}return t}function Fa(e,t){let n=e.fields.slice(),r=e.context,i=typeof r==`string`;return t&&n.reverse(),function(e,a,o,s){let c;i&&(c=a[r],a[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n){if(r.type===`list`){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(o(n))return!0}}i&&(a[r]=c)}}function Ia({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 La(e){let t=Pa(e),n={},r={},i=Symbol(`break-walk`),a=Symbol(`skip-node`);for(let e in t)ka.call(t,e)&&t[e]!==null&&(n[e]=Fa(t[e],!1),r[e]=Fa(t[e],!0));let o=Ia(n),s=Ia(r),c=function(e,c){function l(e,t,n){let r=u.call(m,e,t,n);return r===i||r!==a&&!!(f.hasOwnProperty(e.type)&&f[e.type](e,m,l,p)||d.call(m,e,t,n)===i)}let u=Aa,d=Aa,f=n,p=(e,t,n,r)=>e||l(t,n,r),m={break:i,skip:a,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c==`function`)u=c;else if(c&&(u=ja(c.enter),d=ja(c.leave),c.reverse&&(f=r),c.visit)){if(o.hasOwnProperty(c.visit))f=c.reverse?s[c.visit]:o[c.visit];else if(!t.hasOwnProperty(c.visit))throw Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(`, `)+`)`);u=Ma(u,c.visit),d=Ma(d,c.visit)}if(u===Aa&&d===Aa)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");l(e)};return c.break=i,c.skip=a,c.find=function(e,t){let n=null;return c(e,function(e,r,a){if(t.call(this,e,r,a))return n=e,i}),n},c.findLast=function(e,t){let n=null;return c(e,{reverse:!0,enter(e,r,a){if(t.call(this,e,r,a))return n=e,i}}),n},c.findAll=function(e,t){let n=[];return c(e,function(e,r,i){t.call(this,e,r,i)&&n.push(e)}),n},c}function Ra(e){return e}function za(e){let{min:t,max:n,comma:r}=e;return t===0&&n===0?r?`#?`:`*`:t===0&&n===1?`?`:t===1&&n===0?r?`#`:`+`:t===1&&n===1?``:(r?`#`:``)+(t===n?`{`+t+`}`:`{`+t+`,`+(n===0?``:n)+`}`)}function Ba(e){switch(e.type){case`Range`:return` [`+(e.min===null?`-â
10`:e.min)+`,`+(e.max===null?`â`:e.max)+`]`;default:throw Error("Unknown node type `"+e.type+"`")}}function Va(e,t,n,r){let i=e.combinator===` `||r?e.combinator:` `+e.combinator+` `,a=e.terms.map(e=>Ha(e,t,n,r)).join(i);return e.explicit||n?(r||a[0]===`,`?`[`:`[ `)+a+(r?`]`:` ]`):a}function Ha(e,t,n,r){let i;switch(e.type){case`Group`:i=Va(e,t,n,r)+(e.disallowEmpty?`!`:``);break;case`Multiplier`:return Ha(e.term,t,n,r)+t(za(e),e);case`Boolean`:i=`<boolean-expr[`+Ha(e.term,t,n,r)+`]>`;break;case`Type`:i=`<`+e.name+(e.opts?t(Ba(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 Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Ua(e,t){let n=Ra,r=!1,i=!1;return typeof t==`function`?n=t:t&&(r=!!t.forceBraces,i=!!t.compact,typeof t.decorate==`function`&&(n=t.decorate)),Ha(e,n,r,i)}var Wa={offset:0,line:1,column:1};function Ga(e,t){let n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,a=i===t?null:i,o=0,s=0,c=0,l=``,u,d;for(let e=0;e<n.length;e++){let t=n[e].value;e===r&&(s=t.length,o=l.length),a!==null&&n[e].node===a&&(e<=r?c++:c=0),l+=t}return r===n.length||c>1?(u=Ka(a||t,`end`)||qa(Wa,l),d=qa(u)):(u=Ka(a,`start`)||qa(Ka(t,`start`)||Wa,l.slice(0,o)),d=Ka(a,`end`)||qa(u,l.substr(o,s))),{css:l,mismatchOffset:o,mismatchLength:s,start:u,end:d}}function Ka(e,t){let n=e&&e.loc&&e.loc[t];return n?`line`in n?qa(n):n:null}function qa({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=e.length===1?i.column+r.length:e.pop().length+1}return i}var Ja=function(e,t){let n=Ai(`SyntaxReferenceError`,e+(t?" `"+t+"`":``));return n.reference=t,n},Ya=function(e,t,n,r){let i=Ai(`SyntaxMatchError`,e),{css:a,mismatchOffset:o,mismatchLength:s,start:c,end:l}=Ga(r,n);return i.rawMessage=e,i.syntax=t?Ua(t):`<generic>`,i.css=a,i.mismatchOffset=o,i.mismatchLength=s,i.message=e+` 11 syntax: `+i.syntax+` 12 value: `+(a||`<empty string>`)+` 13 --------`+Array(i.mismatchOffset+1).join(`-`)+`^`,Object.assign(i,c),i.loc={source:n&&n.loc&&n.loc.source||`<unknown>`,start:c,end:l},i},Xa=new Map,Za=new Map,Qa=45,$a=ro,eo=io;function to(e,t){return t||=0,e.length-t>=2&&e.charCodeAt(t)===Qa&&e.charCodeAt(t+1)===Qa}function no(e,t){if(t||=0,e.length-t>=3&&e.charCodeAt(t)===Qa&&e.charCodeAt(t+1)!==Qa){let n=e.indexOf(`-`,t+2);if(n!==-1)return e.substring(t,n+1)}return``}function ro(e){if(Xa.has(e))return Xa.get(e);let t=e.toLowerCase(),n=Xa.get(t);if(n===void 0){let e=to(t,0),r=e?``:no(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Xa.set(e,n),n}function io(e){if(Za.has(e))return Za.get(e);let t=e,n=e[0];n===`/`?n=e[1]===`/`?`//`:`/`:n!==`_`&&n!==`*`&&n!==`$`&&n!==`#`&&n!==`+`&&n!==`&`&&(n=``);let r=to(t,n.length);if(!r&&(t=t.toLowerCase(),Za.has(t))){let n=Za.get(t);return Za.set(e,n),n}let i=r?``:no(t,n.length),a=t.substr(0,n.length+i.length),o=Object.freeze({basename:t.substr(a.length),name:t.substr(n.length),hack:n,vendor:i,prefix:a,custom:r});return Za.set(e,o),o}var ao=[`initial`,`inherit`,`unset`,`revert`,`revert-layer`],oo=43,so=45,co=110,lo=!0,uo=!1;function fo(e,t){return e!==null&&e.type===A&&e.value.charCodeAt(0)===t}function po(e,t,n){for(;e!==null&&(e.type===P||e.type===kr);)e=n(++t);return t}function mo(e,t,n,r){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===oo||i===so){if(n)return 0;t++}for(;t<e.value.length;t++)if(!jr(e.value.charCodeAt(t)))return 0;return r+1}function ho(e,t,n){let r=!1,i=po(e,t,n);if(e=n(i),e===null)return t;if(e.type!==j){if(!fo(e,oo)&&!fo(e,so))return t;if(r=!0,i=po(n(++i),i,n),e=n(i),e===null||e.type!==j)return 0}if(!r){let t=e.value.charCodeAt(0);if(t!==oo&&t!==so)return 0}return mo(e,+!r,r,i)}function go(e,t){let n=0;if(!e)return 0;if(e.type===j)return mo(e,0,uo,n);if(e.type===E&&e.value.charCodeAt(0)===so){if(!ti(e.value,1,co))return 0;switch(e.value.length){case 2:return ho(t(++n),n,t);case 3:return e.value.charCodeAt(2)===so?(n=po(t(++n),n,t),e=t(n),mo(e,0,lo,n)):0;default:return e.value.charCodeAt(2)===so?mo(e,3,lo,n):0}}else if(e.type===E||fo(e,oo)&&t(n+1).type===E){if(e.type!==E&&(e=t(++n)),e===null||!ti(e.value,0,co))return 0;switch(e.value.length){case 1:return ho(t(++n),n,t);case 2:return e.value.charCodeAt(1)===so?(n=po(t(++n),n,t),e=t(n),mo(e,0,lo,n)):0;default:return e.value.charCodeAt(1)===so?mo(e,2,lo,n):0}}else if(e.type===N){let r=e.value.charCodeAt(0),i=+(r===oo||r===so),a=i;for(;a<e.value.length&&jr(e.value.charCodeAt(a));a++);return a===i||!ti(e.value,a,co)?0:a+1===e.value.length?ho(t(++n),n,t):e.value.charCodeAt(a+1)===so?a+2===e.value.length?(n=po(t(++n),n,t),e=t(n),mo(e,0,lo,n)):mo(e,a+2,lo,n):0}return 0}var _o=43,vo=45,yo=63,bo=117;function xo(e,t){return e!==null&&e.type===A&&e.value.charCodeAt(0)===t}function So(e,t){return e.value.charCodeAt(0)===t}function Co(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){let a=e.value.charCodeAt(i);
13if(a===vo&&n&&r!==0)return Co(e,t+r+1,!1),6;if(!Mr(a)||++r>6)return 0}return r}function wo(e,t,n){if(!e)return 0;for(;xo(n(t),yo);){if(++e>6)return 0;t++}return t}function To(e,t){let n=0;if(e===null||e.type!==E||!ti(e.value,0,bo)||(e=t(++n),e===null))return 0;if(xo(e,_o))return e=t(++n),e===null?0:e.type===E?wo(Co(e,0,!0),++n,t):xo(e,yo)?wo(1,++n,t):0;if(e.type===j){let r=Co(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===N||e.type===j?!So(e,vo)||!Co(e,1,!1)?0:n+1:wo(r,n,t))}return e.type===N?wo(Co(e,1,!0),++n,t):0}var Eo=[`calc(`,`-moz-calc(`,`-webkit-calc(`],Do=[`min(`,`max(`,`clamp(`],Oo=[`round(`,`mod(`,`rem(`],ko=[`sin(`,`cos(`,`tan(`],Ao=[`asin(`,`acos(`,`atan(`,`atan2(`],jo=[`pow(`,`sqrt(`,`log(`,`exp(`,`sign(`],Mo=[`hypot(`],No=[`abs(`],Po=[...Eo,...Do,...Oo,...ko,...jo,...Mo,...No],Fo=[...Eo,...Do,...Oo,...Mo,...No],Io=[...Eo,...Do,...Oo,...Ao,...Mo,...No],Lo=new Map([[D,I],[F,I],[Tr,Er],[Dr,Or]]);function Ro(e,t){return t<e.length?e.charCodeAt(t):0}function zo(e,t){return ni(e,0,e.length,t)}function Bo(e,t){for(let n=0;n<t.length;n++)if(zo(e,t[n]))return!0;return!1}function Vo(e,t){return t===e.length-2&&Ro(e,t)===92&&jr(Ro(e,t+1))}function Ho(e,t,n){if(e&&e.type===`Range`){let r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!=`string`||e.max!==null&&r>e.max&&typeof e.max!=`string`)return!0}return!1}function Uo(e,t){let n=0,r=[],i=0;scan:do{switch(e.type){case Or:case I:case Er:if(e.type!==n)break scan;if(n=r.pop(),r.length===0){i++;break scan}break;case D:case F:case Tr:case Dr:r.push(n),n=Lo.get(e.type)}i++}while(e=t(i));return i}function Wo(e,t){return function(n,r,i){return n===null?0:n.type===D&&Bo(n.value,t)?Uo(n,r):e(n,r,i)}}function L(e){return function(t){return t===null||t.type!==e?0:1}}function Go(e){if(e===null||e.type!==E)return 0;let t=e.value.toLowerCase();return Bo(t,ao)||zo(t,`default`)?0:1}function Ko(e){return e===null||e.type!==E||Ro(e.value,0)!==45||Ro(e.value,1)!==45?0:1}function qo(e){return!Ko(e)||e.value===`--`?0:1}function Jo(e){if(e===null||e.type!==k)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!Mr(Ro(e.value,n)))return 0;return 1}function Yo(e){return e===null||e.type!==k||!Ur(Ro(e.value,1),Ro(e.value,2),Ro(e.value,3))?0:1}function Xo(e,t){if(!e)return 0;let n=0,r=[],i=0;scan:do{switch(e.type){case _r:case yr:break scan;case Or:case I:case Er:if(e.type!==n)break scan;n=r.pop();break;case Cr:if(n===0)break scan;break;case A:if(n===0&&e.value===`!`)break scan;break;case D:case F:case Tr:case Dr:r.push(n),n=Lo.get(e.type)}i++}while(e=t(i));return i}function Zo(e,t){if(!e)return 0;let n=0,r=[],i=0;scan:do{switch(e.type){case _r:case yr:break scan;case Or:case I:case Er:if(e.type!==n)break scan;n=r.pop();break;case D:case F:case Tr:case Dr:r.push(n),n=Lo.get(e.type)}i++}while(e=t(i));return i}function Qo(e){return e&&=new Set(e),function(t,n,r){if(t===null||t.type!==N)return 0;let i=ci(t.value,0);if(e!==null){let n=t.value.indexOf(`\\`,i),r=n!==-1&&Vo(t.value,n)?t.value.substring(i,n):t.value.substr(i);if(e.has(r.toLowerCase())===!1)return 0}return+!Ho(r,t.value,i)}}function $o(e,t,n){return e===null||e.type!==M||Ho(n,e.value,e.value.length-1)?0:1}function es(e){return typeof e!=`function`&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===j&&Number(t.value)===0?1:e(t,n,r)}}function ts(e,t,n){if(e===null)return 0;let r=ci(e.value,0);return r!==e.value.length&&!Vo(e.value,r)||Ho(n,e.value,r)?0:1}function ns(e,t,n){if(e===null||e.type!==j)return 0;let r=+(Ro(e.value,0)===43||Ro(e.value,0)===45);for(;r<e.value.length;r++)if(!jr(Ro(e.value,r)))return 0;return+!Ho(n,e.value,r)}var rs={"ident-token":L(E),"function-token":L(D),"at-keyword-token":L(O),"hash-token":L(k),"string-token":L(gr),"bad-string-token":L(_r),"url-token":L(vr),"bad-url-token":L(yr),"delim-token":L(A),"number-token":L(j),"percentage-token":L(M),"dimension-token":L(N),"whitespace-token":L(P),"CDO-token":L(br),"CDC-token":L(xr),"colon-token":L(Sr),"semicolon-token":L(Cr),"comma-token":L(wr),"[-token":L(Tr),"]-token":L(Er),"(-token":L(F),")-token":L(I),"{-token":L(Dr),"}-token":L(Or)},is={string:L(gr),ident:L(E),percentage:Wo($o,Fo),zero:es(),number:Wo(ts,Po),integer:Wo(ns,Po),"custom-ident":Go,"dashed-ident":Ko,"custom-property-name":qo,"hex-color":Jo,"id-selector":Yo,"an-plus-b":go,urange:To,"declaration-value":Xo,"any-value":Zo},as=[`length`,`angle`,`time`,`frequency`,`resolution`,`flex`,`decibel`,`semitones`];function os(e){let{angle:t,decibel:n,frequency:r,flex:i,length:a,resolution:o,semitones:s,time:c}=e||{};return{dimension:Wo(Qo(null),Io),angle:Wo(Qo(t),Io),decibel:Wo(Qo(n),Io),frequency:Wo(Qo(r),Io),flex:Wo(Qo(i),Io),length:Wo(es(Qo(a)),Io),resolution:Wo(
13Qo(o),Io),semitones:Wo(Qo(s),Io),time:Wo(Qo(c),Io)}}function ss(e){let t=new Set;for(let n of as)if(Array.isArray(e[n]))for(let r of e[n])t.add(r.toLowerCase());return function(e){return e===null?0:e.type===A&&e.value===`%`||e.type===E&&t.has(e.value.toLowerCase())?1:0}}function cs(e){return{...rs,...is,...os(e),"attr-unit":ss(e)}}var ls=Object.freeze({__proto__:null,angle:[`deg`,`grad`,`rad`,`turn`],decibel:[`db`],flex:[`fr`],frequency:[`hz`,`khz`],length:`cm.mm.q.in.pt.pc.px.em.rem.ex.rex.cap.rcap.ch.rch.ic.ric.lh.rlh.vw.svw.lvw.dvw.vh.svh.lvh.dvh.vi.svi.lvi.dvi.vb.svb.lvb.dvb.vmin.svmin.lvmin.dvmin.vmax.svmax.lvmax.dvmax.cqw.cqh.cqi.cqb.cqmin.cqmax`.split(`.`),resolution:[`dpi`,`dpcm`,`dppx`,`x`],semitones:[`st`],time:[`s`,`ms`]});function us(e,t,n){return Object.assign(Ai(`SyntaxError`,e),{input:t,offset:n,rawMessage:e,message:e+` 14 `+t+` 15--`+Array((n||t.length)+1).join(`-`)+`^`})}var ds=9,fs=10,ps=12,ms=13,hs=32,gs=new Uint8Array(128).map((e,t)=>+!!/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))),_s=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}
15charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&gs[e]===1}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(t!==ms&&t!==fs&&t!==ps&&t!==hs&&t!==ds)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 us(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||gs[t]===0)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 e===-1&&(this.pos=this.str.length,this.error(`Expect an apostrophe`)),this.substringToPos(e+1)}},vs=9,ys=10,bs=12,xs=13,Ss=32,Cs=33,ws=35,Ts=38,Es=39,Ds=40,Os=41,ks=42,As=43,js=44,Ms=45,Ns=60,Ps=62,Fs=63,Is=64,Ls=91,Rs=93,zs=123,Bs=124,Vs=125,Hs=8734,Us={" ":1,"&&":2,"||":3,"|":4};function Ws(e){let t=null,n=null;return e.eat(zs),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===js?(e.pos++,e.skipWs(),e.charCode()!==Vs&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(Vs),{min:Number(t),max:n?Number(n):0}}function Gs(e){let t=null,n=!1;switch(e.charCode()){case ks:e.pos++,t={min:0,max:0};break;case As:e.pos++,t={min:1,max:0};break;case Fs:e.pos++,t={min:0,max:1};break;case ws:e.pos++,n=!0,e.charCode()===zs?t=Ws(e):e.charCode()===Fs?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case zs:t=Ws(e);break;default:return null}return{type:`Multiplier`,comma:n,min:t.min,max:t.max,term:null}}function Ks(e,t){let n=Gs(e);return n===null?t:(n.term=t,e.charCode()===ws&&e.charCodeAt(e.pos-1)===As||e.charCode()===Fs&&e.charCodeAt(e.pos-1)===Vs?Ks(e,n):n)}function qs(e){let t=e.peek();return t===``?null:Ks(e,{type:`Token`,value:t})}function Js(e){let t;return e.eat(Ns),e.eat(Es),t=e.scanWord(),e.eat(Es),e.eat(Ps),Ks(e,{type:`Property`,name:t})}function Ys(e){let t=null,n=null,r=1;return e.eat(Ls),e.charCode()===Ms&&(e.peek(),r=-1),r==-1&&e.charCode()===Hs?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(js),e.skipWs(),e.charCode()===Hs?e.peek():(r=1,e.charCode()===Ms&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Rs),{type:`Range`,min:t,max:n}}function Xs(e){let t,n=null;if(e.eat(Ns),t=e.scanWord(),t===`boolean-expr`){e.eat(Ls);let t=$s(e,Rs);return e.eat(Rs),e.eat(Ps),Ks(e,{type:`Boolean`,term:t.terms.length===1?t.terms[0]:t})}return e.charCode()===Ds&&e.nextCharCode()===Os&&(e.pos+=2,t+=`()`),e.charCodeAt(e.findWsEnd(e.pos))===Ls&&(e.skipWs(),n=Ys(e)),e.eat(Ps),Ks(e,{type:`Type`,name:t,opts:n})}function Zs(e){let t=e.scanWord();return e.charCode()===Ds?(e.pos++,{type:`Function`,name:t}):Ks(e,{type:`Keyword`,name:t})}function Qs(e,t){function n(e,t){return{type:`Group`,terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((e,t)=>Us[e]-Us[t]);t.length>0;){r=t.shift();let i=0,a=0;for(;i<e.length;i++){let t=e[i];t.type===`Combinator`&&(t.value===r?(a===-1&&(a=i-1),e.splice(i,1),i--):(a!==-1&&i-a>1&&(e.splice(a,i-a,n(e.slice(a,i),r)),i=a+1),a=-1))}a!==-1&&t.length&&e.splice(a,i-a,n(e.slice(a,i),r))}return r}function $s(e,t=-1){let n=Object.create(null),r=[],i=null,a=e.pos,o=!1;for(;e.charCode()!==t;){let t=o?$s(e,Os):tc(e);if(!t)break;if(t.type!==`Spaces`){if(o){if(t.terms.length===0){o=!1;continue}if(t.combinator===` `){for(;t.terms.length>1;)n[` `]=!0,r.push({type:`Combinator`,value:` `},t.terms.shift());t=t.terms[0]}}t.type===`Combinator`?((i===null||i.type===`Combinator`)&&(e.pos=a,e.error(`Unexpected combinator`)),n[t.value]=!0):i!==null&&i.type!==`Combinator`&&(n[` `]=!0,r.push({type:`Combinator`,value:` `})),r.push(t),i=t,a=e.pos,o=t.type===`Function`}}return i!==null&&i.type===`Combinator`&&(e.pos-=a,e.error(`Unexpected combinator`)),{type:`Group`,terms:r,combinator:Qs(r,n)||` `,disallowEmpty:!1,explicit:!1}}function ec(e){let t;return e.eat(Ls),t=$s(e,Rs),e.eat(Rs),t.explicit=!0,e.charCode()===Cs&&(e.pos++,t.disallowEmpty=!0),t}function tc(e){let t=e.charCode();switch(t){case Rs:break;case Ls:return Ks(e,ec(e));case Ns:return e.nextCharCode()===Es?Js(e):Xs(e);case Bs:return{type:`Combinator`,value:e.substringToPos(e.pos+(e.nextCharCode()===Bs?2:1))};case Ts:return e.pos++,e.eat(Ts),{type:`Combinator`,value:`&&`};case js:return e.pos++,{type:`Comma`};case Es:return Ks(e,{type:`String`,value:e.scanString()});case Ss:case vs:case ys:case xs:case bs:return{type:`Spaces`,value:e.scanSpaces()};
15case Is:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:`AtKeyword`,name:e.scanWord()}):qs(e);case ks:case As:case Fs:case ws:case Cs:break;case zs:if(t=e.nextCharCode(),t<48||t>57)return qs(e);break;default:return e.isNameCharCode(t)?Zs(e):qs(e)}}function nc(e){let t=new _s(e),n=$s(t);return t.pos!==e.length&&t.error(`Unexpected input`),n.terms.length===1&&n.terms[0].type===`Group`?n.terms[0]:n}var rc=function(){};function ic(e){return typeof e==`function`?e:rc}function ac(e,t,n){function r(e){switch(i.call(n,e),e.type){case`Group`:e.terms.forEach(r);break;case`Multiplier`:case`Boolean`:r(e.term);break;case`Type`:case`Property`:case`Keyword`:case`AtKeyword`:case`Function`:case`String`:case`Token`:case`Comma`:break;default:throw Error(`Unknown type: `+e.type)}a.call(n,e)}let i=rc,a=rc;if(typeof t==`function`?i=t:t&&(i=ic(t.enter),a=ic(t.leave)),i===rc&&a===rc)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}var oc={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}}};function sc(e){let t=[];return Di(e,(n,r,i)=>t.push({type:n,value:e.slice(r,i),node:null})),t}function cc(e,t){return typeof e==`string`?sc(e):t.generate(e,oc)}var R={type:`Match`},z={type:`Mismatch`},lc={type:`DisallowEmpty`},uc=40,dc=41;function fc(e,t,n){return t===R&&n===z||e===R&&t===R&&n===R?e:(e.type===`If`&&e.else===z&&t===R&&(t=e.then,e=e.match),{type:`If`,match:e,then:t,else:n})}function pc(e){return e.length>2&&e.charCodeAt(e.length-2)===uc&&e.charCodeAt(e.length-1)===dc}function mc(e){return e.type===`Keyword`||e.type===`AtKeyword`||e.type===`Function`||e.type===`Type`&&pc(e.name)}function hc(e,t=` `,n=!1){return{type:`Group`,terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function gc(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case`If`:e.match=gc(e.match,t,n),e.then=gc(e.then,t,n),e.else=gc(e.else,t,n);break;case`Type`:return t[e.name]||e}return e}function _c(e,t,n){switch(e){case` `:{let e=R;for(let n=t.length-1;n>=0;n--){let r=t[n];e=fc(r,e,z)}return e}case`|`:{let e=z,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];if(mc(i)&&(n===null&&r>0&&mc(t[r-1])&&(n=Object.create(null),e=fc({type:`Enum`,map:n},R,e)),n!==null)){let e=(pc(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(e in n)){n[e]=i;continue}}n=null,e=fc(i,R,e)}return e}case`&&`:{if(t.length>5)return{type:`MatchOnce`,terms:t,all:!0};let n=z;for(let r=t.length-1;r>=0;r--){let i=t[r],a;a=t.length>1?_c(e,t.filter(function(e){return e!==i}),!1):R,n=fc(i,a,n)}return n}case`||`:{if(t.length>5)return{type:`MatchOnce`,terms:t,all:!1};let r=n?R:z;for(let n=t.length-1;n>=0;n--){let i=t[n],a;a=t.length>1?_c(e,t.filter(function(e){return e!==i}),!0):R,r=fc(i,a,r)}return r}}}function vc(e){let t=R,n=yc(e.term);if(e.max===0)n=fc(n,lc,z),t=fc(n,null,z),t.then=fc(R,R,t),e.comma&&(t.then.else=fc({type:`Comma`,syntax:e},t,z));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==R&&(t=fc({type:`Comma`,syntax:e},t,z)),t=fc(n,fc(R,R,t),z);if(e.min===0)t=fc(R,R,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==R&&(t=fc({type:`Comma`,syntax:e},t,z)),t=fc(n,t,z);return t}function yc(e){if(typeof e==`function`)return{type:`Generic`,fn:e};switch(e.type){case`Group`:{let t=_c(e.combinator,e.terms.map(yc),!1);return e.disallowEmpty&&(t=fc(t,lc,z)),t}case`Multiplier`:return vc(e);case`Boolean`:{let t=yc(e.term),n=yc(hc([hc([{type:`Keyword`,name:`not`},{type:`Type`,name:`!boolean-group`}]),hc([{type:`Type`,name:`!boolean-group`},hc([{type:`Multiplier`,comma:!1,min:0,max:0,term:hc([{type:`Keyword`,name:`and`},{type:`Type`,name:`!boolean-group`}])},{type:`Multiplier`,comma:!1,min:0,max:0,term:hc([{type:`Keyword`,name:`or`},{type:`Type`,name:`!boolean-group`}])}],`|`)])],`|`)),r=yc(hc([{type:`Type`,name:`!term`},hc([{type:`Token`,value:`(`},{type:`Type`,name:`!self`},{type:`Token`,value:`)`}]),{type:`Type`,name:`general-enclosed`}],`|`));return gc(r,{"!term":t,"!self":n}),gc(n,{"!boolean-group":r}),n}case`Type`:case`Property`:return{type:e.type,name:e.name,syntax:e};
15case`Keyword`:return{type:e.type,name:e.name.toLowerCase(),syntax:e};case`AtKeyword`:return{type:e.type,name:`@`+e.name.toLowerCase(),syntax:e};case`Function`:return{type:e.type,name:e.name.toLowerCase()+`(`,syntax:e};case`String`:return e.value.length===3?{type:`Token`,value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,`'`),syntax:e};case`Token`:return{type:e.type,value:e.value,syntax:e};case`Comma`:return{type:e.type,syntax:e};default:throw Error(`Unknown node type:`,e.type)}}function bc(e,t){return typeof e==`string`&&(e=nc(e)),{type:`MatchGraph`,match:yc(e),syntax:t||null,source:e}}var{hasOwnProperty:xc}=Object.prototype,Sc=0,Cc=1,wc=2,Tc=3,Ec=`Match`,Dc=`Mismatch`,Oc=`Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)`,kc=15e3;function Ac(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function jc(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 Mc(e){return e.type===A&&e.value!==`?`}function Nc(e){return e===null||e.type===wr||e.type===D||e.type===F||e.type===Tr||e.type===Dr||Mc(e)}function Pc(e){return e===null||e.type===I||e.type===Er||e.type===Or||e.type===A&&e.value===`/`}function Fc(e,t,n){function r(){do v++,_=v<e.length?e[v]:null;while(_!==null&&(_.type===P||_.type===kr))}function i(t){let n=v+t;return n<e.length?e[n]:null}function a(e,t){return{nextState:e,matchStack:b,syntaxStack:d,thenStack:f,tokenIndex:v,prev:t}}function o(e){f={nextState:e,matchStack:b,syntaxStack:d,prev:f}}function s(e){p=a(e,p)}function c(){b={type:Cc,syntax:t.syntax,token:_,prev:b},r(),m=null,v>y&&(y=v)}function l(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},b={type:wc,syntax:t.syntax,token:b.token,prev:b}}function u(){b=b.type===wc?b.prev:{type:Tc,syntax:d.syntax,token:b.token,prev:b},d=d.prev}let d=null,f=null,p=null,m=null,h=0,g=null,_=null,v=-1,y=0,b={type:Sc,syntax:null,token:null,prev:null};for(r();g===null&&++h<kc;)switch(t.type){case`Match`:if(f===null){if(_!==null&&(v!==e.length-1||_.value!==`\\0`&&_.value!==`\\9`)){t=z;break}g=Ec;break}if(t=f.nextState,t===lc){if(f.matchStack===b){t=z;break}t=R}for(;f.syntaxStack!==d;)u();f=f.prev;break;case`Mismatch`:if(m!==null&&m!==!1)(p===null||v>p.tokenIndex)&&(p=m,m=!1);else if(p===null){g=Dc;break}t=p.nextState,f=p.thenStack,d=p.syntaxStack,b=p.matchStack,v=p.tokenIndex,_=v<e.length?e[v]:null,p=p.prev;break;case`MatchGraph`:t=t.match;break;case`If`:t.else!==z&&s(t.else),t.then!==R&&o(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(t.mask===0||t.syntax.all){t=z;break}t=R;break}if(t.mask===(1<<e.length)-1){t=R;break}for(;t.index<e.length;t.index++){let n=1<<t.index;if((t.mask&n)===0){s(t),o({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){let e=_.value.toLowerCase();if(e.indexOf(`\\`)!==-1&&(e=e.replace(/\\[09].*$/,``)),xc.call(t.map,e)){t=t.map[e];break}}t=z;break;case`Generic`:{let e=d===null?null:d.opts,n=v+Math.floor(t.fn(_,i,e));if(!isNaN(n)&&n>v){for(;v<n;)c();t=R}else t=z;break}case`Type`:case`Property`:{let e=t.type===`Type`?`types`:`properties`,r=xc.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw Error(`Bad syntax reference: `+(t.type===`Type`?`<`+t.name+`>`:`<'`+t.name+`'>`));if(m!==!1&&_!==null&&t.type===`Type`&&(t.name===`custom-ident`&&_.type===E||t.name===`length`&&_.value===`0`)){m===null&&(m=a(t,p)),t=z;break}l(),t=r.matchRef||r.match;break}case`Keyword`:{let e=t.name;if(_!==null){let n=_.value;if(n.indexOf(`\\`)!==-1&&(n=n.replace(/\\[09].*$/,``)),jc(n,e)){c(),t=R;break}}t=z;break}case`AtKeyword`:case`Function`:if(_!==null&&jc(_.value,t.name)){c(),t=R;break}t=z;break;case`Token`:if(_!==null&&_.value===t.value){c(),t=R;break}t=z;break;case`Comma`:_!==null&&_.type===wr?Nc(b.token)?t=z:(c(),t=Pc(_)?z:R):t=Nc(b.token)||Pc(_)?R:z;break;case`String`:let r=``,h=v;for(;h<e.length&&r.length<t.value.length;h++)r+=e[h].value;if(jc(r,t.value)){for(;v<h;)c();t=R}else t=z;break;default:throw Error(`Unknown node type: `+t.type)}switch(g){case null:console.warn(`[csstree-match] BREAK after 15000 iterations`),g=Oc,b=null;break;case Ec:for(;d!==null;)u();break;default:b=null}return{tokens:e,reason:g,iterations:h,match:b,longestMatch:y}}function Ic(e,t,n){let r=Fc(e,t,n||{});if(r.match===null)return r;let i=r.match,a=r.match={syntax:t.syntax||null,match:[]},o=[a];for(i=Ac(i).prev;i!==null;){switch(i.type){case wc:a.match.push(a={syntax:i.syntax,match:[]}),o.push(a);break;case Tc:o.pop(),a=o[o.length-1];break;default:a.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function Lc(e){function t(e){return e===null?!1:e.type===`Type`||e.type===`Property`||e.type===`Keyword`}function n(i){if(Array.isArray(i.match)){for(let e=0;e<i.match.length;e++)if(n(i.match[e]))return t(i.syntax)&&r.unshift(i.syntax),!0}
15else if(i.node===e)return r=t(i.syntax)?[i.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function Rc(e,t){return Vc(this,e,e=>e.type===`Type`&&e.name===t)}function zc(e,t){return Vc(this,e,e=>e.type===`Property`&&e.name===t)}function Bc(e){return Vc(this,e,e=>e.type===`Keyword`)}function Vc(e,t,n){let r=Lc.call(e,t);return r!==null&&r.some(n)}var Hc=Object.freeze({__proto__:null,getTrace:Lc,isKeyword:Bc,isProperty:zc,isType:Rc});function Uc(e){return`node`in e?e.node:Uc(e.match[0])}function Wc(e){return`node`in e?e.node:Wc(e.match[e.match.length-1])}function Gc(e,t,n,r,i){function a(n){if(n.syntax!==null&&n.syntax.type===r&&n.syntax.name===i){let r=Uc(n),i=Wc(n);e.syntax.walk(t,function(e,t,n){if(e===r){let e=new ki;do{if(e.appendData(t.data),t.data===i)break;t=t.next}while(t!==null);o.push({parent:n,nodes:e})}})}Array.isArray(n.match)&&n.match.forEach(a)}let o=[];return n.matched!==null&&a(n.matched),o}var{hasOwnProperty:Kc}=Object.prototype;function qc(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Jc(e){return!!e&&qc(e.offset)&&qc(e.line)&&qc(e.column)}function Yc(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,`Type of node should be an Object`);for(let i in n){let a=!0;if(Kc.call(n,i)!==!1){if(i===`type`)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(i===`loc`){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object){if(typeof n.loc.source!=`string`)i+=`.source`;else if(Jc(n.loc.start)){if(Jc(n.loc.end))continue;i+=`.end`}else i+=`.start`}a=!1}else if(t.hasOwnProperty(i)){a=!1;for(let e=0;!a&&e<t[i].length;e++){let r=t[i][e];switch(r){case String:a=typeof n[i]==`string`;break;case Boolean:a=typeof n[i]==`boolean`;break;case null:a=n[i]===null;break;default:typeof r==`string`?a=n[i]&&n[i].type===r:Array.isArray(r)&&(a=n[i]instanceof ki)}}}else r(n,"Unknown field `"+i+"` for "+e+` node type`);a||r(n,"Bad value for `"+e+`.`+i+"`")}}for(let i in t)Kc.call(t,i)&&Kc.call(n,i)===!1&&r(n,"Field `"+e+`.`+i+"` is missed")}}function Xc(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i===String||i===Boolean)n.push(i.name.toLowerCase());else if(i===null)n.push(`null`);else if(typeof i==`string`)n.push(i);else{if(!Array.isArray(i))throw Error("Wrong value `"+i+"` in `"+t+"` structure definition");n.push(`List<`+(Xc(i,t)||`any`)+`>`)}}return n.join(` | `)}function Zc(e,t){let n=t.structure,r={type:String,loc:!0},i={type:`"`+e+`"`};for(let t in n)Kc.call(n,t)!==!1&&(i[t]=Xc(r[t]=Array.isArray(n[t])?n[t].slice():[n[t]],e+`.`+t));return{docs:i,check:Yc(e,r)}}function Qc(e){let t={};if(e.node){for(let n in e.node)if(Kc.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Zc(n,r)}}return t}function $c(e,t,n){let r={};for(let i in e)e[i].syntax&&(r[i]=n?e[i].syntax:Ua(e[i].syntax,{compact:t}));return r}function el(e,t,n){let r={};for(let[i,a]of Object.entries(e))r[i]={prelude:a.prelude&&(n?a.prelude.syntax:Ua(a.prelude.syntax,{compact:t})),descriptors:a.descriptors&&$c(a.descriptors,t,n)};return r}function tl(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()===`var(`)return!0;return!1}function nl(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type===`Multiplier`&&t.comma===!0}function rl(e,t,n){return{matched:e,iterations:n,error:t,...Hc}}function il(e,t,n,r){let i=cc(n,e.syntax),a;return tl(i)?rl(null,Error(`Matching for a tree with var() is not supported`)):(r&&(a=Ic(i,e.cssWideKeywordsSyntax,e)),(!r||!a.match)&&(a=Ic(i,t.match,e),!a.match)?rl(null,new Ya(a.reason,t.syntax,n,a),a.iterations):rl(a.match,null,a.iterations))}var al=class{constructor(e,t,n){if(this.cssWideKeywords=ao,this.syntax=t,this.generic=!1,this.units={...ls},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||Qc(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let t of Object.keys(ls))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){this.generic=!0;for(let[e,t]of Object.entries(cs(this.units)))this.addType_(e,t)}
15if(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=bc(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},a={type:t,name:n,parent:r,serializable:typeof e==`string`||e&&typeof e.type==`string`,syntax:null,match:null,matchRef:null};return typeof e==`function`?a.match=bc(e,i):(typeof e==`string`?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:nc(e)}),a.syntax}}):a.syntax=e,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:bc(a.syntax,i)}),a.match}}),t===`Property`&&Object.defineProperty(a,"matchRef",{get(){let e=a.syntax,t=nl(e)?bc({...e,terms:[e.terms[0].term]},i):null;return Object.defineProperty(a,"matchRef",{value:t}),t}})),a}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 Ja(`Unknown at-rule`,`@`+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);if(!r.prelude&&t)return SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(r.prelude&&!t&&!il(this,r.prelude,``,!1).matched)return 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=$a(t);if(!r.descriptors)return SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!r.descriptors[i.name]&&!r.descriptors[i.basename])return new Ja(`Unknown at-rule descriptor`,t)}checkPropertyName(e){if(!this.getProperty(e))return new Ja(`Unknown property`,e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return rl(null,n);let r=this.getAtrule(e);return r.prelude?il(this,r.prelude,t||``,!1):rl(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return rl(null,r);let i=this.getAtrule(e),a=$a(t);return il(this,i.descriptors[a.name]||i.descriptors[a.basename],n,!1)}matchDeclaration(e){return e.type===`Declaration`?this.matchProperty(e.property,e.value):rl(null,Error(`Not a Declaration node`))}matchProperty(e,t){if(eo(e).custom)return rl(null,Error(`Lexer matching doesn't applicable for custom properties`));let n=this.checkPropertyName(e);return n?rl(null,n):il(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?il(this,n,t,!1):rl(null,new Ja(`Unknown type`,e))}match(e,t){return typeof e!=`string`&&(!e||!e.type)?rl(null,new Ja(`Bad syntax`)):(typeof e!=`string`&&e.match||(e=this.createDescriptor(e,`Type`,`anonymous`)),il(this,e,t,!1))}findValueFragments(e,t,n,r){return Gc(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Gc(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=$a(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=eo(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(a,o,s,c){if(s.has(o))return s.get(o);s.set(o,!1),c.syntax!==null&&ac(c.syntax,function(c){if(c.type!==`Type`&&c.type!==`Property`)return;let l=c.type===`Type`?a.types:a.properties,u=c.type===`Type`?r:i;hasOwnProperty.call(l,c.name)?t(a,c.name,u,l[c.name])&&(n.push(`${e(
15o,s===r)} used broken syntax definition ${e(c.name,c.type===`Type`)}`),s.set(o,!0)):(n.push(`${e(o,s===r)} used missed syntax definition ${e(c.name,c.type===`Type`)}`),s.set(o,!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 a=[...r.keys()].filter(e=>r.get(e)),o=[...i.keys()].filter(e=>i.get(e));return a.length||o.length?{errors:n,types:a,properties:o}:null}dump(e,t){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:$c(this.types,!t,e),properties:$c(this.properties,!t,e),atrules:el(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};function ol(e,t){return typeof t==`string`&&/^\s*\|/.test(t)?typeof e==`string`?e+t:t.replace(/^\s*\|\s*/,``):t||null}function sl(e,t){let n=Object.create(null);for(let r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function cl(e,t,n){let r={...e};for(let[e,i]of Object.entries(t))r[e]={...r[e],...n?sl(i,n):i};return r}function ll(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`:n[r]={...e[r]};for(let[e,t]of Object.entries(i))n[r][e]=Array.isArray(t)?t:[];break;case`atrules`:n[r]={...e[r]};for(let[e,t]of Object.entries(i)){let i=n[r][e]||{},a=n[r][e]={prelude:i.prelude||null,descriptors:{...i.descriptors}};if(t){a.prelude=t.prelude?ol(a.prelude,t.prelude):a.prelude||null;for(let[e,n]of Object.entries(t.descriptors||{}))a.descriptors[e]=n?ol(a.descriptors[e],n):null;Object.keys(a.descriptors).length||(a.descriptors=null)}}break;case`types`:case`properties`:n[r]={...e[r]};for(let[e,t]of Object.entries(i))n[r][e]=ol(n[r][e],t);break;case`parseContext`:n[r]={...e[r],...i};break;case`scope`:case`features`:n[r]=cl(e[r],i);break;case`atrule`:case`pseudo`:n[r]=cl(e[r],i,[`parse`]);break;case`node`:n[r]=cl(e[r],i,[`name`,`structure`,`parse`,`generate`,`walkContext`])}return n}function ul(e){let t=Ji(e),n=La(e),r=Da(e),{fromPlainObject:i,toPlainObject:a}=Oa(n),o={lexer:null,createLexer:e=>new al(e,o,o.lexer.structure),tokenize:Di,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:i,toPlainObject:a,fork(t){let n=ll({},e);return ul(typeof t==`function`?t(n):ll(n,t))}};return o.lexer=new al({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},o),o}var dl=e=>ul(ll({},e)),fl={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`.split(`.`),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>
15`,"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|n
15ot-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>
15`,"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-e
15nd|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>
15 )`,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>
15`,"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-
15area":`[[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
15-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}
15`,"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}
15`,"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>
15]#`,"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>
15`,"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'>
15`,"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>
15#`,"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`}
15,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`}}}},pl=43,ml=45,hl=110,gl=!0,_l=!1;function vl(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===pl||r===ml)&&(t&&this.error(`Number sign is not allowed`),n++);n<this.tokenEnd;n++)jr(this.charCodeAt(n))||this.error(`Integer is expected`,n)}function yl(e){return vl.call(this,0,e)}function bl(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n=``;switch(t){case hl:n=`N is expected`;break;case ml:n=`HyphenMinus is expected`}this.error(n,this.tokenStart+e)}}function xl(){let e=0,t=0,n=this.tokenType;for(;n===P||n===kr;)n=this.lookupType(++e);if(n!==j){if(!this.isDelim(pl,e)&&!this.isDelim(ml,e))return null;t=this.isDelim(pl,e)?pl:ml;do n=this.lookupType(++e);while(n===P||n===kr);n!==j&&(this.skip(e),yl.call(this,gl))}return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==pl&&n!==ml&&this.error(`Number sign is expected`)),yl.call(this,t!==0),t===ml?`-`+this.consume(j):this.consume(j)}var Sl=`AnPlusB`,Cl={a:[String,null],b:[String,null]};function wl(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===j)yl.call(this,_l),n=this.consume(j);else if(this.tokenType===E&&this.cmpChar(this.tokenStart,ml))switch(t=`-1`,bl.call(this,1,hl),this.tokenEnd-this.tokenStart){case 2:this.next(),n=xl.call(this);break;case 3:bl.call(this,2,ml),this.next(),this.skipSC(),yl.call(this,gl),n=`-`+this.consume(j);break;default:bl.call(this,2,ml),vl.call(this,3,gl),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===E||this.isDelim(pl)&&this.lookupType(1)===E){let r=0;switch(t=`1`,this.isDelim(pl)&&(r=1,this.next()),bl.call(this,0,hl),this.tokenEnd-this.tokenStart){case 1:this.next(),n=xl.call(this);break;case 2:bl.call(this,1,ml),this.next(),this.skipSC(),yl.call(this,gl),n=`-`+this.consume(j);break;default:bl.call(this,1,ml),vl.call(this,2,gl),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===N){let r=this.charCodeAt(this.tokenStart),i=r===pl||r===ml,a=this.tokenStart+i;for(;a<this.tokenEnd&&jr(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error(`Integer is expected`,this.tokenStart+i),bl.call(this,a-this.tokenStart,hl),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=xl.call(this)):(bl.call(this,a-this.tokenStart+1,ml),a+2===this.tokenEnd?(this.next(),this.skipSC(),yl.call(this,gl),n=`-`+this.consume(j)):(vl.call(this,a-this.tokenStart+2,gl),this.next(),n=this.substrToCursor(a+1)))}else this.error();return t!==null&&t.charCodeAt(0)===pl&&(t=t.substr(1)),n!==null&&n.charCo
15deAt(0)===pl&&(n=n.substr(1)),{type:`AnPlusB`,loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Tl(e){if(e.a){let t=(e.a===`+1`||e.a===`1`?`n`:e.a===`-1`&&`-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 El=Object.freeze({__proto__:null,generate:Tl,name:Sl,parse:wl,structure:Cl});function Dl(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Ol(){for(let e=1,t;t=this.lookupType(e);e++){if(t===Or)return!0;if(t===Dr||t===O)return!1}return!1}var kl=`Atrule`,Al=`atrule`,jl={name:String,prelude:[`AtrulePrelude`,`Raw`,null],block:[`Block`,null]};function Ml(e=!1){let t=this.tokenStart,n,r,i=null,a=null;switch(this.eat(O),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==Dr&&this.tokenType!==Cr&&(i=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Dl):Dl.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Cr:this.next();break;case Dr:a=hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block==`function`?this.atrule[r].block.call(this,e):this.Block(Ol.call(this))}return{type:`Atrule`,loc:this.getLocation(t,this.tokenStart),name:n,prelude:i,block:a}}function Nl(e){this.token(O,`@`+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Cr,`;`)}var Pl=Object.freeze({__proto__:null,generate:Nl,name:kl,parse:Ml,structure:jl,walkContext:Al}),Fl=`AtrulePrelude`,Il=`atrulePrelude`,Ll={children:[[]]};function Rl(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude==`function`?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==Dr&&this.tokenType!==Cr&&this.error(`Semicolon or block is expected`),{type:`AtrulePrelude`,loc:this.getLocationFromList(t),children:t}}function zl(e){this.children(e)}var Bl=Object.freeze({__proto__:null,generate:zl,name:Fl,parse:Rl,structure:Ll,walkContext:Il}),Vl=36,Hl=42,Ul=61,Wl=94,Gl=124,Kl=126;function ql(){this.eof&&this.error(`Unexpected end of input`);let e=this.tokenStart,t=!1;return this.isDelim(Hl)?(t=!0,this.next()):this.isDelim(Gl)||this.eat(E),this.isDelim(Gl)?this.charCodeAt(this.tokenStart+1)===Ul?t&&this.error(`Identifier is expected`,this.tokenEnd):(this.next(),this.eat(E)):t&&this.error(`Vertical line is expected`),{type:`Identifier`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Jl(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Ul&&t!==Kl&&t!==Wl&&t!==Vl&&t!==Hl&&t!==Gl&&this.error(`Attribute selector (=, ~=, ^=, $=, *=, |=) is expected`),this.next(),t!==Ul&&(this.isDelim(Ul)||this.error(`Equal sign is expected`),this.next()),this.substrToCursor(e)}var Yl=`AttributeSelector`,Xl={name:`Identifier`,matcher:[String,null],value:[`String`,`Identifier`,null],flags:[String,null]};function Zl(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(Tr),this.skipSC(),t=ql.call(this),this.skipSC(),this.tokenType!==Er&&(this.tokenType!==E&&(n=Jl.call(this),this.skipSC(),r=this.tokenType===gr?this.String():this.Identifier(),this.skipSC()),this.tokenType===E&&(i=this.consume(E),this.skipSC())),this.eat(Er),{type:`AttributeSelector`,loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function Ql(e){this.token(A,`[`),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(E,e.flags),this.token(A,`]`)}var $l=Object.freeze({__proto__:null,generate:Ql,name:Yl,parse:Zl,structure:Xl}),eu=38;function tu(){return this.Raw(null,!0)}function nu(){return this.parseWithFallback(this.Rule,tu)}function ru(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function iu(){if(this.tokenType===Cr)return ru.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,ru);return this.tokenType===Cr&&this.next(),e}var au=`Block`,ou=`block`,su={children:[[`Atrule`,`Rule`,`Declaration`]]};function cu(e){let t=e?iu:nu,n=this.tokenStart,r=this.createList(
15);this.eat(Dr);scan:for(;!this.eof;)switch(this.tokenType){case Or:break scan;case P:case kr:this.next();break;case O:r.push(this.parseWithFallback(this.Atrule.bind(this,e),tu));break;default:e&&this.isDelim(eu)?r.push(nu.call(this)):r.push(t.call(this))}return this.eof||this.eat(Or),{type:`Block`,loc:this.getLocation(n,this.tokenStart),children:r}}function lu(e){this.token(Dr,`{`),this.children(e,e=>{e.type===`Declaration`&&this.token(Cr,`;`)}),this.token(Or,`}`)}var uu=Object.freeze({__proto__:null,generate:lu,name:au,parse:cu,structure:su,walkContext:ou}),du=`Brackets`,fu={children:[[]]};function pu(e,t){let n=this.tokenStart,r=null;return this.eat(Tr),r=e.call(this,t),this.eof||this.eat(Er),{type:`Brackets`,loc:this.getLocation(n,this.tokenStart),children:r}}function mu(e){this.token(A,`[`),this.children(e),this.token(A,`]`)}var hu=Object.freeze({__proto__:null,generate:mu,name:du,parse:pu,structure:fu}),gu=`CDC`,_u=[];function vu(){let e=this.tokenStart;return this.eat(xr),{type:`CDC`,loc:this.getLocation(e,this.tokenStart)}}function yu(){this.token(xr,`-->`)}var bu=Object.freeze({__proto__:null,generate:yu,name:gu,parse:vu,structure:_u}),xu=`CDO`,Su=[];function Cu(){let e=this.tokenStart;return this.eat(br),{type:`CDO`,loc:this.getLocation(e,this.tokenStart)}}function wu(){this.token(br,`<!--`)}var Tu=Object.freeze({__proto__:null,generate:wu,name:xu,parse:Cu,structure:Su}),Eu=46,Du=`ClassSelector`,Ou={name:String};function ku(){return this.eatDelim(Eu),{type:`ClassSelector`,loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(E)}}function Au(e){this.token(A,`.`),this.token(E,e.name)}var ju=Object.freeze({__proto__:null,generate:Au,name:Du,parse:ku,structure:Ou}),Mu=43,Nu=47,Pu=62,Fu=126,Iu=`Combinator`,Lu={name:String};function Ru(){let e=this.tokenStart,t;switch(this.tokenType){case P:t=` `;break;case A:switch(this.charCodeAt(this.tokenStart)){case Pu:case Mu:case Fu:this.next();break;case Nu:this.next(),this.eatIdent(`deep`),this.eatDelim(Nu);break;default:this.error(`Combinator is expected`)}t=this.substrToCursor(e)}return{type:`Combinator`,loc:this.getLocation(e,this.tokenStart),name:t}}function zu(e){this.tokenize(e.name)}var Bu=Object.freeze({__proto__:null,generate:zu,name:Iu,parse:Ru,structure:Lu}
15),Vu=42,Hu=47,Uu=`Comment`,Wu={value:String};function Gu(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(kr),t-e+2>=2&&this.charCodeAt(t-2)===Vu&&this.charCodeAt(t-1)===Hu&&(t-=2),{type:`Comment`,loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Ku(e){this.token(kr,`/*`+e.value+`*/`)}var qu=Object.freeze({__proto__:null,generate:Ku,name:Uu,parse:Gu,structure:Wu}),Ju=new Set([Sr,I,hr]),Yu=`Condition`,Xu={kind:String,children:[[`Identifier`,`Feature`,`FeatureFunction`,`FeatureRange`,`SupportsDeclaration`]]};function Zu(e){return this.lookupTypeNonSC(1)===E&&Ju.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}var Qu={media:Zu,container:Zu,supports(){return this.SupportsDeclaration()}};function $u(e=`media`){let t=this.createList();scan:for(;!this.eof;)switch(this.tokenType){case kr:case P:this.next();continue;case E:t.push(this.Identifier());break;case F:{let n=this.parseWithFallback(()=>Qu[e].call(this,e),()=>null);n||=this.parseWithFallback(()=>{this.eat(F);let t=this.Condition(e);return this.eat(I),t},()=>this.GeneralEnclosed(e)),t.push(n);break}case D:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||=this.GeneralEnclosed(e),t.push(n);break}default:break scan}return t.isEmpty&&this.error(`Condition is expected`),{type:`Condition`,loc:this.getLocationFromList(t),kind:e,children:t}}function ed(e){e.children.forEach(e=>{e.type===`Condition`?(this.token(F,`(`),this.node(e),this.token(I,`)`)):this.node(e)})}var td=Object.freeze({__proto__:null,generate:ed,name:Yu,parse:$u,structure:Xu}),nd=33,rd=35,id=36,ad=38,od=42,sd=43,cd=47;function ld(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function ud(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function dd(){let e=this.tokenIndex,t=this.Value();return t.type!==`Raw`&&this.eof===!1&&this.tokenType!==Cr&&this.isDelim(nd)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var fd=`Declaration`,pd=`declaration`,md={important:[Boolean,String],property:String,value:[`Value`,`Raw`]};function hd(){let e=this.tokenStart,t=this.tokenIndex,n=_d.call(this),r=to(n),i=r?this.parseCustomProperty:this.parseValue,a=r?ud:ld,o=!1,s;this.skipSC(),this.eat(Sr);let c=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(dd,a):a.call(this,this.tokenIndex),r&&s.type===`Value`&&s.children.isEmpty){for(let e=c-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===P){s.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}return this.isDelim(nd)&&(o=vd.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Cr&&this.isBalanceEdge(t)===!1&&this.error(),{type:`Declaration`,loc:this.getLocation(e,this.tokenStart),important:o,property:n,value:s}}function gd(e){this.token(E,e.property),this.token(Sr,`:`),this.node(e.value),e.important&&(this.token(A,`!`),this.token(E,e.important===!0?`important`:e.important))}function _d(){let e=this.tokenStart;if(this.tokenType===A)switch(this.charCodeAt(this.tokenStart)){case od:case id:case sd:case rd:case ad:this.next();break;case cd:this.next(),this.isDelim(cd)&&this.next()}return this.tokenType===k?this.eat(k):this.eat(E),this.substrToCursor(e)}function vd(){this.eat(A),this.skipSC();let e=this.consume(E);return e===`important`||e}var yd=Object.freeze({__proto__:null,generate:gd,name:fd,parse:hd,structure:md,walkContext:pd}),bd=38;function xd(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}var Sd=`DeclarationList`,Cd={children:[[`Declaration`,`Atrule`,`Rule`]]};
15function wd(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case P:case kr:case Cr:this.next();break;case O:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),xd));break;default:this.isDelim(bd)?e.push(this.parseWithFallback(this.Rule,xd)):e.push(this.parseWithFallback(this.Declaration,xd))}return{type:`DeclarationList`,loc:this.getLocationFromList(e),children:e}}function Td(e){this.children(e,e=>{e.type===`Declaration`&&this.token(Cr,`;`)})}var Ed=Object.freeze({__proto__:null,generate:Td,name:Sd,parse:wd,structure:Cd}),Dd=`Dimension`,Od={value:String,unit:String};function kd(){let e=this.tokenStart,t=this.consumeNumber(N);return{type:`Dimension`,loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Ad(e){this.token(N,e.value+e.unit)}var jd=Object.freeze({__proto__:null,generate:Ad,name:Dd,parse:kd,structure:Od}),Md=47,Nd=`Feature`,Pd={kind:String,name:String,value:[`Identifier`,`Number`,`Dimension`,`Ratio`,`Function`,null]};function Fd(e){let t=this.tokenStart,n,r=null;if(this.eat(F),this.skipSC(),n=this.consume(E),this.skipSC(),this.tokenType!==I){switch(this.eat(Sr),this.skipSC(),this.tokenType){case j:r=this.lookupNonWSType(1)===A?this.Ratio():this.Number();break;case N:r=this.Dimension();break;case E:r=this.Identifier();break;case D:r=this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Md)&&this.error(),e},()=>this.Ratio());break;default:this.error(`Number, dimension, ratio or identifier is expected`)}this.skipSC()}return this.eof||this.eat(I),{type:`Feature`,loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function Id(e){this.token(F,`(`),this.token(E,e.name),e.value!==null&&(this.token(Sr,`:`),this.node(e.value)),this.token(I,`)`)}var Ld=Object.freeze({__proto__:null,generate:Id,name:Nd,parse:Fd,structure:Pd}),Rd=`FeatureFunction`,zd={kind:String,feature:String,value:[`Declaration`,`Selector`]};function Bd(e,t){let n=(this.features[e]||{})[t];return typeof n!=`function`&&this.error(`Unknown feature ${t}()`),n}function Vd(e=`unknown`){let t=this.tokenStart,n=this.consumeFunctionName(),r=Bd.call(this,e,n.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let e=this.tokenIndex,t=r.call(this);return this.eof===!1&&this.isBalanceEdge(e)===!1&&this.error(),t},()=>this.Raw(null,!1));return this.eof||this.eat(I),{type:`FeatureFunction`,loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:i}}function Hd(e){this.token(D,e.feature+`(`),this.node(e.value),this.token(I,`)`)}var Ud=Object.freeze({__proto__:null,generate:Hd,name:Rd,parse:Vd,structure:zd}),Wd=47,Gd=60,Kd=61,qd=62,Jd=`FeatureRange`,Yd={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 Xd(){switch(this.skipSC(),this.tokenType){case j:return this.isDelim(Wd,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case N:return this.Dimension();case E:return this.Identifier();case D:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Wd)&&this.error(),e},()=>this.Ratio());default:this.error(`Number, dimension, ratio or identifier is expected`)}}function Zd(e){if(this.skipSC(),this.isDelim(Gd)||this.isDelim(qd)){let e=this.source[this.tokenStart];return this.next(),this.isDelim(Kd)?(this.next(),e+`=`):e}if(this.isDelim(Kd))return`=`;this.error(`Expected ${e?`":", `:``}"<", ">", "=" or ")"`)}function Qd(e=`unknown`){let t=this.tokenStart;this.skipSC(),this.eat(F);let n=Xd.call(this),r=Zd.call(this,n.type===`Identifier`),i=Xd.call(this),a=null,o=null;return this.lookupNonWSType(0)!==I&&(a=Zd.call(this),o=Xd.call(this)),this.skipSC(),this.eat(I),{type:`FeatureRange`,loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:i,rightComparison:a,right:o}}function $d(e){this.token(F,`(`),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(I,`)`)}var ef=Object.freeze({__proto__:null,generate:$d,name:Jd,parse:Qd,structure:Yd}),tf=`Function`,nf=`function`,rf={name:String,children:[[]]};function af(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase(),a;return a=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(I),{type:`Function`,loc:this.getLocation(n,this.tokenStart),name:r,children:a}}function of(e){this.token(D,e.name+`(`),this.children(e),this.token(I,`)`)}var sf=Object.freeze({__proto__:null,generate:of,name:tf,parse:af,structure:rf,w
15alkContext:nf}),cf=`GeneralEnclosed`,lf={kind:String,function:[String,null],children:[[]]};function uf(e){let t=this.tokenStart,n=null;this.tokenType===D?n=this.consumeFunctionName():this.eat(F);let r=this.parseWithFallback(()=>{let e=this.tokenIndex,t=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(e)===!1&&this.error(),t},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(I),{type:`GeneralEnclosed`,loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function df(e){e.function?this.token(D,e.function+`(`):this.token(F,`(`),this.children(e),this.token(I,`)`)}var ff=Object.freeze({__proto__:null,generate:df,name:cf,parse:uf,structure:lf}),pf=`XXX`,mf=`Hash`,hf={value:String};function gf(){let e=this.tokenStart;return this.eat(k),{type:`Hash`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function _f(e){this.token(k,`#`+e.value)}var vf=Object.freeze({__proto__:null,generate:_f,name:mf,parse:gf,structure:hf,xxx:pf}),yf=`Identifier`,bf={name:String};function xf(){return{type:`Identifier`,loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(E)}}function Sf(e){this.token(E,e.name)}var Cf=Object.freeze({__proto__:null,generate:Sf,name:yf,parse:xf,structure:bf}),wf=`IdSelector`,Tf={name:String};function Ef(){let e=this.tokenStart;return this.eat(k),{type:`IdSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Df(e){this.token(A,`#`+e.name)}var Of=Object.freeze({__proto__:null,generate:Df,name:wf,parse:Ef,structure:Tf}),kf=46,Af=`Layer`,jf={name:String};function Mf(){let e=this.tokenStart,t=this.consume(E);for(;this.isDelim(kf);)this.eat(A),t+=`.`+this.consume(E);return{type:`Layer`,loc:this.getLocation(e,this.tokenStart),name:t}}function Nf(e){this.tokenize(e.name)}var Pf=Object.freeze({__proto__:null,generate:Nf,name:Af,parse:Mf,structure:jf}),Ff=`LayerList`,If={children:[[`Layer`]]};
15function Lf(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===wr);)this.skipSC(),this.next(),this.skipSC();return{type:`LayerList`,loc:this.getLocationFromList(e),children:e}}function Rf(e){this.children(e,()=>this.token(wr,`,`))}var zf=Object.freeze({__proto__:null,generate:Rf,name:Ff,parse:Lf,structure:If}),Bf=`MediaQuery`,Vf={modifier:[String,null],mediaType:[String,null],condition:[`Condition`,null]};function Hf(){let e=this.tokenStart,t=null,n=null,r=null;if(this.skipSC(),this.tokenType===E&&this.lookupTypeNonSC(1)!==F){let e=this.consume(E),i=e.toLowerCase();switch(i===`not`||i===`only`?(this.skipSC(),t=i,n=this.consume(E)):n=e,this.lookupTypeNonSC(0)){case E:this.skipSC(),this.eatIdent(`and`),r=this.Condition(`media`);break;case Dr:case Cr:case wr:case hr:break;default:this.error(`Identifier or parenthesis is expected`)}}else switch(this.tokenType){case E:case F:case D:r=this.Condition(`media`);break;case Dr:case Cr:case hr: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 Uf(e){e.mediaType?(e.modifier&&this.token(E,e.modifier),this.token(E,e.mediaType),e.condition&&(this.token(E,`and`),this.node(e.condition))):e.condition&&this.node(e.condition)}var Wf=Object.freeze({__proto__:null,generate:Uf,name:Bf,parse:Hf,structure:Vf}),Gf=`MediaQueryList`,Kf={children:[[`MediaQuery`]]};
15function qf(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===wr);)this.next();return{type:`MediaQueryList`,loc:this.getLocationFromList(e),children:e}}function Jf(e){this.children(e,()=>this.token(wr,`,`))}var Yf=Object.freeze({__proto__:null,generate:Jf,name:Gf,parse:qf,structure:Kf}),Xf=38,Zf=`NestingSelector`,Qf={};function $f(){let e=this.tokenStart;return this.eatDelim(Xf),{type:`NestingSelector`,loc:this.getLocation(e,this.tokenStart)}}function ep(){this.token(A,`&`)}var tp=Object.freeze({__proto__:null,generate:ep,name:Zf,parse:$f,structure:Qf}),np=`Nth`,rp={nth:[`AnPlusB`,`Identifier`],selector:[`SelectorList`,null]};function ip(){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 ap(e){this.node(e.nth),e.selector!==null&&(this.token(E,`of`),this.node(e.selector))}var op=Object.freeze({__proto__:null,generate:ap,name:np,parse:ip,structure:rp}),sp=`Number`,cp={value:String};function lp(){return{type:`Number`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(j)}}function up(e){this.token(j,e.value)}var dp=Object.freeze({__proto__:null,generate:up,name:sp,parse:lp,structure:cp}),fp=`Operator`,pp={value:String};function mp(){let e=this.tokenStart;return this.next(),{type:`Operator`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function hp(e){this.tokenize(e.value)}var gp=Object.freeze({__proto__:null,generate:hp,name:fp,parse:mp,structure:pp}),_p=`Parentheses`,vp={children:[[]]};function yp(e,t){let n=this.tokenStart,r=null;return this.eat(F),r=e.call(this,t),this.eof||this.eat(I),{type:`Parentheses`,loc:this.getLocation(n,this.tokenStart),children:r}}function bp(e){this.token(F,`(`),this.children(e),this.token(I,`)`)}var xp=Object.freeze({__proto__:null,generate:bp,name:_p,parse:yp,structure:vp}),Sp=`Percentage`,Cp={value:String};function wp(){return{type:`Percentage`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(M)}}function Tp(e){this.token(M,e.value+`%`)}var Ep=Object.freeze({__proto__:null,generate:Tp,name:Sp,parse:wp,structure:Cp}),Dp=`PseudoClassSelector`,Op=`function`,kp={name:String,children:[[`Raw`],null]};function Ap(){let e=this.tokenStart,t=null,n,r;return this.eat(Sr),this.tokenType===D?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==I?t=this.createList(
15):hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(I)):n=this.consume(E),{type:`PseudoClassSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function jp(e){this.token(Sr,`:`),e.children===null?this.token(E,e.name):(this.token(D,e.name+`(`),this.children(e),this.token(I,`)`))}var Mp=Object.freeze({__proto__:null,generate:jp,name:Dp,parse:Ap,structure:kp,walkContext:Op}),Np=`PseudoElementSelector`,Pp=`function`,Fp={name:String,children:[[`Raw`],null]};function Ip(){let e=this.tokenStart,t=null,n,r;return this.eat(Sr),this.eat(Sr),this.tokenType===D?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==I?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(I)):n=this.consume(E),{type:`PseudoElementSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Lp(e){this.token(Sr,`:`),this.token(Sr,`:`),e.children===null?this.token(E,e.name):(this.token(D,e.name+`(`),this.children(e),this.token(I,`)`))}var Rp=Object.freeze({__proto__:null,generate:Lp,name:Np,parse:Ip,structure:Fp,walkContext:Pp}),zp=47;function Bp(){switch(this.skipSC(),this.tokenType){case j:return this.Number();case D:return this.Function(this.readSequence,this.scope.Value);default:this.error(`Number of function is expected`)}}var Vp=`Ratio`,Hp={left:[`Number`,`Function`],right:[`Number`,`Function`,null]};function Up(){let e=this.tokenStart,t=Bp.call(this),n=null;return this.skipSC(),this.isDelim(zp)&&(this.eatDelim(zp),n=Bp.call(this)),{type:`Ratio`,loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function Wp(e){this.node(e.left),this.token(A,`/`),e.right?this.node(e.right):this.node(j,1)}var Gp=Object.freeze({__proto__:null,generate:Wp,name:Vp,parse:Up,structure:Hp});function Kp(){return this.tokenIndex>0&&this.lookupType(-1)===P?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var qp=`Raw`,Jp={value:String};function Yp(e,t){let n=this.getTokenStart(this.tokenIndex),r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?Kp.call(this):this.tokenStart,{type:`Raw`,loc:this.getLocation(n,r),value:this.substring(n,r)}}function Xp(e){this.tokenize(e.value)}var Zp=Object.freeze({__proto__:null,generate:Xp,name:qp,parse:Yp,structure:Jp});function Qp(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function $p(){let e=this.SelectorList();return e.type!==`Raw`&&this.eof===!1&&this.tokenType!==Dr&&this.error(),e}var em=`Rule`,tm=`rule`,nm={prelude:[`SelectorList`,`Raw`],block:[`Block`]};function rm(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback($p,Qp):Qp.call(this,e),r=this.Block(!0),{type:`Rule`,loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function im(e){this.node(e.prelude),this.node(e.block)}var am=Object.freeze({__proto__:null,generate:im,name:em,parse:rm,structure:nm,walkContext:tm}),om=`Scope`,sm={root:[`SelectorList`,`Raw`,null],limit:[`SelectorList`,`Raw`,null]};function cm(){let e=null,t=null;this.skipSC();let n=this.tokenStart;return this.tokenType===F&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(I)),this.lookupNonWSType(0)===E&&(this.skipSC(),this.eatIdent(`to`),this.skipSC(),this.eat(F),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(I)),{type:`Scope`,loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function lm(e){e.root&&(this.token(F,`(`),this.node(e.root),this.token(I,`)`)),e.limit&&(this.token(E,`to`),this.token(F,`(`),this.node(e.limit),this.token(I,`)`))}var um=Object.freeze({__proto__:null,generate:lm,name:om,parse:cm,structure:sm}),dm=`Selector`,fm={children:[[`TypeSelector`,`IdSelector`,`ClassSelector`,`AttributeSelector`,`PseudoClassSelector`,`PseudoElementSelector`,`Combinator`]]};function pm(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error(`Selector is expected`),{type:`Selector`,loc:this.getLocationFromList(e),children:e}}function mm(e){this.children(e)}var hm=Object.freeze({__proto__:null,generate:mm,name:dm,parse:pm,structure:fm}),gm=`SelectorList`,_m=`selector`,vm={children:[[`Selector`,`Raw`]]};
15function ym(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===wr){this.next();continue}break}return{type:`SelectorList`,loc:this.getLocationFromList(e),children:e}}function bm(e){this.children(e,()=>this.token(wr,`,`))}var xm=Object.freeze({__proto__:null,generate:bm,name:gm,parse:ym,structure:vm,walkContext:_m}),Sm=92,Cm=34,wm=39;function Tm(e){let t=e.length,n=e.charCodeAt(0),r=+(n===Cm||n===wm),i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,a=``;for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(r===Sm){if(n===i){n!==t-1&&(a=e.substr(n+1));break}if(r=e.charCodeAt(++n),Hr(Sm,r)){let t=n-1,r=oi(e,t);n=r-1,a+=ui(e.substring(t+1,r))}else r===13&&e.charCodeAt(n+1)===10&&n++}else a+=e[n]}return a}function Em(e,t){let n=Cm,r=``,i=!1;for(let t=0;t<e.length;t++){let a=e.charCodeAt(t);if(a===0){r+=`�`;continue}if(a<=31||a===127){r+=`\\`+a.toString(16),i=!0;continue}a===n||a===Sm?(r+=`\\`+e.charAt(t),i=!1):(i&&(Mr(a)||Vr(a))&&(r+=` `),r+=e.charAt(t),i=!1)}return`"`+r+`"`}var Dm=`String`,Om={value:String};function km(){return{type:`String`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Tm(this.consume(gr))}}function Am(e){this.token(gr,Em(e.value))}var jm=Object.freeze({__proto__:null,generate:Am,name:Dm,parse:km,structure:Om}),Mm=33;function Nm(){return this.Raw(null,!1)}var Pm=`StyleSheet`,Fm=`stylesheet`,Im={children:[[`Comment`,`CDO`,`CDC`,`Atrule`,`Rule`,`Raw`]]};
15function Lm(){let e=this.tokenStart,t=this.createList(),n;for(;!this.eof;){switch(this.tokenType){case P:this.next();continue;case kr:if(this.charCodeAt(this.tokenStart+2)!==Mm){this.next();continue}n=this.Comment();break;case br:n=this.CDO();break;case xr:n=this.CDC();break;case O:n=this.parseWithFallback(this.Atrule,Nm);break;default:n=this.parseWithFallback(this.Rule,Nm)}t.push(n)}return{type:`StyleSheet`,loc:this.getLocation(e,this.tokenStart),children:t}}function Rm(e){this.children(e)}var zm=Object.freeze({__proto__:null,generate:Rm,name:Pm,parse:Lm,structure:Im,walkContext:Fm}),Bm=`SupportsDeclaration`,Vm={declaration:`Declaration`};function Hm(){let e=this.tokenStart;this.eat(F),this.skipSC();let t=this.Declaration();return this.eof||this.eat(I),{type:`SupportsDeclaration`,loc:this.getLocation(e,this.tokenStart),declaration:t}}function Um(e){this.token(F,`(`),this.node(e.declaration),this.token(I,`)`)}var Wm=Object.freeze({__proto__:null,generate:Um,name:Bm,parse:Hm,structure:Vm}),Gm=42,Km=124;function qm(){this.tokenType!==E&&this.isDelim(Gm)===!1&&this.error(`Identifier or asterisk is expected`),this.next()}var Jm=`TypeSelector`,Ym={name:String};function Xm(){let e=this.tokenStart;return this.isDelim(Km)?(this.next(),qm.call(this)):(qm.call(this),this.isDelim(Km)&&(this.next(),qm.call(this))),{type:`TypeSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Zm(e){this.tokenize(e.name)}var Qm=Object.freeze({__proto__:null,generate:Zm,name:Jm,parse:Xm,structure:Ym}),$m=43,eh=45,th=63;function nh(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(i===eh&&t&&n!==0)return nh.call(this,e+n+1,!1),-1;Mr(i)||this.error(t&&n!==0?`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 rh(e){let t=0;for(;this.isDelim(th);)++t>e&&this.error(`Too many question marks`),this.next()}function ih(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===$m?`Plus sign`:`Hyphen minus`)+` is expected`)}function ah(){let e=0;switch(this.tokenType){case j:if(e=nh.call(this,1,!0),this.isDelim(th)){rh.call(this,6-e);break}if(this.tokenType===N||this.tokenType===j){ih.call(this,eh),nh.call(this,1,!1);break}break;case N:e=nh.call(this,1,!0),e>0&&rh.call(this,6-e);break;default:if(this.eatDelim($m),this.tokenType===E){e=nh.call(this,0,!0),e>0&&rh.call(this,6-e);break}if(this.isDelim(th)){this.next(),rh.call(this,5);break}this.error(`Hex digit or question mark is expected`)}}var oh=`UnicodeRange`,sh={value:String};function ch(){let e=this.tokenStart;return this.eatIdent(`u`),ah.call(this),{type:`UnicodeRange`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function lh(e){this.tokenize(e.value)}var uh=Object.freeze({__proto__:null,generate:lh,name:oh,parse:ch,structure:sh}),dh=32,fh=92,ph=34,mh=39,hh=40,gh=41;function _h(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===gh?t-2:t-1,i=``;for(;n<r&&Vr(e.charCodeAt(n));)n++;for(;n<r&&Vr(e.charCodeAt(r));)r--;for(let a=n;a<=r;a++){let n=e.charCodeAt(a);if(n===fh){if(a===r){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),Hr(fh,n)){let t=a-1,n=oi(e,t);a=n-1,i+=ui(e.substring(t+1,n))}else n===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function vh(e){let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0){t+=`�`;continue}if(i<=31||i===127){t+=`\\`+i.toString(16),n=!0;continue}i===dh||i===fh||i===ph||i===mh||i===hh||i===gh?(t+=`\\`+e.charAt(r),n=!1):(n&&Mr(i)&&(t+=` `),t+=e.charAt(r),n=!1)}return`url(`+t+`)`}var yh=`Url`,bh={value:String};function xh(){let e=this.tokenStart,t;switch(this.tokenType){case vr:t=_h(this.consume(vr));break;case D:this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)||this.error("Function name must be `url`"),this.eat(D),this.skipSC(),t=Tm(this.consume(gr)),this.skipSC(),this.eof||this.eat(I);break;default:this.error(`Url or Function is expected`)}return{type:`Url`,loc:this.getLocation(e,this.tokenStart),value:t}}function Sh(e){this.token(vr,vh(e.value))}var Ch=Object.freeze({__proto__:null,generate:Sh,name:yh,parse:xh,structure:bh}
15),wh=`Value`,Th={children:[[]]};function Eh(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:`Value`,loc:this.getLocation(e,this.tokenStart),children:t}}function Dh(e){this.children(e)}var Oh=Object.freeze({__proto__:null,generate:Dh,name:wh,parse:Eh,structure:Th}),kh=Object.freeze({type:`WhiteSpace`,loc:null,value:` `}),Ah=`WhiteSpace`,jh={value:String};function Mh(){return this.eat(P),kh}function Nh(e){this.token(P,e.value)}var Ph=Object.freeze({__proto__:null,generate:Nh,name:Ah,parse:Mh,structure:jh}),Fh=Object.freeze({__proto__:null,AnPlusB:El,Atrule:Pl,AtrulePrelude:Bl,AttributeSelector:$l,Block:uu,Brackets:hu,CDC:bu,CDO:Tu,ClassSelector:ju,Combinator:Bu,Comment:qu,Condition:td,Declaration:yd,DeclarationList:Ed,Dimension:jd,Feature:Ld,FeatureFunction:Ud,FeatureRange:ef,Function:sf,GeneralEnclosed:ff,Hash:vf,IdSelector:Of,Identifier:Cf,Layer:Pf,LayerList:zf,MediaQuery:Wf,MediaQueryList:Yf,NestingSelector:tp,Nth:op,Number:dp,Operator:gp,Parentheses:xp,Percentage:Ep,PseudoClassSelector:Mp,PseudoElementSelector:Rp,Ratio:Gp,Raw:Zp,Rule:am,Scope:um,Selector:hm,SelectorList:xm,String:jm,StyleSheet:zm,SupportsDeclaration:Wm,TypeSelector:Qm,UnicodeRange:uh,Url:Ch,Value:Oh,WhiteSpace:Ph}),Ih={generic:!0,cssWideKeywords:ao,...fl,node:Fh},Lh=35,Rh=42,zh=43,Bh=45,Vh=47,Hh=117;function Uh(e){switch(this.tokenType){case k:return this.Hash();case wr:return this.Operator();case F:return this.Parentheses(this.readSequence,e.recognizer);case Tr:return this.Brackets(this.readSequence,e.recognizer);case gr:return this.String();case N:return this.Dimension();case M:return this.Percentage();case j:return this.Number();case D:return this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)?this.Url():this.Function(this.readSequence,e.recognizer);case vr:return this.Url();case E:return this.cmpChar(this.tokenStart,Hh)&&this.cmpChar(this.tokenStart+1,zh)?this.UnicodeRange():this.Identifier();case A:{let e=this.charCodeAt(this.tokenStart);if(e===Vh||e===Rh||e===zh||e===Bh)return this.Operator();e===Lh&&this.error(`Hex or identifier is expected`,this.tokenStart+1);break}}}var Wh={getNode:Uh},Gh=35,Kh=38,qh=42,Jh=43,Yh=47,Xh=46,Zh=62,Qh=124,$h=126;function eg(e,t){t.last!==null&&t.last.type!==`Combinator`&&e!==null&&e.type!==`Combinator`&&t.push({type:`Combinator`,loc:null,name:` `})}function tg(){switch(this.tokenType){case Tr:return this.AttributeSelector();case k:return this.IdSelector();case Sr:return this.lookupType(1)===Sr?this.PseudoElementSelector():this.PseudoClassSelector();case E:return this.TypeSelector();case j:case M:return this.Percentage();case N:this.charCodeAt(this.tokenStart)===Xh&&this.error(`Identifier is expected`,this.tokenStart+1);break;case A:switch(this.charCodeAt(this.tokenStart)){case Jh:case Zh:case $h:case Yh:return this.Combinator();case Xh:return this.ClassSelector();case qh:case Qh:return this.TypeSelector();case Gh:return this.IdSelector();case Kh:return this.NestingSelector()}}}var ng={onWhiteSpace:eg,getNode:tg};function rg(){return this.createSingleNodeList(this.Raw(null,!1))}
15function ig(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===wr){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type===`Value`&&n.children.isEmpty){for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===P){n.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}e.push(n)}return e}function ag(e){return e!==null&&e.type===`Operator`&&(e.value[e.value.length-1]===`-`||e.value[e.value.length-1]===`+`)}var og=Object.freeze({__proto__:null,AtrulePrelude:Wh,Selector:ng,Value:{getNode:Uh,onWhiteSpace(e,t){ag(e)&&(e.value=` `+e.value),ag(t.last)&&(t.last.value+=` `)},expression:rg,var:ig}}),sg=new Set([`none`,`and`,`not`,`or`]),cg={parse:{prelude(){let e=this.createList();if(this.tokenType===E){let t=this.substring(this.tokenStart,this.tokenEnd);sg.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition(`container`)),e},block(e=!1){return this.Block(e)}}},lg={parse:{prelude:null,block(){return this.Block(!0)}}};function ug(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==I&&this.error()}},t||(()=>this.Raw(null,!0)))}var dg={layer(){this.skipSC();
15let e=this.createList(),t=ug.call(this,this.Layer);return t.type===`Raw`&&t.value===``||e.push(t),e},supports(){this.skipSC();let e=this.createList(),t=ug.call(this,this.Declaration,()=>ug.call(this,()=>this.Condition(`supports`)));return t.type===`Raw`&&t.value===``||e.push(t),e}},fg={container:cg,"font-face":lg,import:{parse:{prelude(){let e=this.createList();switch(this.tokenType){case gr:e.push(this.String());break;case vr:case D:e.push(this.Url());break;default:this.error(`String or url() is expected`)}return this.skipSC(),this.tokenType===E&&this.cmpStr(this.tokenStart,this.tokenEnd,`layer`)?e.push(this.Identifier()):this.tokenType===D&&this.cmpStr(this.tokenStart,this.tokenEnd,`layer(`)&&e.push(this.Function(null,dg)),this.skipSC(),this.tokenType===D&&this.cmpStr(this.tokenStart,this.tokenEnd,`supports(`)&&e.push(this.Function(null,dg)),this.lookupNonWSType(0)!==E&&this.lookupNonWSType(0)!==F||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)}}}};
15function pg(){let e=this.createList();this.skipSC();loop:for(;!this.eof;){switch(this.tokenType){case E:e.push(this.Identifier());break;case gr:e.push(this.String());break;case wr:e.push(this.Operator());break;case I:break loop;default:this.error(`Identifier, string or comma is expected`)}this.skipSC()}return e}var mg={parse(){return this.createSingleNodeList(this.SelectorList())}},hg={parse(){return this.createSingleNodeList(this.Selector())}},gg={parse(){return this.createSingleNodeList(this.Identifier())}},_g={parse:pg},vg={parse(){return this.createSingleNodeList(this.Nth())}},yg={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:og,atrule:fg,pseudo:{dir:gg,has:mg,lang:_g,matches:mg,is:mg,"-moz-any":mg,"-webkit-any":mg,where:mg,not:mg,"nth-child":vg,"nth-last-child":vg,"nth-last-of-type":vg,"nth-of-type":vg,slotted:hg,host:hg,"host-context":hg},node:Object.freeze({__proto__:null,AnPlusB:wl,Atrule:Ml,AtrulePrelude:Rl,AttributeSelector:Zl,Block:cu,Brackets:pu,CDC:vu,CDO:Cu,ClassSelector:ku,Combinator:Ru,Comment:Gu,Condition:$u,Declaration:hd,DeclarationList:wd,Dimension:kd,Feature:Fd,FeatureFunction:Vd,FeatureRange:Qd,Function:af,GeneralEnclosed:uf,Hash:gf,IdSelector:Ef,Identifier:xf,Layer:Mf,LayerList:Lf,MediaQuery:Hf,MediaQueryList:qf,NestingSelector:$f,Nth:ip,Number:lp,Operator:mp,Parentheses:yp,Percentage:wp,PseudoClassSelector:Ap,PseudoElementSelector:Ip,Ratio:Up,Raw:Yp,Rule:rm,Scope:cm,Selector:pm,SelectorList:ym,String:km,StyleSheet:Lm,SupportsDeclaration:Hm,TypeSelector:Xm,UnicodeRange:ch,Url:xh,Value:Eh,WhiteSpace:Mh})},bg={node:Fh},xg=dl({...Ih,...yg,...bg});function Sg(e){let t={};for(let n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof ki?r=r.map(Sg):r.constructor===Object&&(r=Sg(r))),t[n]=r}return t}var{tokenize:Cg,parse:wg,generate:Tg,lexer:Eg,createLexer:Dg,walk:Og,find:kg,findLast:Ag,findAll:jg,toPlainObject:Mg,fromPlainObject:Ng,fork:Pg}=xg,Fg=0,B=1,V=2,Ig=3,H=4,Lg=5,Rg=6,zg=7,Bg=8,U=9,W=10,G=11,K=12,q=13,Vg=14,Hg=15,Ug=16,Wg=17,Gg=18,Kg=19,qg=20,Jg=21,J=22,Yg=23,Xg=24,Zg=25,Qg=0;function $g(e){return e>=48&&e<=57}function e_(e){return $g(e)||e>=65&&e<=70||e>=97&&e<=102}function t_(e){return e>=65&&e<=90}function n_(e){return e>=97&&e<=122}function r_(e){return t_(e)||n_(e)}function i_(e){return e>=128}function a_(e){return r_(e)||i_(e)||e===95}function o_(e){return a_(e)||$g(e)||e===45}function s_(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function c_(e){return e===10||e===13||e===12}function l_(e){return c_(e)||e===32||e===9}function u_(e,t){return!(e!==92||c_(t)||t===Qg)}function d_(e,t,n){return e===45?a_(t)||t===45||u_(t,n):a_(e)?!0:e===92&&u_(e,t)}function f_(e,t,n){return e===43||e===45?$g(t)?2:t===46&&$g(n)?3:0:e===46?$g(t)?2:0:+!!$g(e)}function p_(e){return+(e===65279||e===65534)}var m_=Array(128),h_=128,g_=130,__=131,v_=132,y_=133;for(let e=0;e<m_.length;e++)m_[e]=l_(e)&&g_||$g(e)&&__||a_(e)&&v_||s_(e)&&y_||e||h_;function b_(e){return e<128?m_[e]:v_}function x_(e,t){return t<e.length?e.charCodeAt(t):0}function S_(e,t,n){return n===13&&x_(e,t+1)===10?2:1}function C_(e,t,n){let r=e.charCodeAt(t);return t_(r)&&(r|=32),r===n}function w_(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),a=e.charCodeAt(i);if(t_(a)&&(a|=32),a!==n)return!1}return!0}function T_(e,t){for(;t>=0&&l_(e.charCodeAt(t));t--);return t+1}function E_(e,t){for(;t<e.length&&l_(e.charCodeAt(t));t++);return t}function D_(e,t){for(;t<e.length&&$g(e.charCodeAt(t));t++);return t}function O_(e,t){if(t+=2,e_(x_(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&e_(x_(e,t));t++);let n=x_(e,t);l_(n)&&(t+=S_(e,t,n))}return t}function k_(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!o_(n)){if(u_(n,x_(e,t+1))){t=O_(e,t)-1;continue}break}}return t}function A_(e,t){let n=e.charCodeAt(t);if(n!==43&&n!==45||(n=e.charCodeAt(t+=1)),$g(n)&&(t=D_(e,t+1),n=e.charCodeAt(t)),n===46&&$g(e.charCodeAt(t+1))&&(t+=2,t=D_(e,t)),C_(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),$g(n)&&(t=D_(e,t+1+r+1))}return t}function j_(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n===41){t++;break}u_(n,x_(e,t+1))&&(t=O_(e,t))}return t}function M_(e){if(e.length===1&&!e_(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>
151114111)&&(t=65533),String.fromCodePoint(t)}var N_=[`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`],P_=16384;function F_(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,P_)):e}var I_=10,L_=12,R_=13;function z_(e){let t=e.source,n=t.length,r=t.length>0?p_(t.charCodeAt(0)):0,i=F_(e.lines,n),a=F_(e.columns,n),o=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);i[e]=o,a[e]=s++,(r===I_||r===R_||r===L_)&&(r===R_&&e+1<n&&t.charCodeAt(e+1)===I_&&(e++,i[e]=o,a[e]=s),o++,s=1)}i[n]=o,a[n]=s,e.lines=i,e.columns=a,e.computed=!0}var B_=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}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||z_(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||z_(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]}}}},V_=16777215,H_=24,U_=new Map([[V,J],[Jg,J],[Kg,qg],[Yg,Xg]]),W_=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=()=>{}){e=String(e||``);let n=e.length,r=F_(this.offsetAndType,e.length+1),i=F_(this.balance,e.length+1),a=0,o=0,s=0,c=-1;for(this.offsetAndType=null,this.balance=null,t(e,(e,t,l)=>{switch(e){default:i[a]=n;break;case o:{let e=s&V_;for(s=i[e],o=s>>H_,i[a]=e,i[e++]=a;e<a;e++)i[e]===n&&(i[e]=a);break}case Jg:case V:case Kg:case Yg:i[a]=s,o=U_.get(e),s=o<<H_|a}r[a++]=e<<H_|l,c===-1&&(c=t)}),r[a]=0|n,i[a]=n,i[n]=n;s!==0;){let e=s&V_;s=i[e],i[e]=n}this.source=e,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>H_:Fg}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&V_:this.source.length}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount&&w_(this.source,this.offsetAndType[e-1]&V_,this.offsetAndType[e]&V_,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&V_:this.offsetAndType[this.tokenCount]&V_:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===U&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===U&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&V_,t=this.offsetAndType[t],this.tokenType=t>>H_,this.tokenEnd=t&V_):(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>>H_,this.tokenEnd=e&V_):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Fg,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===q||this.tokenType===Zg;)this.next()}skipUntilBalanced(e,t){let n=e,r,i;loop:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break loop;switch(i=n>0?this.offsetAndType[n-1]&V_:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break loop;case 2:n++;break loop;default:this.balance[r]===n&&(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],a=i&V_,o=i>>H_;n=a,e(o,r,a,t)}}dump(){let e=Array(this.tokenCount);return this.forEachToken((t,n,r,i)=>{e[i]={idx:i,type:N_[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function G_(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){if(l=A_(e,l),d_(n(l),n(l+1),n(l+2))){u=K,l=k_(e,l);return}if(n(l)===37){u=G,l++;return}u=W}function i(){let t=l;if(l=k_(e,l),w_(e,t,l,`url`)&&n(l)===40){if(l=E_(e,l+1),n(l)===34||n(l)===39){u=V,l=t+4;return}o();return}if(n(l)===40){u=V,l++;return}u=B}function a(t){for(t||=n(l++),u=Lg;l<e.length;l++){let r=e.charCodeAt(l);switch(b_(r)){case t:l++;return;case g_:if(c_(r)){l+=S_(e,l,r),u=Rg;return}break;case 92:if(l===e.length-1)break;let i=n(l+1);c_(i)?l+=S_(e,l+1,i):u_(r,i)&&(l=O_(e,l)-1)}}}function o(){for(u=zg,l=E_(e,l);l<e.length;l++){let t=e.charCodeAt(l);switch(b_(t)){case 41:l++;return;case g_:if(l=E_(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=j_(e,l),u=Bg;return;case 34:case 39:case 40:case y_:l=j_(e,l),u=Bg;return;case 92:if(u_(t,n(l+1))){l=O_(e,l)-1;break}l=j_(e,l),u=Bg;return}}}e=String(e||``);let s=e.length,c=p_(n(0)),l=c,u;
15for(;l<s;){let o=e.charCodeAt(l);switch(b_(o)){case g_:u=q,l=E_(e,l+1);break;case 34:a();break;case 35:o_(n(l+1))||u_(n(l+1),n(l+2))?(u=H,l=k_(e,l+1)):(u=U,l++);break;case 39:a();break;case 40:u=Jg,l++;break;case 41:u=J,l++;break;case 43:f_(o,n(l+1),n(l+2))?r():(u=U,l++);break;case 44:u=Gg,l++;break;case 45:f_(o,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=Hg,l+=3):d_(o,n(l+1),n(l+2))?i():(u=U,l++);break;case 46:f_(o,n(l+1),n(l+2))?r():(u=U,l++);break;case 47:n(l+1)===42?(u=Zg,l=e.indexOf(`*/`,l+2),l=l===-1?e.length:l+2):(u=U,l++);break;case 58:u=Ug,l++;break;case 59:u=Wg,l++;break;case 60:n(l+1)===33&&n(l+2)===45&&n(l+3)===45?(u=Vg,l+=4):(u=U,l++);break;case 64:d_(n(l+1),n(l+2),n(l+3))?(u=Ig,l=k_(e,l+1)):(u=U,l++);break;case 91:u=Kg,l++;break;case 92:u_(o,n(l+1))?i():(u=U,l++);break;case 93:u=qg,l++;break;case 123:u=Yg,l++;break;case 125:u=Xg,l++;break;case __:r();break;case v_:i();break;default:u=U,l++}t(u,c,c=l)}}var K_=null,Y=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 K_===null?n={prev:e,next:t,cursor:this.cursor}
15:(n=K_,K_=K_.cursor,n.prev=e,n.next=t,n.cursor=this.cursor),this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=K_,K_=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;i!==null;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){let t=e.createItem(r);n===null?this.head=t:n.next=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(;n.next!==null;){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(;n.prev!==null;){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,a;for(;r.next!==null;)a=r.next,r.next=a.next,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),i=t,a;for(;r.prev!==null;)a=r.prev,r.prev=a.prev,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;n!==null;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;e!==null;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;e!==null;e=e.next)t.call(n,e.data,e,this)&&r.appendData(e.data);return r}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){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(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){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),this.head===null?this.tail=e:(this.head.prev=e,e.next=this.head),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(t!==null){if(this.updateCursors(t.prev,e,t,e),t.prev===null){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),this.tail===null?this.head=e:(this.tail.next=e,e.prev=this.tail),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),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw Error(`item doesn't belong to list`);this.head=e.next}if(e.next!==null)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 this.tail===null?null:this.remove(this.tail)}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head===null?null:this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t==null?(this.updateCursors(this.tail,e.tail,null,e.head),this.tail===null?this.head=e.head:(this.tail.next=e.head,e.head.prev=this.tail),this.tail=e.tail):(this.updateCursors(t.prev,e.tail,t,e.head),t.prev===null?this.head=e.head:(t.prev.next=e.head,e.head.prev=t.prev),t.prev=e.tail,e.tail.next=t),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 q_(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}\n`)}})}var J_=100,Y_=60,X_=` `;function Z_({source:e,line:t,column:n},r){function i(e,t){return a.slice(e,t).map((t,n)=>String(e+n+1).padStart(c)+` |`+t).join(` 16`)}let a=e.split(/\r\n?|\n|\f/),o=Math.max(1,t-r)-1,s=Math.min(t+r,a.length+1),c=Math.max(4,String(s).length)+1,l=0;n+=3*(a[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>J_&&(l=n-Y_+3,n=58);for(let e=o;e<=s;e++)e>=0&&e<a.length&&(a[e]=a[e].replace(/\t/g,X_),a[e]=(l>0&&a[e].length>l?`â¦`:``)+a[e].substr(l,98)+(a[e].length>l+J_-1?`â¦`:``));
16return[i(o,t),Array(n+c+2).join(`-`)+`^`,i(t,s)].filter(Boolean).join(` 17`)}function Q_(e,t,n,r,i){return Object.assign(q_(`SyntaxError`,e),{source:t,offset:n,line:r,column:i,sourceFragment:e=>Z_({source:t,line:r,column:i},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+Z_({source:t,line:r,column:i},2)}})}function $_(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case Zg:this.next();continue;case q:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&=(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var ev=()=>{},tv=33,nv=35,rv=59,iv=123,av=0;function ov(e){return function(){return this[e]()}}function sv(e){let t=Object.create(null);for(let n in e){let r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function cv(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:sv(e.atrule),pseudo:sv(e.pseudo),node:sv(e.node)};for(let n in e.parseContext)switch(typeof e.parseContext[n]){case`function`:t.context[n]=e.parseContext[n];break;case`string`:t.context[n]=ov(e.parseContext[n])}return{config:t,...t,...t.node}}function lv(e){let t=``,n=`<unknown>`,r=!1,i=ev,a=!1,o=new B_,s=Object.assign(new W_,cv(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:$_,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>+(e===iv),consumeUntilLeftCurlyBracketOrSemicolon:e=>+(e===iv||e===rv),consumeUntilExclamationMarkOrSemicolon:e=>+(e===tv||e===rv),consumeUntilSemicolonIncluded:e=>e===rv?2:0,createList:()=>new Y,createSingleNodeList:e=>new Y().appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(a)throw e;let r=t.call(this,n);return a=!0,i(e,r),a=!1,r}},lookupNonWSType(e){let t;do if(t=this.lookupType(e++),t!==q)return t;while(t!==av);return av},charCodeAt:e=>e>=0&&e<t.length?t.charCodeAt(e):0,substring:(e,n)=>t.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>C_(t,e,n),cmpStr:(e,n,r)=>w_(t,e,n,r),consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(V),e},consumeNumber(e){let n=t.substring(this.tokenStart,A_(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=N_[e].slice(0,-6).replace(/-/g,` `).replace(/^./,e=>e.toUpperCase()),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case B:this.tokenType===V||this.tokenType===zg?(r=this.tokenEnd-1,n=`Identifier is expected but function found`):n=`Identifier is expected`;break;case H:this.isDelim(nv)&&(this.next(),r++,n=`Name is expected`);break;case G:this.tokenType===W&&(r=this.tokenEnd,n=`Percent sign is expected`)}this.error(n,r)}this.next()},eatIdent(e){this.tokenType===B&&this.lookupValue(0,e)!==!1||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){return r?o.getLocationRange(e,t,n):null},getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return o.getLocationRange(t===null?this.tokenStart:t.loc.start.offset-o.startOffset,r===null?this.tokenStart:r.loc.end.offset-o.startOffset,n)}return null},error(e,n){let r=n!==void 0&&n<t.length?o.getLocation(n):this.eof?o.getLocation(T_(t,t.length-1)):o.getLocation(this.tokenStart);throw new Q_(e||`Unexpected input`,t,r.offset,r.line,r.column)}});return Object.assign(function(e,c){t=e,c||={},s.setSource(t,G_),o.setSource(t,c.offset,c.line,c.column),n=c.filename||`<unknown>`,r=!!c.positions,i=typeof c.onParseError==`function`?c.onParseError:ev,a=!1,s.parseAtrulePrelude=!(`parseAtrulePrelude`in c)||!!c.parseAtrulePrelude,s.parseRulePrelude=!(`parseRulePrelude`in c)||!!c.parseRulePrelude,s.parseValue=!(`parseValue`in c)||!!c.parseValue,s.parseCustomProperty=`parseCustomProperty`in c&&!!c.parseCustomProperty;let{context:l=`default`,onComment:u}=c;if(!(l in s.context))throw Error("Unknown context `"+l+"`");
17typeof u==`function`&&s.forEachToken((e,n,r)=>{if(e===Zg){let e=s.getLocation(n,r),i=w_(t,r-2,r,`*/`)?t.slice(n+2,r-2):t.slice(n+2,r);u(i,e)}});let d=s.context[l].call(s,c);return s.eof||s.error(),d},{SyntaxError:Q_,config:s.config})}var uv=new Set([`Atrule`,`Selector`,`Declaration`]);function dv(e){let t=new pa.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},a={generated:i},o=1,s=0,c=!1,l=e.node;e.node=function(e){if(e.loc&&e.loc.start&&uv.has(e.type)){let l=e.loc.start.line,u=e.loc.start.column-1;(r.line!==l||r.column!==u)&&(r.line=l,r.column=u,n.line=o,n.column=s,c&&(c=!1,n.line===i.line&&n.column===i.column||t.addMapping(a)),c=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}l.call(this,e),c&&uv.has(e.type)&&(i.line=o,i.column=s)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)e.charCodeAt(t)===10?(o++,s=0):s++;u(e,t,n)};let d=e.result;return e.result=function(){return c&&t.addMapping(a),{css:d(),map:t}},e}var fv=43,pv=45,mv=(e,t)=>{if(e===U&&(e=t),typeof e==`string`){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},hv=[[B,B],[B,V],[B,zg],[B,Bg],[B,`-`],[B,W],[B,G],[B,K],[B,Hg],[B,Jg],[Ig,B],[Ig,V],[Ig,zg],[Ig,Bg],[Ig,`-`],[Ig,W],[Ig,G],[Ig,K],[Ig,Hg],[H,B],[H,V],[H,zg],[H,Bg],[H,`-`],[H,W],[H,G],[H,K],[H,Hg],[K,B],[K,V],[K,zg],[K,Bg],[K,`-`],[K,W],[K,G],[K,K],[K,Hg],[`#`,B],[`#`,V],[`#`,zg],[`#`,Bg],[`#`,`-`],[`#`,W],[`#`,G],[`#`,K],[`#`,Hg],[`-`,B],[`-`,V],[`-`,zg],[`-`,Bg],[`-`,`-`],[`-`,W],[`-`,G],[`-`,K],[`-`,Hg],[W,B],[W,V],[W,zg],[W,Bg],[W,W],[W,G],[W,K],[W,`%`],[W,Hg],[`@`,B],[`@`,V],[`@`,zg],[`@`,Bg],[`@`,`-`],[`@`,Hg],[`.`,W],[`.`,G],[`.`,K],[`+`,W],[`+`,G],[`+`,K],[`/`,`*`]],gv=hv.concat([[B,H],[K,H],[H,H],[Ig,Jg],[Ig,Lg],[Ig,Ug],[G,G],[G,K],[G,V],[G,`-`],[J,B],[J,V],[J,G],[J,K],[J,H],[J,`-`]]);function _v(e){let t=new Set(e.map(([e,t])=>mv(e)<<16|mv(t)));return function(e,n,r){let i=mv(n,r),a=r.charCodeAt(0);return(a===pv&&n!==B&&n!==V&&n!==Hg||a===fv?t.has(e<<16|a<<8):t.has(e<<16|i))&&this.emit(` `,q,!0),i}}var vv=_v(hv),yv=_v(gv),bv=Object.freeze({__proto__:null,safe:yv,spec:vv}),xv=92;function Sv(e,t){if(typeof t==`function`){let n=null;e.children.forEach(e=>{n!==null&&t.call(this,n),this.node(e),n=e});return}e.children.forEach(this.node,this)}function Cv(e){G_(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function wv(e){let t=new Map;for(let n in e.node){let r=e.node[n];typeof(r.generate||r)==`function`&&t.set(n,r.generate||r)}return function(e,n){let r=``,i=0,a={node(e){if(!t.has(e.type))throw Error(`Unknown node type: `+e.type);t.get(e.type).call(o,e)},tokenBefore:yv,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),e===U&&t.charCodeAt(0)===xv&&this.emit(` 18`,q,!0)},emit(e){r+=e},result:()=>r};n&&(typeof n.decorator==`function`&&(a=n.decorator(a)),n.sourceMap&&(a=dv(a)),n.mode in bv&&(a.tokenBefore=bv[n.mode]));let o={node:e=>a.node(e),children:Sv,token:(e,t)=>a.token(e,t),tokenize:Cv};return a.node(e),a.result()}}function Tv(e){return{fromPlainObject(t){return e(t,{enter(e){e.children&&!(e.children instanceof Y)&&(e.children=new Y().fromArray(e.children))}}),t},toPlainObject(t){return e(t,{leave(e){e.children&&e.children instanceof Y&&(e.children=e.children.toArray())}}),t}}}var{hasOwnProperty:Ev}=Object.prototype,Dv=function(){};function Ov(e){return typeof e==`function`?e:Dv}function kv(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Av(e,t){let n=t.structure,r=[];for(let e in n){if(Ev.call(n,e)===!1)continue;let t=n[e],i={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)e===null?i.nullable=!0:typeof e==`string`?i.type=`node`:Array.isArray(e)&&(i.type=`list`);i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function jv(e){let t={};for(let n in e.node)if(Ev.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Av(n,r)}return t}function Mv(e,t){let n=e.fields.slice(),r=e.context,i=typeof r==`string`;return t&&n.reverse(),function(e,a,o,s){let c;i&&(c=a[r],a[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n){if(r.type===`list`){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(o(n))return!0}}i&&(a[r]=c)}}function Nv({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 Pv(e){let t=jv(e),n={},r={}
18,i=Symbol(`break-walk`),a=Symbol(`skip-node`);for(let e in t)Ev.call(t,e)&&t[e]!==null&&(n[e]=Mv(t[e],!1),r[e]=Mv(t[e],!0));let o=Nv(n),s=Nv(r),c=function(e,c){function l(e,t,n){let r=u.call(m,e,t,n);return r===i||r!==a&&!!(f.hasOwnProperty(e.type)&&f[e.type](e,m,l,p)||d.call(m,e,t,n)===i)}let u=Dv,d=Dv,f=n,p=(e,t,n,r)=>e||l(t,n,r),m={break:i,skip:a,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c==`function`)u=c;else if(c&&(u=Ov(c.enter),d=Ov(c.leave),c.reverse&&(f=r),c.visit)){if(o.hasOwnProperty(c.visit))f=c.reverse?s[c.visit]:o[c.visit];else if(!t.hasOwnProperty(c.visit))throw Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(`, `)+`)`);u=kv(u,c.visit),d=kv(d,c.visit)}if(u===Dv&&d===Dv)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");l(e)};return c.break=i,c.skip=a,c.find=function(e,t){let n=null;return c(e,function(e,r,a){if(t.call(this,e,r,a))return n=e,i}),n},c.findLast=function(e,t){let n=null;return c(e,{reverse:!0,enter(e,r,a){if(t.call(this,e,r,a))return n=e,i}}),n},c.findAll=function(e,t){let n=[];return c(e,function(e,r,i){t.call(this,e,r,i)&&n.push(e)}),n},c}function Fv(e){return e}function Iv(e){let{min:t,max:n,comma:r}=e;return t===0&&n===0?r?`#?`:`*`:t===0&&n===1?`?`:t===1&&n===0?r?`#`:`+`:t===1&&n===1?``:(r?`#`:``)+(t===n?`{`+t+`}`:`{`+t+`,`+(n===0?``:n)+`}`)}function Lv(e){switch(e.type){case`Range`:return` [`+(e.min===null?`-â
18`:e.min)+`,`+(e.max===null?`â`:e.max)+`]`;default:throw Error("Unknown node type `"+e.type+"`")}}function Rv(e,t,n,r){let i=e.combinator===` `||r?e.combinator:` `+e.combinator+` `,a=e.terms.map(e=>zv(e,t,n,r)).join(i);return e.explicit||n?(r||a[0]===`,`?`[`:`[ `)+a+(r?`]`:` ]`):a}function zv(e,t,n,r){let i;switch(e.type){case`Group`:i=Rv(e,t,n,r)+(e.disallowEmpty?`!`:``);break;case`Multiplier`:return zv(e.term,t,n,r)+t(Iv(e),e);case`Type`:i=`<`+e.name+(e.opts?t(Lv(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 Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Bv(e,t){let n=Fv,r=!1,i=!1;return typeof t==`function`?n=t:t&&(r=!!t.forceBraces,i=!!t.compact,typeof t.decorate==`function`&&(n=t.decorate)),zv(e,n,r,i)}var Vv={offset:0,line:1,column:1};function Hv(e,t){let n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,a=i===t?null:i,o=0,s=0,c=0,l=``,u,d;for(let e=0;e<n.length;e++){let t=n[e].value;e===r&&(s=t.length,o=l.length),a!==null&&n[e].node===a&&(e<=r?c++:c=0),l+=t}return r===n.length||c>1?(u=Uv(a||t,`end`)||Wv(Vv,l),d=Wv(u)):(u=Uv(a,`start`)||Wv(Uv(t,`start`)||Vv,l.slice(0,o)),d=Uv(a,`end`)||Wv(u,l.substr(o,s))),{css:l,mismatchOffset:o,mismatchLength:s,start:u,end:d}}function Uv(e,t){let n=e&&e.loc&&e.loc[t];return n?`line`in n?Wv(n):n:null}function Wv({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=e.length===1?i.column+r.length:e.pop().length+1}return i}var Gv=function(e,t){let n=q_(`SyntaxReferenceError`,e+(t?" `"+t+"`":``));return n.reference=t,n},Kv=function(e,t,n,r){let i=q_(`SyntaxMatchError`,e),{css:a,mismatchOffset:o,mismatchLength:s,start:c,end:l}=Hv(r,n);return i.rawMessage=e,i.syntax=t?Bv(t):`<generic>`,i.css=a,i.mismatchOffset=o,i.mismatchLength=s,i.message=e+` 19 syntax: `+i.syntax+` 20 value: `+(a||`<empty string>`)+` 21 --------`+Array(i.mismatchOffset+1).join(`-`)+`^`,Object.assign(i,c),i.loc={source:n&&n.loc&&n.loc.source||`<unknown>`,start:c,end:l},i},qv=new Map,Jv=new Map,Yv=45,Xv=ey,Zv=ty;function Qv(e,t){return t||=0,e.length-t>=2&&e.charCodeAt(t)===Yv&&e.charCodeAt(t+1)===Yv}function $v(e,t){if(t||=0,e.length-t>=3&&e.charCodeAt(t)===Yv&&e.charCodeAt(t+1)!==Yv){let n=e.indexOf(`-`,t+2);if(n!==-1)return e.substring(t,n+1)}return``}function ey(e){if(qv.has(e))return qv.get(e);let t=e.toLowerCase(),n=qv.get(t);if(n===void 0){let e=Qv(t,0),r=e?``:$v(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return qv.set(e,n),n}function ty(e){if(Jv.has(e))return Jv.get(e);let t=e,n=e[0];n===`/`?n=e[1]===`/`?`//`:`/`:n!==`_`&&n!==`*`&&n!==`$`&&n!==`#`&&n!==`+`&&n!==`&`&&(n=``);let r=Qv(t,n.length);if(!r&&(t=t.toLowerCase(),Jv.has(t))){let n=Jv.get(t);return Jv.set(e,n),n}let i=r?``:$v(t,n.length),a=t.substr(0,n.length+i.length),o=Object.freeze({basename:t.substr(a.length),name:t.substr(n.length),hack:n,vendor:i,prefix:a,custom:r});return Jv.set(e,o),o}var ny=[`initial`,`inherit`,`unset`,`revert`,`revert-layer`],ry=43,iy=45,ay=110,oy=!0,sy=!1;function cy(e,t){return e!==null&&e.type===U&&e.value.charCodeAt(0)===t}function ly(e,t,n){for(;e!==null&&(e.type===q||e.type===Zg);)e=n(++t);return t}function uy(e,t,n,r){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===ry||i===iy){if(n)return 0;t++}for(;t<e.value.length;t++)if(!$g(e.value.charCodeAt(t)))return 0;return r+1}function dy(e,t,n){let r=!1,i=ly(e,t,n);if(e=n(i),e===null)return t;if(e.type!==W){if(!cy(e,ry)&&!cy(e,iy))return t;if(r=!0,i=ly(n(++i),i,n),e=n(i),e===null||e.type!==W)return 0}if(!r){let t=e.value.charCodeAt(0);if(t!==ry&&t!==iy)return 0}return uy(e,+!r,r,i)}function fy(e,t){let n=0;if(!e)return 0;if(e.type===W)return uy(e,0,sy,n);if(e.type===B&&e.value.charCodeAt(0)===iy){if(!C_(e.value,1,ay))return 0;switch(e.value.length){case 2:return dy(t(++n),n,t);case 3:return e.value.charCodeAt(2)===iy?(n=ly(t(++n),n,t),e=t(n),uy(e,0,oy,n)):0;default:return e.value.charCodeAt(2)===iy?uy(e,3,oy,n):0}}
21else if(e.type===B||cy(e,ry)&&t(n+1).type===B){if(e.type!==B&&(e=t(++n)),e===null||!C_(e.value,0,ay))return 0;switch(e.value.length){case 1:return dy(t(++n),n,t);case 2:return e.value.charCodeAt(1)===iy?(n=ly(t(++n),n,t),e=t(n),uy(e,0,oy,n)):0;default:return e.value.charCodeAt(1)===iy?uy(e,2,oy,n):0}}else if(e.type===K){let r=e.value.charCodeAt(0),i=+(r===ry||r===iy),a=i;for(;a<e.value.length&&$g(e.value.charCodeAt(a));a++);return a===i||!C_(e.value,a,ay)?0:a+1===e.value.length?dy(t(++n),n,t):e.value.charCodeAt(a+1)===iy?a+2===e.value.length?(n=ly(t(++n),n,t),e=t(n),uy(e,0,oy,n)):uy(e,a+2,oy,n):0}return 0}var py=43,my=45,hy=63,gy=117;function _y(e,t){return e!==null&&e.type===U&&e.value.charCodeAt(0)===t}function vy(e,t){return e.value.charCodeAt(0)===t}function yy(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){let a=e.value.charCodeAt(i);if(a===my&&n&&r!==0)return yy(e,t+r+1,!1),6;if(!e_(a)||++r>6)return 0}return r}function by(e,t,n){if(!e)return 0;for(;_y(n(t),hy);){if(++e>6)return 0;t++}return t}function xy(e,t){let n=0;if(e===null||e.type!==B||!C_(e.value,0,gy)||(e=t(++n),e===null))return 0;if(_y(e,py))return e=t(++n),e===null?0:e.type===B?by(yy(e,0,!0),++n,t):_y(e,hy)?by(1,++n,t):0;if(e.type===W){let r=yy(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===K||e.type===W?!vy(e,my)||!yy(e,1,!1)?0:n+1:by(r,n,t))}return e.type===K?by(yy(e,1,!0),++n,t):0}var Sy=[`calc(`,`-moz-calc(`,`-webkit-calc(`],Cy=new Map([[V,J],[Jg,J],[Kg,qg],[Yg,Xg]]),wy=`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`.split(`.`),Ty=[`deg`,`grad`,`rad`,`turn`],Ey=[`s`,`ms`],Dy=[`hz`,`khz`],Oy=[`dpi`,`dpcm`,`dppx`,`x`],ky=[`fr`],Ay=[`db`],jy=[`st`];function My(e,t){return t<e.length?e.charCodeAt(t):0}function Ny(e,t){return w_(e,0,e.length,t)}function Py(e,t){for(let n=0;n<t.length;n++)if(Ny(e,t[n]))return!0;return!1}function Fy(e,t){return t===e.length-2&&My(e,t)===92&&$g(My(e,t+1))}function Iy(e,t,n){if(e&&e.type===`Range`){let r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!=`string`||e.max!==null&&r>e.max&&typeof e.max!=`string`)return!0}return!1}function Ly(e,t){let n=0,r=[],i=0;scan:do{switch(e.type){case Xg:case J:case qg:if(e.type!==n)break scan;if(n=r.pop(),r.length===0){i++;break scan}break;case V:case Jg:case Kg:case Yg:r.push(n),n=Cy.get(e.type)}i++}while(e=t(i));return i}function Ry(e){return function(t,n,r){return t===null?0:t.type===V&&Py(t.value,Sy)?Ly(t,n):e(t,n,r)}}function X(e){return function(t){return t===null||t.type!==e?0:1}}function zy(e){if(e===null||e.type!==B)return 0;let t=e.value.toLowerCase();return Py(t,ny)||Ny(t,`default`)?0:1}function By(e){return e===null||e.type!==B||My(e.value,0)!==45||My(e.value,1)!==45?0:1}function Vy(e){if(e===null||e.type!==H)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!e_(My(e.value,n)))return 0;return 1}function Hy(e){return e===null||e.type!==H||!d_(My(e.value,1),My(e.value,2),My(e.value,3))?0:1}function Uy(e,t){if(!e)return 0;let n=0,r=[],i=0;scan:do{switch(e.type){case Rg:case Bg:break scan;case Xg:case J:case qg:if(e.type!==n)break scan;n=r.pop();break;case Wg:if(n===0)break scan;break;case U:if(n===0&&e.value===`!`)break scan;break;case V:case Jg:case Kg:case Yg:r.push(n),n=Cy.get(e.type)}i++}while(e=t(i));return i}function Wy(e,t){if(!e)return 0;let n=0,r=[],i=0;scan:do{switch(e.type){case Rg:case Bg:break scan;case Xg:case J:case qg:if(e.type!==n)break scan;n=r.pop();break;case V:case Jg:case Kg:case Yg:r.push(n),n=Cy.get(e.type)}i++}while(e=t(i));return i}function Gy(e){return e&&=new Set(e),function(t,n,r){if(t===null||t.type!==K)return 0;let i=A_(t.value,0);if(e!==null){let n=t.value.indexOf(`\\`,i),r=n!==-1&&Fy(t.value,n)?t.value.substring(i,n):t.value.substr(i);if(e.has(r.toLowerCase())===!1)return 0}return+!Iy(r,t.value,i)}}function Ky(e,t,n){return e===null||e.type!==G||Iy(n,e.value,e.value.length-1)?0:1}function qy(e){return typeof e!=`function`&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===W&&Number(t.value)===0?1:e(t,n,r)}}
21function Jy(e,t,n){if(e===null)return 0;let r=A_(e.value,0);return r!==e.value.length&&!Fy(e.value,r)||Iy(n,e.value,r)?0:1}function Yy(e,t,n){if(e===null||e.type!==W)return 0;let r=+(My(e.value,0)===43||My(e.value,0)===45);for(;r<e.value.length;r++)if(!$g(My(e.value,r)))return 0;return+!Iy(n,e.value,r)}var Xy={"ident-token":X(B),"function-token":X(V),"at-keyword-token":X(Ig),"hash-token":X(H),"string-token":X(Lg),"bad-string-token":X(Rg),"url-token":X(zg),"bad-url-token":X(Bg),"delim-token":X(U),"number-token":X(W),"percentage-token":X(G),"dimension-token":X(K),"whitespace-token":X(q),"CDO-token":X(Vg),"CDC-token":X(Hg),"colon-token":X(Ug),"semicolon-token":X(Wg),"comma-token":X(Gg),"[-token":X(Kg),"]-token":X(qg),"(-token":X(Jg),")-token":X(J),"{-token":X(Yg),"}-token":X(Xg),string:X(Lg),ident:X(B),"custom-ident":zy,"custom-property-name":By,"hex-color":Vy,"id-selector":Hy,"an-plus-b":fy,urange:xy,"declaration-value":Uy,"any-value":Wy,dimension:Ry(Gy(null)),angle:Ry(Gy(Ty)),decibel:Ry(Gy(Ay)),frequency:Ry(Gy(Dy)),flex:Ry(Gy(ky)),length:Ry(qy(Gy(wy))),resolution:Ry(Gy(Oy)),semitones:Ry(Gy(jy)),time:Ry(Gy(Ey)),percentage:Ry(Ky),zero:qy(),number:Ry(Jy),integer:Ry(Yy)};function Zy(e,t,n){return Object.assign(q_(`SyntaxError`,e),{input:t,offset:n,rawMessage:e,message:e+` 22 `+t+` 23--`+Array((n||t.length)+1).join(`-`)+`^`})}var Qy=9,$y=10,eb=12,tb=13,nb=32,rb=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}
vendor: 4,892 bytes, line 23
23charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==tb&&t!==$y&&t!==eb&&t!==nb&&t!==Qy)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 Zy(e,this.str,this.pos)}},ib=9,ab=10,ob=12,sb=13,cb=32,lb=33,ub=35,db=38,fb=39,pb=40,mb=41,hb=42,gb=43,_b=44,vb=45,yb=60,bb=62,xb=63,Sb=64,Cb=91,wb=93,Tb=123,Eb=124,Db=125,Ob=8734,kb=new Uint8Array(128).map((e,t)=>+!!/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))),Ab={" ":1,"&&":2,"||":3,"|":4};function jb(e){return e.substringToPos(e.findWsEnd(e.pos))}function Mb(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n>=128||kb[n]===0)break}return e.pos===t&&e.error(`Expect a keyword`),e.substringToPos(t)}function Nb(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error(`Expect a number`),e.substringToPos(t)}function Pb(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 Fb(e){let t=null,n=null;return e.eat(Tb),t=Nb(e),e.charCode()===_b?(e.pos++,e.charCode()!==Db&&(n=Nb(e))):n=t,e.eat(Db),{min:Number(t),max:n?Number(n):0}}function Ib(e){let t=null,n=!1;switch(e.charCode()){case hb:e.pos++,t={min:0,max:0};break;case gb:e.pos++,t={min:1,max:0};break;case xb:e.pos++,t={min:0,max:1};break;case ub:e.pos++,n=!0,e.charCode()===Tb?t=Fb(e):e.charCode()===xb?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Tb:t=Fb(e);break;default:return null}return{type:`Multiplier`,comma:n,min:t.min,max:t.max,term:null}}function Lb(e,t){let n=Ib(e);return n===null?t:(n.term=t,e.charCode()===ub&&e.charCodeAt(e.pos-1)===gb?Lb(e,n):n)}function Rb(e){let t=e.peek();return t===``?null:{type:`Token`,value:t}}function zb(e){let t;return e.eat(yb),e.eat(fb),t=Mb(e),e.eat(fb),e.eat(bb),Lb(e,{type:`Property`,name:t})}function Bb(e){let t=null,n=null,r=1;return e.eat(Cb),e.charCode()===vb&&(e.peek(),r=-1),r==-1&&e.charCode()===Ob?e.peek():(t=r*Number(Nb(e)),kb[e.charCode()]!==0&&(t+=Mb(e))),jb(e),e.eat(_b),jb(e),e.charCode()===Ob?e.peek():(r=1,e.charCode()===vb&&(e.peek(),r=-1),n=r*Number(Nb(e)),kb[e.charCode()]!==0&&(n+=Mb(e))),e.eat(wb),{type:`Range`,min:t,max:n}}function Vb(e){let t,n=null;return e.eat(yb),t=Mb(e),e.charCode()===pb&&e.nextCharCode()===mb&&(e.pos+=2,t+=`()`),e.charCodeAt(e.findWsEnd(e.pos))===Cb&&(jb(e),n=Bb(e)),e.eat(bb),Lb(e,{type:`Type`,name:t,opts:n})}function Hb(e){let t=Mb(e);return e.charCode()===pb?(e.pos++,{type:`Function`,name:t}):Lb(e,{type:`Keyword`,name:t})}function Ub(e,t){function n(e,t){return{type:`Group`,terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((e,t)=>Ab[e]-Ab[t]);t.length>0;){r=t.shift();let i=0,a=0;for(;i<e.length;i++){let t=e[i];t.type===`Combinator`&&(t.value===r?(a===-1&&(a=i-1),e.splice(i,1),i--):(a!==-1&&i-a>1&&(e.splice(a,i-a,n(e.slice(a,i),r)),i=a+1),a=-1))}a!==-1&&t.length&&e.splice(a,i-a,n(e.slice(a,i),r))}return r}function Wb(e){let t=[],n={},r,i=null,a=e.pos;for(;r=Kb(e);)r.type!==`Spaces`&&(r.type===`Combinator`?((i===null||i.type===`Combinator`)&&(e.pos=a,e.error(`Unexpected combinator`)),n[r.value]=!0):i!==null&&i.type!==`Combinator`&&(n[` `]=!0,t.push({type:`Combinator`,value:` `})),t.push(r),i=r,a=e.pos);return i!==null&&i.type===`Combinator`&&(e.pos-=a,e.error(`Unexpected combinator`)),{type:`Group`,terms:t,combinator:Ub(t,n)||` `,disallowEmpty:!1,explicit:!1}}function Gb(e){let t;return e.eat(Cb),t=Wb(e),e.eat(wb),t.explicit=!0,e.charCode()===lb&&(e.pos++,t.disallowEmpty=!0),t}function Kb(e){let t=e.charCode();if(t<128&&kb[t]===1)return Hb(e);switch(t){case wb:break;case Cb:return Lb(e,Gb(e));case yb:return e.nextCharCode()===fb?zb(e):Vb(e);case Eb:return{type:`Combinator`,value:e.substringToPos(e.pos+(e.nextCharCode()===Eb?2:1))};case db:return e.pos++,e.eat(db),{type:`Combinator`,value:`&&`};case _b:return e.pos++,{type:`Comma`};case fb:return Lb(e,{type:`String`,value:Pb(e)});case cb:case ib:case ab:case sb:case ob:return{type:`Spaces`,value:jb(e)};case Sb:return t=e.nextCharCode(),t<128&&kb[t]===1?(e.pos++,{type:`AtKeyword`,name:Mb(e)}):Rb(e);case hb:case gb:case xb:case ub:case lb:break;case Tb:if(t=e.nextCharCode(),t<48||t>57)return Rb(e);break;default:return Rb(e)}}function qb(e){let t=new rb(e),n=Wb(t);return t.pos!==e.length&&t.error(`Unexpected input`),n.terms.length===1&&n.terms[0].type===`Group`?n.terms[0]:n}var Jb=function(){};function Yb(e){return typeof e==`function`?e:Jb}function Xb(e,t,n){function r(e){switch(i.call(n,e),e.type){case`Group`:e.terms.forEac
23h(r);break;case`Multiplier`:r(e.term);break;case`Type`:case`Property`:case`Keyword`:case`AtKeyword`:case`Function`:case`String`:case`Token`:case`Comma`:break;default:throw Error(`Unknown type: `+e.type)}a.call(n,e)}let i=Jb,a=Jb;if(typeof t==`function`?i=t:t&&(i=Yb(t.enter),a=Yb(t.leave)),i===Jb&&a===Jb)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}var Zb={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}}};function Qb(e){let t=[];return G_(e,(n,r,i)=>t.push({type:n,value:e.slice(r,i),node:null})),t}function $b(e,t){return typeof e==`string`?Qb(e):t.generate(e,Zb)}var Z={type:`Match`},Q={type:`Mismatch`},ex={type:`DisallowEmpty`},tx=40,nx=41;function rx(e,t,n){return t===Z&&n===Q||e===Z&&t===Z&&n===Z?e:(e.type===`If`&&e.else===Q&&t===Z&&(t=e.then,e=e.match),{type:`If`,match:e,then:t,else:n})}function ix(e){return e.length>2&&e.charCodeAt(e.length-2)===tx&&e.charCodeAt(e.length-1)===nx}function ax(e){return e.type===`Keyword`||e.type===`AtKeyword`||e.type===`Function`||e.type===`Type`&&ix(e.name)}function ox(e,t,n){switch(e){case` `:{let e=Z;for(let n=t.length-1;n>=0;n--){let r=t[n];e=rx(r,e,Q)}return e}case`|`:{let e=Q,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];if(ax(i)&&(n===null&&r>0&&ax(t[r-1])&&(n=Object.create(null),e=rx({type:`Enum`,map:n},Z,e)),n!==null)){let e=(ix(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(e in n)){n[e]=i;continue}}n=null,e=rx(i,Z,e)}return e}case`&&`:{if(t.length>5)return{type:`MatchOnce`,terms:t,all:!0};let n=Q;for(let r=t.length-1;r>=0;r--){let i=t[r],a;a=t.length>1?ox(e,t.filter(function(e){return e!==i}),!1):Z,n=rx(i,a,n)}return n}case`||`:{if(t.length>5)return{type:`MatchOnce`,terms:t,all:!1};let r=n?Z:Q;for(let n=t.length-1;n>=0;n--){let i=t[n],a;a=t.length>1?ox(e,t.filter(function(e){return e!==i}),!0):Z,r=rx(i,a,r)}return r}}}function sx(e){let t=Z,n=cx(e.term);if(e.max===0)n=rx(n,ex,Q),t=rx(n,null,Q),t.then=rx(Z,Z,t),e.comma&&(t.then.else=rx({type:`Comma`,syntax:e},t,Q));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Z&&(t=rx({type:`Comma`,syntax:e},t,Q)),t=rx(n,rx(Z,Z,t),Q);if(e.min===0)t=rx(Z,Z,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Z&&(t=rx({type:`Comma`,syntax:e},t,Q)),t=rx(n,t,Q);return t}function cx(e){if(typeof e==`function`)return{type:`Generic`,fn:e};switch(e.type){case`Group`:{let t=ox(e.combinator,e.terms.map(cx),!1);return e.disallowEmpty&&(t=rx(t,ex,Q)),t}case`Multiplier`:return sx(e);case`Type`:case`Property`:return{type:e.type,name:e.name,syntax:e};case`Keyword`:return{type:e.type,name:e.name.toLowerCase(),syntax:e};case`AtKeyword`:return{type:e.type,name:`@`+e.name.toLowerCase(),syntax:e};case`Function`:return{type:e.type,name:e.name.toLowerCase()+`(`,syntax:e};case`String`:return e.value.length===3?{type:`Token`,value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,`'`),syntax:e};case`Token`:return{type:e.type,value:e.value,syntax:e};case`Comma`:return{type:e.type,syntax:e};default:throw Error(`Unknown node type:`,e.type)}}function lx(e,t){return typeof e==`string`&&(e=qb(e)),{type:`MatchGraph`,match:cx(e),syntax:t||null,source:e}}var{hasOwnProperty:ux}=Object.prototype,dx=0,fx=1,px=2,mx=3,hx=`Match`,gx=`Mismatch`,_x=`Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)`,vx=15e3;function yx(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function bx(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 xx(e){return e.type===U&&e.value!==`?`}function Sx(e){return e===null||e.type===Gg||e.type===V||e.type===Jg||e.type===Kg||e.type===Yg||xx(e)}function Cx(e){return e===null||e.type===J||e.type===qg||e.type===Xg||e.type===U&&e.value===`/`}function wx(e,t,n){function r(){do v++,_=v<e.length?e[v]:null;while(_!==null&&(_.type===q||_.type===Zg))}function i(t){let n=v+t;return n<e.length?e[n]:null}function a(e,t){return{nextState:e,matchStack:b,syntaxStack:d,thenStack:f,tokenIndex:v,prev:t}}function o(e){f={nextState:e,matchStack:b,syntaxStack:d,prev:f}}function s(e){p=a(e,p)}function c(){b={type:fx,syntax:t.syntax,token:_,prev:b},r(),m=null,v>y&&(y=v)}function l(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},b={type:px,syntax:t.syntax,token:b.token,prev:b}}function u(){b=b.type===px?b.prev:{type:mx,syntax:d.syntax,token:b.token,prev:b},d=d.prev}let d=null,f=null,p=null,m=null,h=0,g=null,_=null,v=-1,y=0,b={type:dx,syntax:null,token:null,prev:null};for(r();g===null&&++h<vx;)switch(t.type){case`Match`:if(f===null){if(_!==null&&(v!==e.length-1||_.value!==`\\0`&&_.value!==`\\9`)){t=Q;break}g=hx;break}if(t=f.nextState,t===ex){if(f.matchStack===b){t=Q;break}t=Z}for(;f.syntaxStack!==d;)u();f=f.prev;break;case`Mismatch`:if(m!==null&&m!==!1)(p===null||v>p.tokenIndex)&&(p=m,m=!1);else if(p===null){g=gx;break}t=p.nextState,f=p.thenStack,d=p.syntaxStack,b=p.matchStack,v=p.tokenIndex,_=v<e.length?e[v]:null,p=p.prev;break;case`MatchGraph`:t=t.match;break;case`If`:t.else!==Q&&s(t.else),t.then!==Z&&o(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(t.mask===0||t.syntax.all){t=Q;break}t=Z;break}if(t.mask===(1<<e.length)-1){t=Z;break}for(;t.index<e.length;t.index++){let n=1<<t.index;if((t.mask&n)===0){s(t),o({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){let e=_.value.toLowerCase();if(e.indexOf(`\\`)!==-1&&(e=e.replace(/\\[09].*$/,``)),ux.call(t.map,e)){t=t.map[e];break}}t=Q;break;case`Generic`:{let e=d===null?null:d.opts,n=v+Math.floor(t.fn(_,i,e));if(!isNaN(n)&&n>v){for(;
23v<n;)c();t=Z}else t=Q;break}case`Type`:case`Property`:{let e=t.type===`Type`?`types`:`properties`,r=ux.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw Error(`Bad syntax reference: `+(t.type===`Type`?`<`+t.name+`>`:`<'`+t.name+`'>`));if(m!==!1&&_!==null&&t.type===`Type`&&(t.name===`custom-ident`&&_.type===B||t.name===`length`&&_.value===`0`)){m===null&&(m=a(t,p)),t=Q;break}l(),t=r.match;break}case`Keyword`:{let e=t.name;if(_!==null){let n=_.value;if(n.indexOf(`\\`)!==-1&&(n=n.replace(/\\[09].*$/,``)),bx(n,e)){c(),t=Z;break}}t=Q;break}case`AtKeyword`:case`Function`:if(_!==null&&bx(_.value,t.name)){c(),t=Z;break}t=Q;break;case`Token`:if(_!==null&&_.value===t.value){c(),t=Z;break}t=Q;break;case`Comma`:_!==null&&_.type===Gg?Sx(b.token)?t=Q:(c(),t=Cx(_)?Q:Z):t=Sx(b.token)||Cx(_)?Z:Q;break;case`String`:let r=``,h=v;for(;h<e.length&&r.length<t.value.length;h++)r+=e[h].value;if(bx(r,t.value)){for(;v<h;)c();t=Z}else t=Q;break;default:throw Error(`Unknown node type: `+t.type)}switch(g){case null:console.warn(`[csstree-match] BREAK after 15000 iterations`),g=_x,b=null;break;case hx:for(;d!==null;)u();break;default:b=null}return{tokens:e,reason:g,iterations:h,match:b,longestMatch:y}}function Tx(e,t,n){let r=wx(e,t,n||{});if(r.match===null)return r;let i=r.match,a=r.match={syntax:t.syntax||null,match:[]},o=[a];for(i=yx(i).prev;i!==null;){switch(i.type){case px:a.match.push(a={syntax:i.syntax,match:[]}),o.push(a);break;case mx:o.pop(),a=o[o.length-1];break;default:a.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function Ex(e){function t(e){return e===null?!1:e.type===`Type`||e.type===`Property`||e.type===`Keyword`}function n(i){if(Array.isArray(i.match)){for(let e=0;e<i.match.length;e++)if(n(i.match[e]))return t(i.syntax)&&r.unshift(i.syntax),!0}
23else if(i.node===e)return r=t(i.syntax)?[i.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function Dx(e,t){return Ax(this,e,e=>e.type===`Type`&&e.name===t)}function Ox(e,t){return Ax(this,e,e=>e.type===`Property`&&e.name===t)}function kx(e){return Ax(this,e,e=>e.type===`Keyword`)}function Ax(e,t,n){let r=Ex.call(e,t);return r!==null&&r.some(n)}var jx=Object.freeze({__proto__:null,getTrace:Ex,isKeyword:kx,isProperty:Ox,isType:Dx});function Mx(e){return`node`in e?e.node:Mx(e.match[0])}function Nx(e){return`node`in e?e.node:Nx(e.match[e.match.length-1])}function Px(e,t,n,r,i){function a(n){if(n.syntax!==null&&n.syntax.type===r&&n.syntax.name===i){let r=Mx(n),i=Nx(n);e.syntax.walk(t,function(e,t,n){if(e===r){let e=new Y;do{if(e.appendData(t.data),t.data===i)break;t=t.next}while(t!==null);o.push({parent:n,nodes:e})}})}Array.isArray(n.match)&&n.match.forEach(a)}let o=[];return n.matched!==null&&a(n.matched),o}var{hasOwnProperty:Fx}=Object.prototype;function Ix(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Lx(e){return!!e&&Ix(e.offset)&&Ix(e.line)&&Ix(e.column)}function Rx(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,`Type of node should be an Object`);for(let i in n){let a=!0;if(Fx.call(n,i)!==!1){if(i===`type`)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(i===`loc`){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object){if(typeof n.loc.source!=`string`)i+=`.source`;else if(Lx(n.loc.start)){if(Lx(n.loc.end))continue;i+=`.end`}else i+=`.start`}a=!1}else if(t.hasOwnProperty(i)){a=!1;for(let e=0;!a&&e<t[i].length;e++){let r=t[i][e];switch(r){case String:a=typeof n[i]==`string`;break;case Boolean:a=typeof n[i]==`boolean`;break;case null:a=n[i]===null;break;default:typeof r==`string`?a=n[i]&&n[i].type===r:Array.isArray(r)&&(a=n[i]instanceof Y)}}}else r(n,"Unknown field `"+i+"` for "+e+` node type`);a||r(n,"Bad value for `"+e+`.`+i+"`")}}for(let i in t)Fx.call(t,i)&&Fx.call(n,i)===!1&&r(n,"Field `"+e+`.`+i+"` is missed")}}function zx(e,t){let n=t.structure,r={type:String,loc:!0},i={type:`"`+e+`"`};for(let t in n){if(Fx.call(n,t)===!1)continue;let a=[],o=r[t]=Array.isArray(n[t])?n[t].slice():[n[t]];for(let n=0;n<o.length;n++){let r=o[n];if(r===String||r===Boolean)a.push(r.name);else if(r===null)a.push(`null`);else if(typeof r==`string`)a.push(`<`+r+`>`);else{if(!Array.isArray(r))throw Error("Wrong value `"+r+"` in `"+e+`.`+t+"` structure definition");a.push(`List`)}}i[t]=a.join(` | `)}return{docs:i,check:Rx(e,r)}}function Bx(e){let t={};if(e.node){for(let n in e.node)if(Fx.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=zx(n,r)}}return t}var Vx=lx(ny.join(` | `));function Hx(e,t,n){let r={};for(let i in e)e[i].syntax&&(r[i]=n?e[i].syntax:Bv(e[i].syntax,{compact:t}));return r}function Ux(e,t,n){let r={};for(let[i,a]of Object.entries(e))r[i]={prelude:a.prelude&&(n?a.prelude.syntax:Bv(a.prelude.syntax,{compact:t})),descriptors:a.descriptors&&Hx(a.descriptors,t,n)};return r}function Wx(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()===`var(`)return!0;return!1}function Gx(e,t,n){return{matched:e,iterations:n,error:t,...jx}}function Kx(e,t,n,r){let i=$b(n,e.syntax),a;return Wx(i)?Gx(null,Error(`Matching for a tree with var() is not supported`)):(r&&(a=Tx(i,e.cssWideKeywordsSyntax,e)),(!r||!a.match)&&(a=Tx(i,t.match,e),!a.match)?Gx(null,new Kv(a.reason,t.syntax,n,a),a.iterations):Gx(a.match,null,a.iterations))}var qx=class{constructor(e,t,n){if(this.cssWideKeywordsSyntax=Vx,this.syntax=t,this.generic=!1,this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||Bx(e),e){if(e.types)for(let t in e.types)this.addType_(t,e.types[t]);if(e.generic){this.generic=!0;for(let e in Xy)this.addType_(e,Xy[e])}if(e.atrules)for(let t in e.atrules)this.addAtrule_(t,e.atrules[t]);if(e.properties)for(let t in e.properties)this.addProperty_(t,e.properties[t])}}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},a={type:t,name:n,parent:r,serializable:typeof e==`string`||e&&typeof e.type==`string`,syntax:null,match:null};return typeof e==`function`?a.match=lx(e,i):(typeof e==`string`?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:qb(e)}),a.syntax}}):a.syntax=e,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:lx(a.syntax,i)}),a.match}})),a}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))}
23addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,`Type`,e))}checkAtruleName(e){if(!this.getAtrule(e))return new Gv(`Unknown at-rule`,`@`+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);if(!r.prelude&&t)return SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(r.prelude&&!t&&!Kx(this,r.prelude,``,!1).matched)return 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=Xv(t);if(!r.descriptors)return SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!r.descriptors[i.name]&&!r.descriptors[i.basename])return new Gv(`Unknown at-rule descriptor`,t)}checkPropertyName(e){if(!this.getProperty(e))return new Gv(`Unknown property`,e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return Gx(null,n);let r=this.getAtrule(e);return r.prelude?Kx(this,r.prelude,t||``,!1):Gx(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return Gx(null,r);let i=this.getAtrule(e),a=Xv(t);return Kx(this,i.descriptors[a.name]||i.descriptors[a.basename],n,!1)}matchDeclaration(e){return e.type===`Declaration`?this.matchProperty(e.property,e.value):Gx(null,Error(`Not a Declaration node`))}matchProperty(e,t){if(Zv(e).custom)return Gx(null,Error(`Lexer matching doesn't applicable for custom properties`));let n=this.checkPropertyName(e);return n?Gx(null,n):Kx(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?Kx(this,n,t,!1):Gx(null,new Gv(`Unknown type`,e))}match(e,t){return typeof e!=`string`&&(!e||!e.type)?Gx(null,new Gv(`Bad syntax`)):(typeof e!=`string`&&e.match||(e=this.createDescriptor(e,`Type`,`anonymous`)),Kx(this,e,t,!1))}findValueFragments(e,t,n,r){return Px(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Px(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=Xv(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=Zv(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(r,i,a,o){if(a.has(i))return a.get(i);a.set(i,!1),o.syntax!==null&&Xb(o.syntax,function(o){if(o.type!==`Type`&&o.type!==`Property`)return;let s=o.type===`Type`?r.types:r.properties,c=o.type===`Type`?t:n;hasOwnProperty.call(s,o.name)&&!e(r,o.name,c,s[o.name])||a.set(i,!0)},this)}let t=new Map,n=new Map;for(let n in this.types)e(this,n,t,this.types[n]);for(let t in this.properties)e(this,t,n,this.properties[t]);return t=[...t.keys()].filter(e=>t.get(e)),n=[...n.keys()].filter(e=>n.get(e)),t.length||n.length?{types:t,properties:n}:null}dump(e,t){return{generic:this.generic,types:Hx(this.types,!t,e),properties:Hx(this.properties,!t,e),atrules:Ux(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}},{hasOwnProperty:Jx}=Object.prototype,Yx={generic:!0,types:tS,atrules:{prelude:nS,descriptors:nS},properties:tS,parseContext:Qx,scope:$x,atrule:[`parse`],pseudo:[`parse`],node:[`name`,`structure`,`parse`,`generate`,`walkContext`]};function Xx(e){return e&&e.constructor===Object}function Zx(e){return Xx(e)?{...e}:e}function Qx(e,t){return Object.assign(e,t)}function $x(e,t){for(let n in t)Jx.call(t,n)&&(Xx(e[n])?$x(e[n],t[n]):e[n]=Zx(t[n]));return e}function eS(e,t){return typeof t==`string`&&/^\s*\|/.test(t)?typeof e==`string`?e+t:t.replace(/^\s*\|\s*/,``):t||null}function tS(e,t){if(typeof t==`string`)return eS(e,t);let n={...e};for(let r in t)Jx.call(t,r)&&(n[r]=eS(Jx.call(e,r)?e[r]:void 0,t[r]));return n}function nS(e,t){let n=tS(e,t);return!Xx(n)||Object.keys(n).length?n:null}function rS(e,t,n){for(let r in n)if(Jx.call(n,r)!==!1){if(n[r]===!0)Jx.call(t,r)&&(e[r]=Zx(t[r]));else if(n[r]){if(typeof n[r]==`function`){let i=n[r];e[r]=i({},e[r]),e[r]=i(e[r]||{},t[r])}else if(Xx(n[r])){let i={};for(let t in e[r])i[t]=rS({},e[r][t],n[r]);for(let e in t[r])i[e]=rS(i[e]||{},t[r][e],n[r]);e[r]=i}else if(Array.isArray(n[r])){let i={},a=n[r].reduce(function(e,t){return e[t]=!0,e},{});for(let[t,n]of Object.entries(e[r]||{}))i[t]={},n&&rS(i[t],n,a);for(let e in t[r])Jx.call(t[r],e)&&(i[e]||(i[e]={}),t[r]&&t[r][e]&&rS(i[e],t[r][e],a));e[r]=i}}}return e}var iS=(e,t)=>rS(e,t,Yx);function aS(e){let t=lv(e),n=Pv(e),r=wv(e),{fromPlainObject:i,toPlainObject:a}=Tv(n),o={lexer:null,createLexer:e=>new qx(e,o,o.lexer.structure),tokenize:G_,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:i,toPlainObject:a,fork(t){let n=iS({},e);return aS(typeof t==`function`?t(n,Object.assign):iS(n,t))}};return o.lexer=new qx({generic:!0,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},o),o}var oS=e=>aS(iS({},e)),sS={generic:!0,types:{"absolute-size":`xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large`,"alpha-value":`<number>|<percentage>`,"angle-percentage":`<angle>|<percentage>`,"angular-color-hint":`<angle-percentage>`,"angular-color-stop":`<color>&&<color-stop-angle>?`,"angular-color-stop-list":`[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>`,"animateable-feature":`scroll-position|contents|<custom-ident>`,attachment:`scroll|fixed|local`,"attr()":`attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )`,"attr-matcher":`['~'|'|'|'^'|'$'|'*']? '='`,"attr-modifier":`i|s`,"attribute-selector":`'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'`,"auto-repeat":`repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )`,"auto-track-list":`[<line-names>? [<fixed-size>|<fixed-repeat>
23]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?`,"baseline-position":`[first|last]? baseline`,"basic-shape":`<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>`,"bg-image":`none|<image>`,"bg-layer":`<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>`,"bg-position":`[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]`,"bg-size":`[<length-percentage>|auto]{1,2}|cover|contain`,"blur()":`blur( <length> )`,"blend-mode":`normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity`,box:`border-box|padding-box|content-box`,"brightness()":`brightness( <number-percentage> )`,"calc()":`calc( <calc-sum> )`,"calc-sum":`<calc-product> [['+'|'-'] <calc-product>]*`,"calc-product":`<calc-value> ['*' <calc-value>|'/' <number>]*`,"calc-value":`<number>|<dimension>|<percentage>|( <calc-sum> )`,"cf-final-image":`<image>|<color>`,"cf-mixing-image":`<percentage>?&&<image>`,"circle()":`circle( [<shape-radius>]? [at <position>]? )`,"clamp()":`clamp( <calc-sum>#{3} )`,"class-selector":`'.' <ident-token>`,"clip-source":`<url>`,color:`<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>`,"color-stop":`<color-stop-length>|<color-stop-angle>`,"color-stop-angle":`<angle-percentage>{1,2}`,"color-stop-length":`<length-percentage>{1,2}`,"color-stop-list":`[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>`,combinator:`'>'|'+'|'~'|['||']`,"common-lig-values":`[common-ligatures|no-common-ligatures]`,"compat-auto":`searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button`,"composite-style":`clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor`,"compositing-operator":`add|subtract|intersect|exclude`,"compound-selector":`[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!`,"compound-selector-list":`<compound-selector>#`,"complex-selector":`<compound-selector> [<combinator>? <compound-selector>]*`,"complex-selector-list":`<complex-selector>#`,"conic-gradient()":`conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )`,"contextual-alt-values":`[contextual|no-contextual]`,"content-distribution":`space-between|space-around|space-evenly|stretch`,"content-list":`[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+`,"content-position":`center|start|end|flex-start|flex-end`,"content-replacement":`<image>`,"contrast()":`contrast( [<number-percentage>] )`,counter:`<counter()>|<counters()>`,"counter()":`counter( <counter-name> , <counter-style>? )`,"counter-name":`<custom-ident>`,"counter-style":`<counter-style-name>|symbols( )`,"counter-style-name":`<custom-ident>`,"counters()":`counters( <counter-name> , <string> , <counter-style>? )`,"cross-fade()":`cross-fade( <cf-mixing-image> , <cf-final-image>? )`,"cubic-bezier-timing-function":`ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )`,"deprecated-system-color":`ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText`,"discretionary-lig-values":`[discretionary-ligatures|no-discretionary-ligatures]`,"display-box":`contents|none`,"display-inside":`flow|flow-root|table|flex|grid|ruby`,"display-internal":`table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container`,"display-legacy":`inline-block|inline-list-item|inline-table|inline-flex|inline-grid`,"display-listitem":`<display-outside>?&&[flow|flow-root]?&&list-item`,"display-outside":`block|inline|run-in`,"drop-shadow()":`drop-shadow( <length>{2,3} <color>? )`,"east-asian-variant-values":`[jis78|jis83|jis90|jis04|simplified|traditional]`,"east-asian-width-values":`[full-width|proportional-width]`,"element()":`element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )`,"ellipse()":`ellipse( [<shape-radius>{2}]? [at <position>]? )`,"ending-shape":`circle|ellipse`,"env()":`env( <custom-ident> , <declaration-value>? )`,"explicit-track-list":`[<line-names>? <track-size>]+ <line-names>?`,"family-name":`<string>|<custom-ident>+`,"feature-tag-value":`<string> [<integer>|on|off]?`,"feature-type":`@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation`,"feature-value-block":`<feature-type> '{' <feature-value-declaration-list> '}'`,"feature-value-block-list":`<feature-value-block>+`,"feature-value-declaration":`<custom-ident> : <integer>+ ;`,"feature-value-declaration-list":`<feature-value-declaration>`,"feature-value-name":`<custom-ident>`,"fill-rule":`nonzero|evenodd`,"filter-function":`<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>`,"filter-function-list":`[<filter-function>|<url>]+`,"final-bg-layer":`<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>`,"fit-content()":`fit-content( [<length>|<percentage>] )`,"fixed-breadth":`<length-percentage>`,"fixed-repeat":`repeat( [<integer [1,â]>] , [<line-names>? <fixed-size>]+ <line-names>? )`,"fixed-size":`<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )`,"font-stretch-absolute":`normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>`,"font-variant-css21":`[normal|small-caps]`,"font-weight-absolute":`normal|bold|<number [1,1000]>`,"frequency-percentage":`<frequency>|<percentage>`,"general-enclosed":`[<function-token> <any-value> )]|( <ident> <any-value> )`,"generic-family":`serif|sans-serif|cursive|fantasy|monospace|-apple-system`,"generic-name":`serif|sans-serif|cursive|fantasy|monospace`,"geometry-box":`<shape-box>|fill-box|stroke-box|view-box`,gradient:`<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>`,"grayscale()":`grayscale( <number-percentage> )`,"grid-line":`auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]`,"historical-lig-values":`[historical-ligatures|no-historical-ligatures]`,"hsl()":`hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )`,"hsla()":`hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )`,hue:`<number>|<angle>`,"hue-rotate()":`hue-rotate( <angle> )`,"hwb()":`hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )`,image:`<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>`,"image()":`image( <image-tags>? [<image-src>? , <color>?]! )`,"image-set()":`image-set( <image-set-option># )`,"image-set-option":`[<image>|<string>] [<resolution>||type( <string> )]`,"image-src":`<url>|<string>`,"image-tags":`ltr|rtl`,"inflexible-breadth":`<length>|<percentage>|min-content|max-content|auto`,"inset()":`inset( <length-percentage>{1,4} [round <'border-radius'>]? )`,"invert()":`invert( <number-percentage> )`,"keyframes-name":`<custom-ident>|<string>`,"keyframe-block":`<keyframe-selector># { <declaration-list> }`,"keyframe-block-list":`<keyframe-block>+`,"keyframe-selector":`from|to|<percentage>`,"layer()":`layer( <layer-name> )`,"layer-name":`<ident> ['.' <ident>]*`,"leader()":`leader( <leader-type> )`,"leader-type":`dotted|solid|space|<string>`,"length-percentage":`<length>|<percentage>`,"line-names":`'[' <custom-ident>* ']'`,"line-name-list":`[<line-names>|<name-repeat>]+`,"line-style":`none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset`,"line-width":`<length>|thin|medium|thick`,"linear-color-hint":`<length-percentage>`,"linear-color-stop":`<color> <color-stop-length>?`,"linear-gradient()":`linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )`,"mask-layer":`<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>
23`,"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] )`,"name-repeat":`repeat( [<integer [1,â]>|auto-fill] , <line-names>+ )`,"named-color":`transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>`,"namespace-prefix":`<ident>`,"ns-prefix":`[<ident-token>|'*']? '|'`,"number-percentage":`<number>|<percentage>`,"numeric-figure-values":`[lining-nums|oldstyle-nums]`,"numeric-fraction-values":`[diagonal-fractions|stacked-fractions]`,"numeric-spacing-values":`[proportional-nums|tabular-nums]`,nth:`<an-plus-b>|even|odd`,"opacity()":`opacity( [<number-percentage>] )`,"overflow-position":`unsafe|safe`,"outline-radius":`<length>|<percentage>`,"page-body":`<declaration>? [; <page-body>]?|<page-margin-box> <page-body>`,"page-margin-box":`<page-margin-box-type> '{' <declaration-list> '}'`,"page-margin-box-type":`@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom`,"page-selector-list":`[<page-selector>#]?`,"page-selector":`<pseudo-page>+|<ident> <pseudo-page>*`,"page-size":`A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger`,"path()":`path( [<fill-rule> ,]? <string> )`,"paint()":`paint( <ident> , <declaration-value>? )`,"perspective()":`perspective( <length> )`,"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>]]`,"pseudo-class-selector":`':' <ident-token>|':' <function-token> <any-value> ')'`,"pseudo-element-selector":`':' <pseudo-class-selector>`,"pseudo-page":`: [left|right|first|blank]`,quote:`open-quote|close-quote|no-open-quote|no-close-quote`,"radial-gradient()":`radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )`,"relative-selector":`<combinator>? <complex-selector>`,"relative-selector-list":`<relative-selector>#`,"relative-size":`larger|smaller`,"repeat-style":`repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}`,"repeating-conic-gradient()":`repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )`,"repeating-linear-gradient()":`repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )`,"repeating-radial-gradient()":`repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )`,"rgb()":`rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )`,"rgba()":`rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )`,"rotate()":`rotate( [<angle>|<zero>] )`,"rotate3d()":`rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )`,"rotateX()":`rotateX( [<angle>|<zero>] )`,"rotateY()":`rotateY( [<angle>|<zero>] )`,"rotateZ()":`rotateZ( [<angle>|<zero>] )`,"saturate()":`saturate( <number-percentage> )`,"scale()":`scale( <number> , <number>? )`,"scale3d()":`scale3d( <number> , <number> , <number> )`,"scaleX()":`scaleX( <number> )`,"scaleY()":`scaleY( <number> )`,"scaleZ()":`scaleZ( <number> )`,"self-position":`center|start|end|self-start|self-end|flex-start|flex-end`,"shape-radius":`<length-percentage>|closest-side|farthest-side`,"skew()":`skew( [<angle>|<zero>] , [<angle>|<zero>]? )`,"skewX()":`skewX( [<angle>|<zero>] )`,"skewY()":`skewY( [<angle>|<zero>] )`,"sepia()":`sepia( <number-percentage> )`,shadow:`inset?&&<length>{2,4}&&<color>?`,"shadow-t":`[<length>{2,3}&&<color>?]`,shape:`rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )`,"shape-box":`<box>|margin-box`,"side-or-corner":`[left|right]||[top|bottom]`,"single-animation":`<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]`,"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|<timeline-name>`,"single-transition":`[none|<single-transition-property>]||<time>||<easing-function>||<time>`,"single-transition-property":`all|<custom-ident>`,size:`closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}`,"step-position":`jump-start|jump-end|jump-none|jump-both|start|end`,"step-timing-function":`step-start|step-end|steps( <integer> [, <step-position>]? )`,"subclass-selector":`<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>`,"supports-condition":`not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*`,"supports-in-parens":`( <supports-condition> )|<supports-feature>|<general-enclosed>`,"supports-feature":`<supports-decl>|<supports-selector-fn>`,"supports-decl":`( <declaration> )`,"supports-selector-fn":`selector( <complex-selector>
23 )`,symbol:`<string>|<image>|<custom-ident>`,target:`<target-counter()>|<target-counters()>|<target-text()>`,"target-counter()":`target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )`,"target-counters()":`target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )`,"target-text()":`target-text( [<string>|<url>] , [content|before|after|first-letter]? )`,"time-percentage":`<time>|<percentage>`,"timeline-name":`<custom-ident>|<string>`,"easing-function":`linear|<cubic-bezier-timing-function>|<step-timing-function>`,"track-breadth":`<length-percentage>|<flex>|min-content|max-content|auto`,"track-list":`[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?`,"track-repeat":`repeat( [<integer [1,â]>] , [<line-names>? <track-size>]+ <line-names>? )`,"track-size":`<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( [<length>|<percentage>] )`,"transform-function":`<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>`,"transform-list":`<transform-function>+`,"translate()":`translate( <length-percentage> , <length-percentage>? )`,"translate3d()":`translate3d( <length-percentage> , <length-percentage> , <length> )`,"translateX()":`translateX( <length-percentage> )`,"translateY()":`translateY( <length-percentage> )`,"translateZ()":`translateZ( <length> )`,"type-or-unit":`string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%`,"type-selector":`<wq-name>|<ns-prefix>? '*'`,"var()":`var( <custom-property-name> , <declaration-value>? )`,"viewport-length":`auto|<length-percentage>
23`,"visual-box":`content-box|padding-box|border-box`,"wq-name":`<ns-prefix>? <ident-token>`,"-legacy-gradient":`<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>`,"-legacy-linear-gradient":`-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )`,"-legacy-repeating-linear-gradient":`-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )`,"-legacy-linear-gradient-arguments":`[<angle>|<side-or-corner>]? , <color-stop-list>`,"-legacy-radial-gradient":`-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )`,"-legacy-repeating-radial-gradient":`-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )`,"-legacy-radial-gradient-arguments":`[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>`,"-legacy-radial-gradient-size":`closest-side|closest-corner|farthest-side|farthest-corner|contain|cover`,"-legacy-radial-gradient-shape":`circle|ellipse`,"-non-standard-font":`-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body`,"-non-standard-color":`-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text`,"-non-standard-image-rendering":`optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast`,"-non-standard-overflow":`-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable`,"-non-standard-width":`fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-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`,"-webkit-mask-clip-style":`border|border-box|padding|padding-box|content|content-box|text`,"-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>? )`,"-ms-filter":`<string>`,age:`child|young|old`,"attr-name":`<wq-name>`,"attr-fallback":`<any-value>`,"bg-clip":`<box>|border|text`,"border-radius":`<length-percentage>{1,2}`,bottom:`<length>|auto`,"generic-voice":`[<age>? <gender> <integer>?]`,gender:`male|female|neutral`,"lab()":`lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )`,"lch()":`lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )`,left:`<length>|auto`,"mask-image":`<mask-reference>#`,paint:`none|<color>|<url> [none|<color>]?|context-fill|context-stroke`,ratio:`<number [0,â]> [/ <number [0,â]>]?`,"reversed-counter-name":`reversed( <counter-name> )`,right:`<length>|auto`,"svg-length":`<percentage>|<length>|<number>`,"svg-writing-mode":`lr-tb|rl-tb|tb-rl|lr|rl|tb`,top:`<length>|auto`,"track-group":`'(' [<string>* <track-minmax> <string>*]+ ')' ['[' <positive-integer> ']']?|<track-minmax>`,"track-list-v0":`[<string>* <track-group> <string>*]+|none`,"track-minmax":`minmax( <track-breadth> , <track-breadth> )|auto|<track-breadth>|fit-content`,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,â]>`,"positive-integer":`<integer [0,â]>`,"-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`},properties:{"--*":`<declaration-value>`,"-ms-accelerator":`false|true`,"-ms-block-progression":`tb|rl|bt|lr`,"-ms-content-zoom-chaining":`none|chained`,"-ms-content-zooming":`none|zoom`,"-ms-content-zoom-limit":`<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>`,"-ms-content-zoom-limit-max":`<percentage>`,"-ms-content-zoom-limit-min":`<percentage>`,"-ms-content-zoom-snap":`<'-ms-content-zoom-snap-type'>
23||<'-ms-content-zoom-snap-points'>`,"-ms-content-zoom-snap-points":`snapInterval( <percentage> , <percentage> )|snapList( <percentage># )`,"-ms-content-zoom-snap-type":`none|proximity|mandatory`,"-ms-filter":`<string>`,"-ms-flow-from":`[none|<custom-ident>]#`,"-ms-flow-into":`[none|<custom-ident>]#`,"-ms-grid-columns":`none|<track-list>|<auto-track-list>`,"-ms-grid-rows":`none|<track-list>|<auto-track-list>`,"-ms-high-contrast-adjust":`auto|none`,"-ms-hyphenate-limit-chars":`auto|<integer>{1,3}`,"-ms-hyphenate-limit-lines":`no-limit|<integer>`,"-ms-hyphenate-limit-zone":`<percentage>|<length>`,"-ms-ime-align":`auto|after`,"-ms-overflow-style":`auto|none|scrollbar|-ms-autohiding-scrollbar`,"-ms-scrollbar-3dlight-color":`<color>`,"-ms-scrollbar-arrow-color":`<color>`,"-ms-scrollbar-base-color":`<color>`,"-ms-scrollbar-darkshadow-color":`<color>`,"-ms-scrollbar-face-color":`<color>`,"-ms-scrollbar-highlight-color":`<color>`,"-ms-scrollbar-shadow-color":`<color>`,"-ms-scrollbar-track-color":`<color>`,"-ms-scroll-chaining":`chained|none`,"-ms-scroll-limit":`<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>`,"-ms-scroll-limit-x-max":`auto|<length>`,"-ms-scroll-limit-x-min":`<length>`,"-ms-scroll-limit-y-max":`auto|<length>`,"-ms-scroll-limit-y-min":`<length>`,"-ms-scroll-rails":`none|railed`,"-ms-scroll-snap-points-x":`snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )`,"-ms-scroll-snap-points-y":`snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )`,"-ms-scroll-snap-type":`none|proximity|mandatory`,"-ms-scroll-snap-x":`<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>`,"-ms-scroll-snap-y":`<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>`,"-ms-scroll-translation":`none|vertical-to-horizontal`,"-ms-text-autospace":`none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space`,"-ms-touch-select":`grippers|none`,"-ms-user-select":`none|element|text`,"-ms-wrap-flow":`auto|both|start|end|maximum|clear`,"-ms-wrap-margin":`<length>`,"-ms-wrap-through":`wrap|none`,"-moz-appearance":`none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized`,"-moz-binding":`<url>|none`,"-moz-border-bottom-colors":`<color>+|none`,"-moz-border-left-colors":`<color>+|none`,"-moz-border-right-colors":`<color>+|none`,"-moz-border-top-colors":`<color>+|none`,"-moz-context-properties":`none|[fill|fill-opacity|stroke|stroke-opacity]#`,"-moz-float-edge":`border-box|content-box|margin-box|padding-box`,"-moz-force-broken-image-icon":`0|1`,"-moz-image-region":`<shape>|auto`,"-moz-orient":`inline|block|horizontal|vertical`,"-moz-outline-radius":`<outline-radius>{1,4} [/ <outline-radius>{1,4}]?`,"-moz-outline-radius-bottomleft":`<outline-radius>`,"-moz-outline-radius-bottomright":`<outline-radius>`,"-moz-outline-radius-topleft":`<outline-radius>`,"-moz-outline-radius-topright":`<outline-radius>`,"-moz-stack-sizing":`ignore|stretch-to-fit`,"-moz-text-blink":`none|blink`,"-moz-user-focus":`ignore|normal|select-after|select-before|select-menu|select-same|select-all|none`,"-moz-user-input":`auto|none|enabled|disabled`,"-moz-user-modify":`read-only|read-write|write-only`,"-moz-window-dragging":`drag|no-drag`,"-moz-window-shadow":`default|menu|tooltip|sheet|none`,"-webkit-appearance":`none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb
23-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button`,"-webkit-border-before":`<'border-width'>||<'border-style'>||<color>`,"-webkit-border-before-color":`<color>`,"-webkit-border-before-style":`<'border-style'>`,"-webkit-border-before-width":`<'border-width'>`,"-webkit-box-reflect":`[above|below|right|left]? <length>? <image>?`,"-webkit-line-clamp":`none|<integer>`,"-webkit-mask":`[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#`,"-webkit-mask-attachment":`<attachment>#`,"-webkit-mask-clip":`[<box>|border|padding|content|text]#`,"-webkit-mask-composite":`<composite-style>#`,"-webkit-mask-image":`<mask-reference>#`,"-webkit-mask-origin":`[<box>|border|padding|content]#`,"-webkit-mask-position":`<position>#`,"-webkit-mask-position-x":`[<length-percentage>|left|center|right]#`,"-webkit-mask-position-y":`[<length-percentage>|top|center|bottom]#`,"-webkit-mask-repeat":`<repeat-style>#`,"-webkit-mask-repeat-x":`repeat|no-repeat|space|round`,"-webkit-mask-repeat-y":`repeat|no-repeat|space|round`,"-webkit-mask-size":`<bg-size>#`,"-webkit-overflow-scrolling":`auto|touch`,"-webkit-tap-highlight-color":`<color>`,"-webkit-text-fill-color":`<color>`,"-webkit-text-stroke":`<length>||<color>`,"-webkit-text-stroke-color":`<color>`,"-webkit-text-stroke-width":`<length>`,"-webkit-touch-callout":`default|none`,"-webkit-user-modify":`read-only|read-write|read-write-plaintext-only`,"accent-color":`auto|<color>`,"align-content":`normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>`,"align-items":`normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]`,"align-self":`auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>`,"align-tracks":`[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#`,all:`initial|inherit|unset|revert|revert-layer`,animation:`<single-animation>#`,"animation-delay":`<time>#`,"animation-direction":`<single-animation-direction>#`,"animation-duration":`<time>#`,"animation-fill-mode":`<single-animation-fill-mode>#`,"animation-iteration-count":`<single-animation-iteration-count>#`,"animation-name":`[none|<keyframes-name>]#`,"animation-play-state":`<single-animation-play-state>#`,"animation-timing-function":`<easing-function>#`,"animation-timeline":`<single-animation-timeline>#`,appearance:`none|auto|textfield|menulist-button|<compat-auto>`,"aspect-ratio":`auto|<ratio>`,azimuth:`<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards`,"backdrop-filter":`none|<filter-function-list>`,"backface-visibility":`visible|hidden`,background:`[<bg-layer> ,]* <final-bg-layer>`,"background-attachment":`<attachment>#`,"background-blend-mode":`<blend-mode>#`,"background-clip":`<bg-clip>#`,"background-color":`<color>`,"background-image":`<bg-image>#`,"background-origin":`<box>#`,"background-position":`<bg-position>#`,"background-position-x":`[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#`,"background-position-y":`[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#`,"background-repeat":`<repeat-style>#`,"background-size":`<bg-size>#`,"block-overflow":`clip|ellipsis|<string>`,"block-size":`<'width'>`,border:`<line-width>||<line-style>||<color>`,"border-block":`<'border-top-width'>||<'border-top-style'>||<color>`,"border-block-color":`<'border-top-color'>{1,2}`,"border-block-style":`<'border-top-style'>`,"border-block-width":`<'border-top-width'>`,"border-block-end":`<'border-top-width'>||<'border-top-style'>||<color>`,"border-block-end-color":`<'border-top-color'>`,"border-block-end-style":`<'border-top-style'>`,"border-block-end-width":`<'border-top-width'>`,"border-block-start":`<'border-top-width'>||<'border-top-style'>||<color>`,"border-block-start-color":`<'border-top-color'>`,"border-block-start-style":`<'border-top-style'>`,"border-block-start-width":`<'border-top-width'>`,"border-bottom":`<line-width>||<line-style>||<color>`,"border-bottom-color":`<'border-top-color'>`,"border-bottom-left-radius":`<length-percentage>{1,2}`,"border-bottom-right-radius":`<length-percentage>{1,2}`,"border-bottom-style":`<line-style>`,"border-bottom-width":`<line-width>`,"border-collapse":`collapse|separate`,"border-color":`<color>{1,4}`,"border-end-end-radius":`<length-percentage>{1,2}`,"border-end-start-radius":`<length-percentage>{1,2}`,"border-image":`<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>`,"border-image-outset":`[<length>|<number>]{1,4}
23`,"border-image-repeat":`[stretch|repeat|round|space]{1,2}`,"border-image-slice":`<number-percentage>{1,4}&&fill?`,"border-image-source":`none|<image>`,"border-image-width":`[<length-percentage>|<number>|auto]{1,4}`,"border-inline":`<'border-top-width'>||<'border-top-style'>||<color>`,"border-inline-end":`<'border-top-width'>||<'border-top-style'>||<color>`,"border-inline-color":`<'border-top-color'>{1,2}`,"border-inline-style":`<'border-top-style'>`,"border-inline-width":`<'border-top-width'>`,"border-inline-end-color":`<'border-top-color'>`,"border-inline-end-style":`<'border-top-style'>`,"border-inline-end-width":`<'border-top-width'>`,"border-inline-start":`<'border-top-width'>||<'border-top-style'>||<color>`,"border-inline-start-color":`<'border-top-color'>`,"border-inline-start-style":`<'border-top-style'>`,"border-inline-start-width":`<'border-top-width'>`,"border-left":`<line-width>||<line-style>||<color>`,"border-left-color":`<color>`,"border-left-style":`<line-style>`,"border-left-width":`<line-width>`,"border-radius":`<length-percentage>{1,4} [/ <length-percentage>{1,4}]?`,"border-right":`<line-width>||<line-style>||<color>`,"border-right-color":`<color>`,"border-right-style":`<line-style>`,"border-right-width":`<line-width>`,"border-spacing":`<length> <length>?`,"border-start-end-radius":`<length-percentage>{1,2}`,"border-start-start-radius":`<length-percentage>{1,2}`,"border-style":`<line-style>{1,4}`,"border-top":`<line-width>||<line-style>||<color>`,"border-top-color":`<color>`,"border-top-left-radius":`<length-percentage>{1,2}`,"border-top-right-radius":`<length-percentage>{1,2}`,"border-top-style":`<line-style>`,"border-top-width":`<line-width>`,"border-width":`<line-width>{1,4}`,bottom:`<length>|<percentage>|auto`,"box-align":`start|center|end|baseline|stretch`,"box-decoration-break":`slice|clone`,"box-direction":`normal|reverse|inherit`,"box-flex":`<number>`,"box-flex-group":`<integer>`,"box-lines":`single|multiple`,"box-ordinal-group":`<integer>`,"box-orient":`horizontal|vertical|inline-axis|block-axis|inherit`,"box-pack":`start|center|end|justify`,"box-shadow":`none|<shadow>#`,"box-sizing":`content-box|border-box`,"break-after":`auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region`,"break-before":`auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region`,"break-inside":`auto|avoid|avoid-page|avoid-column|avoid-region`,"caption-side":`top|bottom|block-start|block-end|inline-start|inline-end`,"caret-color":`auto|<color>`,clear:`none|left|right|both|inline-start|inline-end`,clip:`<shape>|auto`,"clip-path":`<clip-source>|[<basic-shape>||<geometry-box>]|none`,color:`<color>`,"print-color-adjust":`economy|exact`,"color-scheme":`normal|[light|dark|<custom-ident>]+&&only?`,"column-count":`<integer>|auto`,"column-fill":`auto|balance|balance-all`,"column-gap":`normal|<length-percentage>`,"column-rule":`<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>`,"column-rule-color":`<color>`,"column-rule-style":`<'border-style'>`,"column-rule-width":`<'border-width'>`,"column-span":`none|all`,"column-width":`<length>|auto`,columns:`<'column-width'>||<'column-count'>`,contain:`none|strict|content|[size||layout||style||paint]`,content:`normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?`,"content-visibility":`visible|auto|hidden`,"counter-increment":`[<counter-name> <integer>?]+|none`,"counter-reset":`[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none`,"counter-set":`[<counter-name> <integer>?]+|none`,cursor:`[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]`,direction:`ltr|rtl`,display:`[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>`,"empty-cells":`show|hide`,filter:`none|<filter-function-list>|<-ms-filter-function-list>`,flex:`none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]`,"flex-basis":`content|<'width'>`,"flex-direction":`row|row-reverse|column|column-reverse`,"flex-flow":`<'flex-direction'>||<'flex-wrap'>`,"flex-grow":`<number>`,"flex-shrink":`<number>`,"flex-wrap":`nowrap|wrap|wrap-reverse`,float:`left|right|none|inl
23ine-start|inline-end`,font:`[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar`,"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-variation-settings":`normal|[<string> <number>]#`,"font-size":`<absolute-size>|<relative-size>|<length-percentage>`,"font-size-adjust":`none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]`,"font-smooth":`auto|never|always|<absolute-size>|<length>`,"font-stretch":`<font-stretch-absolute>`,"font-style":`normal|italic|oblique <angle>?`,"font-synthesis":`none|[weight||style||small-caps]`,"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-ligatures":`normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]`,"font-variant-numeric":`normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]`,"font-variant-position":`normal|sub|super`,"font-weight":`<font-weight-absolute>|bolder|lighter`,"forced-color-adjust":`auto|none`,gap:`<'row-gap'> <'column-gap'>?`,grid:`<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>`,"grid-area":`<grid-line> [/ <grid-line>]{0,3}`,"grid-auto-columns":`<track-size>+`,"grid-auto-flow":`[row|column]||dense`,"grid-auto-rows":`<track-size>+`,"grid-column":`<grid-line> [/ <grid-line>]?`,"grid-column-end":`<grid-line>`,"grid-column-gap":`<length-percentage>`,"grid-column-start":`<grid-line>`,"grid-gap":`<'grid-row-gap'> <'grid-column-gap'>?`,"grid-row":`<grid-line> [/ <grid-line>]?`,"grid-row-end":`<grid-line>`,"grid-row-gap":`<length-percentage>`,"grid-row-start":`<grid-line>`,"grid-template":`none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?`,"grid-template-areas":`none|<string>+`,"grid-template-columns":`none|<track-list>|<auto-track-list>|subgrid <line-name-list>?`,"grid-template-rows":`none|<track-list>|<auto-track-list>|subgrid <line-name-list>?`,"hanging-punctuation":`none|[first||[force-end|allow-end]||last]`,height:`auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )`,"hyphenate-character":`auto|<string>`,hyphens:`none|manual|auto`,"image-orientation":`from-image|<angle>|[<angle>? flip]`,"image-rendering":`auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>`,"image-resolution":`[from-image||<resolution>]&&snap?`,"ime-mode":`auto|normal|active|inactive|disabled`,"initial-letter":`normal|[<number> <integer>?]`,"initial-letter-align":`[auto|alphabetic|hanging|ideographic]`,"inline-size":`<'width'>`,"input-security":`auto|none`,inset:`<'top'>{1,4}`,"inset-block":`<'top'>{1,2}`,"inset-block-end":`<'top'>`,"inset-block-start":`<'top'>`,"inset-inline":`<'top'>{1,2}`,"inset-inline-end":`<'top'>`,"inset-inline-start":`<'top'>`,isolation:`auto|isolate`,"justify-content":`normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]`,"justify-items":`normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]`,"justify-self":`auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]`,"justify-tracks":`[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#`,left:`<length>|<percentage>|auto`,"letter-spacing":`normal|<length-percentage>`,"line-break":`auto|loose|normal|strict|anywhere`,"line-clamp":`none|<integer>`,"line-height":`normal|<number>|<length>|<percentage>`,"line-height-step":`<length>`,"list-style":`<'list-style-type'>
23||<'list-style-position'>||<'list-style-image'>`,"list-style-image":`<image>|none`,"list-style-position":`inside|outside`,"list-style-type":`<counter-style>|<string>|none`,margin:`[<length>|<percentage>|auto]{1,4}`,"margin-block":`<'margin-left'>{1,2}`,"margin-block-end":`<'margin-left'>`,"margin-block-start":`<'margin-left'>`,"margin-bottom":`<length>|<percentage>|auto`,"margin-inline":`<'margin-left'>{1,2}`,"margin-inline-end":`<'margin-left'>`,"margin-inline-start":`<'margin-left'>`,"margin-left":`<length>|<percentage>|auto`,"margin-right":`<length>|<percentage>|auto`,"margin-top":`<length>|<percentage>|auto`,"margin-trim":`none|in-flow|all`,mask:`<mask-layer>#`,"mask-border":`<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>`,"mask-border-mode":`luminance|alpha`,"mask-border-outset":`[<length>|<number>]{1,4}`,"mask-border-repeat":`[stretch|repeat|round|space]{1,2}`,"mask-border-slice":`<number-percentage>{1,4} fill?`,"mask-border-source":`none|<image>`,"mask-border-width":`[<length-percentage>|<number>|auto]{1,4}`,"mask-clip":`[<geometry-box>|no-clip]#`,"mask-composite":`<compositing-operator>#`,"mask-image":`<mask-reference>#`,"mask-mode":`<masking-mode>#`,"mask-origin":`<geometry-box>#`,"mask-position":`<position>#`,"mask-repeat":`<repeat-style>#`,"mask-size":`<bg-size>#`,"mask-type":`luminance|alpha`,"masonry-auto-flow":`[pack|next]||[definite-first|ordered]`,"math-style":`normal|compact`,"max-block-size":`<'max-width'>`,"max-height":`none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )`,"max-inline-size":`<'max-width'>`,"max-lines":`none|<integer>`,"max-width":`none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>`,"min-block-size":`<'min-width'>`,"min-height":`auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )`,"min-inline-size":`<'min-width'>`,"min-width":`auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>`,"mix-blend-mode":`<blend-mode>|plus-lighter`,"object-fit":`fill|contain|cover|none|scale-down`,"object-position":`<position>`,offset:`[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?`,"offset-anchor":`auto|<position>`,"offset-distance":`<length-percentage>`,"offset-path":`none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]`,"offset-position":`auto|<position>`,"offset-rotate":`[auto|reverse]||<angle>`,opacity:`<alpha-value>`,order:`<integer>`,orphans:`<integer>`,outline:`[<'outline-color'>||<'outline-style'>||<'outline-width'>]`,"outline-color":`<color>|invert`,"outline-offset":`<length>`,"outline-style":`auto|<'border-style'>`,"outline-width":`<line-width>`,overflow:`[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>`,"overflow-anchor":`auto|none`,"overflow-block":`visible|hidden|clip|scroll|auto`,"overflow-clip-box":`padding-box|content-box`,"overflow-clip-margin":`<visual-box>||<length [0,â]>`,"overflow-inline":`visible|hidden|clip|scroll|auto`,"overflow-wrap":`normal|break-word|anywhere`,"overflow-x":`visible|hidden|clip|scroll|auto`,"overflow-y":`visible|hidden|clip|scroll|auto`,"overscroll-behavior":`[contain|none|auto]{1,2}`,"overscroll-behavior-block":`contain|none|auto`,"overscroll-behavior-inline":`contain|none|auto`,"overscroll-behavior-x":`contain|none|auto`,"overscroll-behavior-y":`contain|none|auto`,padding:`[<length>|<percentage>]{1,4}`,"padding-block":`<'padding-left'>{1,2}`,"padding-block-end":`<'padding-left'>`,"padding-block-start":`<'padding-left'>`,"padding-bottom":`<length>|<percentage>`,"padding-inline":`<'padding-left'>{1,2}`,"padding-inline-end":`<'padding-left'>`,"padding-inline-start":`<'padding-left'>`,"padding-left":`<length>|<percentage>`,"padding-right":`<length>|<percentage>`,"padding-top":`<length>|<percentage>`,"page-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`,quotes:`none|auto|[<string> <string>]+`,resize:`none|both|horizontal|vertical|block|inline`,right:`<length>|<percentage>|auto`,rotate:`none|<angle>|[x|y|z|<number>{3}]&&<angle>`,"row-gap":`normal|<length-percentage>`,"ruby-align":`start|center|space-between|space-around`,"ruby-merge":`separate|collapse|auto`,"ruby-position":`[alternate||[over|under]]|inter-character`,scale:`none|<number>{1,3}`,"scrollbar-color":`auto|<color>{2}`,"scrollbar-gutter":`auto|stable&&both-edges?`,"scrollbar-width":`auto|thin|none`,"scroll-behavior":`auto|smooth`,"scroll-margin":`<length>{1,4}`,"scroll-margin-block":`<length>{1,2}`,"scroll-margin-block-start":`<length>`,"scroll-margin-block-end":`<length>`,"scroll-margin-bottom":`<length>`,"scroll-margin-inline":`<length>{1,2}`,"scroll-margin-inline-start":`<length>`,"scroll-margin-inline-end":`<length>`,"scroll-margin-left":`<length>`,"scroll-margin-right":`<length>`,"scroll-margin-top":`<length>`,"scroll-padding":`[auto|<length-percentage>]{1,4}`,"scroll-padding-block":`[auto|<length-percentage>]{1,2}`,"scroll-padding-block-start":`auto|<length-percentage>`,"scroll-padding-block-end":`auto|<length-percentage>`,"scroll-padding-bottom":`auto|<length-percentage>`,"scroll-padding-inline":`[auto|<length-percentage>]{1,2}`,"scroll-padding-inline-start":`auto|<length-percentage>`,"scroll-padding-inline-end":`auto|<length-percentage>`,"scroll-padding-left":`auto|<length-percentage>`,"scroll-padding-right":`auto|<length-percentage>`,"scroll-padding-top":`auto|<length-percentage>`,"scroll-snap-align":`[none|start|end|center]{1,2}`,"scroll-snap-coordinate":`none|<position>#`,"scroll-snap-destination":`<position>`,"scroll-snap-points-x":`none|repeat( <length-percentage> )`,"scroll-snap-points-y":`none|repeat( <length-percentage> )`,"scroll-snap-stop":`normal|always`,"scroll-snap-type":`none|[x|y|block|inline|both] [mandatory|proximity]?`,"scroll-snap-type-x":`none|mandatory|proximity`,"scroll-snap-type-y":`none|mandatory|proximity`,"shape-image-threshold":`<alpha-value>`,"shape-margin":`<length-percentage>`,"shape-outside":`none|[<shape-box>||<basic-shape>]|<image>`,"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-combine-upright":`none|all|[digits <integer>?]`,"text-decoration":`<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>`,"text-decoration-color":`<color>`,"text-decoration-line":`none|[underline||overline||line-through||blink]|spelling-error|grammar-error`,"text-decoration-skip":`n
23one|[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":`[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-transform":`none|capitalize|uppercase|lowercase|full-width|full-size-kana`,"text-underline-offset":`auto|<length>|<percentage>`,"text-underline-position":`auto|from-font|[under||[left|right]]`,top:`<length>|<percentage>|auto`,"touch-action":`auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation`,transform:`none|<transform-list>`,"transform-box":`content-box|border-box|fill-box|stroke-box|view-box`,"transform-origin":`[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?`,"transform-style":`flat|preserve-3d`,transition:`<single-transition>#`,"transition-delay":`<time>#`,"transition-duration":`<time>#`,"transition-property":`none|<single-transition-property>#`,"transition-timing-function":`<easing-function>#`,translate:`none|<length-percentage> [<length-percentage> <length>?]?`,"unicode-bidi":`normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext`,"user-select":`auto|text|none|contain|all`,"vertical-align":`baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>`,visibility:`visible|hidden|collapse`,"white-space":`normal|pre|nowrap|pre-wrap|pre-line|break-spaces`,widows:`<integer>`,width:`auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content`,"will-change":`auto|<animateable-feature>#`,"word-break":`normal|break-all|keep-all|break-word`,"word-spacing":`normal|<length>`,"word-wrap":`normal|break-word`,"writing-mode":`horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>`,"z-index":`auto|<integer>`,zoom:`normal|reset|<number>|<percentage>`,"-moz-background-clip":`padding|border`,"-moz-border-radius-bottomleft":`<'border-bottom-left-radius'>`,"-moz-border-radius-bottomright":`<'border-bottom-right-radius'>`,"-moz-border-radius-topleft":`<'border-top-left-radius'>`,"-moz-border-radius-topright":`<'border-bottom-right-radius'>`,"-moz-control-character-visibility":`visible|hidden`,"-moz-osx-font-smoothing":`auto|grayscale`,"-moz-user-select":`none|text|all|-moz-none`,"-ms-flex-align":`start|end|center|baseline|stretch`,"-ms-flex-item-align":`auto|start|end|center|baseline|stretch`,"-ms-flex-line-pack":`start|end|center|justify|distribute|stretch`,"-ms-flex-negative":`<'flex-shrink'>`,"-ms-flex-pack":`start|end|center|justify|distribute`,"-ms-flex-order":`<integer>`,"-ms-flex-positive":`<'flex-grow'>`,"-ms-flex-preferred-size":`<'flex-basis'>`,"-ms-interpolation-mode":`nearest-neighbor|bicubic`,"-ms-grid-column-align":`start|end|center|stretch`,"-ms-grid-row-align":`start|end|center|stretch`,"-ms-hyphenate-limit-last":`none|always|column|page|spread`,"-webkit-background-clip":`[<box>|border|padding|content|text]#`,"-webkit-column-break-after":`always|auto|avoid`,"-webkit-column-break-before":`always|auto|avoid`,"-webkit-column-break-inside":`always|auto|avoid`,"-webkit-font-smoothing":`auto|none|antialiased|subpixel-antialiased`,"-webkit-mask-box-image":`[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?`,"-webkit-print-color-adjust":`economy|exact`,"-webkit-text-security":`none|circle|disc|square`,"-webkit-user-drag":`none|element|auto`,"-webkit-user-select":`auto|none|text|all`,"alignment-baseline":`auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical`,"baseline-shift":`baseline|sub|super|<svg-length>`,behavior:`<url>+`,"clip-rule":`nonzero|evenodd`,cue:`<'cue-before'> <'cue-after'>?`,"cue-after":`<url> <decibel>?|none`,"cue-before":`<url> <decibel>?|none`,"dominant-baseline":`auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge`,fill:`<paint>`,"fill-opacity":`<number-zero-one>`,"fill-rule":`nonzero|evenodd`,"glyph-orientation-horizontal":`<angle>`,"glyph-orientation-vertical":`<angle>`,kerning:`auto|<svg-length>`,marker:`none|<url>
23`,"marker-end":`none|<url>`,"marker-mid":`none|<url>`,"marker-start":`none|<url>`,pause:`<'pause-before'> <'pause-after'>?`,"pause-after":`<time>|none|x-weak|weak|medium|strong|x-strong`,"pause-before":`<time>|none|x-weak|weak|medium|strong|x-strong`,rest:`<'rest-before'> <'rest-after'>?`,"rest-after":`<time>|none|x-weak|weak|medium|strong|x-strong`,"rest-before":`<time>|none|x-weak|weak|medium|strong|x-strong`,"shape-rendering":`auto|optimizeSpeed|crispEdges|geometricPrecision`,src:`[<url> [format( <string># )]?|local( <family-name> )]#`,speak:`auto|none|normal`,"speak-as":`normal|spell-out||digits||[literal-punctuation|no-punctuation]`,stroke:`<paint>`,"stroke-dasharray":`none|[<svg-length>+]#`,"stroke-dashoffset":`<svg-length>`,"stroke-linecap":`butt|round|square`,"stroke-linejoin":`miter|round|bevel`,"stroke-miterlimit":`<number-one-or-greater>`,"stroke-opacity":`<number-zero-one>`,"stroke-width":`<svg-length>`,"text-anchor":`start|middle|end`,"unicode-range":`<urange>#`,"voice-balance":`<number>|left|center|right|leftwards|rightwards`,"voice-duration":`auto|<time>`,"voice-family":`[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve`,"voice-pitch":`<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]`,"voice-range":`<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]`,"voice-rate":`[normal|x-slow|slow|medium|fast|x-fast]||<percentage>`,"voice-stress":`normal|strong|moderate|none|reduced`,"voice-volume":`silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]`}
23,atrules:{charset:{prelude:`<string>`,descriptors:null},"counter-style":{prelude:`<counter-style-name>`,descriptors:{"additive-symbols":`[<integer>&&<symbol>]#`,fallback:`<counter-style-name>`,negative:`<symbol> <symbol>?`,pad:`<integer>&&<symbol>`,prefix:`<symbol>`,range:`[[<integer>|infinite]{2}]#|auto`,"speak-as":`auto|bullets|numbers|words|spell-out|<counter-style-name>`,suffix:`<symbol>`,symbols:`<symbol>+`,system:`cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]`}},document:{prelude:`[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#`,descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":`normal|<percentage>`,"descent-override":`normal|<percentage>`,"font-display":`[auto|block|swap|fallback|optional]`,"font-family":`<family-name>`,"font-feature-settings":`normal|<feature-tag-value>#`,"font-variation-settings":`normal|[<string> <number>]#`,"font-stretch":`<font-stretch-absolute>{1,2}`,"font-style":`normal|italic|oblique <angle>{0,2}`,"font-weight":`<font-weight-absolute>{1,2}`,"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]`,"line-gap-override":`normal|<percentage>`,"size-adjust":`<percentage>`,src:`[<url> [format( <string># )]?|local( <family-name> )]#`,"unicode-range":`<urange>#`}},"font-feature-values":{prelude:`<family-name>#`,descriptors:null},import:{prelude:`[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?`,descriptors:null},keyframes:{prelude:`<keyframes-name>`,descriptors:null},layer:{prelude:`[<layer-name>#|<layer-name>?]`,descriptors:null},media:{prelude:`<media-query-list>`,descriptors:null},namespace:{prelude:`<namespace-prefix>? [<string>|<url>]`,descriptors:null},page:{prelude:`<page-selector-list>`,descriptors:{bleed:`auto|<length>`,marks:`none|[crop||cross]`,size:`<length>{1,2}|auto|[<page-size>||[portrait|landscape]]`}},property:{prelude:`<custom-property-name>`,descriptors:{syntax:`<string>`,inherits:`true|false`,"initial-value":`<string>`}},"scroll-timeline":{prelude:`<timeline-name>`,descriptors:null},supports:{prelude:`<supports-condition>`,descriptors:null},viewport:{prelude:null,descriptors:{height:`<viewport-length>{1,2}`,"max-height":`<viewport-length>`,"max-width":`<viewport-length>`,"max-zoom":`auto|<number>|<percentage>`,"min-height":`<viewport-length>`,"min-width":`<viewport-length>`,"min-zoom":`auto|<number>|<percentage>`,orientation:`auto|portrait|landscape`,"user-zoom":`zoom|fixed`,"viewport-fit":`auto|contain|cover`,width:`<viewport-length>{1,2}`,zoom:`auto|<number>|<percentage>`}}}},cS=43,lS=45,uS=110,dS=!0,fS=!1;function pS(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===cS||r===lS)&&(t&&this.error(`Number sign is not allowed`),n++);n<this.tokenEnd;n++)$g(this.charCodeAt(n))||this.error(`Integer is expected`,n)}function mS(e){return pS.call(this,0,e)}function hS(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n=``;switch(t){case uS:n=`N is expected`;break;case lS:n=`HyphenMinus is expected`}this.error(n,this.tokenStart+e)}}function gS(){let e=0,t=0,n=this.tokenType;for(;n===q||n===Zg;)n=this.lookupType(++e);if(n!==W){if(!this.isDelim(cS,e)&&!this.isDelim(lS,e))return null;t=this.isDelim(cS,e)?cS:lS;do n=this.lookupType(++e);while(n===q||n===Zg);n!==W&&(this.skip(e),mS.call(this,dS))}return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==cS&&n!==lS&&this.error(`Number sign is expected`)),mS.call(this,t!==0),t===lS?`-`+this.consume(W):this.consume(W)}var _S=`AnPlusB`,vS={a:[String,null],b:[String,null]};function yS(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===W)mS.call(this,fS),n=this.consume(W);else if(this.tokenType===B&&this.cmpChar(this.tokenStart,lS))switch(t=`-1`,hS.call(this,1,uS),this.tokenEnd-this.tokenStart){case 2:this.next(),n=gS.call(this);break;case 3:hS.call(this,2,lS),this.next(),this.skipSC(),mS.call(this,dS),n=`-`+this.consume(W);break;default:hS.call(this,2,lS),pS.call(this,3,dS),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===B||this.isDelim(cS)&&this.lookupType(1)===B){let r=0;switch(t=`1`,this.isDelim(cS)&&(r=1,this.next()),hS.call(this,0,uS),this.tokenEnd-this.tokenStart){case 1:this.next(),n=gS.call(this);break;case 2:hS.call(this,1,lS),this.next(),this.skipSC(),mS.call(this,dS),n=`-`+this.consume(W);break;default:hS.call(this,1,lS),pS.call(this,2,dS),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===K){let r=this.charCodeAt(this.tokenStart),i=r===cS||r===lS,a=this.tokenStart+i;for(;a<this.tokenEnd&&$g(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error(`Integer is expected`,this.tokenStart+i),hS.call(this,a-this.tokenStart,uS),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=gS.call(this)):(hS.call(this,a-this.tokenStart+1,lS),a+2===this.tokenEnd?(this.next(),this.skipSC(),mS.call(this,dS),n=`-`+this.consume(W)):(pS.call(this,a-this.tokenStart+2,dS),this.next(),n=this.substrToCursor(a+1)))}else this.error();
23return t!==null&&t.charCodeAt(0)===cS&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===cS&&(n=n.substr(1)),{type:`AnPlusB`,loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function bS(e){if(e.a){let t=(e.a===`+1`||e.a===`1`?`n`:e.a===`-1`&&`-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 xS=Object.freeze({__proto__:null,generate:bS,name:_S,parse:yS,structure:vS});function SS(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function CS(){for(let e=1,t;t=this.lookupType(e);e++){if(t===Xg)return!0;if(t===Yg||t===Ig)return!1}return!1}var wS=`Atrule`,TS=`atrule`,ES={name:String,prelude:[`AtrulePrelude`,`Raw`,null],block:[`Block`,null]};function DS(){let e=this.tokenStart,t,n,r=null,i=null;switch(this.eat(Ig),t=this.substrToCursor(e+1),n=t.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==Yg&&this.tokenType!==Wg&&(r=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,t),SS):SS.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Wg:this.next();break;case Yg:i=hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block==`function`?this.atrule[n].block.call(this):this.Block(CS.call(this))}return{type:`Atrule`,loc:this.getLocation(e,this.tokenStart),name:t,prelude:r,block:i}}function OS(e){this.token(Ig,`@`+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Wg,`;`)}var kS=Object.freeze({__proto__:null,generate:OS,name:wS,parse:DS,structure:ES,walkContext:TS}),AS=`AtrulePrelude`,jS=`atrulePrelude`,MS={children:[[]]};function NS(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude==`function`?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==Yg&&this.tokenType!==Wg&&this.error(`Semicolon or block is expected`),{type:`AtrulePrelude`,loc:this.getLocationFromList(t),children:t}}function PS(e){this.children(e)}var FS=Object.freeze({__proto__:null,generate:PS,name:AS,parse:NS,structure:MS,walkContext:jS}),IS=36,LS=42,RS=61,zS=94,BS=124,VS=126;function HS(){this.eof&&this.error(`Unexpected end of input`);let e=this.tokenStart,t=!1;return this.isDelim(LS)?(t=!0,this.next()):this.isDelim(BS)||this.eat(B),this.isDelim(BS)?this.charCodeAt(this.tokenStart+1)===RS?t&&this.error(`Identifier is expected`,this.tokenEnd):(this.next(),this.eat(B)):t&&this.error(`Vertical line is expected`),{type:`Identifier`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function US(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==RS&&t!==VS&&t!==zS&&t!==IS&&t!==LS&&t!==BS&&this.error(`Attribute selector (=, ~=, ^=, $=, *=, |=) is expected`),this.next(),t!==RS&&(this.isDelim(RS)||this.error(`Equal sign is expected`),this.next()),this.substrToCursor(e)}var WS=`AttributeSelector`,GS={name:`Identifier`,matcher:[String,null],value:[`String`,`Identifier`,null],flags:[String,null]};function KS(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(Kg),this.skipSC(),t=HS.call(this),this.skipSC(),this.tokenType!==qg&&(this.tokenType!==B&&(n=US.call(this),this.skipSC(),r=this.tokenType===Lg?this.String():this.Identifier(),this.skipSC()),this.tokenType===B&&(i=this.consume(B),this.skipSC())),this.eat(qg),{type:`AttributeSelector`,loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function qS(e){this.token(U,`[`),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(B,e.flags),this.token(U,`]`)}var JS=Object.freeze({__proto__:null,generate:qS,name:WS,parse:KS,structure:GS});function YS(e){return this.Raw(e,null,!0)}function XS(){return this.parseWithFallback(this.Rule,YS)}function ZS(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function QS(){if(this.tokenType===Wg)return ZS.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,ZS);return this.tokenType===Wg&&this.next(),e}var $S=`Block`,eC=`block`,tC={children:[[`Atrule`,`Rule`,`Declaration`]]};function nC(e){let t=e?QS:XS,n=this.tokenStart,r=this.createList(
23);this.eat(Yg);scan:for(;!this.eof;)switch(this.tokenType){case Xg:break scan;case q:case Zg:this.next();break;case Ig:r.push(this.parseWithFallback(this.Atrule,YS));break;default:r.push(t.call(this))}return this.eof||this.eat(Xg),{type:`Block`,loc:this.getLocation(n,this.tokenStart),children:r}}function rC(e){this.token(Yg,`{`),this.children(e,e=>{e.type===`Declaration`&&this.token(Wg,`;`)}),this.token(Xg,`}`)}var iC=Object.freeze({__proto__:null,generate:rC,name:$S,parse:nC,structure:tC,walkContext:eC}),aC=`Brackets`,oC={children:[[]]};function sC(e,t){let n=this.tokenStart,r=null;return this.eat(Kg),r=e.call(this,t),this.eof||this.eat(qg),{type:`Brackets`,loc:this.getLocation(n,this.tokenStart),children:r}}function cC(e){this.token(U,`[`),this.children(e),this.token(U,`]`)}var lC=Object.freeze({__proto__:null,generate:cC,name:aC,parse:sC,structure:oC}),uC=`CDC`,dC=[];function fC(){let e=this.tokenStart;return this.eat(Hg),{type:`CDC`,loc:this.getLocation(e,this.tokenStart)}}function pC(){this.token(Hg,`-->`)}var mC=Object.freeze({__proto__:null,generate:pC,name:uC,parse:fC,structure:dC}),hC=`CDO`,gC=[];function _C(){let e=this.tokenStart;return this.eat(Vg),{type:`CDO`,loc:this.getLocation(e,this.tokenStart)}}function vC(){this.token(Vg,`<!--`)}var yC=Object.freeze({__proto__:null,generate:vC,name:hC,parse:_C,structure:gC}),bC=46,xC=`ClassSelector`,SC={name:String};function CC(){return this.eatDelim(bC),{type:`ClassSelector`,loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(B)}}function wC(e){this.token(U,`.`),this.token(B,e.name)}var TC=Object.freeze({__proto__:null,generate:wC,name:xC,parse:CC,structure:SC}),EC=43,DC=47,OC=62,kC=126,AC=`Combinator`,jC={name:String};function MC(){let e=this.tokenStart,t;switch(this.tokenType){case q:t=` `;break;case U:switch(this.charCodeAt(this.tokenStart)){case OC:case EC:case kC:this.next();break;case DC:this.next(),this.eatIdent(`deep`),this.eatDelim(DC);break;default:this.error(`Combinator is expected`)}t=this.substrToCursor(e)}return{type:`Combinator`,loc:this.getLocation(e,this.tokenStart),name:t}}function NC(e){this.tokenize(e.name)}var PC=Object.freeze({__proto__:null,generate:NC,name:AC,parse:MC,structure:jC}),FC=42,IC=47,LC=`Comment`,RC={value:String};function zC(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(Zg),t-e+2>=2&&this.charCodeAt(t-2)===FC&&this.charCodeAt(t-1)===IC&&(t-=2),{type:`Comment`,loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function BC(e){this.token(Zg,`/*`+e.value+`*/`)}var VC=Object.freeze({__proto__:null,generate:BC,name:LC,parse:zC,structure:RC}),HC=33,UC=35,WC=36,GC=38,KC=42,qC=43,JC=47;function YC(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function XC(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function ZC(){let e=this.tokenIndex,t=this.Value();return t.type!==`Raw`&&this.eof===!1&&this.tokenType!==Wg&&this.isDelim(HC)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var QC=`Declaration`,$C=`declaration`,ew={important:[Boolean,String],property:String,value:[`Value`,`Raw`]};function tw(){let e=this.tokenStart,t=this.tokenIndex,n=rw.call(this),r=Qv(n),i=r?this.parseCustomProperty:this.parseValue,a=r?XC:YC,o=!1,s;this.skipSC(),this.eat(Ug);let c=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(ZC,a):a.call(this,this.tokenIndex),r&&s.type===`Value`&&s.children.isEmpty){for(let e=c-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===q){s.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}return this.isDelim(HC)&&(o=iw.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Wg&&this.isBalanceEdge(t)===!1&&this.error(),{type:`Declaration`,loc:this.getLocation(e,this.tokenStart),important:o,property:n,value:s}}function nw(e){this.token(B,e.property),this.token(Ug,`:`),this.node(e.value),e.important&&(this.token(U,`!`),this.token(B,e.important===!0?`important`:e.important))}function rw(){let e=this.tokenStart;if(this.tokenType===U)switch(this.charCodeAt(this.tokenStart)){case KC:case WC:case qC:case UC:case GC:this.next();break;case JC:this.next(),this.isDelim(JC)&&this.next()}return this.tokenType===H?this.eat(H):this.eat(B),this.substrToCursor(e)}function iw(){this.eat(U),this.skipSC();let e=this.consume(B);return e===`important`||e}var aw=Object.freeze({__proto__:null,generate:nw,name:QC,parse:tw,structure:ew,walkContext:$C});function ow(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var sw=`DeclarationList`,cw={children:[[`Declaration`]]};
23function lw(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case q:case Zg:case Wg:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,ow))}return{type:`DeclarationList`,loc:this.getLocationFromList(e),children:e}}function uw(e){this.children(e,e=>{e.type===`Declaration`&&this.token(Wg,`;`)})}var dw=Object.freeze({__proto__:null,generate:uw,name:sw,parse:lw,structure:cw}),fw=`Dimension`,pw={value:String,unit:String};function mw(){let e=this.tokenStart,t=this.consumeNumber(K);return{type:`Dimension`,loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function hw(e){this.token(K,e.value+e.unit)}var gw=Object.freeze({__proto__:null,generate:hw,name:fw,parse:mw,structure:pw}),_w=`Function`,vw=`function`,yw={name:String,children:[[]]};function bw(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase(),a;return a=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(J),{type:`Function`,loc:this.getLocation(n,this.tokenStart),name:r,children:a}}function xw(e){this.token(V,e.name+`(`),this.children(e),this.token(J,`)`)}var Sw=Object.freeze({__proto__:null,generate:xw,name:_w,parse:bw,structure:yw,walkContext:vw}),Cw=`XXX`,ww=`Hash`,Tw={value:String};function Ew(){let e=this.tokenStart;return this.eat(H),{type:`Hash`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Dw(e){this.token(H,`#`+e.value)}var Ow=Object.freeze({__proto__:null,generate:Dw,name:ww,parse:Ew,structure:Tw,xxx:Cw}),kw=`Identifier`,Aw={name:String};function jw(){return{type:`Identifier`,loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(B)}}function Mw(e){this.token(B,e.name)}var Nw=Object.freeze({__proto__:null,generate:Mw,name:kw,parse:jw,structure:Aw}),Pw=`IdSelector`,Fw={name:String};function Iw(){let e=this.tokenStart;return this.eat(H),{type:`IdSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Lw(e){this.token(U,`#`+e.name)}var Rw=Object.freeze({__proto__:null,generate:Lw,name:Pw,parse:Iw,structure:Fw}),zw=`MediaFeature`,Bw={name:String,value:[`Identifier`,`Number`,`Dimension`,`Ratio`,null]};function Vw(){let e=this.tokenStart,t,n=null;if(this.eat(Jg),this.skipSC(),t=this.consume(B),this.skipSC(),this.tokenType!==J){switch(this.eat(Ug),this.skipSC(),this.tokenType){case W:n=this.lookupNonWSType(1)===U?this.Ratio():this.Number();break;case K:n=this.Dimension();break;case B:n=this.Identifier();break;default:this.error(`Number, dimension, ratio or identifier is expected`)}this.skipSC()}return this.eat(J),{type:`MediaFeature`,loc:this.getLocation(e,this.tokenStart),name:t,value:n}}function Hw(e){this.token(Jg,`(`),this.token(B,e.name),e.value!==null&&(this.token(Ug,`:`),this.node(e.value)),this.token(J,`)`)}var Uw=Object.freeze({__proto__:null,generate:Hw,name:zw,parse:Vw,structure:Bw}),Ww=`MediaQuery`,Gw={children:[[`Identifier`,`MediaFeature`,`WhiteSpace`]]};
23function Kw(){let e=this.createList(),t=null;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case Zg:case q:this.next();continue;case B:t=this.Identifier();break;case Jg:t=this.MediaFeature();break;default:break scan}e.push(t)}return t===null&&this.error(`Identifier or parenthesis is expected`),{type:`MediaQuery`,loc:this.getLocationFromList(e),children:e}}function qw(e){this.children(e)}var Jw=Object.freeze({__proto__:null,generate:qw,name:Ww,parse:Kw,structure:Gw}),Yw=`MediaQueryList`,Xw={children:[[`MediaQuery`]]};function Zw(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Gg);)this.next();return{type:`MediaQueryList`,loc:this.getLocationFromList(e),children:e}}function Qw(e){this.children(e,()=>this.token(Gg,`,`))}var $w=Object.freeze({__proto__:null,generate:Qw,name:Yw,parse:Zw,structure:Xw}),eT=`Nth`,tT={nth:[`AnPlusB`,`Identifier`],selector:[`SelectorList`,null]};function nT(){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 rT(e){this.node(e.nth),e.selector!==null&&(this.token(B,`of`),this.node(e.selector))}var iT=Object.freeze({__proto__:null,generate:rT,name:eT,parse:nT,structure:tT}),aT=`Number`,oT={value:String};function sT(){return{type:`Number`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(W)}}function cT(e){this.token(W,e.value)}var lT=Object.freeze({__proto__:null,generate:cT,name:aT,parse:sT,structure:oT}),uT=`Operator`,dT={value:String};function fT(){let e=this.tokenStart;return this.next(),{type:`Operator`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function pT(e){this.tokenize(e.value)}var mT=Object.freeze({__proto__:null,generate:pT,name:uT,parse:fT,structure:dT}),hT=`Parentheses`,gT={children:[[]]};function _T(e,t){let n=this.tokenStart,r=null;return this.eat(Jg),r=e.call(this,t),this.eof||this.eat(J),{type:`Parentheses`,loc:this.getLocation(n,this.tokenStart),children:r}}function vT(e){this.token(Jg,`(`),this.children(e),this.token(J,`)`)}var yT=Object.freeze({__proto__:null,generate:vT,name:hT,parse:_T,structure:gT}),bT=`Percentage`,xT={value:String};function ST(){return{type:`Percentage`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(G)}}function CT(e){this.token(G,e.value+`%`)}var wT=Object.freeze({__proto__:null,generate:CT,name:bT,parse:ST,structure:xT}),TT=`PseudoClassSelector`,ET=`function`,DT={name:String,children:[[`Raw`],null]};function OT(){let e=this.tokenStart,t=null,n,r;return this.eat(Ug),this.tokenType===V?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(
23),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(J)):n=this.consume(B),{type:`PseudoClassSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function kT(e){this.token(Ug,`:`),e.children===null?this.token(B,e.name):(this.token(V,e.name+`(`),this.children(e),this.token(J,`)`))}var AT=Object.freeze({__proto__:null,generate:kT,name:TT,parse:OT,structure:DT,walkContext:ET}),jT=`PseudoElementSelector`,MT=`function`,NT={name:String,children:[[`Raw`],null]};function PT(){let e=this.tokenStart,t=null,n,r;return this.eat(Ug),this.eat(Ug),this.tokenType===V?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(J)):n=this.consume(B),{type:`PseudoElementSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function FT(e){this.token(Ug,`:`),this.token(Ug,`:`),e.children===null?this.token(B,e.name):(this.token(V,e.name+`(`),this.children(e),this.token(J,`)`))}var IT=Object.freeze({__proto__:null,generate:FT,name:jT,parse:PT,structure:NT,walkContext:MT}),LT=47,RT=46;function zT(){this.skipSC();let e=this.consume(W);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);$g(n)||n===RT||this.error(`Unsigned number is expected`,this.tokenStart-e.length+t)}return Number(e)===0&&this.error(`Zero number is not allowed`,this.tokenStart-e.length),e}var BT=`Ratio`,VT={left:String,right:String};function HT(){let e=this.tokenStart,t=zT.call(this),n;return this.skipSC(),this.eatDelim(LT),n=zT.call(this),{type:`Ratio`,loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function UT(e){this.token(W,e.left),this.token(U,`/`),this.token(W,e.right)}var WT=Object.freeze({__proto__:null,generate:UT,name:BT,parse:HT,structure:VT});function GT(){return this.tokenIndex>0&&this.lookupType(-1)===q?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var KT=`Raw`,qT={value:String};function JT(e,t,n){let r=this.getTokenStart(e),i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),i=n&&this.tokenStart>r?GT.call(this):this.tokenStart,{type:`Raw`,loc:this.getLocation(r,i),value:this.substring(r,i)}}function YT(e){this.tokenize(e.value)}var XT=Object.freeze({__proto__:null,generate:YT,name:KT,parse:JT,structure:qT});function ZT(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function QT(){let e=this.SelectorList();return e.type!==`Raw`&&this.eof===!1&&this.tokenType!==Yg&&this.error(),e}var $T=`Rule`,eE=`rule`,tE={prelude:[`SelectorList`,`Raw`],block:[`Block`]};function nE(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback(QT,ZT):ZT.call(this,e),r=this.Block(!0),{type:`Rule`,loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function rE(e){this.node(e.prelude),this.node(e.block)}var iE=Object.freeze({__proto__:null,generate:rE,name:$T,parse:nE,structure:tE,walkContext:eE}),aE=`Selector`,oE={children:[[`TypeSelector`,`IdSelector`,`ClassSelector`,`AttributeSelector`,`PseudoClassSelector`,`PseudoElementSelector`,`Combinator`,`WhiteSpace`]]};function sE(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error(`Selector is expected`),{type:`Selector`,loc:this.getLocationFromList(e),children:e}}function cE(e){this.children(e)}var lE=Object.freeze({__proto__:null,generate:cE,name:aE,parse:sE,structure:oE}),uE=`SelectorList`,dE=`selector`,fE={children:[[`Selector`,`Raw`]]};
23function pE(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Gg){this.next();continue}break}return{type:`SelectorList`,loc:this.getLocationFromList(e),children:e}}function mE(e){this.children(e,()=>this.token(Gg,`,`))}var hE=Object.freeze({__proto__:null,generate:mE,name:uE,parse:pE,structure:fE,walkContext:dE}),gE=92,_E=34,vE=39;function yE(e){let t=e.length,n=e.charCodeAt(0),r=+(n===_E||n===vE),i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,a=``;for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(r===gE){if(n===i){n!==t-1&&(a=e.substr(n+1));break}if(r=e.charCodeAt(++n),u_(gE,r)){let t=n-1,r=O_(e,t);n=r-1,a+=M_(e.substring(t+1,r))}else r===13&&e.charCodeAt(n+1)===10&&n++}else a+=e[n]}return a}function bE(e,t){let n=t?`'`:`"`,r=t?vE:_E,i=``,a=!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===0){i+=`�`;continue}if(n<=31||n===127){i+=`\\`+n.toString(16),a=!0;continue}n===r||n===gE?(i+=`\\`+e.charAt(t),a=!1):(a&&(e_(n)||l_(n))&&(i+=` `),i+=e.charAt(t),a=!1)}return n+i+n}var xE=`String`,SE={value:String};function CE(){return{type:`String`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:yE(this.consume(Lg))}}function wE(e){this.token(Lg,bE(e.value))}var TE=Object.freeze({__proto__:null,generate:wE,name:xE,parse:CE,structure:SE}),EE=33;function DE(e){return this.Raw(e,null,!1)}var OE=`StyleSheet`,kE=`stylesheet`,AE={children:[[`Comment`,`CDO`,`CDC`,`Atrule`,`Rule`,`Raw`]]};
23function jE(){let e=this.tokenStart,t=this.createList(),n;for(;!this.eof;){switch(this.tokenType){case q:this.next();continue;case Zg:if(this.charCodeAt(this.tokenStart+2)!==EE){this.next();continue}n=this.Comment();break;case Vg:n=this.CDO();break;case Hg:n=this.CDC();break;case Ig:n=this.parseWithFallback(this.Atrule,DE);break;default:n=this.parseWithFallback(this.Rule,DE)}t.push(n)}return{type:`StyleSheet`,loc:this.getLocation(e,this.tokenStart),children:t}}function ME(e){this.children(e)}var NE=Object.freeze({__proto__:null,generate:ME,name:OE,parse:jE,structure:AE,walkContext:kE}),PE=42,FE=124;function IE(){this.tokenType!==B&&this.isDelim(PE)===!1&&this.error(`Identifier or asterisk is expected`),this.next()}var LE=`TypeSelector`,RE={name:String};function zE(){let e=this.tokenStart;return this.isDelim(FE)?(this.next(),IE.call(this)):(IE.call(this),this.isDelim(FE)&&(this.next(),IE.call(this))),{type:`TypeSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function BE(e){this.tokenize(e.name)}var VE=Object.freeze({__proto__:null,generate:BE,name:LE,parse:zE,structure:RE}),HE=43,UE=45,WE=63;function GE(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(i===UE&&t&&n!==0)return GE.call(this,e+n+1,!1),-1;e_(i)||this.error(t&&n!==0?`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 KE(e){let t=0;for(;this.isDelim(WE);)++t>e&&this.error(`Too many question marks`),this.next()}function qE(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===HE?`Plus sign`:`Hyphen minus`)+` is expected`)}function JE(){let e=0;switch(this.tokenType){case W:if(e=GE.call(this,1,!0),this.isDelim(WE)){KE.call(this,6-e);break}if(this.tokenType===K||this.tokenType===W){qE.call(this,UE),GE.call(this,1,!1);break}break;case K:e=GE.call(this,1,!0),e>0&&KE.call(this,6-e);break;default:if(this.eatDelim(HE),this.tokenType===B){e=GE.call(this,0,!0),e>0&&KE.call(this,6-e);break}if(this.isDelim(WE)){this.next(),KE.call(this,5);break}this.error(`Hex digit or question mark is expected`)}}var YE=`UnicodeRange`,XE={value:String};function ZE(){let e=this.tokenStart;return this.eatIdent(`u`),JE.call(this),{type:`UnicodeRange`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function QE(e){this.tokenize(e.value)}var $E=Object.freeze({__proto__:null,generate:QE,name:YE,parse:ZE,structure:XE}),eD=32,tD=92,nD=34,rD=39,iD=40,aD=41;function oD(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===aD?t-2:t-1,i=``;for(;n<r&&l_(e.charCodeAt(n));)n++;for(;n<r&&l_(e.charCodeAt(r));)r--;for(let a=n;a<=r;a++){let n=e.charCodeAt(a);if(n===tD){if(a===r){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),u_(tD,n)){let t=a-1,n=O_(e,t);a=n-1,i+=M_(e.substring(t+1,n))}else n===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function sD(e){let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0){t+=`�`;continue}if(i<=31||i===127){t+=`\\`+i.toString(16),n=!0;continue}i===eD||i===tD||i===nD||i===rD||i===iD||i===aD?(t+=`\\`+e.charAt(r),n=!1):(n&&e_(i)&&(t+=` `),t+=e.charAt(r),n=!1)}return`url(`+t+`)`}var cD=`Url`,lD={value:String};function uD(){let e=this.tokenStart,t;switch(this.tokenType){case zg:t=oD(this.consume(zg));break;case V:this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)||this.error("Function name must be `url`"),this.eat(V),this.skipSC(),t=yE(this.consume(Lg)),this.skipSC(),this.eof||this.eat(J);break;default:this.error(`Url or Function is expected`)}return{type:`Url`,loc:this.getLocation(e,this.tokenStart),value:t}}function dD(e){this.token(zg,sD(e.value))}var fD=Object.freeze({__proto__:null,generate:dD,name:cD,parse:uD,structure:lD}),pD=`Value`,mD={children:[[]]};function hD(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:`Value`,loc:this.getLocation(e,this.tokenStart),children:t}}function gD(e){this.children(e)}var _D=Object.freeze({__proto__:null,generate:gD,name:pD,parse:hD,structure:mD}),vD=Object.freeze({type:`WhiteSpace`,loc:null,value:` `}),yD=`WhiteSpace`,bD={value:String};function xD(){return this.eat(q),vD}function SD(e){this.token(q,e.value)}var CD=Object.freeze({__proto__:null,generate:SD,name:yD,parse:xD,structure:bD}),wD=Object.freeze({__proto__:null,AnPlusB:xS,Atrule:kS,AtrulePrelude:FS,AttributeSelector:JS,Block:iC,Brackets:lC,CDC:mC,CDO:yC,ClassSelector:TC,Combinator:PC,Comment:VC,Declaration:aw,DeclarationList:dw,Dimension:gw,Function:Sw,Hash:Ow,IdSelector:Rw,Identifier:Nw,MediaFeature:Uw,MediaQuery:Jw,MediaQueryList:$w,Nth:iT,Number:lT,Operator:mT,Parentheses:yT,Percentage:wT,P
23seudoClassSelector:AT,PseudoElementSelector:IT,Ratio:WT,Raw:XT,Rule:iE,Selector:lE,SelectorList:hE,String:TE,StyleSheet:NE,TypeSelector:VE,UnicodeRange:$E,Url:fD,Value:_D,WhiteSpace:CD}),TD={generic:!0,...sS,node:wD},ED=35,DD=42,OD=43,kD=45,AD=47,jD=117;function MD(e){switch(this.tokenType){case H:return this.Hash();case Gg:return this.Operator();case Jg:return this.Parentheses(this.readSequence,e.recognizer);case Kg:return this.Brackets(this.readSequence,e.recognizer);case Lg:return this.String();case K:return this.Dimension();case G:return this.Percentage();case W:return this.Number();case V:return this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)?this.Url():this.Function(this.readSequence,e.recognizer);case zg:return this.Url();case B:return this.cmpChar(this.tokenStart,jD)&&this.cmpChar(this.tokenStart+1,OD)?this.UnicodeRange():this.Identifier();case U:{let e=this.charCodeAt(this.tokenStart);if(e===AD||e===DD||e===OD||e===kD)return this.Operator();e===ED&&this.error(`Hex or identifier is expected`,this.tokenStart+1);break}}}var ND={getNode:MD},PD=35,FD=42,ID=43,LD=47,RD=46,zD=62,BD=124,VD=126;function HD(e,t){t.last!==null&&t.last.type!==`Combinator`&&e!==null&&e.type!==`Combinator`&&t.push({type:`Combinator`,loc:null,name:` `})}function UD(){switch(this.tokenType){case Kg:return this.AttributeSelector();case H:return this.IdSelector();case Ug:return this.lookupType(1)===Ug?this.PseudoElementSelector():this.PseudoClassSelector();case B:return this.TypeSelector();case W:case G:return this.Percentage();case K:this.charCodeAt(this.tokenStart)===RD&&this.error(`Identifier is expected`,this.tokenStart+1);break;case U:switch(this.charCodeAt(this.tokenStart)){case ID:case zD:case VD:case LD:return this.Combinator();case RD:return this.ClassSelector();case FD:case BD:return this.TypeSelector();case PD:return this.IdSelector()}}}var WD={onWhiteSpace:HD,getNode:UD};function GD(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}
23function KD(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Gg){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type===`Value`&&n.children.isEmpty){for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===q){n.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}e.push(n)}return e}function qD(e){return e!==null&&e.type===`Operator`&&(e.value[e.value.length-1]===`-`||e.value[e.value.length-1]===`+`)}var JD=Object.freeze({__proto__:null,AtrulePrelude:ND,Selector:WD,Value:{getNode:MD,onWhiteSpace(e,t){qD(e)&&(e.value=` `+e.value),qD(t.last)&&(t.last.value+=` `)},expression:GD,var:KD}}),YD={parse:{prelude:null,block(){return this.Block(!0)}}},XD={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case Lg:e.push(this.String());break;case zg:case V:e.push(this.Url());break;default:this.error(`String or url() is expected`)}return this.lookupNonWSType(0)!==B&&this.lookupNonWSType(0)!==Jg||e.push(this.MediaQueryList()),e},block:null}},ZD={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}},QD={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};function $D(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function eO(){return this.skipSC(),this.tokenType===B&&this.lookupNonWSType(1)===Ug?this.createSingleNodeList(this.Declaration()):tO.call(this)}
23function tO(){let e=this.createList(),t;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case Zg:case q:this.next();continue;case V:t=this.Function($D,this.scope.AtrulePrelude);break;case B:t=this.Identifier();break;case Jg:t=this.Parentheses(eO,this.scope.AtrulePrelude);break;default:break scan}e.push(t)}return e}var nO={"font-face":YD,import:XD,media:ZD,page:QD,supports:{parse:{prelude(){let e=tO.call(this);return this.getFirstListNode(e)===null&&this.error(`Condition is expected`),e},block(){return this.Block(!1)}}}},rO={parse(){return this.createSingleNodeList(this.SelectorList())}},iO={parse(){return this.createSingleNodeList(this.Selector())}},aO={parse(){return this.createSingleNodeList(this.Identifier())}},oO={parse(){return this.createSingleNodeList(this.Nth())}},sO={parseContext:{default:`StyleSheet`,stylesheet:`StyleSheet`,atrule:`Atrule`,atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:`MediaQueryList`,mediaQuery:`MediaQuery`,rule:`Rule`,selectorList:`SelectorList`,selector:`Selector`,block(){return this.Block(!0)},declarationList:`DeclarationList`,declaration:`Declaration`,value:`Value`},scope:JD,atrule:nO,pseudo:{dir:aO,has:rO,lang:aO,matches:rO,is:rO,"-moz-any":rO,"-webkit-any":rO,where:rO,not:rO,"nth-child":oO,"nth-last-child":oO,"nth-last-of-type":oO,"nth-of-type":oO,slotted:iO},node:Object.freeze({__proto__:null,AnPlusB:yS,Atrule:DS,AtrulePrelude:NS,AttributeSelector:KS,Block:nC,Brackets:sC,CDC:fC,CDO:_C,ClassSelector:CC,Combinator:MC,Comment:zC,Declaration:tw,DeclarationList:lw,Dimension:mw,Function:bw,Hash:Ew,IdSelector:Iw,Identifier:jw,MediaFeature:Vw,MediaQuery:Kw,MediaQueryList:Zw,Nth:nT,Number:sT,Operator:fT,Parentheses:_T,Percentage:ST,PseudoClassSelector:OT,PseudoElementSelector:PT,Ratio:HT,Raw:JT,Rule:nE,Selector:sE,SelectorList:pE,String:CE,StyleSheet:jE,TypeSelector:zE,UnicodeRange:ZE,Url:uD,Value:hD,WhiteSpace:xD})},cO={node:wD},lO=oS({...TD,...sO,...cO});function uO(e){let t={};for(let n in e){let r=e[n];r&&(Array.isArray(r)||r instanceof Y?r=r.map(uO):r.constructor===Object&&(r=uO(r))),t[n]=r}return t}var{tokenize:dO,parse:fO,generate:pO,lexer:mO,createLexer:hO,walk:gO,find:_O,findLast:vO,findAll:yO,toPlainObject:bO,fromPlainObject:xO,fork:SO}=lO,{hasOwnProperty:CO}=Object.prototype;function wO(e,t){let n=Object.create(null);if(!Array.isArray(e))return null;for(let r of e)t&&(r=r.toLowerCase()),n[r]=!0;return n}function TO(e){if(!e)return null;let t=wO(e.tags,!0),n=wO(e.ids),r=wO(e.classes);return t===null&&n===null&&r===null?null:{tags:t,ids:n,classes:r}}function EO(e){let t=!1;if(e.scopes&&Array.isArray(e.scopes)){t=Object.create(null);for(let n=0;n<e.scopes.length;n++){let r=e.scopes[n];if(!r||!Array.isArray(r))throw Error(`Wrong usage format`);for(let e of r){if(CO.call(t,e))throw Error(`Class can't be used for several scopes: ${e}`);t[e]=n+1}}}return{whitelist:TO(e),blacklist:TO(e.blacklist),scopes:t}}function DO(e){return!e||!e.children||e.children.isEmpty}function OO(e,t){return e!==null&&e.children===t}function kO(e,t,n){if(e.block&&(this.stylesheet!==null&&(this.stylesheet.firstAtrulesAllowed=!1),DO(e.block))){n.remove(t);return}switch(e.name){case`charset`:if(DO(e.prelude)){n.remove(t);return}if(t.prev){n.remove(t);return}break;case`import`:if(this.stylesheet===null||!this.stylesheet.firstAtrulesAllowed){n.remove(t);return}n.prevUntil(t.prev,function(e){if(e.type!==`Atrule`||e.name!==`import`&&e.name!==`charset`)return this.root.firstAtrulesAllowed=!1,n.remove(t),!0},this);break;default:{let r=Xv(e.name).basename;r!==`keyframes`&&r!==`media`&&r!==`supports`||(DO(e.prelude)||DO(e.block))&&n.remove(t)}}}function AO(e,t,n){n.remove(t)}function jO(e,t,n){if(e.value.children&&e.value.children.isEmpty){n.remove(t);return}Zv(e.property).custom&&/\S/.test(e.value.value)&&(e.value.value=e.value.value.trim())}function MO(e,t,n){(OO(this.stylesheet,n)||OO(this.block,n))&&n.remove(t)}var{hasOwnProperty:NO}=Object.prototype,PO=new Set([`keyframes`]);function FO(e,t){return e.children.forEach((n,r,i)=>{let a=!1;gO(n,function(n){if(this.selector===null||this.selector===e)switch(n.type){case`SelectorList`:this.function!==null&&this.function.name.toLowerCase()===`not`||FO(n,t)&&(a=!0);break;case`ClassSelector`:t.whitelist===null||t.whitelist.classes===null||NO.call(t.whitelist.classes,n.name)||(a=!0),t.blacklist!==null&&t.blacklist.classes!==null&&NO.call(t.blacklist.classes,n.name)&&(a=!0);break;case`IdSelector`:t.whitelist===null||t.whitelist.ids===null||NO.call(t.whitelist.ids,n.name)||(a=!0),t.blacklist!==null&&t.blacklist.ids!==null&&NO.call(t.blacklist.ids,n.name)&&(a=!0);break;case`TypeSelector`:n.name.charAt(n.name.length-1)!==`*`&&(t.whitelist===null||t.whitelist.tags===null||NO.call(t.whitelist.tags,n.name.toLowerCase())||(a=!0),t.blacklist!==null&&t.blacklist.tags!==null&&NO.call(t.blacklist.tags,n.name.toLowerCase())&&(a=!0))}}),a&&i.remove(r)}),e.children.isEmpty}function IO(e,t,n,r){if(DO(e.prelude)||DO(e.block)){n.remove(t);return}if(this.atrule&&PO.has(Xv(this.atrule.name).basename))return;let{usage:i}=r;if(i&&(i.whitelist!==null||i.blacklist!==null)&&(FO(e.prelude,i),DO(e.prelude))){n.remove(t);return}}function LO(e,t,n){if(t.data.name!==`*`)return;let r=t.next&&t.next.data.type;r!==`IdSelector`&&r!==`ClassSelector`&&r!==`AttributeSelector`&&r!==`PseudoClassSelector`&&r!==`PseudoElementSelector`||n.remove(t)}function RO(e,t,n){n.remove(t)}var zO={Atrule:kO,Comment:AO,Declaration:jO,Raw:MO,Rule:IO,TypeSelector:LO,WhiteSpace:RO};function BO(e,t){gO(e,{leave(e,n,r){zO.hasOwnProperty(e.type)&&zO[e.type].call(this,e,n,r,t)}})}
23function VO(e){e.block.children.forEach(e=>{e.prelude.children.forEach(e=>{e.children.forEach((e,t)=>{e.type===`Percentage`&&e.value===`100`?t.data={type:`TypeSelector`,loc:e.loc,name:`to`}:e.type===`TypeSelector`&&e.name===`from`&&(t.data={type:`Percentage`,loc:e.loc,value:`0`})})})})}function HO(e){Xv(e.name).basename===`keyframes`&&VO(e)}var UO=/^(-?\d|--)|[\u0000-\u002c\u002e\u002f\u003A-\u0040\u005B-\u005E\u0060\u007B-\u009f]/;function WO(e){return e===``||e===`-`?!1:!UO.test(e)}function GO(e){let t=e.value;t&&t.type===`String`&&WO(t.value)&&(e.value={type:`Identifier`,loc:t.loc,name:t.value})}function KO(e){let t=e.children;t.forEachRight(function(e,t){if(e.type===`Identifier`){if(e.name===`bold`)t.data={type:`Number`,loc:e.loc,value:`700`};else if(e.name===`normal`){let e=t.prev;e&&e.data.type===`Operator`&&e.data.value===`/`&&this.remove(e),this.remove(t)}}}),t.isEmpty&&t.insert(t.createItem({type:`Identifier`,name:`normal`}))}function qO(e){let t=e.children.head.data;if(t.type===`Identifier`)switch(t.name){case`normal`:e.children.head.data={type:`Number`,loc:t.loc,value:`400`};break;case`bold`:e.children.head.data={type:`Number`,loc:t.loc,value:`700`}}}function JO(e){function t(){r.length||r.unshift({type:`Number`,loc:null,value:`0`},{type:`Number`,loc:null,value:`0`}),n.push.apply(n,r),r=[]}let n=[],r=[];e.children.forEach(e=>{if(e.type===`Operator`&&e.value===`,`){t(),n.push(e);return}(e.type!==`Identifier`||e.name!==`transparent`&&e.name!==`none`&&e.name!==`repeat`&&e.name!==`scroll`)&&r.push(e)}),t(),e.children=new Y().fromArray(n)}function YO(e){e.children.forEach((e,t,n)=>{e.type===`Identifier`&&e.name.toLowerCase()===`none`&&(n.head===n.tail?t.data={type:`Number`,loc:e.loc,value:`0`}:n.remove(t))})}var XO={font:KO,"font-weight":qO,background:JO,border:YO,outline:YO};function ZO(e){if(!this.declaration)return;let t=Zv(this.declaration.property);XO.hasOwnProperty(t.basename)&&XO[t.basename](e)}var QO=/^(?:\+|(-))?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/;function $O(e,t){let n=QO;return e=String(e).replace(n,`$1$2$3`),e!==``&&e!==`-`||(e=`0`),e}function ek(e){e.value=$O(e.value)}var tk=new Set([`calc`,`min`,`max`,`clamp`]),nk=new Set([`px`,`mm`,`cm`,`in`,`pt`,`pc`,`em`,`ex`,`ch`,`rem`,`vh`,`vw`,`vmin`,`vmax`,`vm`]);function rk(e,t){let n=$O(e.value);if(e.value=n,n===`0`&&this.declaration!==null&&this.atrulePrelude===null){let r=e.unit.toLowerCase();if(!nk.has(r)||this.declaration.property===`-ms-flex`||this.declaration.property===`flex`||this.function&&tk.has(this.function.name))return;t.data={type:`Number`,loc:e.loc,value:n}}}var ik=new Set([`width`,`min-width`,`max-width`,`height`,`min-height`,`max-height`,`flex`,`-ms-flex`]);function ak(e,t){e.value=$O(e.value),e.value===`0`&&this.declaration&&!ik.has(this.declaration.property)&&(t.data={type:`Number`,loc:e.loc,value:e.value},mO.matchDeclaration(this.declaration).isType(t.data,`length`)||(t.data=e))}function ok(e){e.value=e.value.replace(/\\/g,`/`)}var sk={aliceblue:`f0f8ff`,antiquewhite:`faebd7`,aqua:`0ff`,aquamarine:`7fffd4`,azure:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`000`,blanchedalmond:`ffebcd`,blue:`00f`,blueviolet:`8a2be2`,brown:`a52a2a`,burlywood:`deb887`,cadetblue:`5f9ea0`,chartreuse:`7fff00`,chocolate:`d2691e`,coral:`ff7f50`,cornflowerblue:`6495ed`,cornsilk:`fff8dc`,crimson:`dc143c`,cyan:`0ff`,darkblue:`00008b`,darkcyan:`008b8b`,darkgoldenrod:`b8860b`,darkgray:`a9a9a9`,darkgrey:`a9a9a9`,darkgreen:`006400`,darkkhaki:`bdb76b`,darkmagenta:`8b008b`,darkolivegreen:`556b2f`,darkorange:`ff8c00`,darkorchid:`9932cc`,darkred:`8b0000`,darksalmon:`e9967a`,darkseagreen:`8fbc8f`,darkslateblue:`483d8b`,darkslategray:`2f4f4f`,darkslategrey:`2f4f4f`,darkturquoise:`00ced1`,darkviolet:`9400d3`,deeppink:`ff1493`,deepskyblue:`00bfff`,dimgray:`696969`,dimgrey:`696969`,dodgerblue:`1e90ff`,firebrick:`b22222`,floralwhite:`fffaf0`,forestgreen:`228b22`,fuchsia:`f0f`,gainsboro:`dcdcdc`,ghostwhite:`f8f8ff`,gold:`ffd700`,goldenrod:`daa520`,gray:`808080`,grey:`808080`,green:`008000`,greenyellow:`adff2f`,honeydew:`f0fff0`,hotpink:`ff69b4`,indianred:`cd5c5c`,indigo:`4b0082`,ivory:`fffff0`,khaki:`f0e68c`,lavender:`e6e6fa`,lavenderblush:`fff0f5`,lawngreen:`7cfc00`,lemonchiffon:`fffacd`,lightblue:`add8e6`,lightcoral:`f08080`,lightcyan:`e0ffff`,lightgoldenrodyellow:`fafad2`,lightgray:`d3d3d3`,lightgrey:`d3d3d3`,lightgreen:`90ee90`,lightpink:`ffb6c1`,lightsalmon:`ffa07a`,lightseagreen:`20b2aa`,lightskyblue:`87cefa`,lightslategray:`789`,lightslategrey:`789`,lightsteelblue:`b0c4de`,lightyellow:`ffffe0`,lime:`0f0`,limegreen:`32cd32`,linen:`faf0e6`,magenta:`f0f`,maroon:`800000`,mediumaquamarine:`66cdaa`,mediumblue:`0000cd`,mediumorchid:`ba55d3`,mediumpurple:`9370db`,mediumseagreen:`3cb371`,mediumslateblue:`7b68ee`,mediumspringgreen:`00fa9a`,mediumturquoise:`48d1cc`,mediumvioletred:`c71585`,midnightblue:`191970`,mintcream:`f5fffa`,mistyrose:`ffe4e1`,moccasin:`ffe4b5`,navajowhite:`ffdead`,navy:`000080`,oldlace:`fdf5e6`,olive:`808000`,olivedrab:`6b8e23`,orange:`ffa500`,orangered:`ff4500`,orchid:`da70d6`,palegoldenrod:`eee8aa`,palegreen:`98fb98`,paleturquoise:`afeeee`,palevioletred:`db7093`,papayawhip:`ffefd5`,peachpuff:`ffdab9`,peru:`cd853f`,pink:`ffc0cb`,plum:`dda0dd`,powderblue:`b0e0e6`,purple:`800080`,rebe
23ccapurple:`639`,red:`f00`,rosybrown:`bc8f8f`,royalblue:`4169e1`,saddlebrown:`8b4513`,salmon:`fa8072`,sandybrown:`f4a460`,seagreen:`2e8b57`,seashell:`fff5ee`,sienna:`a0522d`,silver:`c0c0c0`,skyblue:`87ceeb`,slateblue:`6a5acd`,slategray:`708090`,slategrey:`708090`,snow:`fffafa`,springgreen:`00ff7f`,steelblue:`4682b4`,tan:`d2b48c`,teal:`008080`,thistle:`d8bfd8`,tomato:`ff6347`,turquoise:`40e0d0`,violet:`ee82ee`,wheat:`f5deb3`,white:`fff`,whitesmoke:`f5f5f5`,yellow:`ff0`,yellowgreen:`9acd32`},ck={8e5:`maroon`,800080:`purple`,808e3:`olive`,808080:`gray`,"00ffff":`cyan`,f0ffff:`azure`,f5f5dc:`beige`,ffe4c4:`bisque`,"000000":`black`,"0000ff":`blue`,a52a2a:`brown`,ff7f50:`coral`,ffd700:`gold`,"008000":`green`,"4b0082":`indigo`,fffff0:`ivory`,f0e68c:`khaki`,"00ff00":`lime`,faf0e6:`linen`,"000080":`navy`,ffa500:`orange`,da70d6:`orchid`,cd853f:`peru`,ffc0cb:`pink`,dda0dd:`plum`,f00:`red`,ff0000:`red`,fa8072:`salmon`,a0522d:`sienna`,c0c0c0:`silver`,fffafa:`snow`,d2b48c:`tan`,"008080":`teal`,ff6347:`tomato`,ee82ee:`violet`,f5deb3:`wheat`,ffffff:`white`,ffff00:`yellow`};function lk(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function uk(e,t,n,r){let i,a,o;if(t===0)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=lk(s,r,e+1/3),a=lk(s,r,e),o=lk(s,r,e-1/3)}return[Math.round(i*255),Math.round(a*255),Math.round(o*255),r]}function dk(e){return e=e.toString(16),e.length===1?`0`+e:e}function fk(e,t,n){let r=e.head,i=[],a=!1;for(;r!==null;){let{type:e,value:t}=r.data;switch(e){case`Number`:case`Percentage`:if(a)return;a=!0,i.push({type:e,value:Number(t)});break;case`Operator`:if(t===`,`){if(!a)return;a=!1}else if(a||t!==`+`)return;break;default:return}r=r.next}if(i.length===t){if(i.length===4){if(i[3].type!==`Number`)return;i[3].type=`Alpha`}if(n){if(i[0].type!==i[1].type||i[0].type!==i[2].type)return}else{if(i[0].type!==`Number`||i[1].type!==`Percentage`||i[2].type!==`Percentage`)return;i[0].type=`Angle`}return i.map(function(e){let t=Math.max(0,e.value);switch(e.type){case`Number`:t=Math.min(t,255);break;case`Percentage`:if(t=Math.min(t,100)/100,!n)return t;t*=255;break;case`Angle`:return(t%360+360)%360/360;case`Alpha`:return Math.min(t,1)}return Math.round(t)})}}function pk(e,t){let n=e.name,r;if(n===`rgba`||n===`hsla`){if(r=fk(e.children,4,n===`rgba`),!r)return;if(n===`hsla`&&(r=uk(...r),e.name=`rgba`),r[3]===0){let n=this.function&&this.function.name;if(r[0]===0&&r[1]===0&&r[2]===0||!/^(?:to|from|color-stop)$|gradient$/i.test(n)){t.data={type:`Identifier`,loc:e.loc,name:`transparent`};return}}if(r[3]!==1){e.children.forEach((e,t,n)=>{if(e.type===`Operator`){e.value!==`,`&&n.remove(t);return}t.data={type:`Number`,loc:e.loc,value:$O(r.shift())}});return}n=`rgb`}if(n===`hsl`){if(r||=fk(e.children,3,!1),!r)return;r=uk(...r),n=`rgb`}if(n===`rgb`){if(r||=fk(e.children,3,!0),!r)return;t.data={type:`Hash`,loc:e.loc,value:dk(r[0])+dk(r[1])+dk(r[2])},hk(t.data,t)}}function mk(e,t){if(this.declaration===null)return;let n=e.name.toLowerCase();if(sk.hasOwnProperty(n)&&mO.matchDeclaration(this.declaration).isType(e,`color`)){let r=sk[n];r.length+1<=n.length?t.data={type:`Hash`,loc:e.loc,value:r}:(n===`grey`&&(n=`gray`),e.name=n)}}function hk(e,t){let n=e.value.toLowerCase();n.length===6&&n[0]===n[1]&&n[2]===n[3]&&n[4]===n[5]&&(n=n[0]+n[2]+n[4]),ck[n]?t.data={type:`Identifier`,loc:e.loc,name:ck[n]}:e.value=n}var gk={Atrule:HO,AttributeSelector:GO,Value:ZO,Dimension:rk,Percentage:ak,Number:ek,Url:ok,Hash:hk,Identifier:mk,Function:pk};function _k(e){gO(e,{leave(e,t,n){gk.hasOwnProperty(e.type)&&gk[e.type].call(this,e,t,n)}})}var vk=class{constructor(){this.map=new Map}resolve(e){let t=this.map.get(e);return t===void 0&&(t=this.map.size+1,this.map.set(e,t)),t}};function yk(){let e=new vk;return function(t){let n=pO(t);return t.id=e.resolve(n),t.length=n.length,t.fingerprint=null,t}}function bk(e){return e.type===`Raw`?fO(e.value,{context:`selectorList`}):e}function xk(e,t){for(let n=0;n<3;n++)if(e[n]!==t[n])return e[n]>t[n]?e:t;return e}function Sk(e){return bk(e).children.reduce((e,t)=>xk(Ck(t),e),[0,0,0])}function Ck(e){let t=0,n=0,r=0;
23return e.children.forEach(e=>{switch(e.type){case`IdSelector`:t++;break;case`ClassSelector`:case`AttributeSelector`:n++;break;case`PseudoClassSelector`:switch(e.name.toLowerCase()){case`not`:case`has`:case`is`:case`matches`:case`-webkit-any`:case`-moz-any`:{let[i,a,o]=Sk(e.children.first);t+=i,n+=a,r+=o;break}case`nth-child`:case`nth-last-child`:{let i=e.children.first;if(i.type===`Nth`&&i.selector){let[e,a,o]=Sk(i.selector);t+=e,n+=a+1,r+=o}else n++;break}case`where`:break;case`before`:case`after`:case`first-line`:case`first-letter`:r++;break;default:n++}break;case`TypeSelector`:e.name.endsWith(`*`)||r++;break;case`PseudoElementSelector`:r++}}),[t,n,r]}var wk=new Set([`first-letter`,`first-line`,`after`,`before`]),Tk=new Set([`link`,`visited`,`hover`,`active`,`first-letter`,`first-line`,`after`,`before`]);function Ek(e,t){let n=new Set;e.prelude.children.forEach(function(e){let r=`*`,i=0;e.children.forEach(function(a){switch(a.type){case`ClassSelector`:if(t&&t.scopes){let n=t.scopes[a.name]||0;if(i!==0&&n!==i)throw Error(`Selector can't has classes from different scopes: `+pO(e));i=n}break;case`PseudoClassSelector`:{let e=a.name.toLowerCase();Tk.has(e)||n.add(`:${e}`);break}case`PseudoElementSelector`:{let e=a.name.toLowerCase();wk.has(e)||n.add(`::${e}`);break}case`TypeSelector`:r=a.name.toLowerCase();break;case`AttributeSelector`:a.flags&&n.add(`[${a.flags.toLowerCase()}]`);break;case`Combinator`:r=`*`}}),e.compareMarker=Ck(e).toString(),e.id=null,e.id=pO(e),i&&(e.compareMarker+=`:`+i),r!==`*`&&(e.compareMarker+=`,`+r)}),e.pseudoSignature=n.size>0&&[...n].sort().join(`,`)}function Dk(e,t){let n=yk();return gO(e,{visit:`Rule`,enter(e){e.block.children.forEach(n),Ek(e,t.usage)}}),gO(e,{visit:`Atrule`,enter(e){e.prelude&&(e.prelude.id=null,e.prelude.id=pO(e.prelude)),Xv(e.name).basename===`keyframes`&&(e.block.avoidRulesMerge=!0,e.block.children.forEach(function(e){e.prelude.children.forEach(function(e){e.compareMarker=e.id})}))}}),{declaration:n}}var{hasOwnProperty:Ok}=Object.prototype;function kk(e,t,n,r){let i=t.data,a=Xv(i.name).basename,o=i.name.toLowerCase()+`/`+(i.prelude?i.prelude.id:null);Ok.call(e,a)||(e[a]=Object.create(null)),r&&delete e[a][o],Ok.call(e[a],o)||(e[a][o]=new Y),e[a][o].append(n.remove(t))}function Ak(e,t){let n=Object.create(null),r=null;e.children.forEach(function(e,i,a){if(e.type===`Atrule`){let o=Xv(e.name).basename;switch(o){case`keyframes`:kk(n,i,a,!0);return;
23case`media`:if(t.forceMediaMerge){kk(n,i,a,!1);return}}r===null&&o!==`charset`&&o!==`import`&&(r=i)}else r===null&&(r=i)});for(let t in n)for(let i in n[t])e.children.insertList(n[t][i],t===`media`?null:r)}function jk(e){return e.type===`Atrule`&&e.name===`media`}function Mk(e,t,n){if(!jk(e))return;let r=t.prev&&t.prev.data;r&&jk(r)&&e.prelude&&r.prelude&&e.prelude.id===r.prelude.id&&(r.block.children.appendList(e.block.children),n.remove(t))}function Nk(e,t){Ak(e,t),gO(e,{visit:`Atrule`,reverse:!0,enter:Mk})}var{hasOwnProperty:Pk}=Object.prototype;function Fk(e,t){let n=e.head,r=t.head;for(;n!==null&&r!==null&&n.data.id===r.data.id;)n=n.next,r=r.next;return n===null&&r===null}function Ik(e,t){let n=e.head,r=t.head;for(;n!==null&&r!==null&&n.data.id===r.data.id;)n=n.next,r=r.next;return n===null&&r===null}function Lk(e,t){let n={eq:[],ne1:[],ne2:[],ne2overrided:[]},r=Object.create(null),i=Object.create(null);for(let e=t.head;e;e=e.next)i[e.data.id]=!0;for(let t=e.head;t;t=t.next){let e=t.data;e.fingerprint&&(r[e.fingerprint]=e.important),i[e.id]?(i[e.id]=!1,n.eq.push(e)):n.ne1.push(e)}for(let e=t.head;e;e=e.next){let t=e.data;i[t.id]&&((!Pk.call(r,t.fingerprint)||!r[t.fingerprint]&&t.important)&&n.ne2.push(t),n.ne2overrided.push(t))}return n}function Rk(e,t){return t.forEach(t=>{let n=t.id,r=e.head;for(;r;){let e=r.data.id;if(e===n)return;if(e>n)break;r=r.next}e.insert(e.createItem(t),r)}),e}function zk(e,t){let n=e.head;for(;n!==null;){let e=t.head;for(;e!==null;){if(n.data.compareMarker===e.data.compareMarker)return!0;e=e.next}n=n.next}return!1}function Bk(e){switch(e.type){case`Rule`:return zk(e.prelude.children,this);case`Atrule`:if(e.block)return e.block.children.some(Bk,this);break;case`Declaration`:return!1}return!0}function Vk(e,t,n){let r=e.prelude.children,i=e.block.children;n.prevUntil(t.prev,function(a){if(a.type!==`Rule`)return Bk.call(r,a);let o=a.prelude.children,s=a.block.children;if(e.pseudoSignature===a.pseudoSignature){if(Fk(o,r))return s.appendList(i),n.remove(t),!0;if(Ik(i,s))return Rk(o,r),n.remove(t),!0}return zk(r,o)})}function Hk(e){gO(e,{visit:`Rule`,enter:Vk})}function Uk(e,t,n){let r=e.prelude.children;for(;r.head!==r.tail;){let i=new Y;i.insert(r.remove(r.head)),n.insert(n.createItem({type:`Rule`,loc:e.loc,prelude:{type:`SelectorList`,loc:e.prelude.loc,children:i},block:{type:`Block`,loc:e.block.loc,children:e.block.children.copy()},pseudoSignature:e.pseudoSignature}),t)}}function Wk(e){gO(e,{visit:`Rule`,reverse:!0,enter:Uk})}var Gk=1,Kk=2,qk=0,Jk=1,Yk=2,Xk=3,Zk=[`top`,`right`,`bottom`,`left`],Qk={"margin-top":`top`,"margin-right":`right`,"margin-bottom":`bottom`,"margin-left":`left`,"padding-top":`top`,"padding-right":`right`,"padding-bottom":`bottom`,"padding-left":`left`,"border-top-color":`top`,"border-right-color":`right`,"border-bottom-color":`bottom`,"border-left-color":`left`,"border-top-width":`top`,"border-right-width":`right`,"border-bottom-width":`bottom`,"border-left-width":`left`,"border-top-style":`top`,"border-right-style":`right`,"border-bottom-style":`bottom`,"border-left-style":`left`},$k={margin:`margin`,"margin-top":`margin`,"margin-right":`margin`,"margin-bottom":`margin`,"margin-left":`margin`,padding:`padding`,"padding-top":`padding`,"padding-right":`padding`,"padding-bottom":`padding`,"padding-left":`padding`,"border-color":`border-color`,"border-top-color":`border-color`,"border-right-color":`border-color`,"border-bottom-color":`border-color`,"border-left-color":`border-color`,"border-width":`border-width`,"border-top-width":`border-width`,"border-right-width":`border-width`,"border-bottom-width":`border-width`,"border-left-width":`border-width`,"border-style":`border-style`,"border-top-style":`border-style`,"border-right-style":`border-style`,"border-bottom-style":`border-style`,"border-left-style":`border-style`},eA=class{constructor(e){this.name=e,this.loc=null,this.iehack=void 0,this.sides={top:null,right:null,bottom:null,left:null}}getValueSequence(e,t){let n=[],r=``;return e.value.type!==`Value`||e.value.children.some(function(t){let i=!1;switch(t.type){case`Identifier`:switch(t.name){case`\\0`:case`\\9`:r=t.name;return;case`inherit`:case`initial`:case`unset`:case`revert`:i=t.name}break;case`Dimension`:switch(t.unit){case`rem`:case`vw`:case`vh`:case`vmin`:case`vmax`:case`vm`:i=t.unit}break;case`Hash`:case`Number`:case`Percentage`:break;case`Function`:if(t.name===`var`)return!0;
vendor: 4,497 bytes, line 23
23i=t.name;break;default:return!0}n.push({node:t,special:i,important:e.important})})||n.length>t||typeof this.iehack==`string`&&this.iehack!==r?!1:(this.iehack=r,n)}canOverride(e,t){let n=this.sides[e];return!n||t.important&&!n.important}add(e,t){function n(){let n=this.sides,r=Qk[e];if(r){if(!(r in n))return!1;let e=this.getValueSequence(t,1);if(!e||!e.length)return!1;for(let t in n)if(n[t]!==null&&n[t].special!==e[0].special)return!1;return this.canOverride(r,e[0])&&(n[r]=e[0]),!0}if(e===this.name){let e=this.getValueSequence(t,4);if(!e||!e.length)return!1;switch(e.length){case 1:e[Jk]=e[qk],e[Yk]=e[qk],e[Xk]=e[qk];break;case 2:e[Yk]=e[qk],e[Xk]=e[Jk];break;case 3:e[Xk]=e[Jk]}for(let t=0;t<4;t++)for(let r in n)if(n[r]!==null&&n[r].special!==e[t].special)return!1;for(let t=0;t<4;t++)this.canOverride(Zk[t],e[t])&&(n[Zk[t]]=e[t]);return!0}}return n.call(this)?(this.loc||=t.loc,!0):!1}isOkToMinimize(){let e=this.sides.top,t=this.sides.right,n=this.sides.bottom,r=this.sides.left;if(e&&t&&n&&r){let i=e.important+t.important+n.important+r.important;return i===0||i===4}return!1}getValue(){let e=new Y,t=this.sides,n=[t.top,t.right,t.bottom,t.left],r=[pO(t.top.node),pO(t.right.node),pO(t.bottom.node),pO(t.left.node)];r[Xk]===r[Jk]&&(n.pop(),r[Yk]===r[qk]&&(n.pop(),r[Jk]===r[qk]&&n.pop()));for(let t=0;t<n.length;t++)e.appendData(n[t].node);return this.iehack&&e.appendData({type:`Identifier`,loc:null,name:this.iehack}),{type:`Value`,loc:null,children:e}}getDeclaration(){return{type:`Declaration`,loc:this.loc,important:this.sides.top.important,property:this.name,value:this.getValue()}}};function tA(e,t,n,r){let i=e.block.children,a=e.prelude.children.first.id;return e.block.children.forEachRight(function(e,o){let s=e.property;if(!$k.hasOwnProperty(s))return;let c=$k[s],l,u;if((!r||a===r)&&c in t&&(u=Kk,l=t[c]),(!l||!l.add(s,e))&&(u=Gk,l=new eA(c),!l.add(s,e))){r=null;return}t[c]=l,n.push({operation:u,block:i,item:o,shorthand:l}),r=a}),r}function nA(e,t){e.forEach(function(e){let n=e.shorthand;n.isOkToMinimize()&&(e.operation===Gk?e.item.data=t(n.getDeclaration()):e.block.remove(e.item))})}function rA(e,t){let n={},r=[];gO(e,{visit:`Rule`,reverse:!0,enter(e){let t=this.block||this.stylesheet,i=(e.pseudoSignature||``)+`|`+e.prelude.children.first.id,a,o;n.hasOwnProperty(t.id)?a=n[t.id]:(a={lastShortSelector:null},n[t.id]=a),a.hasOwnProperty(i)?o=a[i]:(o={},a[i]=o),a.lastShortSelector=tA.call(this,e,o,r,a.lastShortSelector)}}),nA(r,t.declaration)}var iA=1,aA=new Set([`src`]),oA={display:/table|ruby|flex|-(flex)?box$|grid|contents|run-in/i,"text-align":/^(start|end|match-parent|justify-all)$/i},sA={cursor:[`auto`,`crosshair`,`default`,`move`,`text`,`wait`,`help`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`pointer`,`progress`,`not-allowed`,`no-drop`,`vertical-text`,`all-scroll`,`col-resize`,`row-resize`],overflow:[`hidden`,`visible`,`scroll`,`auto`],position:[`static`,`relative`,`absolute`,`fixed`]},cA={"border-width":[`border`],"border-style":[`border`],"border-color":[`border`],"border-top":[`border`],"border-right":[`border`],"border-bottom":[`border`],"border-left":[`border`],"border-top-width":[`border-top`,`border-width`,`border`],"border-right-width":[`border-right`,`border-width`,`border`],"border-bottom-width":[`border-bottom`,`border-width`,`border`],"border-left-width":[`border-left`,`border-width`,`border`],"border-top-style":[`border-top`,`border-style`,`border`],"border-right-style":[`border-right`,`border-style`,`border`],"border-bottom-style":[`border-bottom`,`border-style`,`border`],"border-left-style":[`border-left`,`border-style`,`border`],"border-top-color":[`border-top`,`border-color`,`border`],"border-right-color":[`border-right`,`border-color`,`border`],"border-bottom-color":[`border-bottom`,`border-color`,`border`],"border-left-color":[`border-left`,`border-color`,`border`],"margin-top":[`margin`],"margin-right":[`margin`],"margin-bottom":[`margin`],"margin-left":[`margin`],"padding-top":[`padding`],"padding-right":[`padding`],"padding-bottom":[`padding`],"padding-left":[`padding`],"font-style":[`font`],"font-variant":[`font`],"font-weight":[`font`],"font-size":[`font`],"font-family":[`font`],"list-style-type":[`list-style`],"list-style-position":[`list-style`],"list-style-image":[`list-style`]};function lA(e,t,n){let r=Zv(e).basename;if(r===`background`)return e+`:`+pO(t.value);let i=t.id,a=n[i];if(!a){switch(t.value.type){case`Value`:let e={},n=``,i=``,o=!1;
23t.value.children.forEach(function t(a){switch(a.type){case`Value`:case`Brackets`:case`Parentheses`:a.children.forEach(t);break;case`Raw`:o=!0;break;case`Identifier`:{let{name:t}=a;n||=Xv(t).vendor,/\\[09]/.test(t)&&(i=RegExp.lastMatch),sA.hasOwnProperty(r)?sA[r].indexOf(t)===-1&&(e[t]=!0):oA.hasOwnProperty(r)&&oA[r].test(t)&&(e[t]=!0);break}case`Function`:{let{name:r}=a;n||=Xv(r).vendor,r===`rect`&&(a.children.some(e=>e.type===`Operator`&&e.value===`,`)||(r=`rect-backward`)),e[r+`()`]=!0,a.children.forEach(t);break}case`Dimension`:{let{unit:t}=a;switch(/\\[09]/.test(t)&&(i=RegExp.lastMatch),t){case`rem`:case`vw`:case`vh`:case`vmin`:case`vmax`:case`vm`:e[t]=!0}break}}}),a=o?`!`+iA++:`!`+Object.keys(e).sort()+`|`+i+n;break;case`Raw`:a=`!`+t.value.value;break;default:a=pO(t.value)}n[i]=a}return e+a}function uA(e,t,n){let r=Zv(t.property);if(cA.hasOwnProperty(r.basename)){let i=cA[r.basename];for(let a of i){let i=lA(r.prefix+a,t,n),o=e.hasOwnProperty(i)?e[i]:null;if(o&&(!t.important||o.item.data.important))return o}}}function dA(e,t,n,r,i){let a=e.block.children;a.forEachRight(function(e,t){let{property:n}=e,o=lA(n,e,i),s=r[o];s&&!aA.has(n)?e.important&&!s.item.data.important?(r[o]={block:a,item:t},s.block.remove(s.item)):a.remove(t):uA(r,e,i)?a.remove(t):(e.fingerprint=o,r[o]={block:a,item:t})}),a.isEmpty&&n.remove(t)}function fA(e){let t={},n=Object.create(null);gO(e,{visit:`Rule`,reverse:!0,enter(e,r,i){let a=this.block||this.stylesheet,o=(e.pseudoSignature||``)+`|`+e.prelude.children.first.id,s,c;t.hasOwnProperty(a.id)?s=t[a.id]:(s={},t[a.id]=s),s.hasOwnProperty(o)?c=s[o]:(c={},s[o]=c),dA.call(this,e,r,i,c,n)}})}function pA(e,t,n){let r=e.prelude.children,i=e.block.children,a=r.first.compareMarker,o={};n.nextUntil(t.next,function(t,s){if(t.type!==`Rule`)return Bk.call(r,t);if(e.pseudoSignature!==t.pseudoSignature)return!0;let c=t.prelude.children.head,l=t.block.children,u=c.data.compareMarker;if(u in o)return!0;if(r.head===r.tail&&r.first.id===c.data.id){i.appendList(l),n.remove(s);return}if(Ik(i,l)){let e=c.data.id;r.some((t,n)=>{let i=t.id;if(e<i)return r.insert(c,n),!0;if(!n.next)return r.insert(c),!0}),n.remove(s);return}if(u===a)return!0;o[u]=!0})}function mA(e){gO(e,{visit:`Rule`,enter:pA})}function hA(e){return e.reduce((e,t)=>e+t.id.length+1,0)-1}function gA(e){let t=0;for(let n of e)t+=n.length;return t+e.length-1}function _A(e,t,n){let r=this.block!==null&&this.block.avoidRulesMerge,i=e.prelude.children,a=e.block,o=Object.create(null),s=!0,c=!0;n.prevUntil(t.prev,function(l,u){let d=l.block,f=l.type;if(f!==`Rule`){let e=Bk.call(i,l);return!e&&f===`Atrule`&&d&&gO(d,{visit:`Rule`,enter(e){e.prelude.children.forEach(e=>{o[e.compareMarker]=!0})}}),e}if(e.pseudoSignature!==l.pseudoSignature)return!0;let p=l.prelude.children;if(c=!p.some(e=>e.compareMarker in o),!c&&!s)return!0;if(s&&Fk(p,i))return d.children.appendList(a.children),n.remove(t),!0;let m=Lk(a.children,d.children);if(m.eq.length){if(!m.ne1.length&&!m.ne2.length)return c&&(Rk(i,p),n.remove(u)),!0;if(!r){if(m.ne1.length&&!m.ne2.length){let e=hA(i),t=gA(m.eq);s&&e<t&&(Rk(p,i),a.children.fromArray(m.ne1))}else if(!m.ne1.length&&m.ne2.length){let e=hA(p),t=gA(m.eq);c&&e<t&&(Rk(i,p),d.children.fromArray(m.ne2))}else{let r={type:`SelectorList`,loc:null,children:Rk(p.copy(),i)},o=hA(r.children)+2;if(gA(m.eq)>=o){let i=n.createItem({type:`Rule`,loc:null,prelude:r,block:{type:`Block`,loc:null,children:new Y().fromArray(m.eq)},pseudoSignature:e.pseudoSignature});return a.children.fromArray(m.ne1),d.children.fromArray(m.ne2overrided),s?n.insert(i,u):n.insert(i,t),!0}}}}s&&=!p.some(e=>i.some(t=>t.compareMarker===e.compareMarker)),p.forEach(e=>{o[e.compareMarker]=!0})})}function vA(e){gO(e,{visit:`Rule`,reverse:!0,enter:_A})}function yA(e,t){let n=Dk(e,t);t.logger(`prepare`,e),Nk(e,t),t.logger(`mergeAtrule`,e),Hk(e),t.logger(`initialMergeRuleset`,e),Wk(e),t.logger(`disjoinRuleset`,e),rA(e,n),t.logger(`restructShorthand`,e),fA(e),t.logger(`restructBlock`,e),mA(e),t.logger(`mergeRuleset`,e),vA(e),t.logger(`restructRuleset`,e)}function bA(e,t){let n=new Y,r=!1,i;return e.nextUntil(e.head,(e,a,o)=>
23{if(e.type===`Comment`){if(!t||e.value.charAt(0)!==`!`){o.remove(a);return}if(r||i)return!0;o.remove(a),i=e;return}e.type!==`WhiteSpace`&&(r=!0),n.insert(o.remove(a))}),{comment:i,stylesheet:{type:`StyleSheet`,loc:null,children:n}}}function xA(e,t,n,r){r.logger(`Compress block #${n}`,null,!0);let i=1;return e.type===`StyleSheet`&&(e.firstAtrulesAllowed=t,e.id=i++),gO(e,{visit:`Atrule`,enter(e){e.block!==null&&(e.block.id=i++)}}),r.logger(`init`,e),BO(e,r),r.logger(`clean`,e),_k(e),r.logger(`replace`,e),r.restructuring&&yA(e,r),e}function SA(e){let t=`comments`in e?e.comments:`exclamation`;return typeof t==`boolean`?t=!!t&&`exclamation`:t!==`exclamation`&&t!==`first-exclamation`&&(t=!1),t}function CA(e){return`restructure`in e?e.restructure:!(`restructuring`in e)||e.restructuring}function wA(e){return new Y().appendData({type:`Rule`,loc:null,prelude:{type:`SelectorList`,loc:null,children:new Y().appendData({type:`Selector`,loc:null,children:new Y().appendData({type:`TypeSelector`,loc:null,name:`x`})})},block:e})}function TA(e,t){e||={type:`StyleSheet`,loc:null,children:new Y},t||={};let n={logger:typeof t.logger==`function`?t.logger:function(){}
23,restructuring:CA(t),forceMediaMerge:!!t.forceMediaMerge,usage:!!t.usage&&EO(t.usage)},r=new Y,i=SA(t),a=!0,o,s,c=1,l;t.clone&&(e=uO(e)),e.type===`StyleSheet`?(o=e.children,e.children=r):o=wA(e);do{if(s=bA(o,!!i),xA(s.stylesheet,a,c++,n),l=s.stylesheet.children,s.comment&&(r.isEmpty||r.insert(Y.createItem({type:`Raw`,value:` 24`})),r.insert(Y.createItem(s.comment)),l.isEmpty||r.insert(Y.createItem({type:`Raw`,value:` 25`}))),a&&!l.isEmpty){let e=l.last;(e.type!==`Atrule`||e.name!==`import`&&e.name!==`charset`)&&(a=!1)}i!==`exclamation`&&(i=!1),r.appendList(l)}while(!o.isEmpty);return{ast:e}}function EA(e){let t=bE(e,!0),n=bE(e);return t.length<n.length?t:n}var{lexer:DA,tokenize:OA,parse:kA,generate:AA,walk:jA,find:MA,findLast:NA,findAll:PA,fromPlainObject:FA,toPlainObject:IA}=SO({node:{String:{generate(e){this.token(Lg,EA(e.value))}},Url:{generate(e){let t=sD(e.value),n=EA(e.value);this.token(zg,t.length<=n.length+5?t:`url(`+n+`)`)}}}}),{parse:LA,generate:RA,compress:zA}=Object.freeze({__proto__:null,compress:TA,find:MA,findAll:PA,findLast:NA,fromPlainObject:FA,generate:AA,lexer:DA,parse:kA,specificity:Ck,toPlainObject:IA,tokenize:OA,walk:jA});function BA(e,t,n,r){return t.debug&&console.error(`## ${e} done in %d ms\n`,Date.now()-n),r}function VA(e){let t;return function(n,r){let i=n;if(r&&(i=`[${((Date.now()-t)/1e3).toFixed(3)}s] ${i}`),e>1&&r){let t=RA(r);e===2&&t.length>256&&(t=t.substr(0,256)+`...`),i+=`\n ${t}\n`}console.error(i),t=Date.now()}}function HA(e){return e={...e},typeof e.logger!=`function`&&e.debug&&(e.logger=VA(e.debug)),e}function UA(e,t,n){Array.isArray(n)||(n=[n]),n.forEach(n=>n(e,t))}function WA(e,t,n){n||={};let r=n.filename||`<unknown>`,i,a=BA(`parsing`,n,Date.now(),LA(t,{context:e,filename:r,positions:!!n.sourceMap}));n.beforeCompress&&BA(`beforeCompress`,n,Date.now(),UA(a,n,n.beforeCompress));let o=BA(`compress`,n,Date.now(),zA(a,HA(n)));return n.afterCompress&&BA(`afterCompress`,n,Date.now(),UA(o,n,n.afterCompress)),i=n.sourceMap?BA(`generate(sourceMap: true)`,n,Date.now(),(()=>{let e=RA(o.ast,{sourceMap:!0});return e.map._file=r,e.map.setSourceContent(r,t),e})()):BA(`generate`,n,Date.now(),{css:RA(o.ast),map:null}),i}function GA(e,t){return WA(`stylesheet`,e,t)}function KA(e,t){return WA(`declarationList`,e,t)}var qA=Og.skip,JA=(e,t)=>{let n=[];e.block.children.forEach(e=>{e.type===`Declaration`&&n.push({name:e.property,value:Tg(e.value),important:e.important===!0})});let r=[];return Og(e.prelude,e=>{if(e.type===`Selector`){let i=Sg(e),a=!1;Og(i,(e,t,n)=>{e.type===`PseudoClassSelector`&&(a=!0,n.remove(t))}),r.push({specificity:Ck(e),dynamic:a||t,selector:Tg(i),declarations:n})}}),r},YA=(e,t)=>{let n=[];return Og(wg(e,{parseValue:!1,parseAtrulePrelude:!1}),e=>{if(e.type===`Rule`)return n.push(...JA(e,t||!1)),qA;if(e.type===`Atrule`)return[`keyframes`,`-webkit-keyframes`,`-o-keyframes`,`-moz-keyframes`].includes(e.name)||Og(e,e=>{if(e.type===`Rule`)return n.push(...JA(e,t||!0)),qA}),qA}),n},XA=e=>{let t=[];return Og(wg(e,{context:`declarationList`,parseValue:!1}),e=>{e.type===`Declaration`&&t.push({name:e.property,value:Tg(e.value),important:e.important===!0})}),t},ZA=(e,t,n)=>{let r={},i=new Map;for(let[e,n]of Object.entries(t.attributes))rr.presentation.has(e)&&(r[e]={type:`static`,inherited:!1,value:n},i.set(e,!1));for(let{selector:a,declarations:o,dynamic:s}of e.rules)if(qn(t,a,n))for(let{name:e,value:t,important:n}of o){let a=r[e];if(!(a&&a.type===`dynamic`)){if(s){r[e]={type:`dynamic`,inherited:!1};continue}(a==null||n===!0||i.get(e)===!1)&&(r[e]={type:`static`,inherited:!1,value:t},i.set(e,n))}}let a=t.attributes.style==null?[]:XA(t.attributes.style);for(let{name:e,value:t,important:n}of a){let a=r[e];a&&a.type===`dynamic`||(a==null||n===!0||i.get(e)===!1)&&(r[e]={type:`static`,inherited:!1,value:t},i.set(e,n))}return r},QA=(e,t)=>{for(let n=0;n<4;n+=1){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},$A=e=>{let n=[],r=new Map;return t(e,{element:{enter:(e,t)=>{if(r.set(e,t),e.name===`style`&&(e.attributes.type==null||e.attributes.type===``||e.attributes.type===`text/css`)){let t=e.attributes.media!=null&&e.attributes.media!==`all`;for(let r of e.children)r.type!==`text`&&r.type!==`cdata`||n.push(...YA(r.value,t))}}}}),n.sort((e,t)=>
25QA(e.specificity,t.specificity)),{rules:n,parents:r}},ej=(e,t)=>{let{parents:n}=e,r=ZA(e,t,n),i=n.get(t);for(;i!=null&&i.type!==`root`;){let t=ZA(e,i,n);for(let[e,n]of Object.entries(t))r[e]==null&&lr.has(e)&&!ur.has(e)&&(r[e]={...n,inherited:!0});i=n.get(i)}return r},tj=(e,t,n=null,r=!1)=>{let i=ne(typeof e==`string`?e:Tg(e.data));for(let e of i)if(e.some((i,a)=>r&&(a===e.length-1||!v(e[a+1]))||i.type!==`attribute`||i.name!==t?!1:n==null||i.value===n))return!0;return!1},nj=`removeDeprecatedAttrs`,rj=`removes deprecated attributes`;function ij(e){let t=new Set;return e.rules.forEach(e=>{ne(e.selector).forEach(e=>{e.forEach(e=>{e.type===`attribute`&&t.add(e.name)})})}),t}function aj(e,t,n,r){t&&(t.safe&&t.safe.forEach(t=>{r.has(t)||delete e.attributes[t]}),n.removeUnsafe&&t.unsafe&&t.unsafe.forEach(t=>{r.has(t)||delete e.attributes[t]}))}function oj(e,t){let n=ij($A(e));return{element:{enter:e=>{let r=or[e.name];r&&(r.attrsGroups.has(`core`)&&e.attributes[`xml:lang`]&&!n.has(`xml:lang`)&&e.attributes.lang&&delete e.attributes[`xml:lang`],r.attrsGroups.forEach(r=>{aj(e,ar[r],t,n)}),aj(e,r.deprecated,t,n))}}}}var sj=Object.freeze({__proto__:null,description:rj,fn:oj,name:nj}),cj=Object.freeze({__proto__:null,description:`removes <metadata>`,fn:()=>({element:{enter:(e,t)=>{e.name===`metadata`&&T(e,t)}}}),name:`removeMetadata`}),lj=Object.freeze({__proto__:null,description:`removes editors namespaces, elements and attributes`,fn:(e,t)=>{let n=[...sr];Array.isArray(t.additionalNamespaces)&&(n=[...sr,...t.additionalNamespaces]);let r=[];return{element:{enter:(e,t)=>{if(e.name===`svg`)for(let[t,i]of Object.entries(e.attributes))t.startsWith(`xmlns:`)&&n.includes(i)&&(r.push(t.slice(6)),delete e.attributes[t]);for(let t of Object.keys(e.attributes))if(t.includes(`:`)){let[n]=t.split(`:`);r.includes(n)&&delete e.attributes[t]}if(e.name.includes(`:`)){let[n]=e.name.split(`:`);r.includes(n)&&T(e,t)}}}}},name:`removeEditorsNSData`}),uj=`cleanupAttrs`,dj=`cleanups attributes from newlines, trailing and repeating spaces`,fj=/(\S)\r?\n(\S)/g,pj=/\r?\n/g,mj=/\s{2,}/g,hj=Object.freeze({__proto__:null,description:dj,fn:(e,t)=>{let{newlines:n=!0,trim:r=!0,spaces:i=!0}=t;return{element:{enter:e=>{for(let t of Object.keys(e.attributes))n&&(e.attributes[t]=e.attributes[t].replace(fj,(e,t,n)=>t+` `+n),e.attributes[t]=e.attributes[t].replace(pj,``)),r&&(e.attributes[t]=e.attributes[t].trim()),i&&(e.attributes[t]=e.attributes[t].replace(mj,` `))}}}},name:uj}),gj=Object.freeze({__proto__:null,description:`merge multiple style elements into one`,fn:()=>{let t=null,n=``,r=`text`;return{element:{enter:(i,a)=>{if(i.name===`foreignObject`)return e;if(i.name!==`style`||i.attributes.type!=null&&i.attributes.type!==``&&i.attributes.type!==`text/css`)return;let o=``;for(let e of i.children)e.type===`text`&&(o+=e.value),e.type===`cdata`&&(r=`cdata`,o+=e.value);if(o.trim().length===0){T(i,a);return}i.attributes.media==null?n+=o:(n+=`@media ${i.attributes.media}{${o}}`,delete i.attributes.media),t==null?t=i:(T(i,a),t.children=[{type:r,value:n}])}}}},name:`mergeStyles`}),_j=`inlineStyles`,vj=`inline styles (additional options)`,yj=[...mr.functional,...mr.treeStructural],bj=Object.freeze({__proto__:null,description:vj,fn:(t,n)=>{let{onlyMatchedOnce:r=!0,removeMatchedSelectors:i=!0,useMqs:a=[``,`screen`],usePseudos:o=[``]}=n,s=[],c=[];return{element:{enter:(t,n)=>{if(t.name===`foreignObject`)return e;if(t.name!==`style`||t.children.length===0||t.attributes.type!=null&&t.attributes.type!==``&&t.attributes.type!==`text/css`)return;let r=t.children.filter(e=>e.type===`text`||e.type===`cdata`).map(e=>e.value).join(``),i;try{i=wg(r,{parseValue:!1,parseCustomProperty:!1})}catch{return}i.type===`StyleSheet`&&s.push({node:t,parentNode:n,cssAst:i}),Og(i,{visit:`Rule`,enter(e){let t=this.atrule,n=``;t!=null&&(n=t.name,t.prelude!=null&&(n+=` ${Tg(t.prelude)}`)),a.includes(n)&&e.prelude.type===`SelectorList`&&e.prelude.children.forEach((t,n)=>{if(t.type===`Selector`){let r=[];t.children.forEach((e,t,n)=>{(e.type===`PseudoClassSelector`||e.type===`PseudoElementSelector`)&&!yj.includes(e.name)&&r.push({item:t,list:n})});let i=Tg({type:`Selector`,children:new ki().fromArray(r.map(e=>e.item.data))});if(o.includes(i))for(let e of r)e.list.remove(e.item);c.push({node:t,rule:e,item:n})}})}})}},root:{exit:()=>{if(s.length===0)return;let e=c.slice().sort((e,t)=>
25QA(Ck(e.item.data),Ck(t.item.data))).reverse();for(let n of e){let e=Tg(n.item.data),a=[];try{for(let n of Gn(t,e))n.type===`element`&&a.push(n)}catch{continue}if(a.length!==0&&!(r&&a.length>1)){for(let e of a){let t=wg(e.attributes.style??``,{context:`declarationList`,parseValue:!1});if(t.type!==`DeclarationList`)continue;let r=new Map,i;Og(t,{visit:`Declaration`,enter(e,t){i??=t,r.set(e.property.toLowerCase(),t)}}),Og(n.rule,{visit:`Declaration`,enter(n){let a=n.property;rr.presentation.has(a)&&!c.some(e=>tj(e.item,a))&&delete e.attributes[a];let o=r.get(a),s=t.children.createItem(n);o==null?t.children.insert(s,i):o.data.important!==!0&&n.important===!0&&(t.children.replace(o,s),r.set(a,s))}});let a=Tg(t);a.length!==0&&(e.attributes.style=a)}i&&a.length!==0&&n.rule.prelude.type===`SelectorList`&&n.rule.prelude.children.remove(n.item),n.matchedElements=a}}if(i){for(let t of e)if(t.matchedElements!=null&&!(r&&t.matchedElements.length>1))for(let e of t.matchedElements){let n=new Set(e.attributes.class==null?null:e.attributes.class.split(` `));for(let e of t.node.children)e.type!==`ClassSelector`||c.some(t=>tj(t.item,`class`,e.name,!0))||n.delete(e.name);n.size===0?delete e.attributes.class:e.attributes.class=Array.from(n).join(` `);let r=t.node.children.first;r?.type!==`IdSelector`||e.attributes.id!==r.name||c.some(e=>tj(e.item,`id`,r.name,!0))||delete e.attributes.id}for(let e of s)if(Og(e.cssAst,{visit:`Rule`,enter:function(e,t,n){e.type===`Rule`&&e.prelude.type===`SelectorList`&&e.prelude.children.isEmpty&&n.remove(t)}}),e.cssAst.children.isEmpty)T(e.node,e.parentNode);else{let t=e.node.children[0];t.type!==`text`&&t.type!==`cdata`||(t.value=Tg(e.cssAst))}}}}}},name:_j}),xj=/\burl\((["'])?#(.+?)\1\)/g,Sj=/^#(.+?)$/,Cj=/(\w+)\.[a-zA-Z]/,wj=(e,t)=>{let n=`data:image/svg+xml`;return t&&t!==`base64`?t===`enc`?e=n+`,`+encodeURIComponent(e):t===`unenc`&&(e=n+`,`+e):(n+=`;base64,`,e=n+Buffer.from(e).toString(`base64`)),e},Tj=(e,t,n)=>{let r=``,i,a;return e.forEach((e,n)=>{i=` `,n==0&&(i=``),t.noSpaceAfterFlags;let o=t.leadingZero?Ej(e):e.toString();t.negativeExtraSpace&&i!=``&&(e<0||o.charAt(0)===`.`&&a%1!=0)&&(i=``),a=e,r+=i+o}),r},Ej=e=>{let t=e.toString();return 0<e&&e<1&&t.startsWith(`0`)?t.slice(1):-1<e&&e<0&&t[1]===`0`?t[0]+t.slice(2):t},Dj=[...rr.animationEvent,...rr.documentEvent,...rr.documentElementEvent,...rr.globalEvent,...rr.graphicalEvent],Oj=new Set([`application/xhtml+xml`,`image/svg+xml`,`text/html`]),kj=e=>{let t=e.replace(/[\t\n\r]/g,``).trimStart().toLowerCase();if(t.startsWith(`javascript:`)||t.startsWith(`vbscript:`))return!0;if(!t.startsWith(`data:`))return!1;let n=t.slice(5).search(/[;,]/);if(n===-1)return!1;let r=t.slice(5,n+5).trim();return Oj.has(r)},Aj=e=>e.name===`script`&&e.children.length!==0||e.name===`a`&&Object.entries(e.attributes).some(([e,t])=>(e===`href`||e.endsWith(`:href`))&&t!=null&&kj(t))?!0:Dj.some(t=>e.attributes[t]!=null),jj=e=>new RegExp(xj).test(e),Mj=e=>/var\s*\(\s*--/.test(e),Nj=(e,t)=>{let n=[];if(cr.has(e)){let e=t.matchAll(xj);for(let t of e)n.push(t[2])}if(e===`href`||e.endsWith(`:href`)){let e=Sj.exec(t);e!=null&&n.push(e[1])}if(e===`begin`){let e=Cj.exec(t);e!=null&&n.push(e[1])}return n.map(e=>decodeURI(e))},Pj=(e,t)=>{let n=10**t;return Math.round(e*n)/n},Fj=Object.freeze({__proto__:null,description:`minifies styles and removes unused styles`,fn:(e,{usage:t,...n})=>{let r=new Map,i=[],a=new Set,o=new Set,s=new Set,c=!0,l=!0,u=!0,d=!1;typeof t==`boolean`?(c=t,l=t,u=t):t&&(c=t.tags==null||t.tags,l=t.ids==null||t.ids,u=t.classes==null||t.classes,d=t.force!=null&&t.force);let f=!1;return{element:{enter:(e,t)=>{if(Aj(e)&&(f=!0),a.add(e.name),e.attributes.id!=null&&o.add(e.attributes.id),e.attributes.class!=null)for(let t of e.attributes.class.split(/\s+/))s.add(t);e.name===`style`&&e.children.length!==0?r.set(e,t):e.attributes.style!=null&&i.push(e)}},root:{exit:()=>{let e={};(!f||d)&&(c&&(e.tags=Array.from(a)),l&&(e.ids=Array.from(o)),u&&(e.classes=Array.from(s)));for(let[t,i]of r.entries())if(t.children[0].type===`text`||t.children[0].type===`cdata`){let r=t.children[0].value,a=GA(r,{...n,usage:e}).css;if(a.length===0){T(t,i);continue}r.indexOf(`>`)>=0||r.indexOf(`<`)>=0?(t.children[0].type=`cdata`,t.children[0].value=a):(t.children[0].type=`text`,t.children[0].value=a)}for(let e of i){let t=e.attributes.style;e.attributes.style=KA(t,{...n}).css}}}}},name:`minifyStyles`}),Ij=`cleanupIds`,Lj=`removes unused IDs and minifies used`,Rj=`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``),zj=Rj.length-1,Bj=(e,t)=>{for(let n of t)if(e.startsWith(n))return!0;return!1},Vj=e=>{if(e==null)return[0];e[e.length-1]+=1;for(let t=e.length-1;t>0;t--)e[t]>zj&&(e[t]=0,e[t-1]!==void 0&&e[t-1]++);return e[0]>zj&&(e[0]=0,e.unshift(0)),e},Hj=e=>e.map(e=>Rj[e]).join(``),Uj=Object.freeze({__proto__:null,description:Lj,fn:(t,n)=>{let{remove:r=!0,minify:i=!0,preserve:a=[],preservePrefixes:o=[],force:s=!1}=n,c=new Set(Array.isArray(a)?a:a?[a]:[]),l=Array.isArray(o)?o:o?[o]:[],u=new Map,d=new Map,f=!1;return{element:{enter:t=>{if(!s){if(t.name===`style`&&t.children.length!==0||Aj(t)){f=!0;return}if(t.name===`svg`){let n=!0;for(let e of t.children)if(e.type!==`element`||e.name!==`defs`){n=!1;break}if(n)return e}}for(let[e,n]of Object.entries(t.attributes))if(e===`id`){let e=n;u.has(e)?delete t.attributes.id:u.set(e,t)}else{let r=Nj(e,n);for(let n of r){let r=d.get(n);r??(r=[],d.set(n,r)),r.push({element:t,name:e})}}}},root:{exit:()=>{if(f)return;let e=e=>c.has(e)||Bj(e,l),t=null;for(let[n,r]of d){let a=u.get(n);if(a!=null){if(i&&e(n)===!1){let i;do t=Vj(t),i=Hj(t);while(e(i)||d.has(i)&&u.get(i)==null);a.attributes.id=i;for(let{element:e,name:t}of r){let r=e.attributes[t];r.includes(`#`)?e.attributes[t]=r.replace(`#${encodeURI(n)}`,`#${i}`).replace(`#${n}`,`#${i}`):e.attributes[t]=r.replace(`${n}.`,`${i}.`)}}u.delete(n)}}if(r)for(let[t,n]of u)e(t)===!1&&delete n.attributes.id}}}},name:Ij}),Wj=`removeUselessDefs`,Gj=`removes elements in <defs> without id`,Kj=()=>({element:{enter:(e,t)=>
25{if(e.name===`defs`||er.nonRendering.has(e.name)&&e.attributes.id==null){let n=[];qj(e,n),n.length===0&&T(e,t),e.children=n}}}}),qj=(e,t)=>{for(let n of e.children)n.type===`element`&&(n.attributes.id!=null||n.name===`style`?t.push(n):qj(n,t))},Jj=Object.freeze({__proto__:null,description:Gj,fn:Kj,name:Wj}),Yj=`cleanupNumericValues`,Xj=`rounds numeric values to the fixed precision, removes default "px" units`,Zj=/^([-+]?\d*\.?\d+([eE][-+]?\d+)?)(px|pt|pc|mm|cm|m|in|ft|em|ex|%)?$/,Qj={cm:96/2.54,mm:96/25.4,in:96,pt:4/3,pc:16,px:1},$j=Object.freeze({__proto__:null,description:Xj,fn:(e,t)=>{let{floatPrecision:n=3,leadingZero:r=!0,defaultPx:i=!0,convertToPx:a=!0}=t;return{element:{enter:e=>{if(e.attributes.viewBox!=null){let t=e.attributes.viewBox.trim().split(/(?:\s,?|,)\s*/g);e.attributes.viewBox=t.map(e=>{let t=Number(e);return Number.isNaN(t)?e:Number(t.toFixed(n))}).join(` `)}for(let[t,o]of Object.entries(e.attributes)){if(t===`version`)continue;let s=Zj.exec(o);if(s){let o=Number(Number(s[1]).toFixed(n)),c=s[3]||``;if(a&&c!==``&&c in Qj){let e=Number((Qj[c]*Number(s[1])).toFixed(n));e.toString().length<s[0].length&&(o=e,c=`px`)}let l;l=r?Ej(o):o.toString(),i&&c===`px`&&(c=``),e.attributes[t]=l+c}}}}}},name:Yj}),eM=`convertColors`,tM=`converts colors: rgb() to #rrggbb and #rrggbb to #rgb`,nM=`([+-]?(?:\\d*\\.\\d+|\\d+\\.?)%?)`,rM=`(?:\\s*,\\s*|\\s+)`,iM=RegExp(`^rgb\\(\\s*`+nM+rM+nM+rM+nM+`\\s*\\)$`),aM=/^#(([a-fA-F0-9])\2){3}$/,oM=([e,t,n])=>`#`+((256+e<<8|t)<<8|n).toString(16).slice(1).toUpperCase(),sM=Object.freeze({__proto__:null,description:tM,fn:(e,t)=>{let{currentColor:n=!1,names2hex:r=!0,rgb2hex:i=!0,convertCase:a=`lower`,shorthex:o=!0,shortname:s=!0}=t,c=0;return{element:{enter:e=>{e.name===`mask`&&c++;for(let[t,l]of Object.entries(e.attributes))if(pr.has(t)){let u=l;if(n&&c===0){let e;e=typeof n==`string`?u===n:n instanceof RegExp?n.exec(u)!=null:u!==`none`,e&&(u=`currentColor`)}if(r){let e=u.toLowerCase();dr[e]!=null&&(u=dr[e])}if(i){let e=u.match(iM);e!=null&&(u=oM(e.slice(1,4).map(e=>{let t;return t=e.indexOf(`%`)>-1?Math.round(parseFloat(e)*2.55):Number(e),Math.max(0,Math.min(t,255))})))}if(!a||jj(u)||Mj(u)||u===`currentColor`||(a===`lower`?u=u.toLowerCase():a===`upper`&&(u=u.toUpperCase())),o){let e=aM.exec(u);e!=null&&(u=`#`+e[0][1]+e[0][3]+e[0][5])}if(s){let e=u.toLowerCase();fr[e]!=null&&(u=fr[e])}e.attributes[t]=u}},exit:e=>{e.name===`mask`&&c--}}}},name:eM}),cM=`removeUnknownsAndDefaults`,lM=`removes unknown elements content and attributes, removes attrs with default values`,uM=new Map,dM=new Map,fM=new Map;for(let[e,t]of Object.entries(or)){let n=new Set;if(t.content)for(let e of t.content)n.add(e);if(t.contentGroups)for(let e of t.contentGroups){let t=er[e];if(t)for(let e of t)n.add(e)}let r=new Set;if(t.attrs)for(let e of t.attrs)r.add(e);let i=new Map;if(t.defaults)for(let[e,n]of Object.entries(t.defaults))i.set(e,n);for(let e of t.attrsGroups){let t=rr[e];if(t)for(let e of t)r.add(e);let n=ir[e];if(n)for(let[e,t]of Object.entries(n))i.set(e,t)}uM.set(e,n),dM.set(e,r),fM.set(e,i)}var pM=Object.freeze({__proto__:null,description:lM,fn:(t,n)=>{let{unknownContent:r=!0,unknownAttrs:i=!0,defaultAttrs:a=!0,defaultMarkupDeclarations:o=!0,uselessOverrides:s=!0,keepDataAttrs:c=!0,keepAriaAttrs:l=!0,keepRoleAttr:u=!1}=n,d=$A(t);return{instruction:{enter:e=>{o&&(e.value=e.value.replace(/\s*standalone\s*=\s*(["'])no\1/,``))}},element:{enter:(t,n)=>{if(t.name.includes(`:`))return;if(t.name===`foreignObject`)return e;if(r&&n.type===`element`){let e=uM.get(n.name);if(e==null||e.size===0){if(uM.get(t.name)==null){T(t,n);return}}else if(e.has(t.name)===!1){T(t,n);return}}let o=dM.get(t.name),f=fM.get(t.name),p=n.type===`element`?ej(d,n):null;for(let[e,n]of Object.entries(t.attributes))if(!(c&&e.startsWith(`data-`))&&!(l&&e.startsWith(`aria-`))&&!(u&&e===`role`)&&e!==`xmlns`){if(e.includes(`:`)){let[t]=e.split(`:`);if(t!==`xml`&&t!==`xlink`)continue}if(i&&o&&o.has(e)===!1&&delete t.attributes[e],a&&t.attributes.id==null&&f&&f.get(e)===n&&(p?.[e]!=null||d.rules.some(t=>tj(t.selector,e))||delete t.attributes[e]),s&&t.attributes.id==null){let r=p?.[e];ur.has(e)===!1&&r!=null&&r.type===`static`&&r.value===n&&delete t.attributes[e]}}}}}},name:cM}),mM=Object.freeze({__proto__:null,description:`removes non-inheritable group's presentational attributes`,fn:()=>({element:{enter:e=>{if(e.name===`g`)for(let t of Object.keys(e.attributes))!rr.presentation.has(t)||lr.has(t)||ur.has(t)||delete e.attributes[t]}}}),name:`removeNonInheritableGroupAttrs`}),hM=Object.freeze({__proto__:null,description:`removes useless stroke and fill attributes`,fn:(n,r)=>{let{stroke:i=!0,fill:a=!0,removeNone:o=!1}=r,s=!1;if(t(n,{element:{enter:e=>{(e.name===`style`||Aj(e))&&(s=!0)}}}),s)return null;
25let c=$A(n);return{element:{enter:(t,n)=>{if(t.attributes.id!=null)return e;if(!er.shape.has(t.name))return;let r=ej(c,t),s=r.stroke,l=r[`stroke-opacity`],u=r[`stroke-width`],d=r[`marker-end`],f=r.fill,p=r[`fill-opacity`],m=n.type===`element`?ej(c,n):null,h=m==null?null:m.stroke;if(i&&(s==null||s.type===`static`&&s.value==`none`||l!=null&&l.type===`static`&&l.value===`0`||u!=null&&u.type===`static`&&u.value===`0`)&&(u!=null&&u.type===`static`&&u.value===`0`||d==null)){for(let e of Object.keys(t.attributes))e.startsWith(`stroke`)&&delete t.attributes[e];h!=null&&h.type===`static`&&h.value!==`none`&&(t.attributes.stroke=`none`)}if(a&&(f!=null&&f.type===`static`&&f.value===`none`||p!=null&&p.type===`static`&&p.value===`0`)){for(let e of Object.keys(t.attributes))e.startsWith(`fill-`)&&delete t.attributes[e];(f==null||f.type===`static`&&f.value!==`none`)&&(t.attributes.fill=`none`)}o&&(s!=null&&t.attributes.stroke!==`none`||(f==null||f.type!==`static`||f.value!==`none`)&&t.attributes.fill!==`none`||T(t,n))}}}},name:`removeUselessStrokeAndFill`}),gM=`cleanupEnableBackground`,_M=`remove or cleanup enable-background attribute when possible`,vM=/^new\s0\s0\s([-+]?\d*\.?\d+([eE][-+]?\d+)?)\s([-+]?\d*\.?\d+([eE][-+]?\d+)?)$/,yM=e=>{let n=!1;return t(e,{element:{enter:e=>{e.name===`filter`&&(n=!0)}}}),{element:{enter:e=>{let t=null,r=null;if(e.attributes.style!=null&&(t=wg(e.attributes.style,{context:`declarationList`}),t.type===`DeclarationList`)){let e=[];Og(t,(t,n)=>{t.type===`Declaration`&&t.property===`enable-background`&&(e.push(n),r=n)});for(let n=0;n<e.length-1;n++)t.children.remove(e[n])}if(!n){delete e.attributes[`enable-background`],t?.type===`DeclarationList`&&(r&&t.children.remove(r),t.children.isEmpty?delete e.attributes.style:e.attributes.style=Tg(t));return}let i=e.attributes.width!=null&&e.attributes.height!=null;if((e.name===`svg`||e.name===`mask`||e.name===`pattern`)&&i){let n=e.attributes[`enable-background`],i=bM(n,e.name,e.attributes.width,e.attributes.height);if(i?e.attributes[`enable-background`]=i:delete e.attributes[`enable-background`],t?.type===`DeclarationList`&&r){let n=bM(Tg(r.data.value),e.name,e.attributes.width,e.attributes.height);n?r.data.value={type:`Raw`,value:n}:t.children.remove(r)}}t?.type===`DeclarationList`&&(t.children.isEmpty?delete e.attributes.style:e.attributes.style=Tg(t))}}}},bM=(e,t,n,r)=>{let i=vM.exec(e);return i!=null&&n===i[1]&&r===i[3]?t===`svg`?void 0:`new`:e},xM=Object.freeze({__proto__:null,description:_M,fn:yM,name:gM}),SM={M:2,m:2,Z:0,z:0,L:2,l:2,H:1,h:1,V:1,v:1,C:6,c:6,S:4,s:4,Q:4,q:4,T:2,t:2,A:7,a:7},CM=e=>e in SM,wM=e=>e===` `||e===` `||e===`\r`||e===` 26`,TM=e=>{let t=e.codePointAt(0);return t!=null&&48<=t&&t<=57},EM=(e,t)=>{let n=t,r=``,i=`none`;for(;n<e.length;n+=1){let t=e[n];if(t===`+`||t===`-`){if(i===`none`){i=`sign`,r+=t;continue}if(i===`e`){i=`exponent_sign`,r+=t;continue}}if(TM(t)){if(i===`none`||i===`sign`||i===`whole`){i=`whole`,r+=t;continue}if(i===`decimal_point`||i===`decimal`){i=`decimal`,r+=t;continue}if(i===`e`||i===`exponent_sign`||i===`exponent`){i=`exponent`,r+=t;continue}}if(t===`.`&&(i===`none`||i===`sign`||i===`whole`)){i=`decimal_point`,r+=t;continue}if((t===`E`||t==`e`)&&(i===`whole`||i===`decimal_point`||i===`decimal`)){i=`e`,r+=t;continue}break}let a=Number.parseFloat(r);return Number.isNaN(a)?[t,null]:[n-1,a]},DM=e=>{let t=[],n=null,r=[],i=0,a=!1,o=!1;for(let s=0;s<e.length;s+=1){let c=e.charAt(s);if(wM(c))continue;if(a&&c===`,`){if(o)break;o=!0;continue}if(CM(c)){if(o)return t;if(n==null){if(c!==`M`&&c!==`m`)return t}else if(r.length!==0)return t;n=c,r=[],i=SM[n],a=!1,i===0&&t.push({command:n,args:r});continue}if(n==null)return t;let l=s,u=null;if(n===`A`||n===`a`){let t=r.length;t!==0&&t!==1&&t!==2&&t!==5&&t!==6||([l,u]=EM(e,s)),(t===3||t===4)&&(c===`0`&&(u=0),c===`1`&&(u=1))}else[l,u]=EM(e,s);if(u==null)return t;r.push(u),a=!0,o=!1,s=l,r.length===i&&((n===`A`||n===`a`)&&(r[0]=Math.abs(r[0]),r[1]=Math.abs(r[1])),t.push({command:n,args:r}),n===`M`&&(n=`L`),n===`m`&&(n=`l`),r=[])}return t},OM=(e,t)=>(t!=null&&(e=Pj(e,t)),{roundedStr:Ej(e),rounded:e}),kM=(e,t,n,r)=>{let i=``,a;for(let o=0;o<t.length;
26o++){let{roundedStr:s,rounded:c}=OM(t[o],n);!r||e!==`A`&&e!==`a`||o%7!=4&&o%7!=5?o===0||c<0?i+=s:Number.isInteger(a)||TM(s[0])?i+=` ${s}`:i+=s:i+=s,a=c}return i},AM=({pathData:e,precision:t,disableSpaceAfterFlags:n})=>{if(e.length===1){let{command:r,args:i}=e[0];return r+kM(r,i,t,n)}let r=``,i={...e[0]};e[1].command===`L`?i.command=`M`:e[1].command===`l`&&(i.command=`m`);for(let a=1;a<e.length;a++){let{command:o,args:s}=e[a];i.command===o&&i.command!==`M`&&i.command!==`m`||i.command===`M`&&o===`L`||i.command===`m`&&o===`l`?(i.args=[...i.args,...s],a===e.length-1&&(r+=i.command+kM(i.command,i.args,t,n))):(r+=i.command+kM(i.command,i.args,t,n),a===e.length-1?r+=o+kM(o,s,t,n):i={command:o,args:s})}return r},jM=er.nonRendering,MM=Object.freeze({__proto__:null,description:`removes hidden elements (zero sized, with absent attributes)`,fn:(n,r)=>{let{isHidden:i=!0,displayNone:a=!0,opacity0:o=!0,circleR0:s=!0,ellipseRX0:c=!0,ellipseRY0:l=!0,rectWidth0:u=!0,rectHeight0:d=!0,patternWidth0:f=!0,patternHeight0:p=!0,imageWidth0:m=!0,imageHeight0:h=!0,pathEmptyD:g=!0,polylineEmptyPoints:_=!0,polygonEmptyPoints:v=!0}=r,y=$A(n),b=new Map,x=new Set,ee=new Map,te=new Set,ne=new Map,re=!1;function S(e){if(te.has(e.attributes.id))return!1;for(let t of e.children)if(t.type===`element`&&!S(t))return!1;return!0}function C(e,t){e.type===`element`&&e.attributes.id!=null&&t.type===`element`&&t.name===`defs`&&x.add(e.attributes.id),T(e,t)}return t(n,{element:{enter:(t,n)=>{if(jM.has(t.name))return b.set(t,n),e;let r=ej(y,t);if(o&&r.opacity&&r.opacity.type===`static`&&r.opacity.value===`0`){if(t.name===`path`)return b.set(t,n),e;C(t,n)}}}}),{element:{enter:(e,t)=>{if(e.name===`style`&&e.children.length!==0||Aj(e)){re=!0;return}if(e.name===`defs`&&ee.set(e,t),e.name===`use`)for(let n of Object.keys(e.attributes)){if(n!==`href`&&!n.endsWith(`:href`))continue;let r=e.attributes[n].slice(1),i=ne.get(r);i||(i=[],ne.set(r,i)),i.push({node:e,parentNode:t})}if(s&&e.name===`circle`&&e.children.length===0&&e.attributes.r===`0`){C(e,t);return}if(c&&e.name===`ellipse`&&e.children.length===0&&e.attributes.rx===`0`){C(e,t);return}if(l&&e.name===`ellipse`&&e.children.length===0&&e.attributes.ry===`0`){C(e,t);return}if(u&&e.name===`rect`&&e.children.length===0&&e.attributes.width===`0`){C(e,t);return}if(d&&u&&e.name===`rect`&&e.children.length===0&&e.attributes.height===`0`){C(e,t);return}if(f&&e.name===`pattern`&&e.attributes.width===`0`){C(e,t);return}if(p&&e.name===`pattern`&&e.attributes.height===`0`){C(e,t);return}if(m&&e.name===`image`&&e.attributes.width===`0`){C(e,t);return}if(h&&e.name===`image`&&e.attributes.height===`0`){C(e,t);return}if(_&&e.name===`polyline`&&e.attributes.points==null){C(e,t);return}if(v&&e.name===`polygon`&&e.attributes.points==null){C(e,t);return}let n=ej(y,e);if(i&&n.visibility&&n.visibility.type===`static`&&n.visibility.value===`hidden`&&Kn(e,`[visibility=visible]`)==null){C(e,t);return}if(a&&n.display&&n.display.type===`static`&&n.display.value===`none`&&e.name!==`marker`){C(e,t);return}if(g&&e.name===`path`){if(e.attributes.d==null){C(e,t);return}let r=DM(e.attributes.d);if(r.length===0){C(e,t);return}if(r.length===1&&n[`marker-start`]==null&&n[`marker-end`]==null){C(e,t);return}}for(let[t,n]of Object.entries(e.attributes)){let e=Nj(t,n);for(let t of e)te.add(t)}}},root:{exit:()=>{for(let e of x){let t=ne.get(e);if(t)for(let{node:e,parentNode:n}of t)T(e,n)}if(!re)for(let[e,t]of b.entries())S(e)&&T(e,t);for(let[e,t]of ee.entries())e.children.length===0&&T(e,t)}}}},name:`removeHiddenElems`}),NM=Object.freeze({__proto__:null,description:`removes empty <text> elements`,fn:(e,t)=>{let{text:n=!0,tspan:r=!0,tref:i=!0}=t;return{element:{enter:(e,t)=>{n&&e.name===`text`&&e.children.length===0&&T(e,t),r&&e.name===`tspan`&&e.children.length===0&&T(e,t),i&&e.name===`tref`&&e.attributes[`xlink:href`]==null&&T(e,t)}}}},name:`removeEmptyText`}),PM=`convertShapeToPath`,FM=`converts basic shapes to more compact path form`,IM=/[-+]?(?:\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?/g,LM=Object.freeze({__proto__:null,description:FM,fn:(e,t)=>{let{convertArcs:n=!1,floatPrecision:r}=t;return{element:{enter:(e,t)=>{if(e.name===`rect`&&e.attributes.width!=null&&e.attributes.height!=null&&e.attributes.rx==null&&e.attributes.ry==null){let t=Number(e.attributes.x||`0`),n=Number(e.attributes.y||`0`),i=Number(e.attributes.width),a=Number(e.attributes.height);if(Number.isNaN(t-n+i-a))return;let o=[{command:`M`,args:[t,n]},{command:`H`,args:[t+i]},{command:`V`,args:[n+a]},{command:`H`,args:[t]},{command:`z`,args:[]}];e.name=`path`,e.attributes.d=AM({pathData:o,precision:r}),delete e.attributes.x,delete e.attributes.y,delete e.attributes.width,delete e.attributes.height}if(e.name===`line`){let t=Number(e.attributes.x1||`0`),n=Number(e.attributes.y1||`0`),i=Number(e.attributes.x2||`0`),a=Number(e.attributes.y2||`0`);
26if(Number.isNaN(t-n+i-a))return;let o=[{command:`M`,args:[t,n]},{command:`L`,args:[i,a]}];e.name=`path`,e.attributes.d=AM({pathData:o,precision:r}),delete e.attributes.x1,delete e.attributes.y1,delete e.attributes.x2,delete e.attributes.y2}if((e.name===`polyline`||e.name===`polygon`)&&e.attributes.points!=null){let n=(e.attributes.points.match(IM)||[]).map(Number);if(n.length<4){T(e,t);return}let i=[];for(let e=0;e<n.length;e+=2)i.push({command:e===0?`M`:`L`,args:n.slice(e,e+2)});e.name===`polygon`&&i.push({command:`z`,args:[]}),e.name=`path`,e.attributes.d=AM({pathData:i,precision:r}),delete e.attributes.points}if(e.name===`circle`&&n){let t=Number(e.attributes.cx||`0`),n=Number(e.attributes.cy||`0`),i=Number(e.attributes.r||`0`);if(Number.isNaN(t-n+i))return;let a=[{command:`M`,args:[t,n-i]},{command:`A`,args:[i,i,0,1,0,t,n+i]},{command:`A`,args:[i,i,0,1,0,t,n-i]},{command:`z`,args:[]}];e.name=`path`,e.attributes.d=AM({pathData:a,precision:r}),delete e.attributes.cx,delete e.attributes.cy,delete e.attributes.r}if(e.name===`ellipse`&&n){let t=Number(e.attributes.cx||`0`),n=Number(e.attributes.cy||`0`),i=Number(e.attributes.rx||`0`),a=Number(e.attributes.ry||`0`);if(Number.isNaN(t-n+i-a))return;let o=[{command:`M`,args:[t,n-a]},{command:`A`,args:[i,a,0,1,0,t,n+a]},{command:`A`,args:[i,a,0,1,0,t,n-a]},{command:`z`,args:[]}];e.name=`path`,e.attributes.d=AM({pathData:o,precision:r}),delete e.attributes.cx,delete e.attributes.cy,delete e.attributes.rx,delete e.attributes.ry}}}}},name:PM}),RM=Object.freeze({__proto__:null,description:`converts non-eccentric <ellipse>s to <circle>s`,fn:()=>({element:{enter:e=>{if(e.name===`ellipse`){let t=e.attributes.rx||`0`,n=e.attributes.ry||`0`;if(t===n||t===`auto`||n===`auto`){e.name=`circle`;let r=t===`auto`?n:t;delete e.attributes.rx,delete e.attributes.ry,e.attributes.r=r}}}}}),name:`convertEllipseToCircle`}),zM=Object.freeze({__proto__:null,description:`Move common attributes of group children to the group`,fn:e=>{let n=!1;return t(e,{element:{enter:e=>{e.name===`style`&&(n=!0)}}}),{element:{exit:e=>{if(e.name!==`g`||e.children.length<=1||n)return;let t=new Map,r=!0,i=!0;for(let n of e.children)if(n.type===`element`){if(nr.has(n.name)||(i=!1),r){r=!1;for(let[e,r]of Object.entries(n.attributes))lr.has(e)&&t.set(e,r)}else for(let[e,r]of t)n.attributes[e]!==r&&t.delete(e)}e.attributes.filter==null&&e.attributes[`clip-path`]==null&&e.attributes.mask==null||t.delete(`transform`),i&&t.delete(`transform`);for(let[n,r]of t)n===`transform`?e.attributes.transform==null?e.attributes.transform=r:e.attributes.transform=`${e.attributes.transform} ${r}`:e.attributes[n]=r;for(let n of e.children)if(n.type===`element`)for(let[e]of t)delete n.attributes[e]}}}},name:`moveElemsAttrsToGroup`}),BM=`moveGroupAttrsToElems`,VM=`moves some group attributes to the content elements`,HM=[...nr,`g`,`text`],UM=Object.freeze({__proto__:null,description:VM,fn:()=>({element:{enter:e=>{if(e.name===`g`&&e.children.length!==0&&e.attributes.transform!=null&&Object.entries(e.attributes).some(([e,t])=>cr.has(e)&&jj(t))===!1&&e.children.every(e=>e.type===`element`&&HM.includes(e.name)&&e.attributes.id==null)){for(let t of e.children){let n=e.attributes.transform;t.type===`element`&&(t.attributes.transform==null?t.attributes.transform=n:t.attributes.transform=`${n} ${t.attributes.transform}`)}delete e.attributes.transform}}}}),name:BM}),WM=`collapseGroups`,GM=`collapses useless groups`,KM=(e,t)=>{if(e.type===`element`){if(er.animation.has(e.name)&&e.attributes.attributeName===t)return!0;for(let n of e.children)if(KM(n,t))return!0}return!1},qM=Object.freeze({__proto__:null,description:GM,fn:e=>{let t=$A(e);return{element:{exit:(e,n)=>{if(n.type!==`root`&&n.name!==`switch`&&e.name===`g`&&e.children.length!==0){if(Object.keys(e.attributes).length!==0&&e.children.length===1){let n=e.children[0],r=!!(e.attributes.filter||ej(t,e).filter);if(n.type===`element`&&n.attributes.id==null&&!r&&(e.attributes.class==null||n.attributes.class==null)&&(e.attributes[`clip-path`]==null&&e.attributes.mask==null||n.name===`g`&&e.attributes.transform==null&&n.attributes.transform==null)){let t={...n.attributes};for(let[r,i]of Object.entries(e.attributes)){if(KM(n,r))return;if(t[r]==null)t[r]=i;else if(r===`transform`)t[r]=i+` `+t[r];else if(t[r]===`inherit`)t[r]=i;else if(!lr.has(r)&&t[r]!==i)return}e.attributes={},n.attributes=t}}if(Object.keys(e.attributes).length===0){for(let t of e.children)if(t.type===`element`&&er.animation.has(t.name))return;let t=n.children.indexOf(e);n.children.splice(t,1,...e.children)}}}}}},name:WM}),JM,YM=e=>{if(e.pathJS)return e.pathJS;let t=[],n=DM(e.attributes.d);for(let{command:e,args:r}of n)t.push({command:e,args:r});return t.length&&t[0].command==`m`&&(t[0].command=`M`),e.pathJS=t,t},XM=e=>{let t=[],n=[0,0],r=[0,0];for(let{command:i,args:a}of e)a=a.slice(),i===`m`&&(a[0]+=r[0],a[1]+=r[1],i=`M`),i===`M`&&(r[0]=a[0],r[1]=a[1],n[0]=r[0],n[1]=r[1]),i===`h`&&(a[0]+=r[0],i=`H`),i===`H`&&(r[0]=a[0]),i===`v`&&(
26a[0]+=r[1],i=`V`),i===`V`&&(r[1]=a[0]),i===`l`&&(a[0]+=r[0],a[1]+=r[1],i=`L`),i===`L`&&(r[0]=a[0],r[1]=a[1]),i===`c`&&(a[0]+=r[0],a[1]+=r[1],a[2]+=r[0],a[3]+=r[1],a[4]+=r[0],a[5]+=r[1],i=`C`),i===`C`&&(r[0]=a[4],r[1]=a[5]),i===`s`&&(a[0]+=r[0],a[1]+=r[1],a[2]+=r[0],a[3]+=r[1],i=`S`),i===`S`&&(r[0]=a[2],r[1]=a[3]),i===`q`&&(a[0]+=r[0],a[1]+=r[1],a[2]+=r[0],a[3]+=r[1],i=`Q`),i===`Q`&&(r[0]=a[2],r[1]=a[3]),i===`t`&&(a[0]+=r[0],a[1]+=r[1],i=`T`),i===`T`&&(r[0]=a[0],r[1]=a[1]),i===`a`&&(a[5]+=r[0],a[6]+=r[1],i=`A`),i===`A`&&(r[0]=a[5],r[1]=a[6]),(i===`z`||i===`Z`)&&(r[0]=n[0],r[1]=n[1],i=`z`),t.push({command:i,args:a});return t},ZM=function(e,t,n){e.pathJS=t;let r=[];for(let e of t){if(r.length!==0&&(e.command===`M`||e.command===`m`)){let e=r[r.length-1];e.command!==`M`&&e.command!==`m`||r.pop()}r.push({command:e.command,args:e.args})}e.attributes.d=AM({pathData:r,precision:n.floatPrecision,disableSpaceAfterFlags:n.noSpaceAfterFlags})};function QM(e,t){return e[0]=t[t.length-2],e[1]=t[t.length-1],e}var $M=function(e,t){let n=aN(XM(e)),r=aN(XM(t));if(n.maxX<=r.minX||r.maxX<=n.minX||n.maxY<=r.minY||r.maxY<=n.minY||n.list.every(e=>r.list.every(t=>e.list[e.maxX][0]<=t.list[t.minX][0]||t.list[t.maxX][0]<=e.list[e.minX][0]||e.list[e.maxY][1]<=t.list[t.minY][1]||t.list[t.maxY][1]<=e.list[e.minY][1])))return!1;let i=n.list.map(oN),a=r.list.map(oN);return i.some(function(e){return e.list.length<3?!1:a.some(function(t){if(t.list.length<3)return!1;let n=[o(e,t,[1,0])],r=tN(n[0]),i=1e4;for(;;){if(i--==0)return console.error(`Error: infinite loop while processing mergePaths plugin.`),!0;if(n.push(o(e,t,r)),rN(r,n[n.length-1])<=0)return!1;if(eN(n,r))return!0}})});function o(e,t,n){return nN(s(e,n),s(t,tN(n)))}function s(e,t){let n=t[1]>=0?t[0]<0?e.maxY:e.maxX:t[0]<0?e.minX:e.minY,r=-1/0,i;for(;(i=rN(e.list[n],t))>r;)r=i,n=(n+1)%e.list.length;return e.list[(n||e.list.length)-1]}};function eN(e,t){if(e.length==2){let n=e[1],r=e[0],i=tN(e[1]),a=nN(r,n);rN(i,a)>0?QM(t,iN(a,n)):(QM(t,i),e.shift())}else{let n=e[2],r=e[1],i=e[0],a=nN(r,n),o=nN(i,n),s=tN(n),c=iN(a,o),l=iN(o,a);if(rN(c,s)>0)rN(a,s)>0?(QM(t,c),e.shift()):(QM(t,s),e.splice(0,2));else{if(!(rN(l,s)>0))return!0;rN(o,s)>0?(QM(t,l),e.splice(1,1)):(QM(t,s),e.splice(0,2))}}return!1}function tN(e){return[-e[0],-e[1]]}function nN(e,t){return[e[0]-t[0],e[1]-t[1]]}function rN(e,t){return e[0]*t[0]+e[1]*t[1]}function iN(e,t){let n=[-e[1],e[0]];return rN(n,tN(t))<0?tN(n):n}function aN(e){let t={list:[],minX:0,minY:0,maxX:0,maxY:0},n=(e,n)=>{(!e.list.length||n[1]>e.list[e.maxY][1])&&(e.maxY=e.list.length,t.maxY=t.list.length?Math.max(n[1],t.maxY):n[1]),(!e.list.length||n[0]>e.list[e.maxX][0])&&(e.maxX=e.list.length,t.maxX=t.list.length?Math.max(n[0],t.maxX):n[0]),(!e.list.length||n[1]<e.list[e.minY][1])&&(e.minY=e.list.length,t.minY=t.list.length?Math.min(n[1],t.minY):n[1]),(!e.list.length||n[0]<e.list[e.minX][0])&&(e.minX=e.list.length,t.minX=t.list.length?Math.min(n[0],t.minX):n[0]),e.list.push(n)};for(let i=0;i<e.length;i+=1){let a=e[i],o=t.list.length===0?{list:[],minX:0,minY:0,maxX:0,maxY:0}:t.list[t.list.length-1],s=i===0?null:e[i-1],c=o.list.length===0?null:o.list[o.list.length-1],l=a.args,u=c,d=(e,t)=>e+(c==null?0:c[t%2]);switch(a.command){case`M`:o={list:[],minX:0,minY:0,maxX:0,maxY:0},t.list.push(o);break;case`H`:c!=null&&n(o,[l[0],c[1]]);break;case`V`:c!=null&&n(o,[c[0],l[0]]);break;case`Q`:n(o,l.slice(0,2)),JM=[l[2]-l[0],l[3]-l[1]];break;case`T`:c!=null&&s!=null&&(s.command==`Q`||s.command==`T`)&&(u=[c[0]+JM[0],c[1]+JM[1]],n(o,u),JM=[l[0]-u[0],l[1]-u[1]]);break;case`C`:c!=null&&n(o,[.5*(c[0]+l[0]),.5*(c[1]+l[1])]),n(o,[.5*(l[0]+l[2]),.5*(l[1]+l[3])]),n(o,[.5*(l[2]+l[4]),.5*(l[3]+l[5])]),JM=[l[4]-l[2],l[5]-l[3]];break;case`S`:c!=null&&s!=null&&(s.command==`C`||s.command==`S`)&&(n(o,[c[0]+.5*JM[0],c[1]+.5*JM[1]]),u=[c[0]+JM[0],c[1]+JM[1]]),u!=null&&n(o,[.5*(u[0]+l[0]),.5*(u[1]+l[1])]),n(o,[.5*(l[0]+l[2]),.5*(l[1]+l[3])]),JM=[l[2]-l[0],l[3]-l[1]];break;case`A`:if(c!=null){let e=cN.apply(0,c.concat(l));for(var r;(r=e.splice(0,6).map(d)).length;)c!=null&&n(o,[.5*(c[0]+r[0]),.5*(c[1]+r[1])]),n(o,[.5*(r[0]+r[2]),.5*(r[1]+r[3])]),n(o,[.5*(r[2]+r[4]),.5*(r[3]+r[5])]),e.length&&n(o,c=r.slice(-2))}}l.length>=2&&n(o,l.slice(-2))}return t}function oN(e){e.list.sort(function(e,t){return e[0]==t[0]?e[1]-t[1]:e[0]-t[0]});let t=[],n=0,r=0;for(let i=0;i<e.list.length;i++){for(;t.length>=2&&sN(t[t.length-2],t[t.length-1],e.list[i])<=0;)t.pop();e.list[i][1]<e.list[n][1]&&(n=i,r=t.length),t.push(e.list[i])}let i=[],a=e.list.length-1,o=0;for(let t=e.list.length;t--;){for(;i.length>=2&&sN(i[i.length-2],i[i.length-1],e.list[t])<=0;)i.pop();e.list[t][1]>e.list[a][1]&&(a=t,o=i.length),i.push(e.list[t])}i.pop(),t.pop();let s=t.concat(i);return{list:s,minX:0,maxX:t.length,minY:r,maxY:(t.length+o)%s.length}}function sN(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}var cN=(e,t,n,r,i,a,o,s,c,l)=>{let u=Math.PI*120/180,d=Math.PI/180*(+i||0),f=[],p=(e,t,n)=>
26e*Math.cos(n)-t*Math.sin(n),m=(e,t,n)=>e*Math.sin(n)+t*Math.cos(n);if(l)_=l[0],v=l[1],h=l[2],g=l[3];else{e=p(e,t,-d),t=m(e,t,-d),s=p(s,c,-d),c=m(s,c,-d);let i=(e-s)/2,l=(t-c)/2,u=i*i/(n*n)+l*l/(r*r);u>1&&(u=Math.sqrt(u),n*=u,r*=u);let f=n*n,y=r*r,b=(a==o?-1:1)*Math.sqrt(Math.abs((f*y-f*l*l-y*i*i)/(f*l*l+y*i*i)));var h=b*n*l/r+(e+s)/2,g=b*-r*i/n+(t+c)/2,_=Math.asin(Number(((t-g)/r).toFixed(9))),v=Math.asin(Number(((c-g)/r).toFixed(9)));_=e<h?Math.PI-_:_,v=s<h?Math.PI-v:v,_<0&&(_=Math.PI*2+_),v<0&&(v=Math.PI*2+v),o&&_>v&&(_-=Math.PI*2),!o&&v>_&&(v-=Math.PI*2)}let y=v-_;if(Math.abs(y)>u){let e=v,t=s,a=c;v=_+u*(o&&v>_?1:-1),s=h+n*Math.cos(v),c=g+r*Math.sin(v),f=cN(s,c,n,r,i,0,o,t,a,[v,e,h,g])}y=v-_;let b=Math.cos(_),x=Math.sin(_),ee=Math.cos(v),te=Math.sin(v),ne=Math.tan(y/4),re=4/3*n*ne,S=4/3*r*ne,C=[-re*x,S*b,s+re*te-e,c-S*ee-t,s-e,c-t];if(l)return C.concat(f);{f=C.concat(f);let e=[];for(let t=0,n=f.length;t<n;t++)e[t]=t%2?m(f[t-1],f[t],d):p(f[t],f[t+1],d);return e}},lN=new Set([`matrix`,`rotate`,`scale`,`skewX`,`skewY`,`translate`]),uN=/\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/,dN=/[-+]?(?:\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?/g,fN=e=>{let t=[],n=null;for(let r of e.split(uN))if(r){if(lN.has(r))n={name:r,data:[]},t.push(n);else{let e;for(;e=dN.exec(r);)e=Number(e),n?.data.push(e)}}return n==null||n.data.length==0?[]:t},pN=e=>{let t=e.map(e=>e.name===`matrix`?e.data:CN(e));return{name:`matrix`,data:t.length>0?t.reduce(TN):[]}},mN={rad:e=>e*Math.PI/180,deg:e=>e*180/Math.PI,cos:e=>Math.cos(mN.rad(e)),acos:(e,t)=>Pj(mN.deg(Math.acos(e)),t),sin:e=>Math.sin(mN.rad(e)),asin:(e,t)=>Pj(mN.deg(Math.asin(e)),t),tan:e=>Math.tan(mN.rad(e)),atan:(e,t)=>Pj(mN.deg(Math.atan(e)),t)},hN=e=>{let t=[],n=gN(e),r=_N(e);return n&&t.push(n),r&&t.push(r),t},gN=e=>{let[t,n,r,i,a,o]=e.data,s=t*i-n*r;if(s===0)return;let c=Math.hypot(t,n);if(c===0)return;let l=[],u=t/c;if((a||o)&&l.push({name:`translate`,data:[a,o]}),u!==1){let e=Math.acos(u);l.push({name:`rotate`,data:[mN.deg(n<0?-e:e),0,0]})}let d=c,f=s/d;d===1&&f===1||l.push({name:`scale`,data:[d,f]});let p=t*r+n*i;return p&&l.push({name:`skewX`,data:[mN.deg(Math.atan(p/(t*t+n*n)))]}),l},_N=e=>{let[t,n,r,i,a,o]=e.data,s=t*i-n*r;if(s===0)return;let c=Math.hypot(r,i);if(c===0)return;let l=[];(a||o)&&l.push({name:`translate`,data:[a,o]});let u=Math.PI/2-(i<0?-1:1)*Math.acos(-r/c);l.push({name:`rotate`,data:[mN.deg(u),0,0]});let d=s/c,f=c;d===1&&f===1||l.push({name:`scale`,data:[d,f]});let p=t*r+n*i;return p&&l.push({name:`skewY`,data:[mN.deg(Math.atan(p/(r*r+i*i)))]}),l},vN=(e,t,n)=>{let r=mN.rad(n),i=1-Math.cos(r),a=Math.sin(r),o=(i*t+a*e)/(i*i+a*a);return{name:`rotate`,data:[n,(e-a*o)/i,o]}},yN=e=>{switch(e.name){case`rotate`:case`skewX`:case`skewY`:return e.data[0]===0;case`scale`:return e.data[0]===1&&e.data[1]===1;case`translate`:return e.data[0]===0&&e.data[1]===0}return!1},bN=(e,t)=>{let n=[];for(let r=0;r<e.length;r++){let i=e[r];if(yN(i))continue;let a=i.data;switch(i.name){case`rotate`:switch(a[0]){case 180:case-180:{let t=e[r+1];t&&t.name===`scale`?(n.push(xN(t.data.map(e=>-e))),r++):n.push({name:`scale`,data:[-1]})}continue}n.push({name:`rotate`,data:a.slice(0,a[1]||a[2]?3:1)});break;case`scale`:n.push(xN(a));break;case`skewX`:case`skewY`:n.push({name:i.name,data:[a[0]]});break;case`translate`:{let i=e[r+1];if(i&&i.name===`rotate`&&i.data[0]!==180&&i.data[0]!==-180&&i.data[0]!==0&&i.data[1]===0&&i.data[2]===0){let e=t[r].data;n.push(vN(e[0],e[1],t[r+1].data[0])),r++;continue}}n.push({name:`translate`,data:a.slice(0,a[1]?2:1)})}}return n.length?n:[{name:`scale`,data:[1]}]},xN=e=>({name:`scale`,data:e.slice(0,e[0]===e[1]?1:2)}),SN=(e,t)=>{let n=hN(e),r,i=Number.MAX_VALUE;for(let e of n){let n=bN(e.map(e=>EN({name:e.name,data:[...e.data]},t)),e),a=MN(n,t).length;a<i&&(r=n,i=a)}return r??[e]},CN=e=>{if(e.name===`matrix`)return e.data;switch(e.name){case`translate`:return[1,0,0,1,e.data[0],e.data[1]||0];case`scale`:return[e.data[0],0,0,e.data[1]??e.data[0],0,0];case`rotate`:var t=mN.cos(e.data[0]),n=mN.sin(e.data[0]),r=e.data[1]||0,i=e.data[2]||0;return[t,n,-n,t,(1-t)*r+n*i,(1-t)*i-n*r];case`skewX`:return[1,0,mN.tan(e.data[0]),1,0,0];case`skewY`:return[1,mN.tan(e.data[0]),0,1,0,0];default:throw Error(`Unknown transform ${e.name}`)}},wN=(e,t,n)=>{let r=t[5]-e[0],i=t[6]-e[1],a=t[0],o=t[1],s=t[2]*Math.PI/180,c=Math.cos(s),l=Math.sin(s);if(a>0&&o>0){let e=(r*c+i*l)**2/(4*a*a)+(i*c-r*l)**2/(4*o*o);e>1&&(e=Math.sqrt(e),a*=e,o*=e)}let u=TN(n,[a*c,a*l,-o*l,o*c,0,0]),d=u[2]*u[2]+u[3]*u[3],f=u[0]*u[0]+u[1]*u[1]+d,p=Math.hypot(u[0]-u[3],u[1]+u[2])*Math.hypot(u[0]+u[3],u[1]-u[2]);if(p){let e=(f+p)/2,n=(f-p)/2,r=Math.abs(e-d)>1e-6,i=(r?e:n)-d,a=u[0]*u[2]+u[1]*u[3],o=u[0]*i+u[2]*a,s=u[1]*i+u[3]*a;t[0]=Math.sqrt(e),t[1]=Math.sqrt(n),t[2]=((r?s<0:o>0)?-1:1)*Math.acos((r?o:s)/Math.hypot(o,s))*180/Math.PI}else t[0]=t[1]=Math.sqrt(f/2),t[2]=0;return n[0]<0!=n[3]<0&&(t[4]=1-t[4]),t},TN=(e,t)=>[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]],EN=(e,t)=>{switch(e.name){case`translate`:e.data=ON(e.data,t);break;case`rotate`:e.data=[...DN(e.data.slice(0,1),t),...ON(e.data.slice(1),t)];break;case`skewX`:case`skewY`:e.data=DN(e.data,t);break;case`scale`:e.data=kN(e.data,t);break;case`matrix`:e.data=[...kN(e.data.slice(0,4),t),...ON(e.data.slice(4),t)]}return e},DN=(e,t)=>t.degPrecision!=null&&t.degPrecision>=1&&t.floatPrecision<20?jN(t.degPrecision,e):AN(e),ON=(e,t)=>t.floatPrecision>=1&&t.floatPrecision<20?jN(t.floatPrecision,e):AN(e),kN=(e,t)=>t.transformPrecision>=1&&t.floatPrecision<20?jN(t.transformPrecision,e):AN(e),AN=e=>e.map(Math.round),jN=(e,t)=>{for(let n=t.length,r=+(.1**e).toFixed(e);n--;)if(Pj(t[n],e)!==t[n]){let i=+t[n].toFixed(e-1);t[n]=+Math.abs(i-t[n]).toFixed(e+1)>=r?+t[n].toFixed(e):i}return t},MN=(e,t)=>e.map(e=>(EN(e,t),`${e.name}(${Tj(e.data,t)})`)).join(``),NN=/[-+]?(\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?/g,PN=(e,t)=>{let n=$A(e);return{element:{enter:e=>{if(e.attributes.d==null||e.attributes.id!=null||e.attributes.transform==null||e.attributes.transform===``||e.attributes.style!=null||Object.entries(e.attributes).some(([e,t])=>cr.has(e)&&jj(t)))return;let r=ej(n,e),i=r.transform;if(i.type===`static`&&i.value!==e.attributes.transform)return;let a=pN(fN(e.attributes.transform)),o=r.stroke?.type===`static`?r.stroke.value:null,s=r[`stroke-width`]?.type===`static`?r[`stroke-width`].value:null,c=t.transformPrecision;if(r.stroke?.type===`dynamic`||r[`stroke-width`]?.type===`dynamic`)return;let l=Number(Math.hypot(a.data[0],a.data[1]).toFixed(c));if(o&&o!=`none`){if(!t.applyTransformsStroked||(a.data[0]!==a.data[3]||a.data[1]!==-a.data[2])&&(a.data[0]!==-a.data[3]||a.data[1]!==a.data[2]))return;l!==1&&e.attributes[`vector-effect`]!==`non-scaling-stroke`&&(e.attributes[`stroke-width`]=(s||ir.presentation[`stroke-width`]).trim().replace(NN,e=>Ej(Number(e)*l)),e.attributes[`stroke-dashoffset`]!=null&&(e.attributes[`stroke-dashoffset`]=e.attributes[`stroke-dashoffset`].trim().replace(NN,e=>Ej(Number(e)*l))),e.attributes[`stroke-dasharray`]!=null&&(e.attributes[`stroke-dasharray`]=e.attributes[`stroke-dasharray`].trim().replace(NN,e=>Ej(Number(e)*l))))}LN(YM(e),a.data),delete e.attributes.transform}}}},FN=(e,t,n)=>[e[0]*t+e[2]*n+e[4],e[1]*t+e[3]*n+e[5]],IN=(e,t,n)=>[e[0]*t+e[2]*n,e[1]*t+e[3]*n],LN=(e,t)=>{let n=[0,0],r=[0,0];for(let i of e){let{command:e,args:a}=i;if(e===`M`){r[0]=a[0],r[1]=a[1],n[0]=r[0],n[1]=r[1];let[e,i]=FN(t,a[0],a[1]);a[0]=e,a[1]=i}if(e===`m`){r[0]+=a[0],r[1]+=a[1],n[0]=r[0],n[1]=r[1];let[e,i]=IN(t,a[0],a[1]);a[0]=e,a[1]=i}if(e===`H`&&(e=`L`,a=[a[0],r[1]]),e===`h`&&(e=`l`,a=[a[0],0]),e===`V`&&(e=`L`,a=[r[0],a[0]]),e===`v`&&(e=`l`,a=[0,a[0]]),e===`L`){r[0]=a[0],r[1]=a[1];let[e,n]=FN(t,a[0],a[1]);a[0]=e,a[1]=n}if(e===`l`){r[0]+=a[0],r[1]+=a[1];let[e,n]=IN(t,a[0],a[1]);a[0]=e,a[1]=n}if(e===`C`){r[0]=a[4],r[1]=a[5];let[e,n]=FN(t,a[0],a[1]),[i,o]=FN(t,a[2],a[3]),[s,c]=FN(t,a[4],a[5]);a[0]=e,a[1]=n,a[2]=i,a[3]=o,a[4]=s,a[5]=c}if(e===`c`){r[0]+=a[4],r[1]+=a[5];let[e,n]=IN(t,a[0],a[1]),[i,o]=IN(t,a[2],a[3]),[s,c]=IN(t,a[4],a[5]);a[0]=e,a[1]=n,a[2]=i,a[3]=o,a[4]=s,a[5]=c}if(e===`S`){r[0]=a[2],r[1]=a[3];let[e,n]=FN(t,a[0],a[1]),[i,o]=FN(t,a[2],a[3]);a[0]=e,a[1]=n,a[2]=i,a[3]=o}if(e===`s`){r[0]+=a[2],r[1]+=a[3];let[e,n]=IN(t,a[0],a[1]),[i,o]=IN(t,a[2],a[3]);a[0]=e,a[1]=n,a[2]=i,a[3]=o}if(e===`Q`){r[0]=a[2],r[1]=a[3];let[e,n]=FN(t,a[0],a[1]),[i,o]=FN(t,a[2],a[3]);a[0]=e,a[1]=n,a[2]=i,a[3]=o}if(e===`q`){r[0]+=a[2],r[1]+=a[3];let[e,n]=IN(t,a[0],a[1]),[i,o]=IN(t,a[2],a[3]);a[0]=e,a[1]=n,a[2]=i,a[3]=o}if(e===`T`){r[0]=a[0],r[1]=a[1];let[e,n]=FN(t,a[0],a[1]);a[0]=e,a[1]=n}if(e===`t`){r[0]+=a[0],r[1]+=a[1];let[e,n]=IN(t,a[0],a[1]);a[0]=e,a[1]=n}if(e===`A`){if(wN(r,a,t),r[0]=a[5],r[1]=a[6],Math.abs(a[2])>80){let e=a[0],t=a[2];a[0]=a[1],a[1]=e,a[2]=t+(t>0?-90:90)}let[e,n]=FN(t,a[5],a[6]);a[5]=e,a[6]=n}if(e===`a`){if(wN([0,0],a,t),r[0]+=a[5],r[1]+=a[6],Math.abs(a[2])>80){let e=a[0],t=a[2];a[0]=a[1],a[1]=e,a[2]=t+(t>0?-90:90)}let[e,n]=IN(t,a[5],a[6]);a[5]=e,a[6]=n}(e===`z`||e===`Z`)&&(r[0]=n[0],r[1]=n[1]),i.command=e,i.args=a}}
26,RN=`convertPathData`,zN=`optimizes path data: writes in shorter form, applies transformations`,BN,VN,$,HN,UN,WN=(e,n)=>{let{applyTransforms:r=!0,applyTransformsStroked:i=!0,makeArcs:a={threshold:2.5,tolerance:.5},straightCurves:o=!0,convertToQ:s=!0,lineShorthands:c=!0,convertToZ:l=!0,curveSmoothShorthands:u=!0,floatPrecision:d=3,transformPrecision:f=5,smartArcRounding:p=!0,removeUseless:m=!0,collapseRepeated:h=!0,utilizeAbsolute:g=!0,leadingZero:_=!0,negativeExtraSpace:v=!0,noSpaceAfterFlags:y=!1,forceAbsolutePath:b=!1}=n,x={applyTransforms:r,applyTransformsStroked:i,makeArcs:a,straightCurves:o,convertToQ:s,lineShorthands:c,convertToZ:l,curveSmoothShorthands:u,floatPrecision:d,transformPrecision:f,smartArcRounding:p,removeUseless:m,collapseRepeated:h,utilizeAbsolute:g,leadingZero:_,negativeExtraSpace:v,noSpaceAfterFlags:y,forceAbsolutePath:b};r&&t(e,PN(e,{transformPrecision:f,applyTransformsStroked:i}));let ee=$A(e);return{element:{enter:e=>{if(nr.has(e.name)&&e.attributes.d!=null){let t=ej(ee,e);VN=d,$=VN===!1?.01:+(.1**VN).toFixed(VN),BN=VN&&VN>0&&VN<20?XN:ZN,a&&(HN=a.threshold,UN=a.tolerance);let n=t[`marker-mid`]!=null,r=t.stroke&&(t.stroke.type===`dynamic`||t.stroke.value!==`none`),i=t[`stroke-linecap`]&&(t[`stroke-linecap`].type===`dynamic`||t[`stroke-linecap`].value!==`butt`),o=!r||t[`stroke-linecap`]?.type===`static`&&t[`stroke-linecap`].value===`round`&&t[`stroke-linejoin`]?.type===`static`&&t[`stroke-linejoin`].value===`round`,s=(e,t)=>r?e?!i:t:!0,c=YM(e);if(c.length){let t=c.some(e=>e.command!==`m`&&e.command!==`M`);GN(c),c=KN(c,x,{isSafeToUseZ:o,isSafeToRemove:s,hasMarkerMid:n}),g&&(c=qN(c,x)),(e.attributes[`marker-start`]!=null||e.attributes[`marker-end`]!=null)&&t&&c.every(e=>e.command===`m`||e.command===`M`)&&c.push({command:`z`,args:[]}),ZM(e,c,x)}}}}}},GN=e=>{let t=[0,0],n=[0,0],r=[0,0];for(let i=0;i<e.length;i+=1){let a=e[i],{command:o,args:s}=a;o===`m`?(n[0]+=s[0],n[1]+=s[1],t[0]=n[0],t[1]=n[1]):o===`M`?(i!==0&&(o=`m`),s[0]-=n[0],s[1]-=n[1],n[0]+=s[0],n[1]+=s[1],t[0]=n[0],t[1]=n[1]):o===`l`?(n[0]+=s[0],n[1]+=s[1]):o===`L`?(o=`l`,s[0]-=n[0],s[1]-=n[1],n[0]+=s[0],n[1]+=s[1]):o===`h`?n[0]+=s[0]:o===`H`?(o=`h`,s[0]-=n[0],n[0]+=s[0]):o===`v`?n[1]+=s[0]:o===`V`?(o=`v`,s[0]-=n[1],n[1]+=s[0]):o===`c`?(n[0]+=s[4],n[1]+=s[5]):o===`C`?(o=`c`,s[0]-=n[0],s[1]-=n[1],s[2]-=n[0],s[3]-=n[1],s[4]-=n[0],s[5]-=n[1],n[0]+=s[4],n[1]+=s[5]):o===`s`?(n[0]+=s[2],n[1]+=s[3]):o===`S`?(o=`s`,s[0]-=n[0],s[1]-=n[1],s[2]-=n[0],s[3]-=n[1],n[0]+=s[2],n[1]+=s[3]):o===`q`?(n[0]+=s[2],n[1]+=s[3]):o===`Q`?(o=`q`,s[0]-=n[0],s[1]-=n[1],s[2]-=n[0],s[3]-=n[1],n[0]+=s[2],n[1]+=s[3]):o===`t`?(n[0]+=s[0],n[1]+=s[1]):o===`T`?(o=`t`,s[0]-=n[0],s[1]-=n[1],n[0]+=s[0],n[1]+=s[1]):o===`a`?(n[0]+=s[5],n[1]+=s[6]):o===`A`?(o=`a`,s[5]-=n[0],s[6]-=n[1],n[0]+=s[5],n[1]+=s[6]):(o===`Z`||o===`z`)&&(n[0]=t[0],n[1]=t[1]),a.command=o,a.args=s,a.base=r,a.coords=[n[0],n[1]],r=a.coords}return e};function KN(e,t,{isSafeToUseZ:n,isSafeToRemove:r,hasMarkerMid:i}){let a=cP.bind(null,t),o=[0,0],s=[0,0],c={},l;return e=e.filter(function(e,u,d){let f=l,p=e.command,m=e.args,h=d[u+1];if(p!==`Z`&&p!==`z`){let l=m,_;if(p===`s`){l=[0,0].concat(m);let e=c.args,t=e.length;l[0]=e[t-2]-e[t-4],l[1]=e[t-1]-e[t-3]}if(t.makeArcs&&(p==`c`||p==`s`)&&JN(l)&&(_=iP(l))){let t=BN([_.radius])[0],n=sP(l,_),r=+(l[5]*l[0]-l[4]*l[1]>0),i={command:`a`,args:[t,t,0,0,r,l[4],l[5]],coords:e.coords.slice(),base:e.base},s=[i],f=[_.center[0]-l[4],_.center[1]-l[5]],v={center:f,radius:_.radius},y=[e],b=0,x=``,ee;if(c.command==`c`&&JN(c.args)&&oP(c.args,_)||c.command==`a`&&c.sdata&&oP(c.sdata,_)){y.unshift(c),i.base=c.base,i.args[5]=i.coords[0]-i.base[0],i.args[6]=i.coords[1]-i.base[1];let e=c.command==`a`?c.sdata:c.args,t=sP(e,{center:[e[4]+_.center[0],e[5]+_.center[1]],radius:_.radius});n+=t,n>Math.PI&&(i.args[3]=1),b=1}for(var g=u;(h=d[++g])&&(h.command===`c`||h.command===`s`);){let e=h.args;if(h.command==`s`&&(ee=eP({command:`s`,args:h.args.slice()},d[g-1].args),e=ee.args,ee.args=e.slice(0,2),x=a([ee])),!JN(e)||!aP(e,v)||(n+=sP(e,v),n-2*Math.PI>.001))break;if(n>Math.PI&&(i.args[3]=1),y.push(h),!(2*Math.PI-n>.001)){i.args[5]=2*(v.center[0]-e[4]),i.args[6]=2*(v.center[1]-e[5]),i.coords=[i.base[0]+i.args[5],i.base[1]+i.args[6]],i={command:`a`,args:[t,t,0,0,r,h.coords[0]-i.coords[0],h.coords[1]-i.coords[1]],coords:h.coords,base:i.coords},s.push(i),g++;break}i.coords=h.coords,i.args[5]=i.coords[0]-i.base[0],i.args[6]=i.coords[1]-i.base[1],f[0]-=e[4],f[1]-=e[5]}if((a(s)+x).length<a(y).length){if(d[g]&&d[g].command==`s`&&eP(d[g],d[g-1].args),b){let t=s.shift();BN(t.args),o[0]+=t.args[5]-c.args[c.args.length-2],o[1]+=t.args[6]-c.args[c.args.length-1],c.command=`a`,c.args=t.args,e.base=c.coords=t.coords}
26if(i=s.shift(),y.length==1?e.sdata=l.slice():y.length-1-b>0&&d.splice(u+1,y.length-1-b,...s),!i)return!1;p=`a`,m=i.args,e.coords=i.coords}}if(VN!==!1){if(p===`m`||p===`l`||p===`t`||p===`q`||p===`s`||p===`c`)for(let t=m.length;t--;)m[t]+=e.base[t%2]-o[t%2];else p==`h`?m[0]+=e.base[0]-o[0]:p==`v`?m[0]+=e.base[1]-o[1]:p==`a`&&(m[5]+=e.base[0]-o[0],m[6]+=e.base[1]-o[1]);BN(m),p==`h`?o[0]+=m[0]:p==`v`?o[1]+=m[0]:(o[0]+=m[m.length-2],o[1]+=m[m.length-1]),BN(o),(p===`M`||p===`m`)&&(s[0]=o[0],s[1]=o[1])}let v=p===`a`?$N(m):void 0;if(t.smartArcRounding&&v!==void 0&&VN)for(let e=VN;e>=0;e--){let t=Pj(m[0],e),n=$N([t,t,...m.slice(2)]);if(!(Math.abs(v-n)<$))break;m[0]=t,m[1]=t}if(t.straightCurves&&(p===`c`&&QN(m)||p===`s`&&QN(l)?(h&&h.command==`s`&&eP(h,m),p=`l`,m=m.slice(-2)):p===`q`&&QN(m)||p===`t`&&c.command!==`q`&&c.command!==`t`?(p==`q`&&h&&h.command==`t`&&eP(h,m),p==`t`&&h&&h.command==`t`&&(h.command=`q`,h.args.unshift(2*e.coords[0]-e.base[0]-e.coords[0],2*e.coords[1]-e.base[1]-e.coords[1])),p=`l`,m=m.slice(-2)):p===`a`&&(m[0]===0||m[1]===0||v!==void 0&&v<$)&&(p=`l`,m=m.slice(-2))),t.convertToQ&&p==`c`){let n=.75*(e.base[0]+m[0])-.25*e.base[0],r=.75*(e.base[0]+m[2])-.25*(e.base[0]+m[4]);if(Math.abs(n-r)<$*2){let i=.75*(e.base[1]+m[1])-.25*e.base[1],a=.75*(e.base[1]+m[3])-.25*(e.base[1]+m[5]);if(Math.abs(i-a)<$*2){let o=m.slice();o.splice(0,4,n+r-e.base[0],i+a-e.base[1]),BN(o);let s=Tj(m,t).length;Tj(o,t).length<s&&(p=`q`,m=o,h&&h.command==`s`&&eP(h,m))}}}if(t.lineShorthands&&p===`l`&&(m[1]===0?(p=`h`,m.pop()):m[0]===0&&(p=`v`,m.shift())),t.collapseRepeated&&i===!1&&(p===`m`||p===`h`||p===`v`)&&c.command&&p==c.command.toLowerCase()&&(p!=`h`&&p!=`v`||c.args[0]>=0==m[0]>=0))return c.args[0]+=m[0],p!=`h`&&p!=`v`&&(c.args[1]+=m[1]),c.coords=e.coords,d[u]=c,!1;if(t.curveSmoothShorthands&&c.command){if(p===`c`)(c.command===`c`&&Math.abs(m[0]- -(c.args[2]-c.args[4]))<$&&Math.abs(m[1]- -(c.args[3]-c.args[5]))<$||c.command===`s`&&Math.abs(m[0]- -(c.args[0]-c.args[2]))<$&&Math.abs(m[1]- -(c.args[1]-c.args[3]))<$||c.command!==`c`&&c.command!==`s`&&Math.abs(m[0])<$&&Math.abs(m[1])<$)&&(p=`s`,m=m.slice(2));else if(p===`q`){if(c.command===`q`&&Math.abs(m[0]-(c.args[2]-c.args[0]))<$&&Math.abs(m[1]-(c.args[3]-c.args[1]))<$)p=`t`,m=m.slice(2);else if(c.command===`t`){let t=nP(f,e.base),n=[m[0]+e.base[0],m[1]+e.base[1]];Math.abs(t[0]-n[0])<$&&Math.abs(t[1]-n[1])<$&&(p=`t`,m=m.slice(2))}}}if(t.removeUseless&&r(c.command==`m`||c.command==`M`,!0)&&((p===`l`||p===`h`||p===`v`||p===`q`||p===`t`||p===`c`||p===`s`)&&m.every(function(e){return e===0})||p===`a`&&m[5]===0&&m[6]===0))return d[u]=c,!1;t.convertToZ&&(n||h?.command===`Z`||h?.command===`z`)&&(p===`l`||p===`h`||p===`v`)&&Math.abs(s[0]-e.coords[0])<$&&Math.abs(s[1]-e.coords[1])<$&&(p=`z`,m=[]),e.command=p,e.args=m}else if(o[0]=s[0],o[1]=s[1],c.command===`Z`||c.command===`z`)return!1;return(p===`Z`||p===`z`)&&t.removeUseless&&r(c.command==`m`||c.command==`M`,n)&&Math.abs(e.base[0]-e.coords[0])<$/10&&Math.abs(e.base[1]-e.coords[1])<$/10?!1:(l=p===`q`?[m[0]+e.base[0],m[1]+e.base[1]]:p===`t`?f?nP(f,e.base):e.coords:void 0,c=e,!0)}),e}function qN(e,t){let n=e[0];return e=e.filter(function(e,r){if(r==0)return!0;if(e.command===`Z`||e.command===`z`)return n=e,!0;let i=e.command,a=e.args,o=a.slice(),s=a.slice();if(i===`m`||i===`l`||i===`t`||i===`q`||i===`s`||i===`c`)for(let t=o.length;t--;)o[t]+=e.base[t%2];else i==`h`?o[0]+=e.base[0]:i==`v`?o[0]+=e.base[1]:i==`a`&&(o[5]+=e.base[0],o[6]+=e.base[1]);BN(o),BN(s);let c=Tj(o,t),l=Tj(s,t);return(t.forceAbsolutePath||c.length<l.length&&!(t.negativeExtraSpace&&i==n.command&&n.command.charCodeAt(0)>96&&c.length==l.length-1&&(a[0]<0||Math.floor(a[0])===0&&!Number.isInteger(a[0])&&n.args[n.args.length-1]%1)))&&(e.command=i.toUpperCase(),e.args=o),n=e,!0}),e}function JN(e){let t=YN([0,0,e[2],e[3],e[0],e[1],e[4],e[5]]);return t!=null&&e[2]<t[0]==t[0]<0&&e[3]<t[1]==t[1]<0&&e[4]<t[0]==t[0]<e[0]&&e[5]<t[1]==t[1]<e[1]}function YN(e){let t=e[1]-e[3],n=e[2]-e[0],r=e[0]*e[3]-e[2]*e[1],i=e[5]-e[7],a=e[6]-e[4],o=e[4]*e[7]-e[5]*e[6],s=t*a-i*n;if(!s)return;let c=[(n*o-a*r)/s,(t*o-i*r)/-s];if(!isNaN(c[0])&&!isNaN(c[1])&&isFinite(c[0])&&isFinite(c[1]))return c}function XN(e){let t=VN||0;for(let n=e.length;n-->0;){let r=Pj(e[n],t);
26if(r!==e[n]){let i=Pj(e[n],t-1);e[n]=Pj(Math.abs(i-e[n]),t+1)>=$?r:i}}return e}function ZN(e){for(let t=e.length;t-->0;)e[t]=Math.round(e[t]);return e}function QN(e){let t=e.length-2,n=-e[t+1],r=e[t],i=1/(n*n+r*r);if(t<=1||!isFinite(i))return!1;for(;(t-=2)>=0;)if(Math.sqrt((n*e[t]+r*e[t+1])**2*i)>$)return!1;return!0}function $N(e){if(e[3]===1)return;let[t,n]=e;if(Math.abs(t-n)>$)return;let r=Math.hypot(e[5],e[6]);if(!(r>t*2))return t-Math.sqrt(t**2-.25*r**2)}function eP(e,t){switch(e.command){case`s`:e.command=`c`;break;case`t`:e.command=`q`}return e.args.unshift(t[t.length-2]-t[t.length-4],t[t.length-1]-t[t.length-3]),e}function tP(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function nP(e,t){return[2*t[0]-e[0],2*t[1]-e[1]]}function rP(e,t){let n=t*t,r=n*t,i=1-t,a=i*i;return[3*a*t*e[0]+3*i*n*e[2]+r*e[4],3*a*t*e[1]+3*i*n*e[3]+r*e[5]]}function iP(e){let t=rP(e,.5),n=[t[0]/2,t[1]/2],r=[(t[0]+e[4])/2,(t[1]+e[5])/2],i=YN([n[0],n[1],n[0]+n[1],n[1]-n[0],r[0],r[1],r[0]+(r[1]-t[1]),r[1]-(r[0]-t[0])]),a=i&&tP([0,0],i),o=Math.min(HN*$,UN*a/100);if(i&&a<0x38d7ea4c68000&&[1/4,3/4].every(function(t){return Math.abs(tP(rP(e,t),i)-a)<=o}))return{center:i,radius:a}}function aP(e,t){let n=Math.min(HN*$,UN*t.radius/100);return[0,1/4,.5,3/4,1].every(function(r){return Math.abs(tP(rP(e,r),t.center)-t.radius)<=n})}function oP(e,t){return aP(e,{center:[t.center[0]+e[4],t.center[1]+e[5]],radius:t.radius})}function sP(e,t){let n=-t.center[0],r=-t.center[1],i=e[4]-t.center[0],a=e[5]-t.center[1];return Math.acos((n*i+r*a)/Math.sqrt((n*n+r*r)*(i*i+a*a)))}function cP(e,t){return t.reduce(function(t,n){let r=``;return n.args&&(r=Tj(BN(n.args.slice()),e)),t+n.command+r},``)}var lP=Object.freeze({__proto__:null,description:zN,fn:WN,name:RN}),uP=`convertTransform`,dP=`collapses multiple transformations and optimizes it`,fP=(e,t)=>{let{convertToShorts:n=!0,degPrecision:r,floatPrecision:i=3,transformPrecision:a=5,matrixToTransform:o=!0,shortTranslate:s=!0,shortScale:c=!0,shortRotate:l=!0,removeUseless:u=!0,collapseIntoOne:d=!0,leadingZero:f=!0,negativeExtraSpace:p=!1}=t,m={convertToShorts:n,degPrecision:r,floatPrecision:i,transformPrecision:a,matrixToTransform:o,shortTranslate:s,shortScale:c,shortRotate:l,removeUseless:u,collapseIntoOne:d,leadingZero:f,negativeExtraSpace:p};return{element:{enter:e=>{e.attributes.transform!=null&&pP(e,`transform`,m),e.attributes.gradientTransform!=null&&pP(e,`gradientTransform`,m),e.attributes.patternTransform!=null&&pP(e,`patternTransform`,m)}}}},pP=(e,t,n)=>{let r=fN(e.attributes[t]);n=mP(r,n),n.collapseIntoOne&&r.length>1&&(r=[pN(r)]),n.convertToShorts?r=gP(r,n):r.forEach(e=>EN(e,n)),n.removeUseless&&(r=_P(r)),r.length?e.attributes[t]=MN(r,n):delete e.attributes[t]},mP=(e,{...t})=>{let n=[];for(let t of e)t.name==`matrix`&&n.push(...t.data.slice(0,4));let r=t.transformPrecision;return n.length&&(t.transformPrecision=Math.min(t.transformPrecision,Math.max.apply(Math,n.map(hP))||t.transformPrecision),r=Math.max.apply(Math,n.map(e=>e.toString().replace(/\D+/g,``).length))),t.degPrecision??=Math.max(0,Math.min(t.floatPrecision,r-2)),t},hP=e=>{let t=e.toString();return t.slice(t.indexOf(`.`)).length-1},gP=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];if(t.matrixToTransform&&r.name===`matrix`){let i=SN(r,t);MN(i,t).length<=MN([r],t).length&&e.splice(n,1,...i),r=e[n]}EN(r,t),t.shortTranslate&&r.name===`translate`&&r.data.length===2&&!r.data[1]&&r.data.pop(),t.shortScale&&r.name===`scale`&&r.data.length===2&&r.data[0]===r.data[1]&&r.data.pop(),t.shortRotate&&e[n-2]?.name===`translate`&&e[n-1].name===`rotate`&&e[n].name===`translate`&&e[n-2].data[0]===-e[n].data[0]&&e[n-2].data[1]===-e[n].data[1]&&(e.splice(n-2,3,{name:`rotate`,data:[e[n-1].data[0],e[n-2].data[0],e[n-2].data[1]]}),n-=2)}return e},_P=e=>e.filter(e=>!([`translate`,`rotate`,`skewX`,`skewY`].indexOf(e.name)>-1&&(e.data.length==1||e.name==`rotate`)&&!e.data[0]||e.name==`translate`&&!e.data[0]&&!e.data[1]||e.name==`scale`&&e.data[0]==1&&(e.data.length<2||e.data[1]==1)||e.name==`matrix`&&e.data[0]==1&&e.data[3]==1&&!(e.data[1]||e.data[2]||e.data[4]||e.data[5]))),vP=Object.freeze({__proto__:null,description:dP,fn:fP,name:uP}),yP=Object.freeze({__proto__:null,description:`removes empty attributes`,fn:()=>({element:{enter:e=>{for(let[t,n]of Object.entries(e.attributes))n!==``||rr.conditionalProcessing.has(t)||delete e.attributes[t]}}}),name:`removeEmptyAttrs`}),bP=Object.freeze({__proto__:null,description:`removes empty container elements`,fn:e=>{let t=$A(e),n=new Set,r=new Map;return{element:{enter:(e,t)=>{if(e.name===`use`)for(let[n,i]of Object.entries(e.attributes)){let a=Nj(n,i);for(let n of a){let i=r.get(n);i===void 0&&(i=[],r.set(n,i)),i.push({node:e,parent:t})}}},exit:(e,r)=>{e.name!==`svg`&&er.container.has(e.name)&&e.children.length===0&&(e.name!==`pattern`||Object.keys(e.attributes).length===0)&&(e.name!==`mask`||e.attributes.id==null)&&(r.type!==`element`||r.name!==`switch`)&&(e.name!==`g`||e.attributes.filter==null&&!ej(t,e).filter)&&(T(e,r),e.attributes.id&&n.add(e.attributes.id))}},root:{exit:()=>{for(let e of n){let t=r.get(e);if(t)for(let e of t)T(e.node,e.parent)}}}}},name:`removeEmptyContainers`}),xP=`mergePaths`,SP=`merges multiple paths in one if possible`;function CP(e,t){let n=e[t];return n?.type===`static`&&jj(n.value)}var wP=Object.freeze({__proto__:null,description:SP,fn:(e,t)=>{let{force:n=!1,floatPrecision:r=3,noSpaceAfterFlags:i=!1}=t,a=$A(e);return{element:{enter:e=>{if(e.children.length<=1)return;let t=new Set,o=e.children[0],s=null,c=(e,t)=>{ZM(e,t,{floatPrecision:r,noSpaceAfterFlags:i}),s=null};for(let r=1;r<e.children.length;r++){let i=e.children[r];if(o.type!==`element`||o.name!==`path`||o.children.length!==0||o.attributes.d==null){s&&o.type===`element`&&c(o,s),o=i;continue}if(i.type!==`element`||i.name!==`path`||i.children.length!==0||i.attributes.d==null){s&&c(o,s),o=i;continue}let l=ej(a,i);if(l[`marker-start`]||l[`marker-mid`]||l[`marker-end`]||l[`clip-path`]||l.mask||l[`mask-image`]||[`fill`,`filter`,`stroke`].some(e=>CP(l,e))){s&&c(o,s),o=i;continue}let u=Object.keys(i.attributes);if(u.length!==Object.keys(o.attributes).length){s&&c(o,s),o=i;continue}if(u.some(e=>e!==`d`&&o.type===`element`&&o.attributes[e]!==i.attributes[e])){s&&c(o,s),o=i;continue}let d=s!=null,f=YM(i);if(s??=YM(o),n||!$M(s,f)){s.push(...f),t.add(i);continue}d&&c(o,s),o=i,s=null}s&&o.type===`element`&&c(o,s),e.children=e.children.filter(e=>!t.has(e))}}}},name:xP}),TP=Object.freeze({__proto__:null,description:`removes unused namespaces declaration`,fn:()=>{let e=new Set;return{element:{enter:(t,n)=>{if(t.name===`svg`&&n.type===`root`){for(let n of Object.keys(t.attributes))if(n.startsWith(`xmlns:`)){let t=n.slice(6);e.add(t)}}if(e.size!==0){if(t.name.includes(`:`)){let[n]=t.name.split(`:`);e.has(n)&&e.delete(n)}for(let n of Object.keys(t.attributes))if(n.includes(`:`)){let[t]=n.split(`:`);e.delete(t)}}}
26,exit:(t,n)=>{if(t.name===`svg`&&n.type===`root`)for(let n of e)delete t.attributes[`xmlns:${n}`]}}}},name:`removeUnusedNS`}),EP=Object.freeze({__proto__:null,description:`Sort element attributes for better compression`,fn:(e,t)=>{let{order:n=[`id`,`width`,`height`,`x`,`x1`,`x2`,`y`,`y1`,`y2`,`cx`,`cy`,`r`,`fill`,`stroke`,`marker`,`d`,`points`],xmlnsOrder:r=`front`}=t,i=e=>{if(r===`front`){if(e===`xmlns`)return 3;if(e.startsWith(`xmlns:`))return 2}return+!!e.includes(`:`)},a=([e],[t])=>{let r=i(e),a=i(t)-r;if(a!==0)return a;let[o]=e.split(`-`),[s]=t.split(`-`);if(o!==s){let e=+!!n.includes(o),t=+!!n.includes(s);if(e===1&&t===1)return n.indexOf(o)-n.indexOf(s);let r=t-e;if(r!==0)return r}return e<t?-1:1};return{element:{enter:e=>{let t=Object.entries(e.attributes);t.sort(a);let n={};for(let[e,r]of t)n[e]=r;e.attributes=n}}}},name:`sortAttrs`}),DP=Object.freeze({__proto__:null,description:`Sorts children of <defs> to improve compression`,fn:()=>({element:{enter:e=>{if(e.name===`defs`){let t=new Map;for(let n of e.children)if(n.type===`element`){let e=t.get(n.name);e==null?t.set(n.name,1):t.set(n.name,e+1)}e.children.sort((e,n)=>{if(e.type!==`element`||n.type!==`element`)return 0;let r=t.get(e.name),i=t.get(n.name);if(r!=null&&i!=null){let e=i-r;if(e!==0)return e}let a=n.name.length-e.name.length;return a===0?e.name===n.name?0:e.name>n.name?-1:1:a})}}}}),name:`sortDefsChildren`}),OP=`removeDesc`,kP=`removes <desc>`,AP=/^(Created with|Created using)/,jP=Object.freeze({__proto__:null,description:kP,fn:(e,t)=>{let{removeAny:n=!1}=t;return{element:{enter:(e,t)=>{e.name===`desc`&&(n||e.children.length===0||e.children[0].type===`text`&&AP.test(e.children[0].value))&&T(e,t)}}}},name:OP}),MP=r({name:`preset-default`,plugins:[Jn,Yn,$n,sj,cj,lj,hj,gj,bj,Fj,Uj,Jj,$j,sM,pM,mM,hM,xM,MM,NM,LM,RM,zM,UM,qM,lP,vP,yP,bP,wP,TP,EP,DP,jP]}),NP=`addAttributesToSVGElement`,PP=`adds attributes to an outer <svg> element`,FP=`Error in plugin "addAttributesToSVGElement": absent parameters. 27It should have a list of "attributes" or one "attribute". 28Config example: 29 30plugins: [ 31 { 32 name: 'addAttributesToSVGElement', 33 params: { 34 attribute: "mySvg" 35 } 36 } 37] 38 39plugins: [ 40 { 41 name: 'addAttributesToSVGElement', 42 params: { 43 attributes: ["mySvg", "size-big"] 44 } 45 } 46] 47 48plugins: [ 49 { 50 name: 'addAttributesToSVGElement', 51 params: { 52 attributes: [ 53 { 54 focusable: false 55 }, 56 { 57 'data-image': icon 58 } 59 ] 60 } 61 } 62] 63`,IP=Object.freeze({__proto__:null,description:PP,fn:(e,t)=>{if(!Array.isArray(t.attributes)&&!t.attribute)return console.error(FP),null;let n=t.attributes||[t.attribute];return{element:{enter:(e,t)=>{if(e.name===`svg`&&t.type===`root`){for(let t of n)if(typeof t==`string`&&e.attributes[t]==null&&(e.attributes[t]=void 0),typeof t==`object`)for(let n of Object.keys(t))e.attributes[n]??(e.attributes[n]=t[n])}}}}},name:NP}),LP=`addClassesToSVGElement`,RP=`adds classnames to an outer <svg> element`,zP=`Error in plugin "addClassesToSVGElement": absent parameters. 64It should have a list of classes in "classNames" or one "className". 65Config example: 66 67plugins: [ 68 { 69 name: "addClassesToSVGElement", 70 params: { 71 className: "mySvg" 72 } 73 } 74] 75 76plugins: [ 77 { 78 name: "addClassesToSVGElement", 79 params: { 80 classNames: ["mySvg", "size-big"] 81 } 82 } 83] 84`,BP=Object.freeze({__proto__:null,description:RP,fn:(e,t,n)=>{if(!(Array.isArray(t.classNames)&&t.classNames.length!==0)&&!t.className)return console.error(zP),null;let r=t.classNames||[t.className];return{element:{enter:(e,t)=>{if(e.name===`svg`&&t.type===`root`){let t=new Set(e.attributes.class==null?null:e.attributes.class.split(` `));for(let i of r)if(i!=null){let r=typeof i==`string`?i:i(e,n);t.add(r)}e.attributes.class=Array.from(t).join(` `)}}}}},name:LP}),VP=`cleanupListOfValues`,HP=`rounds list of values to the fixed precision`,UP=/^([-+]?\d*\.?\d+([eE][-+]?\d+)?)(px|pt|pc|mm|cm|m|in|ft|em|ex|%)?$/,WP=/\s+,?\s*|,\s*/,GP={cm:96/2.54,mm:96/25.4,in:96,pt:4/3,pc:16,px:1},KP=Object.freeze({__proto__:null,description:HP,fn:(e,t)=>{let{floatPrecision:n=3,leadingZero:r=!0,defaultPx:i=!0,convertToPx:a=!0}=t,o=e=>{let t=[];for(let o of e.split(WP)){let e=o.match(UP),s=o.match(/new/);if(e){let o=Number(Number(e[1]).toFixed(n)),s=e[3]||``;if(a&&s&&s in GP){let t=Number((GP[s]*Number(e[1])).toFixed(n));t.toString().length<e[0].length&&(o=t,s=`px`)}let c;c=r?Ej(o):o.toString(),i&&s===`px`&&(s=``),t.push(c+s)}else s?t.push(`new`):o&&t.push(o)}return t.join(` `)};return{element:{enter:e=>{e.attributes.points!=null&&(e.attributes.points=o(e.attributes.points)),e.attributes[`enable-background`]!=null&&(e.attributes[`enable-background`]=o(e.attributes[`enable-background`])),e.attributes.viewBox!=null&&(e.attributes.viewBox=o(e.attributes.viewBox)),e.attributes[`stroke-dasharray`]!=null&&(e.attributes[`stroke-dasharray`]=o(e.attributes[`stroke-dasharray`])),e.attributes.dx!=null&&(e.attributes.dx=o(e.attributes.dx)
84),e.attributes.dy!=null&&(e.attributes.dy=o(e.attributes.dy)),e.attributes.x!=null&&(e.attributes.x=o(e.attributes.x)),e.attributes.y!=null&&(e.attributes.y=o(e.attributes.y))}}}},name:VP}),qP=Object.freeze({__proto__:null,description:`converts one-stop (single color) gradients to a plain color`,fn:e=>{let t=$A(e),n=new Set,r=new Map,i=new Map,a=0;return{element:{enter:(o,s)=>{if(o.attributes[`xlink:href`]!=null&&a++,o.name===`defs`){r.set(o,s);return}if(o.name!==`linearGradient`&&o.name!==`radialGradient`)return;let c=o.children.filter(e=>e.type===`element`&&e.name===`stop`),l=o.attributes[`xlink:href`]||o.attributes.href,u=c.length===0&&l!=null&&l.startsWith(`#`)?Kn(e,l):o;if(u==null||u.type!==`element`){i.set(o,s);return}let d=u.children.filter(e=>e.type===`element`&&e.name===`stop`);if(d.length!==1||d[0].type!==`element`)return;s.type===`element`&&s.name===`defs`&&n.add(s),i.set(o,s);let f,p=ej(t,d[0])[`stop-color`];p!=null&&p.type===`static`&&(f=p.value);let m=`url(#${o.attributes.id})`,h=Gn(e,[...pr].map(e=>`[${e}="${m}"]`).join(`,`));for(let e of h)if(e.type===`element`)for(let t of pr)e.attributes[t]===m&&(f==null?delete e.attributes[t]:e.attributes[t]=f);let g=Gn(e,`[style*=${m}]`);for(let e of g)e.type===`element`&&(e.attributes.style=e.attributes.style.replace(m,f||ir.presentation[`stop-color`]))},exit:e=>{if(e.name===`svg`){for(let[e,t]of i.entries())e.attributes[`xlink:href`]!=null&&a--,T(e,t);a===0&&delete e.attributes[`xmlns:xlink`];for(let[e,t]of r.entries())n.has(e)&&e.children.length===0&&T(e,t)}}}}},name:`convertOneStopGradients`}),JP=`convertStyleToAttrs`,YP=`converts style to attributes`,XP=(...e)=>`(?:`+e.join(`|`)+`)`,ZP=rr.presentation,QP=`\\\\(?:[0-9a-f]{1,6}\\s?|\\r\\n|.)`,$P=`\\s*(`+XP(`[^:;\\\\]`,QP)+`*?)\\s*`,eF=`'(?:[^'\\n\\r\\\\]|`+QP+`)*?(?:'|$)`,tF=`"(?:[^"\\n\\r\\\\]|`+QP+`)*?(?:"|$)`,nF=RegExp(`^`+XP(eF,tF)+`$`),rF=`\\s*(`+XP(`[^!'"();\\\\]+?`,QP,eF,tF,`\\(`+XP(`[^'"()\\\\]+`,QP,eF,tF)+`*?\\)`,`[^;]*?`)+`*?)`,iF=RegExp($P+`:`+rF+`(\\s*!important(?![-(\\w]))?\\s*(?:;\\s*|$)`,`ig`),aF=new RegExp(XP(QP,eF,tF,`/\\*[^]*?\\*/`),`ig`),oF=Object.freeze({__proto__:null,description:YP,fn:(e,t)=>{let{keepImportant:n=!1}=t;return{element:{enter:e=>{if(e.attributes.style!=null){let r=[],i={},a=e.attributes.style.replace(aF,e=>e[0]==`/`?``:e[0]==`\\`&&/[-g-z]/i.test(e[1])?e[1]:e);iF.lastIndex=0;for(var t;t=iF.exec(a);)n&&t[3]||r.push([t[1],t[2]]);r.length&&(r=r.filter(function(e){if(e[0]){let t=e[0].toLowerCase(),n=e[1];if(nF.test(n)&&(n=n.slice(1,-1)),ZP.has(t))return i[t]=n,!1}return!0}),Object.assign(e.attributes,i),r.length?e.attributes.style=r.map(e=>e.join(`:`)).join(`;`):delete e.attributes.style)}}}}},name:JP}),sF=`prefixIds`,cF=`prefix IDs`,lF=e=>{let t=/[/\\]?([^/\\]+)$/.exec(e);return t?t[1]:``},uF=e=>e.replace(/[. ]/g,`_`),dF=e=>e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`)?e.slice(1,-1):e,fF=(e,t)=>{let n=e(t);return t.startsWith(n)?t:n+t},pF=(e,t)=>t.startsWith(`#`)?`#`+fF(e,t.slice(1)):null,mF=(e,t,n,r,i,a)=>{if(typeof r==`function`){let o=a.get(e);return o??(o=r(t,n)+i,a.set(e,o),o)}return typeof r==`string`?r+i:r===!1?``:n.path!=null&&n.path.length>0?uF(lF(n.path))+i:`prefix`+i},hF=Object.freeze({__proto__:null,description:cF,fn:(e,t,n)=>{let{delim:r=`__`,prefix:i,prefixIds:a=!0,prefixClassNames:o=!0}=t,s=new Map;return{element:{enter:e=>{let t=t=>mF(t,e,n,i,r,s);if(e.name===`style`){if(e.children.length===0)return;for(let n of e.children){if(n.type!==`text`&&n.type!==`cdata`)continue;let e=n.value,r;try{r=wg(e,{parseValue:!0,parseCustomProperty:!1})}catch{return}Og(r,e=>{if(a&&e.type===`IdSelector`||o&&e.type===`ClassSelector`){e.name=fF(t,e.name);return}if(e.type===`Url`&&e.value.length>0){let n=pF(t,dF(e.value));n!=null&&(e.value=n)}}),n.value=Tg(r)}}a&&e.attributes.id!=null&&e.attributes.id.length!==0&&(e.attributes.id=fF(t,e.attributes.id)),o&&e.attributes.class!=null&&e.attributes.class.length!==0&&(e.attributes.class=e.attributes.class.split(/\s+/).map(e=>fF(t,e)).join(` `));for(let n of[`href`,`xlink:href`])if(e.attributes[n]!=null&&e.attributes[n].length!==0){let r=pF(t,e.attributes[n]);r!=null&&(e.attributes[n]=r)}for(let n of cr)e.attributes[n]!=null&&e.attributes[n].length!==0&&(e.attributes[n]=e.attributes[n].replace(/\burl\((["'])?(#.+?)\1\)/gi,(e,n,r)=>{let i=pF(t,r);return i==null?e:`url(${i})`}));for(let n of[`begin`,`end`])if(e.attributes[n]!=null&&e.attributes[n].length!==0){let r=e.attributes[n].split(/\s*;\s+/).map(e=>{if(e.endsWith(`.end`)||e.endsWith(`.start`)){let[n,r]=e.split(`.`);return`${fF(t,n)}.${r}`}return e});e.attributes[n]=r.join(`; `)}}}}},name:sF}),gF=`removeAttributesBySelector`,_F=`removes attributes of elements that match a css selector`,vF=`Warning: The plugin "removeAttributesBySelector" is missing parameters. 85It should have a list of "selectors", or one "selector" and one "attributes". 86Without either, the plugin is a noop.`,yF=Object.freeze({__proto__:null,description:_F,fn:(e,t)=>{if(!Array.isArray(t.selectors)&&(!t.selector||!t.attributes))return console.warn(vF),null;let n=Array.isArray(t.selectors)?t.selectors:[t];for(let{selector:t,attributes:r}of n){let n=Gn(e,t);for(let e of n)if(e.type===`element`){if(Array.isArray(r))for(let t of r)delete e.attributes[t];else delete e.attributes[r]}}return{}},name:gF}),bF=`removeAttrs`,xF=`removes specified attributes`,SF=`:`,CF=`Warning: The plugin "removeAttrs" requires the "attrs" parameter. 87It should have a pattern to remove, otherwise the plugin is a noop. 88Config example: 89 90plugins: [ 91 { 92 name: "removeAttrs", 93 params: { 94 attrs: "(fill|stroke)" 95 } 96 } 97] 98`,wF=Object.freeze({__proto__:null,description:xF,fn:(e,t)=>{if(t.attrs===void 0)return console.warn(CF),null;let n=typeof t.elemSeparator==`string`?t.elemSeparator:SF,r=typeof t.preserveCurrentColor==`boolean`&&t.preserveCurrentColor,i=Array.isArray(t.attrs)?t.attrs:[t.attrs];return{element:{enter:e=>{for(let t of i){t.includes(n)?t.split(n).length<3&&(t=[t,`.*`].join(n)):t=[`.*`,t,`.*`].join(n);let i=t.split(n).map(e=>(e===`*`&&(e=`.*`),new RegExp([`^`,e,`$`].join(``),`i`)));if(i[0].test(e.name))for(let[t,n]of Object.entries(e.attributes)){let a=n.toLowerCase()===`currentcolor`;!(r&&t==`fill`&&a)&&!(r&&t==`stroke`&&a)&&i[1].test(t)&&i[2].test(n)&&delete e.attributes[t]}}}}}},name:bF}),TF=Object.freeze({__proto__:null,description:`removes width and height in presence of viewB
98ox (opposite to removeViewBox)`,fn:()=>({element:{enter:e=>{if(e.name===`svg`){if(e.attributes.viewBox!=null)delete e.attributes.width,delete e.attributes.height;else if(e.attributes.width!=null&&e.attributes.height!=null&&Number.isNaN(Number(e.attributes.width))===!1&&Number.isNaN(Number(e.attributes.height))===!1){let t=Number(e.attributes.width),n=Number(e.attributes.height);e.attributes.viewBox=`0 0 ${t} ${n}`,delete e.attributes.width,delete e.attributes.height}}}}}),name:`removeDimensions`}),EF=Object.freeze({__proto__:null,description:`removes arbitrary elements by ID or className`,fn:(e,t)=>{let n=t.id==null?[]:Array.isArray(t.id)?t.id:[t.id],r=t.class==null?[]:Array.isArray(t.class)?t.class:[t.class];return{element:{enter:(e,t)=>{if(e.attributes.id!=null&&n.length!==0&&n.includes(e.attributes.id)&&T(e,t),e.attributes.class&&r.length!==0){let n=e.attributes.class.split(` `);for(let i of r)if(n.includes(i)){T(e,t);break}}}}}},name:`removeElementsByAttr`}),DF=Object.freeze({__proto__:null,description:`removes elements that are drawn outside of the viewBox`,fn:()=>{let t=null;return{element:{enter:(n,r)=>{if(n.name===`svg`&&r.type===`root`){let e=``;n.attributes.viewBox==null?n.attributes.height!=null&&n.attributes.width!=null&&(e=`0 0 ${n.attributes.width} ${n.attributes.height}`):e=n.attributes.viewBox,e=e.replace(/[,+]|px/g,` `).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``);let r=/^(-?\d*\.?\d+) (-?\d*\.?\d+) (\d*\.?\d+) (\d*\.?\d+)$/.exec(e);if(r==null)return;let i=Number.parseFloat(r[1]),a=Number.parseFloat(r[2]),o=Number.parseFloat(r[3]),s=Number.parseFloat(r[4]);t={left:i,top:a,right:i+o,bottom:a+s,width:o,height:s}}if(n.attributes.transform!=null)return e;if(n.name===`path`&&n.attributes.d!=null&&t!=null){let e=DM(n.attributes.d),i=!1;for(let n of e)if(n.command===`M`){let[e,r]=n.args;e>=t.left&&e<=t.right&&r>=t.top&&r<=t.bottom&&(i=!0)}if(i)return;e.length===2&&e.push({command:`z`,args:[]});let{left:a,top:o,width:s,height:c}=t;$M([{command:`M`,args:[a,o]},{command:`h`,args:[s]},{command:`v`,args:[c]},{command:`H`,args:[a]},{command:`z`,args:[]}],e)===!1&&T(n,r)}}}}},name:`removeOffCanvasPaths`}),OF=Object.freeze({__proto__:null,description:`removes raster images`,fn:()=>({element:{enter:(e,t)=>{e.name===`image`&&e.attributes[`xlink:href`]!=null&&/(\.|image\/)(jpe?g|png|gif)/.test(e.attributes[`xlink:href`])&&T(e,t)}}}),name:`removeRasterImages`}),kF=`removeScripts`,AF=`removes scripts`,jF=[...rr.animationEvent,...rr.documentEvent,...rr.documentElementEvent,...rr.globalEvent,...rr.graphicalEvent],MF=`http://www.w3.org/2000/svg`,NF=[MF],PF=[MF],FF=[MF,`http://www.w3.org/1999/xhtml`],IF=new Set([`action`,`data`,`formaction`,`href`,`src`]);function LF(e,t,n,r){if(e===t)return!0;if(e.includes(`:`)){let[i,a]=e.split(`:`,2);if(t===a){let e=n.get(i),t=e[e.length-1];return r.includes(t)}}return!1}var RF=Object.freeze({__proto__:null,description:AF,fn:()=>{let e=new Map,t=0;return{element:{enter:(n,r)=>{for(let[t,r]of Object.entries(n.attributes)){if(!t.startsWith(`xmlns:`))continue;let n=t.slice(6);e.has(n)?e.get(n).push(r):e.set(n,[r])}if(LF(n.name,`foreignObject`,e,NF)&&(t+=1),LF(n.name,`script`,e,FF)){T(n,r);return}for(let[e,r]of Object.entries(n.attributes)){let i=e.slice(e.lastIndexOf(`:`)+1).toLowerCase(),a=jF.includes(e)||t>0&&i.startsWith(`on`),o=t>0&&i===`srcdoc`,s=t>0&&IF.has(i)&&kj(r);(a||o||s)&&delete n.attributes[e]}},exit:(n,r)=>{let i=LF(n.name,`foreignObject`,e,NF),a=LF(n.name,`a`,e,PF);for(let t of Object.keys(n.attributes)){if(!t.startsWith(`xmlns:`))continue;let n=t.slice(6);e.get(n).pop()}if(a){for(let e of Object.keys(n.attributes))if(e===`href`||e.endsWith(`:href`)){if(n.attributes[e]==null||!kj(n.attributes[e]))continue;let t=r.children.indexOf(n),i=n.children.filter(e=>e.type!==`text`);r.children.splice(t,1,...i)}}i&&--t}}}},name:kF}),zF=Object.freeze({__proto__:null,description:`removes <style> element`,fn:()=>({element:{enter:(e,t)=>{e.name===`style`&&T(e,t)}}}),name:`removeStyleElement`}),BF=Object.freeze({__proto__:null,description:`removes <title>`,fn:()=>({element:{enter:(e,t)=>{e.name===`title`&&T(e,t)}}}),name:`removeTitle`}),VF=`removeViewBox`,HF=`removes viewBox attribute when possible`,UF=new Set([`pattern`,`svg`,`symbol`]),WF=Object.freeze({__proto__:null,description:HF,fn:()=>({element:{enter:(e,t)=>{if(UF.has(e.name)&&e.attributes.viewBox!=null&&e.attributes.width!=null&&e.attributes.height!=null){if(e.name===`svg`&&t.type!==`root`)return;let n=e.attributes.viewBox.split(/[ ,]+/g);
98n[0]===`0`&&n[1]===`0`&&e.attributes.width.replace(/px$/,``)===n[2]&&e.attributes.height.replace(/px$/,``)===n[3]&&delete e.attributes.viewBox}}}}),name:VF}),GF=`removeXlink`,KF=`remove xlink namespace and replaces attributes with the SVG 2 equivalent where applicable`,qF=`http://www.w3.org/1999/xlink`,JF={new:`_blank`,replace:`_self`},YF=new Set([`cursor`,`filter`,`font-face-uri`,`glyphRef`,`tref`]),XF=(e,t,n)=>t.map(e=>`${e}:${n}`).filter(t=>e.attributes[t]!=null),ZF=Object.freeze({__proto__:null,description:KF,fn:(e,t)=>{let{includeLegacy:n}=t,r=[],i=[],a=[];return{element:{enter:e=>{for(let[t,n]of Object.entries(e.attributes))if(t.startsWith(`xmlns:`)){let e=t.split(`:`,2)[1];if(n===qF){r.push(e);continue}r.includes(e)&&i.push(e)}if(i.some(e=>r.includes(e)))return;let t=XF(e,r,`show`),o=e.attributes.target!=null;for(let n=t.length-1;n>=0;n--){let r=t[n],i=JF[e.attributes[r]];if(o||i==null){delete e.attributes[r];continue}i!==or[e.name]?.defaults?.target&&(e.attributes.target=i),delete e.attributes[r],o=!0}let s=XF(e,r,`title`);for(let t=s.length-1;t>=0;t--){let n=s[t],r=e.attributes[n];if(e.children.filter(e=>e.type===`element`&&e.name===`title`).length>0){delete e.attributes[n];continue}let i={type:`element`,name:`title`,attributes:{},children:[{type:`text`,value:r}]};Object.defineProperty(i,"parentNode",{writable:!0,value:e}),e.children.unshift(i),delete e.attributes[n]}let c=XF(e,r,`href`);if(c.length>0&&YF.has(e.name)&&!n){c.map(e=>e.split(`:`,1)[0]).forEach(e=>a.push(e));return}for(let t=c.length-1;t>=0;t--){let n=c[t],r=e.attributes[n];if(e.attributes.href!=null){delete e.attributes[n];continue}e.attributes.href=r,delete e.attributes[n]}},exit:e=>{for(let[t,o]of Object.entries(e.attributes)){let[s,c]=t.split(`:`,2);if(r.includes(s)&&!i.includes(s)&&!a.includes(s)&&!n){delete e.attributes[t];continue}if(t.startsWith(`xmlns:`)&&!a.includes(c)){if(o===qF){let n=r.indexOf(c);r.splice(n,1),delete e.attributes[t];continue}if(i.includes(s)){let e=i.indexOf(c);i.splice(e,1)}}}}}}},name:GF}),QF=Object.freeze({__proto__:null,description:`removes xmlns attribute (for inline svg)`,fn:()=>({element:{enter:e=>{e.name===`svg`&&delete e.attributes.xmlns}}}),name:`removeXMLNS`}),$F=Object.freeze({__proto__:null,description:`Finds <path> elements with the same d, fill, and stroke, and converts them to <use> elements referencing a single <path> def.`,fn:e=>{let t=$A(e),n=new Map,r,i=new Set;return{element:{enter:(e,t)=>{if(e.name===`path`&&e.attributes.d!=null){let t=e.attributes.d,r=e.attributes.fill||``,i=e.attributes.stroke||``,a=t+`;s:`+i+`;f:`+r,o=n.get(a);o??(o=[],n.set(a,o)),o.push(e)}if(r==null&&e.name===`defs`&&t.type===`element`&&t.name===`svg`&&(r=e),e.name===`use`)for(let t of[`href`,`xlink:href`]){let n=e.attributes[t];n!=null&&n.startsWith(`#`)&&n.length>1&&i.add(n.slice(1))}},exit:(e,a)=>{if(e.name===`svg`&&a.type===`root`){let a=r;a??={type:`element`,name:`defs`,attributes:{},children:[]};let o=0;for(let r of n.values())if(r.length>1){let n={type:`element`,name:`path`,attributes:{},children:[]};for(let e of[`fill`,`stroke`,`d`])r[0].attributes[e]!=null&&(n.attributes[e]=r[0].attributes[e]);let s=r[0].attributes.id;s==null||i.has(s)||t.rules.some(e=>e.selector===`#${s}`)?n.attributes.id=`reuse-`+o++:(n.attributes.id=s,delete r[0].attributes.id),a.children.push(n);for(let t of r){if(delete t.attributes.d,delete t.attributes.stroke,delete t.attributes.fill,a.children.includes(t)&&t.children.length===0){if(Object.keys(t.attributes).length===0){T(t,a);continue}if(Object.keys(t.attributes).length===1&&t.attributes.id!=null){T(t,a);let r=`[xlink\\:href=#${t.attributes.id}], [href=#${t.attributes.id}]`;for(let t of Gn(e,r))if(t.type===`element`)for(let e of[`href`,`xlink:href`])t.attributes[e]!=null&&(t.attributes[e]=`#`+n.attributes.id);continue}}t.name=`use`,t.attributes[`xlink:href`]=`#`+n.attributes.id}}a.children.length!==0&&(e.attributes[`xmlns:xlink`]??(e.attributes[`xmlns:xlink`]=`http://www.w3.org/1999/xlink`),r??e.children.unshift(a))}}}}},name:`reusePaths`}),eI=Object.freeze([MP,IP,BP,hj,xM,Uj,KP,$j,qM,sM,RM,qP,lP,LM,oF,vP,bj,wP,gj,Fj,zM,UM,hF,yF,wF,$n,sj,jP,TF,Jn,lj,EF,yP,bP,NM,MM,cj,mM,DF,OF,RF,zF,BF,pM,TP,Jj,hM,WF,ZF,QF,Yn,$F,EP,DP]),tI={},nI;function rI(){return nI?tI:(nI=1,(function(e){(function(e){e.parser=function(e,t){return new n(e,t)},e.SAXParser=n,e.MAX_BUFFER_LENGTH=65536;var t=[`comment`,`sgmlDecl`,`textNode`,`tagName`,`doctype`,`procInstName`,`procInstBody`,`entity`,`attribName`,`attribValue`,`cdata`,`script`];e.EVENTS=[`text`,`processinginstruction`,`sgmldeclaration`,`doctype`,`comment`,`opentagstart`,`attribute`,`opentag`,`closetag`,`opencdata`,`cdata`,`closecdata`,`error`,`end`,`ready`,`script`,`opennamespace`,`closenamespace`];function n(t,r){if(!(this instanceof n))return new n(t,r);var a=this;i(a),a.q=a.c=``,a.bufferCheckPosition=e.MAX_BUFFER_LENGTH,a.encoding=null,a.opt=r||{},a.opt.lowercase=a.opt.lowercase||a.opt.lowercasetags,a.looseCase=a.opt.lowercase?`toLowerCase`:`toUpperCase`,a.opt.maxEntityCount=a.opt.maxEntityCount||512,a.opt.maxEntityDepth=a.opt.maxEntityDepth||4,a.entityCount=a.entityDepth=0,a.tags=[],a.closed=a.closedRoot=a.sawRoot=!1,a.tag=a.error=null,a.strict=!!t,a.noscript=!!(t||a.opt.noscript),a.state=b.BEGIN,a.strictEntities=a.opt.strictEntities,a.ENTITIES=a.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),a.attribList=[],a.opt.xmlns&&(a.ns=Object.create(u)),a.opt.unquotedAttributeValues===void 0&&(a.opt.unquotedAttributeValues=!t),a.trackPosition=a.opt.position!==!1,a.trackPosition&&(a.position=a.line=a.column=0),ee(a,`onready`)}Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t});function r(n){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,a=0,o=t.length;a<o;a++){var s=n[t[a]].length;if(s>r)switch(t[a]){case`textNode`:ie(n);break;case`cdata`:C(n,`oncdata`,n.cdata),n.cdata=``;break;case`script`:C(n,`onscript`,n.script),n.script=``;break;default:oe(n,`Max buffer length exceeded: `+t[a])}i=Math.max(i,s)}n.bufferCheckPosition=e.MAX_BUFFER_LENGTH-i+n.position}function i(e){for(var n=0,r=t.length;n<r;n++)e[t[n]]=``}function a(e){ie(e),e.cdata!==``&&(C(e,`oncdata`,e.cdata),e.cdata=``),e.script!==``&&(C(e,`onscript`,e.script),e.script=``)}n.prototype={end:function(){se(this)},write:_e,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){a(this)}};
98var o=/^\[CDATA\[$/i,s=/^DOCTYPE$/i,c=`http://www.w3.org/XML/1998/namespace`,l=`http://www.w3.org/2000/xmlns/`,u={xml:c,xmlns:l},d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return e===` `||e===` 99`||e===`\r`||e===` `}function g(e){return e===`"`||e===`'`}function _(e){return e===`>`||h(e)}function v(e,t){return e.test(t)}function y(e,t){return!v(e,t)}var b=0;for(var x in e.STATE={BEGIN:b++,BEGIN_WHITESPACE:b++,TEXT:b++,TEXT_ENTITY:b++,OPEN_WAKA:b++,SGML_DECL:b++,SGML_DECL_QUOTED:b++,DOCTYPE:b++,DOCTYPE_QUOTED:b++,DOCTYPE_DTD:b++,DOCTYPE_DTD_QUOTED:b++,COMMENT_STARTING:b++,COMMENT:b++,COMMENT_ENDING:b++,COMMENT_ENDED:b++,CDATA:b++,CDATA_ENDING:b++,CDATA_ENDING_2:b++,PROC_INST:b++,PROC_INST_BODY:b++,PROC_INST_ENDING:b++,OPEN_TAG:b++,OPEN_TAG_SLASH:b++,ATTRIB:b++,ATTRIB_NAME:b++,ATTRIB_NAME_SAW_WHITE:b++,ATTRIB_VALUE:b++,ATTRIB_VALUE_QUOTED:b++,ATTRIB_VALUE_CLOSED:b++,ATTRIB_VALUE_UNQUOTED:b++,ATTRIB_VALUE_ENTITY_Q:b++,ATTRIB_VALUE_ENTITY_U:b++,CLOSE_TAG:b++,CLOSE_TAG_SAW_WHITE:b++,SCRIPT:b++,SCRIPT_ENDING:b++},e.XML_ENTITIES=Object.assign(Object.create(null),{amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`}),e.ENTITIES=Object.assign(Object.create(null),{amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`,AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:1
9974,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}),Object.keys(e.ENTITIES).forEach(function(t){var n=e.ENTITIES[t],r=typeof n==`number`?String.fromCharCode(n):n;e.ENTITIES[t]=r}),e.STATE)e.STATE[e.STATE[x]]=x;b=e.STATE;function ee(e,t,n){e[t]&&e[t](n)}function te(e){var t=e&&e.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);return t?t[2]:null}function ne(e){return e?e.toLowerCase().replace(/[^a-z0-9]/g,``):null}function re(e,t){let n=ne(e),r=ne(t);return!n||!r?!0:r===`utf16`?n===`utf16le`||n===`utf16be`:n===r}function S(e,t){if(e.strict&&e.encoding&&t&&t.name===`xml`){var n=te(t.body);n&&!re(e.encoding,n)&&w(e,`XML declaration encoding `+n+` does not match detected stream encoding `+e.encoding.toUpperCase())}}function C(e,t,n){e.textNode&&ie(e),ee(e,t,n)}function ie(e){e.textNode=ae(e.opt,e.textNode),e.textNode&&ee(e,`ontext`,e.textNode),e.textNode=``}function ae(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g,` `)),t}function oe(e,t){return ie(e),e.trackPosition&&(t+=` 100Line: `+e.line+` 101Column: `+e.column+` 102Char: `+e.c),t=Error(t),e.error=t,ee(e,`onerror`,t),e}function se(e){return e.sawRoot&&!e.closedRoot&&w(e,`Unclosed root tag`),e.state!==b.BEGIN&&e.state!==b.BEGIN_WHITESPACE&&e.state!==b.TEXT&&oe(e,`Unexpected end`),ie(e),e.c=``,e.closed=!0,ee(e,`onend`),n.call(e,e.strict,e.opt),e}function w(e,t){if(typeof e!=`object`||!(e instanceof n))throw Error(`bad call to strictFail`);e.strict&&oe(e,t)}function ce(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,C(e,`onopentagstart`,n)}function le(e,t){var n=e.indexOf(`:`)<0?[``,e]:e.split(`:`),r=n[0],i=n[1];return t&&e===`xmlns`&&(r=`xmlns`,i=``),{prefix:r,local:i}}function ue(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue=``;return}if(e.opt.xmlns){var t=le(e.attribName,!0),n=t.prefix,r=t.local;if(n===`xmlns`){if(r===`xml`&&e.attribValue!==c)w(e,`xml: prefix must be bound to `+c+` 103Actual: `+e.attribValue);else if(r===`xmlns`&&e.attribValue!==l)w(e,`xmlns: prefix must be bound to `+l+` 104Actual: `+e.attribValue);else{var i=e.tag,a=e.tags[e.tags.length-1]||e;i.ns===a.ns&&(i.ns=Object.create(a.ns)),i.ns[r]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,C(e,`onattribute`,{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=``}function de(e,t){if(e.opt.xmlns){var n=e.tag,r=le(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||``,n.prefix&&!n.uri&&
104(w(e,`Unbound namespace prefix: `+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){C(e,`onopennamespace`,{prefix:t,uri:n.ns[t]})});for(var a=0,o=e.attribList.length;a<o;a++){var s=e.attribList[a],c=s[0],l=s[1],u=le(c,!0),d=u.prefix,f=u.local,p=d===``?``:n.ns[d]||``,m={name:c,value:l,prefix:d,local:f,uri:p};d&&d!==`xmlns`&&!p&&(w(e,`Unbound namespace prefix: `+JSON.stringify(d)),m.uri=d),e.tag.attributes[c]=m,C(e,`onattribute`,m)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),C(e,`onopentag`,e.tag),t||(e.state=e.noscript||e.tagName.toLowerCase()!==`script`?b.TEXT:b.SCRIPT,e.tag=null,e.tagName=``),e.attribName=e.attribValue=``,e.attribList.length=0}function fe(e){if(!e.tagName){w(e,`Weird empty close tag.`),e.textNode+=`</>`,e.state=b.TEXT;return}if(e.script){if(e.tagName!==`script`){e.script+=`</`+e.tagName+`>`,e.tagName=``,e.state=b.SCRIPT;return}C(e,`onscript`,e.script),e.script=``}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)w(e,`Unexpected close tag`);if(t<0){w(e,`Unmatched closing tag: `+e.tagName),e.textNode+=`</`+e.tagName+`>`,e.state=b.TEXT;return}e.tagName=n;for(var i=e.tags.length;i-->t;){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,C(e,`onclosetag`,e.tagName);var o={};for(var s in a.ns)o[s]=a.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==c.ns&&Object.keys(a.ns).forEach(function(t){var n=a.ns[t];C(e,`onclosenamespace`,{prefix:t,uri:n})})}t===0&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName=``,e.attribList.length=0,e.state=b.TEXT}function pe(e){var t=e.entity,n=t.toLowerCase(),r,i=``;return e.ENTITIES[t]?e.ENTITIES[t]:e.ENTITIES[n]?e.ENTITIES[n]:(t=n,t.charAt(0)===`#`&&(t.charAt(1)===`x`?(t=t.slice(2),r=parseInt(t,16),i=r.toString(16)):(t=t.slice(1),r=parseInt(t,10),i=r.toString(10))),t=t.replace(/^0+/,``),isNaN(r)||i.toLowerCase()!==t||r<0||r>1114111||!me(r)?(w(e,`Invalid character entity`),`&`+e.entity+`;`):String.fromCodePoint(r))}function me(e){return e===9||e===10||e===13||e>=32&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111}function he(e,t){t===`<`?(e.state=b.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(w(e,`Non-whitespace before first tag.`),e.textNode=t,e.state=b.TEXT)}function ge(e,t){var n=``;return t<e.length&&(n=e.charAt(t)),n}function _e(t){var n=this;if(this.error)throw this.error;if(n.closed)return oe(n,`Cannot write after close. Assign an onready handler.`);if(t===null)return se(n);typeof t==`object`&&(t=t.toString());for(var i=0,a=``;a=ge(t,i++),n.c=a,a;)switch(n.trackPosition&&(n.position++,a===` 105`?(n.line++,n.column=0):n.column++),n.state){case b.BEGIN:if(n.state=b.BEGIN_WHITESPACE,a===``)continue;he(n,a);continue;case b.BEGIN_WHITESPACE:he(n,a);continue;case b.TEXT:if(n.sawRoot&&!n.closedRoot){for(var c=i-1;a&&a!==`<`&&a!==`&`;)a=ge(t,i++),a&&n.trackPosition&&(n.position++,a===` 106`?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(c,i-1)}a!==`<`||n.sawRoot&&n.closedRoot&&!n.strict?(h(a)||n.sawRoot&&!n.closedRoot||w(n,`Text data outside of root node.`),a===`&`?n.state=b.TEXT_ENTITY:n.textNode+=a):(n.state=b.OPEN_WAKA,n.startTagPosition=n.position);continue;case b.SCRIPT:a===`<`?n.state=b.SCRIPT_ENDING:n.script+=a;continue;case b.SCRIPT_ENDING:a===`/`?n.state=b.CLOSE_TAG:(n.script+=`<`+a,n.state=b.SCRIPT);continue;case b.OPEN_WAKA:if(a===`!`)n.state=b.SGML_DECL,n.sgmlDecl=``;else if(!h(a)){if(v(d,a))n.state=b.OPEN_TAG,n.tagName=a;else if(a===`/`)n.state=b.CLOSE_TAG,n.tagName=``;else if(a===`?`)n.state=b.PROC_INST,n.procInstName=n.procInstBody=``;else{if(w(n,`Unencoded <`),n.startTagPosition+1<n.position){var l=n.position-n.startTagPosition;a=Array(l).join(` `)+a}n.textNode+=`<`+a,n.state=b.TEXT}}continue;case b.SGML_DECL:if(n.sgmlDecl+a===`--`){n.state=b.COMMENT,n.comment=``,n.sgmlDecl=``;continue}n.doctype&&n.doctype!==!0&&n.sgmlDecl?(n.state=b.DOCTYPE_DTD,n.doctype+=`<!`+n.sgmlDecl+a,n.sgmlDecl=``):o.test(n.sgmlDecl+a)?(C(n,`onopencdata`),n.state=b.CDATA,n.sgmlDecl=``,n.cdata=``):s.test(n.sgmlDecl+a)?(n.state=b.DOCTYPE,(n.doctype||n.sawRoot)&&w(n,`Inappropriately located doctype declaration`),n.doctype=``,n.sgmlDecl=``):a===`>`?(C(n,`onsgmldeclaration`,n.sgmlDecl),n.sgmlDecl=``,n.state=b.TEXT):(g(a)&&
vendor: 5,154 bytes, lines 106-107
106(n.state=b.SGML_DECL_QUOTED),n.sgmlDecl+=a);continue;case b.SGML_DECL_QUOTED:a===n.q&&(n.state=b.SGML_DECL,n.q=``),n.sgmlDecl+=a;continue;case b.DOCTYPE:a===`>`?(n.state=b.TEXT,C(n,`ondoctype`,n.doctype),n.doctype=!0):(n.doctype+=a,a===`[`?n.state=b.DOCTYPE_DTD:g(a)&&(n.state=b.DOCTYPE_QUOTED,n.q=a));continue;case b.DOCTYPE_QUOTED:n.doctype+=a,a===n.q&&(n.q=``,n.state=b.DOCTYPE);continue;case b.DOCTYPE_DTD:a===`]`?(n.doctype+=a,n.state=b.DOCTYPE):a===`<`?(n.state=b.OPEN_WAKA,n.startTagPosition=n.position):g(a)?(n.doctype+=a,n.state=b.DOCTYPE_DTD_QUOTED,n.q=a):n.doctype+=a;continue;case b.DOCTYPE_DTD_QUOTED:n.doctype+=a,a===n.q&&(n.state=b.DOCTYPE_DTD,n.q=``);continue;case b.COMMENT:a===`-`?n.state=b.COMMENT_ENDING:n.comment+=a;continue;case b.COMMENT_ENDING:a===`-`?(n.state=b.COMMENT_ENDED,n.comment=ae(n.opt,n.comment),n.comment&&C(n,`oncomment`,n.comment),n.comment=``):(n.comment+=`-`+a,n.state=b.COMMENT);continue;case b.COMMENT_ENDED:a===`>`?n.state=n.doctype&&n.doctype!==!0?b.DOCTYPE_DTD:b.TEXT:(w(n,`Malformed comment`),n.comment+=`--`+a,n.state=b.COMMENT);continue;case b.CDATA:for(var c=i-1;a&&a!==`]`;)a=ge(t,i++),a&&n.trackPosition&&(n.position++,a===` 107`?(n.line++,n.column=0):n.column++);n.cdata+=t.substring(c,i-1),a===`]`&&(n.state=b.CDATA_ENDING);continue;case b.CDATA_ENDING:a===`]`?n.state=b.CDATA_ENDING_2:(n.cdata+=`]`+a,n.state=b.CDATA);continue;case b.CDATA_ENDING_2:a===`>`?(n.cdata&&C(n,`oncdata`,n.cdata),C(n,`onclosecdata`),n.cdata=``,n.state=b.TEXT):a===`]`?n.cdata+=`]`:(n.cdata+=`]]`+a,n.state=b.CDATA);continue;case b.PROC_INST:a===`?`?n.state=b.PROC_INST_ENDING:h(a)?n.state=b.PROC_INST_BODY:n.procInstName+=a;continue;case b.PROC_INST_BODY:if(!n.procInstBody&&h(a))continue;a===`?`?n.state=b.PROC_INST_ENDING:n.procInstBody+=a;continue;case b.PROC_INST_ENDING:if(a===`>`){let e={name:n.procInstName,body:n.procInstBody};S(n,e),C(n,`onprocessinginstruction`,e),n.procInstName=n.procInstBody=``,n.state=b.TEXT}else n.procInstBody+=`?`+a,n.state=b.PROC_INST_BODY;continue;case b.OPEN_TAG:v(f,a)?n.tagName+=a:(ce(n),a===`>`?de(n):a===`/`?n.state=b.OPEN_TAG_SLASH:(h(a)||w(n,`Invalid character in tag name`),n.state=b.ATTRIB));continue;case b.OPEN_TAG_SLASH:a===`>`?(de(n,!0),fe(n)):(w(n,`Forward-slash in opening tag not followed by >`),n.state=b.ATTRIB);continue;case b.ATTRIB:if(h(a))continue;a===`>`?de(n):a===`/`?n.state=b.OPEN_TAG_SLASH:v(d,a)?(n.attribName=a,n.attribValue=``,n.state=b.ATTRIB_NAME):w(n,`Invalid attribute name`);continue;case b.ATTRIB_NAME:a===`=`?n.state=b.ATTRIB_VALUE:a===`>`?(w(n,`Attribute without value`),n.attribValue=n.attribName,ue(n),de(n)):h(a)?n.state=b.ATTRIB_NAME_SAW_WHITE:v(f,a)?n.attribName+=a:w(n,`Invalid attribute name`);continue;case b.ATTRIB_NAME_SAW_WHITE:if(a===`=`)n.state=b.ATTRIB_VALUE;else{if(h(a))continue;w(n,`Attribute without value`),n.tag.attributes[n.attribName]=``,n.attribValue=``,C(n,`onattribute`,{name:n.attribName,value:``}),n.attribName=``,a===`>`?de(n):v(d,a)?(n.attribName=a,n.state=b.ATTRIB_NAME):(w(n,`Invalid attribute name`),n.state=b.ATTRIB)}continue;case b.ATTRIB_VALUE:if(h(a))continue;g(a)?(n.q=a,n.state=b.ATTRIB_VALUE_QUOTED):(n.opt.unquotedAttributeValues||oe(n,`Unquoted attribute value`),n.state=b.ATTRIB_VALUE_UNQUOTED,n.attribValue=a);continue;case b.ATTRIB_VALUE_QUOTED:if(a!==n.q){a===`&`?n.state=b.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=a;continue}ue(n),n.q=``,n.state=b.ATTRIB_VALUE_CLOSED;continue;case b.ATTRIB_VALUE_CLOSED:h(a)?n.state=b.ATTRIB:a===`>`?de(n):a===`/`?n.state=b.OPEN_TAG_SLASH:v(d,a)?(w(n,`No whitespace between attributes`),n.attribName=a,n.attribValue=``,n.state=b.ATTRIB_NAME):w(n,`Invalid attribute name`);continue;case b.ATTRIB_VALUE_UNQUOTED:if(!_(a)){a===`&`?n.state=b.ATTRIB_VALUE_ENTITY_U:n.attribValue+=a;continue}ue(n),a===`>`?de(n):n.state=b.ATTRIB;continue;case b.CLOSE_TAG:if(n.tagName)a===`>`?fe(n):v(f,a)?n.tagName+=a:n.script?(n.script+=`</`+n.tagName+a,n.tagName=``,n.state=b.SCRIPT):(h(a)||w(n,`Invalid tagname in closing tag`),n.state=b.CLOSE_TAG_SAW_WHITE);else{if(h(a))continue;y(d,a)?n.script?(n.script+=`</`+a,n.state=b.SCRIPT):w(n,`Invalid tagname in closing tag.`):n.tagName=a}continue;case b.CLOSE_TAG_SAW_WHITE:if(h(a))continue;a===`>`?fe(n):w(n,`Invalid characters in closing tag`);continue;case b.TEXT_ENTITY:case b.ATTRIB_VALUE_ENTITY_Q:case b.ATTRIB_VALUE_ENTITY_U:var u,x;switch(n.state){case b.TEXT_ENTITY:u=b.TEXT,x=`textNode`;break;case b.ATTRIB_VALUE_ENTITY_Q:u=b.ATTRIB_VALUE_QUOTED,x=`attribValue`;break;case b.ATTRIB_VALUE_ENTITY_U:u=b.ATTRIB_VALUE_UNQUOTED,x=`attribValue`}if(a===`;`){var ee=pe(n);n.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(ee)?((n.entityCount+=1)>n.opt.maxEntityCount&&oe(n,`Parsed entity count exceeds max entity count`),(n.entityDepth+=1)>n.opt.maxEntityDepth&&oe(n,`Parsed entity depth exceeds max entity depth`),n.entity=``,n.state=u,n.write(ee),--n.entityDepth):(n[x]+=ee,n.entity=``,n.state=u)}else v(n.entity.length?m:p,a)?n.entity+=a:(w(n,`Invalid character in entity name`),n[x]+=`&`+n.entity+a,n.entity=``,n.state=u);continue;default:throw Error(n,`Unknown state: `+n.state)}return n.position>=n.bufferCheckPosition&&r(n),n}
107String.fromCodePoint||function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n=16384,r=[],i,a,o=-1,s=arguments.length;if(!s)return``;for(var c=``;++o<s;){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||t(l)!==l)throw RangeError(`Invalid code point: `+l);l<=65535?r.push(l):(l-=65536,i=55296+(l>>10),a=l%1024+56320,r.push(i,a)),(o+1===s||r.length>n)&&(c+=e.apply(null,r),r.length=0)}return c};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()})(e)})(tI),tI)}var iI=i(rI()),aI=class e extends Error{constructor(t,n,r,i,a){super(t),this.name=`SvgoParserError`,this.message=`${a||`<input>`}:${n}:${r}: ${t}`,this.reason=t,this.line=n,this.column=r,this.source=i,Error.captureStackTrace&&Error.captureStackTrace(this,e)}toString(){let e=this.source.split(/\r?\n/),t=Math.max(this.line-3,0),n=Math.min(this.line+2,e.length),r=String(n).length,i=Math.max(this.column-54,0),a=Math.max(this.column+20,80),o=e.slice(t,n).map((e,n)=>{let o=e.slice(i,a),s=``,c=``;i!==0&&(s=i>e.length-1?` `:`â¦`),a<e.length-1&&(c=`â¦`);let l=t+1+n,u=` ${l.toString().padStart(r)} | `;if(l===this.line){let t=u.replace(/[^|]/g,` `)+(s+e.slice(i,this.column-1)).replace(/[^\t]/g,` `);return`>${u}${s}${o}${c}\n ${t}^`}return` ${u}${s}${o}${c}`}).join(` 108`);return`${this.name}: ${this.message}\n\n${o}\n`}},oI=/<!ENTITY\s+(\S+)\s+(?:'([^']+)'|"([^"]+)")\s*>/g,sI={strict:!0,trim:!1,normalize:!1,lowercase:!0,xmlns:!0,position:!0,unparsedEntities:!0},cI=(e,t)=>{let n=iI.parser(sI.strict,sI),r={type:`root`,children:[]},i=r,a=[r],o=e=>{i.children.push(e)};return n.ondoctype=t=>{o({type:`doctype`,name:`svg`,data:{doctype:t}});let r=t.indexOf(`[`);if(r>=0){oI.lastIndex=r;let t=oI.exec(e);for(;t!=null;)n.ENTITIES[t[1]]=t[2]||t[3],t=oI.exec(e)}},n.onprocessinginstruction=e=>{let t={type:`instruction`,name:e.name,value:e.body};o(t)},n.oncomment=e=>{let t={type:`comment`,value:e.trim()};o(t)},n.oncdata=e=>{o({type:`cdata`,value:e})},n.onopentag=e=>{let t={type:`element`,name:e.name,attributes:{},children:[]};for(let[n,r]of Object.entries(e.attributes))t.attributes[n]=r.value;o(t),i=t,a.push(t)},n.ontext=e=>{if(i.type===`element`){if(tr.has(i.name))o({type:`text`,value:e});else{let t=e.trim();t!==``&&o({type:`text`,value:t})}}},n.onclosetag=()=>{a.pop(),i=a[a.length-1]},n.onerror=r=>{let i=r.message.split(` 109`)[0],a=new aI(i,n.line+1,n.column,e,t);if(r.message.indexOf(`Unexpected end`)===-1)throw a},n.write(e).close(),r},lI={doctypeStart:`<!DOCTYPE`,doctypeEnd:`>`,procInstStart:`<?`,procInstEnd:`?>`,tagOpenStart:`<`,tagOpenEnd:`>`,tagCloseStart:`</`,tagCloseEnd:`>`,tagShortStart:`<`,tagShortEnd:`/>`,attrStart:`="`,attrEnd:`"`,commentStart:`<!--`,commentEnd:`-->`,cdataStart:`<![CDATA[`,cdataEnd:`]]>`,textStart:``,textEnd:``,indent:4,regEntities:/[&'"<>]/g,regValEntities:/[&"<>]/g,encodeEntity:e=>uI[e],pretty:!1,useShortTags:!0,eol:`lf`,finalNewline:!1},uI={"&":`&`,"'":`'`,'"':`"`,">":`>`,"<":`<`},dI=(e,t={})=>{let n={...lI,...t},r=n.indent,i=` `;typeof r==`number`&&Number.isNaN(r)===!1?i=r<0?` `:` `.repeat(r):typeof r==`string`&&(i=r);let a={indent:i,textContext:null,indentLevel:0},o=n.eol===`crlf`?`\r 110`:` 111`;n.pretty&&(n.doctypeEnd+=o,n.procInstEnd+=o,n.commentEnd+=o,n.cdataEnd+=o,n.tagShortEnd+=o,n.tagOpenEnd+=o,n.tagCloseEnd+=o,n.textEnd+=o);let s=fI(e,n,a);return n.finalNewline&&s.length>0&&!s.endsWith(` 112`)&&(s+=o),s},fI=(e,t,n)=>{let r=``;n.indentLevel++;for(let i of e.children)switch(i.type){case`element`:r+=vI(i,t,n);break;case`text`:r+=bI(i,t,n);break;case`doctype`:r+=mI(i,t);break;case`instruction`:r+=hI(i,t);break;case`comment`:r+=gI(i,t);break;case`cdata`:r+=_I(i,t,n)}return n.indentLevel--,r},pI=(e,t)=>{let n=``;return e.pretty&&t.textContext==null&&(n=t.indent.repeat(t.indentLevel-1)),n},mI=(e,t)=>t.doctypeStart+e.data.doctype+t.doctypeEnd,hI=(e,t)=>t.procInstStart+e.name+` `+e.value+t.procInstEnd,gI=(e,t)=>t.commentStart+e.value+t.commentEnd,_I=(e,t,n)=>pI(t,n)+t.cdataStart+e.value+t.cdataEnd,vI=(e,t,n)=>{if(e.children.length===0)return t.useShortTags?pI(t,n)+t.tagShortStart+e.name+yI(e,t)+t.tagShortEnd:pI(t,n)+t.tagShortStart+e.name+yI(e,t)+t.tagOpenEnd+t.tagCloseStart+e.name+t.tagCloseEnd;let r=t.tagOpenStart,i=t.tagOpenEnd,a=t.tagCloseStart,o=t.tagCloseEnd,s=pI(t,n),c=pI(t,n);n.textContext?(r=lI.tagOpenStart,i=lI.tagOpenEnd,a=lI.tagCloseStart,o=lI.tagCloseEnd,s=``):tr.has(e.name)&&(i=lI.tagOpenEnd,a=lI.tagCloseStart,c=``,n.textContext=e);let l=fI(e,t,n);return n.textContext===e&&(n.textContext=null),s+r+e.name+yI(e,t)+i+l+c+a+e.name+o},yI=(e,t)=>{let n=``;for(let[r,i]of Object.entries(e.attributes))if(n+=` `+r,i!==void 0){let e=i.toString().replace(t.regValEntities,t.encodeEntity);
112n+=t.attrStart+e+t.attrEnd}return n},bI=(e,t,n)=>pI(t,n)+t.textStart+e.value.replace(t.regEntities,t.encodeEntity)+(n.textContext?``:t.textEnd),xI=new Map;for(let e of eI)xI.set(e.name,e);function SI(e){return e===`removeScriptElement`?(console.warn(`Warning: removeScriptElement has been renamed to removeScripts, please update your SVGO config`),xI.get(`removeScripts`)):xI.get(e)}var CI=e=>{if(typeof e==`string`){let t=SI(e);if(t==null)throw Error(`Unknown builtin plugin "${e}" specified.`);return{name:e,params:{},fn:t.fn}}if(typeof e==`object`&&e){if(e.name==null)throw Error(`Plugin name must be specified`);let t=e.fn;if(t==null){let n=SI(e.name);if(n==null)throw Error(`Unknown builtin plugin "${e.name}" specified.`);t=n.fn}return{name:e.name,params:e.params,fn:t}}return null},wI=(e,t)=>{if(t??={},typeof t!=`object`)throw Error(`Config should be an object`);let r=t.multipass?10:1,i=1/0,a=``,o={};t.path!=null&&(o.path=t.path);for(let s=0;s<r;s+=1){o.multipassCount=s;let r=cI(e,t.path),c=t.plugins||[`preset-default`];if(!Array.isArray(c))throw Error("malformed config, `plugins` property must be an array.\nSee more info here: https://github.com/svg/svgo#configuration");let l=c.filter(e=>e!=null).map(CI);l.length<c.length&&console.warn(`Warning: plugins list includes null or undefined elements, these will be ignored.`);let u={};if(t.floatPrecision!=null&&(u.floatPrecision=t.floatPrecision),n(r,o,l,null,u),a=dI(r,t.js2svg),!(a.length<i))break;e=a,i=a.length}return t.datauri&&(a=wj(a,t.datauri)),{data:a}};export{wI as optimize};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.