@automattic/jetpack-critical-css-gen 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/LICENSE.txt +357 -0
- package/README.md +24 -0
- package/SECURITY.md +47 -0
- package/build-browser/bundle.full.js +37567 -0
- package/build-browser/bundle.full.js.map +1 -0
- package/build-browser/bundle.js +4 -0
- package/build-browser/bundle.js.map +1 -0
- package/build-node/browser-interface-playwright.d.ts +53 -0
- package/build-node/browser-interface-playwright.js +94 -0
- package/build-node/browser-interface-playwright.js.map +1 -0
- package/build-node/browser-interface.d.ts +77 -0
- package/build-node/browser-interface.js +124 -0
- package/build-node/browser-interface.js.map +1 -0
- package/build-node/css-file-set.d.ts +100 -0
- package/build-node/css-file-set.js +210 -0
- package/build-node/css-file-set.js.map +1 -0
- package/build-node/errors.d.ts +101 -0
- package/build-node/errors.js +103 -0
- package/build-node/errors.js.map +1 -0
- package/build-node/generate-critical-css.d.ts +24 -0
- package/build-node/generate-critical-css.js +162 -0
- package/build-node/generate-critical-css.js.map +1 -0
- package/build-node/ignored-pseudo-elements.d.ts +8 -0
- package/build-node/ignored-pseudo-elements.js +35 -0
- package/build-node/ignored-pseudo-elements.js.map +1 -0
- package/build-node/minify-css.d.ts +11 -0
- package/build-node/minify-css.js +19 -0
- package/build-node/minify-css.js.map +1 -0
- package/build-node/node.d.ts +5 -0
- package/build-node/node.js +6 -0
- package/build-node/node.js.map +1 -0
- package/build-node/object-promise-all.d.ts +12 -0
- package/build-node/object-promise-all.js +16 -0
- package/build-node/object-promise-all.js.map +1 -0
- package/build-node/style-ast.d.ts +164 -0
- package/build-node/style-ast.js +540 -0
- package/build-node/style-ast.js.map +1 -0
- package/build-node/types.d.ts +14 -0
- package/build-node/types.js +2 -0
- package/build-node/types.js.map +1 -0
- package/package.json +76 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var CriticalCSSGenerator=function(e){"use strict";class t{constructor(){this.urlErrors={}}trackUrlError(e,t){this.urlErrors[e]=t}filterValidUrls(e){return e.filter((e=>!this.urlErrors[e]))}async runInPage(e,t,n,...r){throw new Error("Undefined interface method: BrowserInterface.runInPage()")}async fetch(e,t,n){throw new Error("Undefined interface method: BrowserInterface.fetch()")}async cleanup(){}async getCssIncludes(e){return await this.runInPage(e,null,t.innerGetCssIncludes)}static innerGetCssIncludes({innerWindow:e}){return[...(e=null===e?window:e).document.getElementsByTagName("link")].filter((e=>"stylesheet"===e.rel)).reduce(((e,t)=>(e[t.href]={media:t.media||null},e)),{})}async getInternalStyles(e){return await this.runInPage(e,null,t.innerGetInternalStyles)}static innerGetInternalStyles({innerWindow:e}){e=null===e?window:e;return Array.from(e.document.getElementsByTagName("style")).reduce(((e,t)=>e+=t.innerText),"")}static innerFindMatchingSelectors({innerWindow:e,args:[t]}){return e=null===e?window:e,Object.keys(t).filter((n=>{try{return!!e.document.querySelector(t[n])}catch(e){return!1}}))}static innerFindAboveFoldSelectors({innerWindow:e,args:[t,n]}){e=null===e?window:e;const r=t=>{const n=t.style.clear||"";t.style.clear="none";const r=t.getBoundingClientRect();return t.style.clear=n,r.top<e.innerHeight};return n.filter((n=>{if("*"===t[n])return!0;const i=e.document.querySelectorAll(t[n]);for(const e of i)if(r(e))return!0;return!1}))}}class n extends Error{constructor(e){super("Insufficient pages loaded to meet success target. Errors:\n"+Object.values(e).map((e=>e.message)).join("\n")),this.isSuccessTargetError=!0,this.urlErrors={};for(const[t,n]of Object.entries(e))this.urlErrors[t]={message:n.message,type:n.type||"UnknownError",meta:n.meta||{}}}}class r extends Error{constructor(e,t,n){super(n),this.type=e,this.meta=t}}class i extends r{constructor({url:e,code:t}){super("HttpError",{url:e,code:t},`HTTP error ${t} on URL ${e}`)}}class o extends r{constructor({url:e,message:t}){super("UnknownError",{url:e,message:t},`Error while loading ${e}: ${t}`)}}class a extends r{constructor({url:e}){super("CrossDomainError",{url:e},`Failed to fetch cross-domain content at ${e}`)}}class s extends r{constructor({url:e}){super("LoadTimeoutError",{url:e},`Timeout while reading ${e}`)}}class l extends r{constructor({url:e,redirectUrl:t}){super("RedirectError",{url:e,redirectUrl:t},`Failed to process ${e} because it redirects to ${t} which cannot be verified`)}}class u extends r{constructor({url:e}){super("UrlVerifyError",{url:e},`Failed to verify page at ${e}`)}}class c extends r{constructor({url:e}){super("EmptyCSSError",{url:e},`The ${e} does not have any CSS in its external style sheet(s).`)}}class h extends r{constructor({url:e}){super("XFrameDenyError",{url:e},`Failed to load ${e} due to the "X-Frame-Options: DENY" header`)}}const p=1,f=2,d=3,m=4,g=5,b=6,v=7,y=8,w=9,k=10,x=11,O=12,_=13,S=14,C=15,E=16,A=17,R=18,T=19,L=20,P=21,z=22,M=23,U=24,B=25,N=0;function I(e){return e>=48&&e<=57}function j(e){return I(e)||e>=65&&e<=70||e>=97&&e<=102}function D(e){return e>=65&&e<=90}function V(e){return function(e){return D(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function F(e){return V(e)||I(e)||45===e}function K(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function q(e){return 10===e||13===e||12===e}function W(e){return q(e)||32===e||9===e}function Y(e,t){return 92===e&&(!q(t)&&t!==N)}function $(e,t,n){return 45===e?V(t)||45===t||Y(t,n):!!V(e)||92===e&&Y(e,t)}function G(e,t,n){return 43===e||45===e?I(t)?2:46===t&&I(n)?3:0:46===e?I(t)?2:0:I(e)?1:0}function H(e){return 65279===e||65534===e?1:0}const Q=new Array(128),Z=130,X=131,J=132,ee=133;for(let e=0;e<Q.length;e++)Q[e]=W(e)&&Z||I(e)&&X||V(e)&&J||K(e)&&ee||e||128;function te(e){return e<128?Q[e]:J}function ne(e,t){return t<e.length?e.charCodeAt(t):0}function re(e,t,n){return 13===n&&10===ne(e,t+1)?2:1}function ie(e,t,n){let r=e.charCodeAt(t);return D(r)&&(r|=32),r===n}function oe(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(let i=t;i<n;i++){const n=r.charCodeAt(i-t);let o=e.charCodeAt(i);if(D(o)&&(o|=32),o!==n)return!1}return!0}function ae(e,t){for(;t<e.length&&W(e.charCodeAt(t));t++);return t}function se(e,t){for(;t<e.length&&I(e.charCodeAt(t));t++);return t}function le(e,t){if(j(ne(e,(t+=2)-1))){for(const n=Math.min(e.length,t+5);t<n&&j(ne(e,t));t++);const n=ne(e,t);W(n)&&(t+=re(e,t,n))}return t}function ue(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!F(n)){if(!Y(n,ne(e,t+1)))break;t=le(e,t)-1}}return t}function ce(e,t){let n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),I(n)&&(t=se(e,t+1),n=e.charCodeAt(t)),46===n&&I(e.charCodeAt(t+1))&&(t=se(e,t+=2)),ie(e,t,101)){let r=0;n=e.charCodeAt(t+1),45!==n&&43!==n||(r=1,n=e.charCodeAt(t+2)),I(n)&&(t=se(e,t+1+r+1))}return t}function he(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(41===n){t++;break}Y(n,ne(e,t+1))&&(t=le(e,t))}return t}function pe(e){if(1===e.length&&!j(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var fe=["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"];const de=16384;function me(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,de)):e}function ge(e){const t=e.source,n=t.length,r=t.length>0?H(t.charCodeAt(0)):0,i=me(e.lines,n),o=me(e.columns,n);let a=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){const r=t.charCodeAt(e);i[e]=a,o[e]=s++,10!==r&&13!==r&&12!==r||(13===r&&e+1<n&&10===t.charCodeAt(e+1)&&(e++,i[e]=a,o[e]=s),a++,s=1)}i[n]=a,o[n]=s,e.lines=i,e.columns=o,e.computed=!0}class be{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||ge(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||ge(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}const ve=16777215,ye=24,we=new Map([[f,z],[P,z],[T,L],[M,U]]);class ke{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){const n=(e=String(e||"")).length,r=me(this.offsetAndType,e.length+1),i=me(this.balance,e.length+1);let o=0,a=0,s=0,l=-1;for(this.offsetAndType=null,this.balance=null,t(e,((e,t,u)=>{switch(e){default:i[o]=n;break;case a:{let e=s&ve;for(s=i[e],a=s>>ye,i[o]=e,i[e++]=o;e<o;e++)i[e]===n&&(i[e]=o);break}case P:case f:case T:case M:i[o]=s,a=we.get(e),s=a<<ye|o}r[o++]=e<<ye|u,-1===l&&(l=t)})),r[o]=0|n,i[o]=n,i[n]=n;0!==s;){const e=s&ve;s=i[e],i[e]=n}this.source=e,this.firstCharOffset=-1===l?0:l,this.tokenCount=o,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>ye:0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&ve:this.source.length}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&oe(this.source,this.offsetAndType[e-1]&ve,this.offsetAndType[e]&ve,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&ve:this.offsetAndType[this.tokenCount]&ve: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)===w&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===w&&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]&ve,t=this.offsetAndType[t],this.tokenType=t>>ye,this.tokenEnd=t&ve):(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>>ye,this.tokenEnd=e&ve):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===_||this.tokenType===B;)this.next()}skipUntilBalanced(e,t){let n,r,i=e;e:for(;i<this.tokenCount&&(n=this.balance[i],!(n<e));i++)switch(r=i>0?this.offsetAndType[i-1]&ve:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:i++;break e;default:this.balance[n]===i&&(i=n)}this.skip(i-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){const r=n,i=this.offsetAndType[t],o=i&ve;n=o,e(i>>ye,r,o,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken(((t,n,r,i)=>{e[i]={idx:i,type:fe[t],chunk:this.source.substring(n,r),balance:this.balance[i]}})),e}}function xe(e,t){function n(t){return t<a?e.charCodeAt(t):0}function r(){return u=ce(e,u),$(n(u),n(u+1),n(u+2))?(s=O,void(u=ue(e,u))):37===n(u)?(s=x,void u++):void(s=k)}function i(){const t=u;return u=ue(e,u),oe(e,t,u,"url")&&40===n(u)?(u=ae(e,u+1),34===n(u)||39===n(u)?(s=f,void(u=t+4)):void function(){for(s=v,u=ae(e,u);u<e.length;u++){const t=e.charCodeAt(u);switch(te(t)){case 41:return void u++;case Z:return u=ae(e,u),41===n(u)||u>=e.length?void(u<e.length&&u++):(u=he(e,u),void(s=y));case 34:case 39:case 40:case ee:return u=he(e,u),void(s=y);case 92:if(Y(t,n(u+1))){u=le(e,u)-1;break}return u=he(e,u),void(s=y)}}}()):40===n(u)?(s=f,void u++):void(s=p)}function o(t){for(t||(t=n(u++)),s=g;u<e.length;u++){const r=e.charCodeAt(u);switch(te(r)){case t:return void u++;case Z:if(q(r))return u+=re(e,u,r),void(s=b);break;case 92:if(u===e.length-1)break;const i=n(u+1);q(i)?u+=re(e,u+1,i):Y(r,i)&&(u=le(e,u)-1)}}}const a=(e=String(e||"")).length;let s,l=H(n(0)),u=l;for(;u<a;){const a=e.charCodeAt(u);switch(te(a)){case Z:s=_,u=ae(e,u+1);break;case 34:o();break;case 35:F(n(u+1))||Y(n(u+1),n(u+2))?(s=m,u=ue(e,u+1)):(s=w,u++);break;case 39:o();break;case 40:s=P,u++;break;case 41:s=z,u++;break;case 43:G(a,n(u+1),n(u+2))?r():(s=w,u++);break;case 44:s=R,u++;break;case 45:G(a,n(u+1),n(u+2))?r():45===n(u+1)&&62===n(u+2)?(s=C,u+=3):$(a,n(u+1),n(u+2))?i():(s=w,u++);break;case 46:G(a,n(u+1),n(u+2))?r():(s=w,u++);break;case 47:42===n(u+1)?(s=B,u=e.indexOf("*/",u+2),u=-1===u?e.length:u+2):(s=w,u++);break;case 58:s=E,u++;break;case 59:s=A,u++;break;case 60:33===n(u+1)&&45===n(u+2)&&45===n(u+3)?(s=S,u+=4):(s=w,u++);break;case 64:$(n(u+1),n(u+2),n(u+3))?(s=d,u=ue(e,u+1)):(s=w,u++);break;case 91:s=T,u++;break;case 92:Y(a,n(u+1))?i():(s=w,u++);break;case 93:s=L,u++;break;case 123:s=M,u++;break;case 125:s=U,u++;break;case X:r();break;case J:i();break;default:s=w,u++}t(s,l,l=u)}}let Oe=null;class _e{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return _e.createItem(e)}allocateCursor(e,t){let n;return null!==Oe?(n=Oe,Oe=Oe.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Oe,Oe=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;null!==i;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){const e=_e.createItem(n);null!==t?t.next=e:this.head=e,e.prev=t,t=e}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){const n=this.allocateCursor(null,this.head);for(;null!==n.next;){const r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){const n=this.allocateCursor(this.tail,null);for(;null!==n.prev;){const r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r,i=this.allocateCursor(null,this.head),o=t;for(;null!==i.next;)r=i.next,i.next=r.next,o=e.call(n,o,r.data,r,this);return this.releaseCursor(),o}reduceRight(e,t,n=this){let r,i=this.allocateCursor(this.tail,null),o=t;for(;null!==i.prev;)r=i.prev,i.prev=r.prev,o=e.call(n,o,r.data,r,this);return this.releaseCursor(),o}some(e,t=this){for(let n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){const n=new _e;for(let r=this.head;null!==r;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){const n=new _e;for(let r=this.head;null!==r;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(null,e);for(;null!==r.next;){const e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(null===e)return;const r=this.allocateCursor(e,null);for(;null!==r.prev;){const e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const e=new _e;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(_e.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(_e.createItem(e))}insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(_e.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(_e.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(_e.createItem(e))}shift(){return null!==this.head?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return null===e.head||(null!=t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}function Se(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}const Ce=100,Ee=60,Ae=" ";function Re({source:e,line:t,column:n},r){function i(e,t){return o.slice(e,t).map(((t,n)=>String(e+n+1).padStart(l)+" |"+t)).join("\n")}const o=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-r)-1,s=Math.min(t+r,o.length+1),l=Math.max(4,String(s).length)+1;let u=0;(n+=(Ae.length-1)*(o[t-1].substr(0,n-1).match(/\t/g)||[]).length)>Ce&&(u=n-Ee+3,n=Ee-2);for(let e=a;e<=s;e++)e>=0&&e<o.length&&(o[e]=o[e].replace(/\t/g,Ae),o[e]=(u>0&&o[e].length>u?"…":"")+o[e].substr(u,Ce-2)+(o[e].length>u+Ce-1?"…":""));return[i(a,t),new Array(n+l+2).join("-")+"^",i(t,s)].filter(Boolean).join("\n")}function Te(e,t,n,r,i){return Object.assign(Se("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment:e=>Re({source:t,line:r,column:i},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+Re({source:t,line:r,column:i},2)}})}function Le(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case B:this.next();continue;case _:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Pe=()=>{},ze=33,Me=35,Ue=59,Be=123,Ne=0;function Ie(e){return function(){return this[e]()}}function je(e){const t=Object.create(null);for(const n in e){const r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function De(e){let t="",n="<unknown>",r=!1,i=Pe,o=!1;const a=new be,s=Object.assign(new ke,function(e){const t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:je(e.atrule),pseudo:je(e.pseudo),node:je(e.node)};for(const n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=Ie(e.parseContext[n])}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Le,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>e===Be?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>e===Be||e===Ue?1:0,consumeUntilExclamationMarkOrSemicolon:e=>e===ze||e===Ue?1:0,consumeUntilSemicolonIncluded:e=>e===Ue?2:0,createList:()=>new _e,createSingleNodeList:e=>(new _e).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){const n=this.tokenIndex;try{return e.call(this)}catch(e){if(o)throw e;const r=t.call(this,n);return o=!0,i(e,r),o=!1,r}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),t!==_)return t}while(t!==Ne);return Ne},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)=>ie(t,e,n),cmpStr:(e,n,r)=>oe(t,e,n,r),consume(e){const t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){const e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(f),e},consumeNumber(e){const n=t.substring(this.tokenStart,ce(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){const t=fe[e].slice(0,-6).replace(/-/g," ").replace(/^./,(e=>e.toUpperCase()));let n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case p:this.tokenType===f||this.tokenType===v?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case m:this.isDelim(Me)&&(this.next(),r++,n="Name is expected");break;case x:this.tokenType===k&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent(e){this.tokenType===p&&!1!==this.lookupValue(0,e)||this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>r?a.getLocationRange(e,t,n):null,getLocationFromList(e){if(r){const t=this.getFirstListNode(e),r=this.getLastListNode(e);return a.getLocationRange(null!==t?t.loc.start.offset-a.startOffset:this.tokenStart,null!==r?r.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(e,n){const r=void 0!==n&&n<t.length?a.getLocation(n):this.eof?a.getLocation(function(e,t){for(;t>=0&&W(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new Te(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,l){t=e,l=l||{},s.setSource(t,xe),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=Boolean(l.positions),i="function"==typeof l.onParseError?l.onParseError:Pe,o=!1,s.parseAtrulePrelude=!("parseAtrulePrelude"in l)||Boolean(l.parseAtrulePrelude),s.parseRulePrelude=!("parseRulePrelude"in l)||Boolean(l.parseRulePrelude),s.parseValue=!("parseValue"in l)||Boolean(l.parseValue),s.parseCustomProperty="parseCustomProperty"in l&&Boolean(l.parseCustomProperty);const{context:u="default",onComment:c}=l;if(u in s.context==!1)throw new Error("Unknown context `"+u+"`");"function"==typeof c&&s.forEachToken(((e,n,r)=>{if(e===B){const e=s.getLocation(n,r),i=oe(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);c(i,e)}}));const h=s.context[u].call(s,l);return s.eof||s.error(),h}),{SyntaxError:Te,config:s.config})}var Ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Fe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ke(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var qe={},We={},Ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");We.encode=function(e){if(0<=e&&e<Ye.length)return Ye[e];throw new TypeError("Must be between 0 and 63: "+e)},We.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var $e=We;qe.encode=function(e){var t,n="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,(r>>>=5)>0&&(t|=32),n+=$e.encode(t)}while(r>0);return n},qe.decode=function(e,t,n){var r,i,o,a,s=e.length,l=0,u=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=$e.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&i),l+=(i&=31)<<u,u+=5}while(r);n.value=(a=(o=l)>>1,1&~o?a:-a),n.rest=t};var Ge={};!function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=i;var o,a,s=(o=function(t){var n=t,o=r(t);if(o){if(!o.path)return t;n=o.path}for(var a=e.isAbsolute(n),s=[],l=0,u=0;;){if(l=u,-1===(u=n.indexOf("/",l))){s.push(n.slice(l));break}for(s.push(n.slice(l,u));u<n.length&&"/"===n[u];)u++}var c,h=0;for(u=s.length-1;u>=0;u--)"."===(c=s[u])?s.splice(u,1):".."===c?h++:h>0&&(""===c?(s.splice(u+1,h),h=0):(s.splice(u,2),h--));return""===(n=s.join("/"))&&(n=a?"/":"."),o?(o.path=n,i(o)):n},a=[],function(e){for(var t=0;t<a.length;t++)if(a[t].input===e){var n=a[0];return a[0]=a[t],a[t]=n,a[0].result}var r=o(e);return a.unshift({input:e,result:r}),a.length>32&&a.pop(),r});function l(e,t){""===e&&(e="."),""===t&&(t=".");var o=r(t),a=r(e);if(a&&(e=a.path||"/"),o&&!o.scheme)return a&&(o.scheme=a.scheme),i(o);if(o||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,i(a)):l}e.normalize=s,e.join=l,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function c(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=u?c:function(e){return h(e)?"$"+e:e},e.fromSetString=u?c:function(e){return h(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=p(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:p(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:p(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=p(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:p(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var o=r(n);if(!o)throw new Error("sourceMapURL could not be parsed");if(o.path){var a=o.path.lastIndexOf("/");a>=0&&(o.path=o.path.substring(0,a+1))}t=l(i(o),t)}return s(t)}}(Ge);var He={},Qe=Ge,Ze=Object.prototype.hasOwnProperty,Xe="undefined"!=typeof Map;function Je(){this._array=[],this._set=Xe?new Map:Object.create(null)}Je.fromArray=function(e,t){for(var n=new Je,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},Je.prototype.size=function(){return Xe?this._set.size:Object.getOwnPropertyNames(this._set).length},Je.prototype.add=function(e,t){var n=Xe?e:Qe.toSetString(e),r=Xe?this.has(e):Ze.call(this._set,n),i=this._array.length;r&&!t||this._array.push(e),r||(Xe?this._set.set(e,i):this._set[n]=i)},Je.prototype.has=function(e){if(Xe)return this._set.has(e);var t=Qe.toSetString(e);return Ze.call(this._set,t)},Je.prototype.indexOf=function(e){if(Xe){var t=this._set.get(e);if(t>=0)return t}else{var n=Qe.toSetString(e);if(Ze.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},Je.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},Je.prototype.toArray=function(){return this._array.slice()},He.ArraySet=Je;var et={},tt=Ge;function nt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}nt.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},nt.prototype.add=function(e){var t,n,r,i,o,a;t=this._last,n=e,r=t.generatedLine,i=n.generatedLine,o=t.generatedColumn,a=n.generatedColumn,i>r||i==r&&a>=o||tt.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},nt.prototype.toArray=function(){return this._sorted||(this._array.sort(tt.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},et.MappingList=nt;var rt=qe,it=Ge,ot=He.ArraySet,at=et.MappingList;function st(e){e||(e={}),this._file=it.getArg(e,"file",null),this._sourceRoot=it.getArg(e,"sourceRoot",null),this._skipValidation=it.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=it.getArg(e,"ignoreInvalidMapping",!1),this._sources=new ot,this._names=new ot,this._mappings=new at,this._sourcesContents=null}st.prototype._version=3,st.fromSourceMap=function(e,t){var n=e.sourceRoot,r=new st(Object.assign(t||{},{file:e.file,sourceRoot:n}));return e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=it.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)})),e.sources.forEach((function(t){var i=t;null!==n&&(i=it.relative(n,t)),r._sources.has(i)||r._sources.add(i);var o=e.sourceContentFor(t);null!=o&&r.setSourceContent(t,o)})),r},st.prototype.addMapping=function(e){var t=it.getArg(e,"generated"),n=it.getArg(e,"original",null),r=it.getArg(e,"source",null),i=it.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(t,n,r,i))&&(null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i}))},st.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=it.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[it.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[it.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},st.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=it.relative(i,r));var o=new ot,a=new ot;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var s=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=s.source&&(t.source=s.source,null!=n&&(t.source=it.join(n,t.source)),null!=i&&(t.source=it.relative(i,t.source)),t.originalLine=s.line,t.originalColumn=s.column,null!=s.name&&(t.name=s.name))}var l=t.source;null==l||o.has(l)||o.add(l);var u=t.name;null==u||a.has(u)||a.add(u)}),this),this._sources=o,this._names=a,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=it.join(n,t)),null!=i&&(t=it.relative(i,t)),this.setSourceContent(t,r))}),this)},st.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var i="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw new 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)){i="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw new Error(i)}},st.prototype._serializeMappings=function(){for(var e,t,n,r,i=0,o=1,a=0,s=0,l=0,u=0,c="",h=this._mappings.toArray(),p=0,f=h.length;p<f;p++){if(e="",(t=h[p]).generatedLine!==o)for(i=0;t.generatedLine!==o;)e+=";",o++;else if(p>0){if(!it.compareByGeneratedPositionsInflated(t,h[p-1]))continue;e+=","}e+=rt.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=rt.encode(r-u),u=r,e+=rt.encode(t.originalLine-1-s),s=t.originalLine-1,e+=rt.encode(t.originalColumn-a),a=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=rt.encode(n-l),l=n)),c+=e}return c},st.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=it.relative(t,e));var n=it.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},st.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},st.prototype.toString=function(){return JSON.stringify(this.toJSON())};var lt=st;const ut=new Set(["Atrule","Selector","Declaration"]);const ct=(e,t)=>{if(e===w&&(e=t),"string"==typeof e){const t=e.charCodeAt(0);return t>127?32768:t<<8}return e},ht=[[p,p],[p,f],[p,v],[p,y],[p,"-"],[p,k],[p,x],[p,O],[p,C],[p,P],[d,p],[d,f],[d,v],[d,y],[d,"-"],[d,k],[d,x],[d,O],[d,C],[m,p],[m,f],[m,v],[m,y],[m,"-"],[m,k],[m,x],[m,O],[m,C],[O,p],[O,f],[O,v],[O,y],[O,"-"],[O,k],[O,x],[O,O],[O,C],["#",p],["#",f],["#",v],["#",y],["#","-"],["#",k],["#",x],["#",O],["#",C],["-",p],["-",f],["-",v],["-",y],["-","-"],["-",k],["-",x],["-",O],["-",C],[k,p],[k,f],[k,v],[k,y],[k,k],[k,x],[k,O],[k,"%"],[k,C],["@",p],["@",f],["@",v],["@",y],["@","-"],["@",C],[".",k],[".",x],[".",O],["+",k],["+",x],["+",O],["/","*"]],pt=ht.concat([[p,m],[O,m],[m,m],[d,P],[d,g],[d,E],[x,x],[x,O],[x,f],[x,"-"],[z,p],[z,f],[z,x],[z,O],[z,m],[z,"-"]]);function ft(e){const t=new Set(e.map((([e,t])=>ct(e)<<16|ct(t))));return function(e,n,r){const i=ct(n,r),o=r.charCodeAt(0);return(45===o&&n!==p&&n!==f&&n!==C||43===o?t.has(e<<16|o<<8):t.has(e<<16|i))&&this.emit(" ",_,!0),i}}const dt=ft(ht),mt=ft(pt);var gt=Object.freeze({__proto__:null,spec:dt,safe:mt});const bt=92;function vt(e,t){if("function"!=typeof t)e.children.forEach(this.node,this);else{let n=null;e.children.forEach((e=>{null!==n&&t.call(this,n),this.node(e),n=e}))}}function yt(e){xe(e,((t,n,r)=>{this.token(t,e.slice(n,r))}))}function wt(e){const t=new Map;for(let n in e.node){const r=e.node[n];"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){let r="",i=0,o={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(a,e)},tokenBefore:mt,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),e===w&&t.charCodeAt(0)===bt&&this.emit("\n",_,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(o=n.decorator(o)),n.sourceMap&&(o=function(e){const t=new lt,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},o={generated:i};let a=1,s=0,l=!1;const u=e.node;e.node=function(e){if(e.loc&&e.loc.start&&ut.has(e.type)){const u=e.loc.start.line,c=e.loc.start.column-1;r.line===u&&r.column===c||(r.line=u,r.column=c,n.line=a,n.column=s,l&&(l=!1,n.line===i.line&&n.column===i.column||t.addMapping(o)),l=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}u.call(this,e),l&&ut.has(e.type)&&(i.line=a,i.column=s)};const c=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)10===e.charCodeAt(t)?(a++,s=0):s++;c(e,t,n)};const h=e.result;return e.result=function(){return l&&t.addMapping(o),{css:h(),map:t}},e}(o)),n.mode in gt&&(o.tokenBefore=gt[n.mode]));const a={node:e=>o.node(e),children:vt,token:(e,t)=>o.token(e,t),tokenize:yt};return o.node(e),o.result()}}const{hasOwnProperty:kt}=Object.prototype,xt=function(){};function Ot(e){return"function"==typeof e?e:xt}function _t(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function St(e,t){const n=t.structure,r=[];for(const e in n){if(!1===kt.call(n,e))continue;let t=n[e];const i={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(const e of t)null===e?i.nullable=!0:"string"==typeof e?i.type="node":Array.isArray(e)&&(i.type="list");i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function Ct(e,t){const n=e.fields.slice(),r=e.context,i="string"==typeof r;return t&&n.reverse(),function(e,o,a,s){let l;i&&(l=o[r],o[r]=e);for(const r of n){const n=e[r.name];if(!r.nullable||n)if("list"===r.type){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(a(n))return!0}i&&(o[r]=l)}}function Et({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 At(e){const t=function(e){const t={};for(const n in e.node)if(kt.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=St(0,r)}return t}(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(const e in t)kt.call(t,e)&&null!==t[e]&&(n[e]=Ct(t[e],!1),r[e]=Ct(t[e],!0));const a=Et(n),s=Et(r),l=function(e,l){function u(e,t,n){const r=c.call(d,e,t,n);return r===i||r!==o&&(!(!p.hasOwnProperty(e.type)||!p[e.type](e,d,u,f))||h.call(d,e,t,n)===i)}let c=xt,h=xt,p=n,f=(e,t,n,r)=>e||u(t,n,r);const d={break:i,skip:o,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof l)c=l;else if(l&&(c=Ot(l.enter),h=Ot(l.leave),l.reverse&&(p=r),l.visit)){if(a.hasOwnProperty(l.visit))p=l.reverse?s[l.visit]:a[l.visit];else if(!t.hasOwnProperty(l.visit))throw new Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");c=_t(c,l.visit),h=_t(h,l.visit)}if(c===xt&&h===xt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");u(e)};return l.break=i,l.skip=o,l.find=function(e,t){let n=null;return l(e,(function(e,r,o){if(t.call(this,e,r,o))return n=e,i})),n},l.findLast=function(e,t){let n=null;return l(e,{reverse:!0,enter(e,r,o){if(t.call(this,e,r,o))return n=e,i}}),n},l.findAll=function(e,t){const n=[];return l(e,(function(e,r,i){t.call(this,e,r,i)&&n.push(e)})),n},l}function Rt(e){return e}function Tt(e,t,n,r){let i;switch(e.type){case"Group":i=function(e,t,n,r){const i=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",o=e.terms.map((e=>Tt(e,t,n,r))).join(i);return e.explicit||n?(r||","===o[0]?"[":"[ ")+o+(r?"]":" ]"):o}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Tt(e.term,t,n,r)+t(function(e){const{min:t,max:n,comma:r}=e;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Type":i="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Lt(e,t){let n=Rt,r=!1,i=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),i=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),Tt(e,n,r,i)}const Pt={offset:0,line:1,column:1};function zt(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?Mt(n):n:null}function Mt({offset:e,line:t,column:n},r){const i={offset:e,line:t,column:n};if(r){const e=r.split(/\n|\r\n?|\f/);i.offset+=r.length,i.line+=e.length-1,i.column=1===e.length?i.column+r.length:e.pop().length+1}return i}const Ut=function(e,t){const n=Se("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Bt=function(e,t,n,r){const i=Se("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=function(e,t){const n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,o=i!==t?i:null;let a,s,l=0,u=0,c=0,h="";for(let e=0;e<n.length;e++){const t=n[e].value;e===r&&(u=t.length,l=h.length),null!==o&&n[e].node===o&&(e<=r?c++:c=0),h+=t}return r===n.length||c>1?(a=zt(o||t,"end")||Mt(Pt,h),s=Mt(a)):(a=zt(o,"start")||Mt(zt(t,"start")||Pt,h.slice(0,l)),s=zt(o,"end")||Mt(a,h.substr(l,u))),{css:h,mismatchOffset:l,mismatchLength:u,start:a,end:s}}(r,n);return i.rawMessage=e,i.syntax=t?Lt(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+"\n syntax: "+i.syntax+"\n value: "+(o||"<empty string>")+"\n --------"+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:u},i},Nt=new Map,It=new Map,jt=45,Dt=function(e){if(Nt.has(e))return Nt.get(e);const t=e.toLowerCase();let n=Nt.get(t);if(void 0===n){const e=Ft(t,0),r=e?"":Kt(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Nt.set(e,n),n},Vt=function(e){if(It.has(e))return It.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");const r=Ft(t,n.length);if(!r&&(t=t.toLowerCase(),It.has(t))){const n=It.get(t);return It.set(e,n),n}const i=r?"":Kt(t,n.length),o=t.substr(0,n.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(n.length),hack:n,vendor:i,prefix:o,custom:r});return It.set(e,a),a};function Ft(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===jt&&e.charCodeAt(t+1)===jt}function Kt(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===jt&&e.charCodeAt(t+1)!==jt){const n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}const qt=["initial","inherit","unset","revert","revert-layer"],Wt=43,Yt=45,$t=!0;function Gt(e,t){return null!==e&&e.type===w&&e.value.charCodeAt(0)===t}function Ht(e,t,n){for(;null!==e&&(e.type===_||e.type===B);)e=n(++t);return t}function Qt(e,t,n,r){if(!e)return 0;const i=e.value.charCodeAt(t);if(i===Wt||i===Yt){if(n)return 0;t++}for(;t<e.value.length;t++)if(!I(e.value.charCodeAt(t)))return 0;return r+1}function Zt(e,t,n){let r=!1,i=Ht(e,t,n);if(null===(e=n(i)))return t;if(e.type!==k){if(!Gt(e,Wt)&&!Gt(e,Yt))return t;if(r=!0,i=Ht(n(++i),i,n),null===(e=n(i))||e.type!==k)return 0}if(!r){const t=e.value.charCodeAt(0);if(t!==Wt&&t!==Yt)return 0}return Qt(e,r?0:1,r,i)}const Xt=45,Jt=63;function en(e,t){return null!==e&&e.type===w&&e.value.charCodeAt(0)===t}function tn(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){const o=e.value.charCodeAt(i);if(o===Xt&&n&&0!==r)return tn(e,t+r+1,!1),6;if(!j(o))return 0;if(++r>6)return 0}return r}function nn(e,t,n){if(!e)return 0;for(;en(n(t),Jt);){if(++e>6)return 0;t++}return t}const rn=["calc(","-moz-calc(","-webkit-calc("],on=new Map([[f,z],[P,z],[T,L],[M,U]]);function an(e,t){return t<e.length?e.charCodeAt(t):0}function sn(e,t){return oe(e,0,e.length,t)}function ln(e,t){for(let n=0;n<t.length;n++)if(sn(e,t[n]))return!0;return!1}function un(e,t){return t===e.length-2&&(92===an(e,t)&&I(an(e,t+1)))}function cn(e,t,n){if(e&&"Range"===e.type){const r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min&&"string"!=typeof e.min)return!0;if(null!==e.max&&r>e.max&&"string"!=typeof e.max)return!0}return!1}function hn(e){return function(t,n,r){return null===t?0:t.type===f&&ln(t.value,rn)?function(e,t){let n=0,r=[],i=0;e:do{switch(e.type){case U:case z:case L:if(e.type!==n)break e;if(n=r.pop(),0===r.length){i++;break e}break;case f:case P:case T:case M:r.push(n),n=on.get(e.type)}i++}while(e=t(i));return i}(t,n):e(t,n,r)}}function pn(e){return function(t){return null===t||t.type!==e?0:1}}function fn(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==O)return 0;const i=ce(t.value,0);if(null!==e){const n=t.value.indexOf("\\",i),r=-1!==n&&un(t.value,n)?t.value.substring(i,n):t.value.substr(i);if(!1===e.has(r.toLowerCase()))return 0}return cn(r,t.value,i)?0:1}}function dn(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===k&&0===Number(t.value)?1:e(t,n,r)}}const mn={"ident-token":pn(p),"function-token":pn(f),"at-keyword-token":pn(d),"hash-token":pn(m),"string-token":pn(g),"bad-string-token":pn(b),"url-token":pn(v),"bad-url-token":pn(y),"delim-token":pn(w),"number-token":pn(k),"percentage-token":pn(x),"dimension-token":pn(O),"whitespace-token":pn(_),"CDO-token":pn(S),"CDC-token":pn(C),"colon-token":pn(E),"semicolon-token":pn(A),"comma-token":pn(R),"[-token":pn(T),"]-token":pn(L),"(-token":pn(P),")-token":pn(z),"{-token":pn(M),"}-token":pn(U)},gn={string:pn(g),ident:pn(p),percentage:hn((function(e,t,n){return null===e||e.type!==x||cn(n,e.value,e.value.length-1)?0:1})),zero:dn(),number:hn((function(e,t,n){if(null===e)return 0;const r=ce(e.value,0);return r===e.value.length||un(e.value,r)?cn(n,e.value,r)?0:1:0})),integer:hn((function(e,t,n){if(null===e||e.type!==k)return 0;let r=43===an(e.value,0)||45===an(e.value,0)?1:0;for(;r<e.value.length;r++)if(!I(an(e.value,r)))return 0;return cn(n,e.value,r)?0:1})),"custom-ident":function(e){if(null===e||e.type!==p)return 0;const t=e.value.toLowerCase();return ln(t,qt)||sn(t,"default")?0:1},"custom-property-name":function(e){return null===e||e.type!==p||45!==an(e.value,0)||45!==an(e.value,1)?0:1},"hex-color":function(e){if(null===e||e.type!==m)return 0;const t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(let n=1;n<t;n++)if(!j(an(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||e.type!==m?0:$(an(e.value,1),an(e.value,2),an(e.value,3))?1:0},"an-plus-b":function(e,t){let n=0;if(!e)return 0;if(e.type===k)return Qt(e,0,false,n);if(e.type===p&&e.value.charCodeAt(0)===Yt){if(!ie(e.value,1,110))return 0;switch(e.value.length){case 2:return Zt(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Yt?0:(n=Ht(t(++n),n,t),Qt(e=t(n),0,$t,n));default:return e.value.charCodeAt(2)!==Yt?0:Qt(e,3,$t,n)}}else if(e.type===p||Gt(e,Wt)&&t(n+1).type===p){if(e.type!==p&&(e=t(++n)),null===e||!ie(e.value,0,110))return 0;switch(e.value.length){case 1:return Zt(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Yt?0:(n=Ht(t(++n),n,t),Qt(e=t(n),0,$t,n));default:return e.value.charCodeAt(1)!==Yt?0:Qt(e,2,$t,n)}}else if(e.type===O){let r=e.value.charCodeAt(0),i=r===Wt||r===Yt?1:0,o=i;for(;o<e.value.length&&I(e.value.charCodeAt(o));o++);return o===i?0:ie(e.value,o,110)?o+1===e.value.length?Zt(t(++n),n,t):e.value.charCodeAt(o+1)!==Yt?0:o+2===e.value.length?(n=Ht(t(++n),n,t),Qt(e=t(n),0,$t,n)):Qt(e,o+2,$t,n):0}return 0},urange:function(e,t){let n=0;if(null===e||e.type!==p||!ie(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(en(e,43))return null===(e=t(++n))?0:e.type===p?nn(tn(e,0,!0),++n,t):en(e,Jt)?nn(1,++n,t):0;if(e.type===k){const r=tn(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===O||e.type===k?function(e,t){return e.value.charCodeAt(0)===t}(e,Xt)&&tn(e,1,!1)?n+1:0:nn(r,n,t)}return e.type===O?nn(tn(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case b:case y:break e;case U:case z:case L:if(e.type!==n)break e;n=r.pop();break;case A:if(0===n)break e;break;case w:if(0===n&&"!"===e.value)break e;break;case f:case P:case T:case M:r.push(n),n=on.get(e.type)}i++}while(e=t(i));return i},"any-value":function(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case b:case y:break e;case U:case z:case L:if(e.type!==n)break e;n=r.pop();break;case f:case P:case T:case M:r.push(n),n=on.get(e.type)}i++}while(e=t(i));return i}};function bn(e){const{angle:t,decibel:n,frequency:r,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:hn(fn(null)),angle:hn(fn(t)),decibel:hn(fn(n)),frequency:hn(fn(r)),flex:hn(fn(i)),length:hn(dn(fn(o))),resolution:hn(fn(a)),semitones:hn(fn(s)),time:hn(fn(l))}}var vn=Object.freeze({__proto__:null,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"],angle:["deg","grad","rad","turn"],time:["s","ms"],frequency:["hz","khz"],resolution:["dpi","dpcm","dppx","x"],flex:["fr"],decibel:["db"],semitones:["st"]});function yn(e,t,n){return Object.assign(Se("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}class wn{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}findWsEnd(e){for(;e<this.str.length;e++){const t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new yn(e,this.str,this.pos)}}const kn=9,xn=10,On=12,_n=13,Sn=32,Cn=33,En=35,An=38,Rn=39,Tn=40,Ln=41,Pn=42,zn=43,Mn=44,Un=45,Bn=60,Nn=62,In=63,jn=64,Dn=91,Vn=93,Fn=123,Kn=124,qn=125,Wn=8734,Yn=new Uint8Array(128).map(((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0)),$n={" ":1,"&&":2,"||":3,"|":4};function Gn(e){return e.substringToPos(e.findWsEnd(e.pos))}function Hn(e){let t=e.pos;for(;t<e.str.length;t++){const n=e.str.charCodeAt(t);if(n>=128||0===Yn[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function Qn(e){let t=e.pos;for(;t<e.str.length;t++){const n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Zn(e){const t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Xn(e){let t=null,n=null;return e.eat(Fn),t=Qn(e),e.charCode()===Mn?(e.pos++,e.charCode()!==qn&&(n=Qn(e))):n=t,e.eat(qn),{min:Number(t),max:n?Number(n):0}}function Jn(e,t){const n=function(e){let t=null,n=!1;switch(e.charCode()){case Pn:e.pos++,t={min:0,max:0};break;case zn:e.pos++,t={min:1,max:0};break;case In:e.pos++,t={min:0,max:1};break;case En:e.pos++,n=!0,e.charCode()===Fn?t=Xn(e):e.charCode()===In?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Fn:t=Xn(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,e.charCode()===En&&e.charCodeAt(e.pos-1)===zn?Jn(e,n):n):t}function er(e){const t=e.peek();return""===t?null:{type:"Token",value:t}}function tr(e){let t,n=null;return e.eat(Bn),t=Hn(e),e.charCode()===Tn&&e.nextCharCode()===Ln&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Dn&&(Gn(e),n=function(e){let t=null,n=null,r=1;return e.eat(Dn),e.charCode()===Un&&(e.peek(),r=-1),-1==r&&e.charCode()===Wn?e.peek():(t=r*Number(Qn(e)),0!==Yn[e.charCode()]&&(t+=Hn(e))),Gn(e),e.eat(Mn),Gn(e),e.charCode()===Wn?e.peek():(r=1,e.charCode()===Un&&(e.peek(),r=-1),n=r*Number(Qn(e)),0!==Yn[e.charCode()]&&(n+=Hn(e))),e.eat(Vn),{type:"Range",min:t,max:n}}(e)),e.eat(Nn),Jn(e,{type:"Type",name:t,opts:n})}function nr(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)=>$n[e]-$n[t]));t.length>0;){r=t.shift();let i=0,o=0;for(;i<e.length;i++){const t=e[i];"Combinator"===t.type&&(t.value===r?(-1===o&&(o=i-1),e.splice(i,1),i--):(-1!==o&&i-o>1&&(e.splice(o,i-o,n(e.slice(o,i),r)),i=o+1),o=-1))}-1!==o&&t.length&&e.splice(o,i-o,n(e.slice(o,i),r))}return r}function rr(e){const t=[],n={};let r,i=null,o=e.pos;for(;r=ir(e);)"Spaces"!==r.type&&("Combinator"===r.type?(null!==i&&"Combinator"!==i.type||(e.pos=o,e.error("Unexpected combinator")),n[r.value]=!0):null!==i&&"Combinator"!==i.type&&(n[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(r),i=r,o=e.pos);return null!==i&&"Combinator"===i.type&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:nr(t,n)||" ",disallowEmpty:!1,explicit:!1}}function ir(e){let t=e.charCode();if(t<128&&1===Yn[t])return function(e){const t=Hn(e);return e.charCode()===Tn?(e.pos++,{type:"Function",name:t}):Jn(e,{type:"Keyword",name:t})}(e);switch(t){case Vn:break;case Dn:return Jn(e,function(e){let t;return e.eat(Dn),t=rr(e),e.eat(Vn),t.explicit=!0,e.charCode()===Cn&&(e.pos++,t.disallowEmpty=!0),t}(e));case Bn:return e.nextCharCode()===Rn?function(e){let t;return e.eat(Bn),e.eat(Rn),t=Hn(e),e.eat(Rn),e.eat(Nn),Jn(e,{type:"Property",name:t})}(e):tr(e);case Kn:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Kn?2:1))};case An:return e.pos++,e.eat(An),{type:"Combinator",value:"&&"};case Mn:return e.pos++,{type:"Comma"};case Rn:return Jn(e,{type:"String",value:Zn(e)});case Sn:case kn:case xn:case _n:case On:return{type:"Spaces",value:Gn(e)};case jn:return t=e.nextCharCode(),t<128&&1===Yn[t]?(e.pos++,{type:"AtKeyword",name:Hn(e)}):er(e);case Pn:case zn:case In:case En:case Cn:break;case Fn:if(t=e.nextCharCode(),t<48||t>57)return er(e);break;default:return er(e)}}function or(e){const t=new wn(e),n=rr(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}const ar=function(){};function sr(e){return"function"==typeof e?e:ar}const lr={decorator(e){const t=[];let n=null;return{...e,node(t){const r=n;n=t,e.node.call(this,t),n=r},emit(e,r,i){t.push({type:r,value:e,node:i?null:n})},result:()=>t}}};function ur(e,t){return"string"==typeof e?function(e){const t=[];return xe(e,((n,r,i)=>t.push({type:n,value:e.slice(r,i),node:null}))),t}(e):t.generate(e,lr)}const cr={type:"Match"},hr={type:"Mismatch"},pr={type:"DisallowEmpty"},fr=40,dr=41;function mr(e,t,n){return t===cr&&n===hr||e===cr&&t===cr&&n===cr?e:("If"===e.type&&e.else===hr&&t===cr&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function gr(e){return e.length>2&&e.charCodeAt(e.length-2)===fr&&e.charCodeAt(e.length-1)===dr}function br(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&gr(e.name)}function vr(e,t,n){switch(e){case" ":{let e=cr;for(let n=t.length-1;n>=0;n--){e=mr(t[n],e,hr)}return e}case"|":{let e=hr,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];if(br(i)&&(null===n&&r>0&&br(t[r-1])&&(n=Object.create(null),e=mr({type:"Enum",map:n},cr,e)),null!==n)){const e=(gr(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(e in n==!1){n[e]=i;continue}}n=null,e=mr(i,cr,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=hr;for(let r=t.length-1;r>=0;r--){const i=t[r];let o;o=t.length>1?vr(e,t.filter((function(e){return e!==i})),!1):cr,n=mr(i,o,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?cr:hr;for(let n=t.length-1;n>=0;n--){const i=t[n];let o;o=t.length>1?vr(e,t.filter((function(e){return e!==i})),!0):cr,r=mr(i,o,r)}return r}}}function yr(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=vr(e.combinator,e.terms.map(yr),!1);return e.disallowEmpty&&(t=mr(t,pr,hr)),t}case"Multiplier":return function(e){let t=cr,n=yr(e.term);if(0===e.max)n=mr(n,pr,hr),t=mr(n,null,hr),t.then=mr(cr,cr,t),e.comma&&(t.then.else=mr({type:"Comma",syntax:e},t,hr));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==cr&&(t=mr({type:"Comma",syntax:e},t,hr)),t=mr(n,mr(cr,cr,t),hr);if(0===e.min)t=mr(cr,cr,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==cr&&(t=mr({type:"Comma",syntax:e},t,hr)),t=mr(n,t,hr);return t}(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 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function wr(e,t){return"string"==typeof e&&(e=or(e)),{type:"MatchGraph",match:yr(e),syntax:t||null,source:e}}const{hasOwnProperty:kr}=Object.prototype,xr=0,Or=1,_r=2,Sr=3,Cr="Match",Er="Mismatch",Ar="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Rr=15e3;function Tr(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let i=e.charCodeAt(n);if(i>=65&&i<=90&&(i|=32),i!==r)return!1}return!0}function Lr(e){return null===e||(e.type===R||e.type===f||e.type===P||e.type===T||e.type===M||function(e){return e.type===w&&"?"!==e.value}(e))}function Pr(e){return null===e||(e.type===z||e.type===L||e.type===U||e.type===w&&"/"===e.value)}function zr(e,t,n){const r=function(e,t,n){function r(){do{v++,b=v<e.length?e[v]:null}while(null!==b&&(b.type===_||b.type===B))}function i(t){const n=v+t;return n<e.length?e[n]:null}function o(e,t){return{nextState:e,matchStack:w,syntaxStack:c,thenStack:h,tokenIndex:v,prev:t}}function a(e){h={nextState:e,matchStack:w,syntaxStack:c,prev:h}}function s(e){f=o(e,f)}function l(){w={type:Or,syntax:t.syntax,token:b,prev:w},r(),d=null,v>y&&(y=v)}function u(){w=w.type===_r?w.prev:{type:Sr,syntax:c.syntax,token:w.token,prev:w},c=c.prev}let c=null,h=null,f=null,d=null,m=0,g=null,b=null,v=-1,y=0,w={type:xr,syntax:null,token:null,prev:null};for(r();null===g&&++m<Rr;)switch(t.type){case"Match":if(null===h){if(null!==b&&(v!==e.length-1||"\\0"!==b.value&&"\\9"!==b.value)){t=hr;break}g=Cr;break}if((t=h.nextState)===pr){if(h.matchStack===w){t=hr;break}t=cr}for(;h.syntaxStack!==c;)u();h=h.prev;break;case"Mismatch":if(null!==d&&!1!==d)(null===f||v>f.tokenIndex)&&(f=d,d=!1);else if(null===f){g=Er;break}t=f.nextState,h=f.thenStack,c=f.syntaxStack,w=f.matchStack,v=f.tokenIndex,b=v<e.length?e[v]:null,f=f.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==hr&&s(t.else),t.then!==cr&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const e=t.syntax.terms;if(t.index===e.length){if(0===t.mask||t.syntax.all){t=hr;break}t=cr;break}if(t.mask===(1<<e.length)-1){t=cr;break}for(;t.index<e.length;t.index++){const n=1<<t.index;if(!(t.mask&n)){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|n}),t=e[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==b){let e=b.value.toLowerCase();if(-1!==e.indexOf("\\")&&(e=e.replace(/\\[09].*$/,"")),kr.call(t.map,e)){t=t.map[e];break}}t=hr;break;case"Generic":{const e=null!==c?c.opts:null,n=v+Math.floor(t.fn(b,i,e));if(!isNaN(n)&&n>v){for(;v<n;)l();t=cr}else t=hr;break}case"Type":case"Property":{const e="Type"===t.type?"types":"properties",r=kr.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==d&&null!==b&&"Type"===t.type&&("custom-ident"===t.name&&b.type===p||"length"===t.name&&"0"===b.value)){null===d&&(d=o(t,f)),t=hr;break}c={syntax:t.syntax,opts:t.syntax.opts||null!==c&&c.opts||null,prev:c},w={type:_r,syntax:t.syntax,token:w.token,prev:w},t=r.match;break}case"Keyword":{const e=t.name;if(null!==b){let n=b.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),Tr(n,e)){l(),t=cr;break}}t=hr;break}case"AtKeyword":case"Function":if(null!==b&&Tr(b.value,t.name)){l(),t=cr;break}t=hr;break;case"Token":if(null!==b&&b.value===t.value){l(),t=cr;break}t=hr;break;case"Comma":null!==b&&b.type===R?Lr(w.token)?t=hr:(l(),t=Pr(b)?hr:cr):t=Lr(w.token)||Pr(b)?cr:hr;break;case"String":let r="",m=v;for(;m<e.length&&r.length<t.value.length;m++)r+=e[m].value;if(Tr(r,t.value)){for(;v<m;)l();t=cr}else t=hr;break;default:throw new Error("Unknown node type: "+t.type)}switch(g){case null:console.warn("[csstree-match] BREAK after "+Rr+" iterations"),g=Ar,w=null;break;case Cr:for(;null!==c;)u();break;default:w=null}return{tokens:e,reason:g,iterations:m,match:w,longestMatch:y}}(e,t,n||{});if(null===r.match)return r;let i=r.match,o=r.match={syntax:t.syntax||null,match:[]};const a=[o];for(i=function(e){let t=null,n=null,r=e;for(;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}(i).prev;null!==i;){switch(i.type){case _r:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case Sr:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function Mr(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}let n=null;return null!==this.matched&&function r(i){if(Array.isArray(i.match)){for(let e=0;e<i.match.length;e++)if(r(i.match[e]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}(this.matched),n}function Ur(e,t,n){const r=Mr.call(e,t);return null!==r&&r.some(n)}var Br=Object.freeze({__proto__:null,getTrace:Mr,isType:function(e,t){return Ur(this,e,(e=>"Type"===e.type&&e.name===t))},isProperty:function(e,t){return Ur(this,e,(e=>"Property"===e.type&&e.name===t))},isKeyword:function(e){return Ur(this,e,(e=>"Keyword"===e.type))}});function Nr(e){return"node"in e?e.node:Nr(e.match[0])}function Ir(e){return"node"in e?e.node:Ir(e.match[e.match.length-1])}function jr(e,t,n,r,i){const o=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===i){const n=Nr(a),r=Ir(a);e.syntax.walk(t,(function(e,t,i){if(e===n){const e=new _e;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);o.push({parent:i,nodes:e})}}))}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),o}const{hasOwnProperty:Dr}=Object.prototype;function Vr(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Fr(e){return Boolean(e)&&Vr(e.offset)&&Vr(e.line)&&Vr(e.column)}function Kr(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 o=!0;if(!1!==Dr.call(n,i)){if("type"===i)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===i){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)i+=".source";else if(Fr(n.loc.start)){if(Fr(n.loc.end))continue;i+=".end"}else i+=".start";o=!1}else if(t.hasOwnProperty(i)){o=!1;for(let e=0;!o&&e<t[i].length;e++){const r=t[i][e];switch(r){case String:o="string"==typeof n[i];break;case Boolean:o="boolean"==typeof n[i];break;case null:o=null===n[i];break;default:"string"==typeof r?o=n[i]&&n[i].type===r:Array.isArray(r)&&(o=n[i]instanceof _e)}}}else r(n,"Unknown field `"+i+"` for "+e+" node type");o||r(n,"Bad value for `"+e+"."+i+"`")}}for(const i in t)Dr.call(t,i)&&!1===Dr.call(n,i)&&r(n,"Field `"+e+"."+i+"` is missed")}}function qr(e,t){const n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(const t in n){if(!1===Dr.call(n,t))continue;const o=[],a=r[t]=Array.isArray(n[t])?n[t].slice():[n[t]];for(let n=0;n<a.length;n++){const r=a[n];if(r===String||r===Boolean)o.push(r.name);else if(null===r)o.push("null");else if("string"==typeof r)o.push("<"+r+">");else{if(!Array.isArray(r))throw new Error("Wrong value `"+r+"` in `"+e+"."+t+"` structure definition");o.push("List")}}i[t]=o.join(" | ")}return{docs:i,check:Kr(e,r)}}const Wr=wr(qt.join(" | "));function Yr(e,t,n){const r={};for(const i in e)e[i].syntax&&(r[i]=n?e[i].syntax:Lt(e[i].syntax,{compact:t}));return r}function $r(e,t,n){const r={};for(const[i,o]of Object.entries(e))r[i]={prelude:o.prelude&&(n?o.prelude.syntax:Lt(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&Yr(o.descriptors,t,n)};return r}function Gr(e,t,n){return{matched:e,iterations:n,error:t,...Br}}function Hr(e,t,n,r){const i=ur(n,e.syntax);let o;return function(e){for(let t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(r&&(o=zr(i,e.cssWideKeywordsSyntax,e)),r&&o.match||(o=zr(i,t.match,e),o.match)?Gr(o.match,null,o.iterations):Gr(null,new Bt(o.reason,t.syntax,n,o),o.iterations))}class Qr{constructor(e,t,n){if(this.cssWideKeywordsSyntax=Wr,this.syntax=t,this.generic=!1,this.units={...vn},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||function(e){const t={};if(e.node)for(const n in e.node)if(Dr.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=qr(n,r)}return t}(e),e){if(e.units)for(const t of Object.keys(vn))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(const t in e.types)this.addType_(t,e.types[t]);if(e.generic){this.generic=!0;for(const[e,t]of Object.entries(function(e){return{...mn,...gn,...bn(e)}}(this.units)))this.addType_(e,t)}if(e.atrules)for(const t in e.atrules)this.addAtrule_(t,e.atrules[t]);if(e.properties)for(const t in e.properties)this.addProperty_(t,e.properties[t])}}checkStructure(e){function t(e,t){r.push({node:e,message:t})}const n=this.structure,r=[];return this.syntax.walk(e,(function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")})),!!r.length&&r}createDescriptor(e,t,n,r=null){const i={type:t,name:n},o={type:t,name:n,parent:r,serializable:"string"==typeof e||e&&"string"==typeof e.type,syntax:null,match:null};return"function"==typeof e?o.match=wr(e,i):("string"==typeof e?Object.defineProperty(o,"syntax",{get:()=>(Object.defineProperty(o,"syntax",{value:or(e)}),o.syntax)}):o.syntax=e,Object.defineProperty(o,"match",{get:()=>(Object.defineProperty(o,"match",{value:wr(o.syntax,i)}),o.match)})),o}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce(((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n)),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Ut("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||Hr(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){const n=this.checkAtruleName(e);if(n)return n;const r=this.getAtrule(e),i=Dt(t);return r.descriptors?r.descriptors[i.name]||r.descriptors[i.basename]?void 0:new Ut("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new Ut("Unknown property",e)}matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)return Gr(null,n);const r=this.getAtrule(e);return r.prelude?Hr(this,r.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,n){const r=this.checkAtruleDescriptorName(e,t);if(r)return Gr(null,r);const i=this.getAtrule(e),o=Dt(t);return Hr(this,i.descriptors[o.name]||i.descriptors[o.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?Gr(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(Vt(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));const n=this.checkPropertyName(e);return n?Gr(null,n):Hr(this,this.getProperty(e),t,!0)}matchType(e,t){const n=this.getType(e);return n?Hr(this,n,t,!1):Gr(null,new Ut("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),Hr(this,e,t,!1)):Gr(null,new Ut("Bad syntax"))}findValueFragments(e,t,n,r){return jr(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return jr(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){const r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){const n=Dt(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){const n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){const n=Vt(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,o,a){if(o.has(i))return o.get(i);o.set(i,!1),null!==a.syntax&&function(e,t,n){let r=ar,i=ar;if("function"==typeof t?r=t:t&&(r=sr(t.enter),i=sr(t.leave)),r===ar&&i===ar)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+t.type)}i.call(n,t)}(e)}(a.syntax,(function(a){if("Type"!==a.type&&"Property"!==a.type)return;const s="Type"===a.type?r.types:r.properties,l="Type"===a.type?t:n;hasOwnProperty.call(s,a.name)&&!e(r,a.name,l,s[a.name])||o.set(i,!0)}),this)}let t=new Map,n=new Map;for(const n in this.types)e(this,n,t,this.types[n]);for(const 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,units:this.units,types:Yr(this.types,!t,e),properties:Yr(this.properties,!t,e),atrules:$r(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}}function Zr(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Xr(e,t){const n=Object.create(null);for(const[r,i]of Object.entries(e))if(i){n[r]={};for(const e of Object.keys(i))t.includes(e)&&(n[r][e]=i[e])}return n}function Jr(e,t){const n={...e};for(const[r,i]of Object.entries(t))switch(r){case"generic":n[r]=Boolean(i);break;case"units":n[r]={...e[r]};for(const[e,t]of Object.entries(i))n[r][e]=Array.isArray(t)?t:[];break;case"atrules":n[r]={...e[r]};for(const[e,t]of Object.entries(i)){const i=n[r][e]||{},o=n[r][e]={prelude:i.prelude||null,descriptors:{...i.descriptors}};if(t){o.prelude=t.prelude?Zr(o.prelude,t.prelude):o.prelude||null;for(const[e,n]of Object.entries(t.descriptors||{}))o.descriptors[e]=n?Zr(o.descriptors[e],n):null;Object.keys(o.descriptors).length||(o.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[e,t]of Object.entries(i))n[r][e]=Zr(n[r][e],t);break;case"scope":n[r]={...e[r]};for(const[e,t]of Object.entries(i))n[r][e]={...n[r][e],...t};break;case"parseContext":n[r]={...e[r],...i};break;case"atrule":case"pseudo":n[r]={...e[r],...Xr(i,["parse"])};break;case"node":n[r]={...e[r],...Xr(i,["name","structure","parse","generate","walkContext"])}}return n}function ei(e){const t=De(e),n=At(e),r=wt(e),{fromPlainObject:i,toPlainObject:o}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&e.children instanceof _e==0&&(e.children=(new _e).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof _e&&(e.children=e.children.toArray())}}),t)}}(n),a={lexer:null,createLexer:e=>new Qr(e,a,a.lexer.structure),tokenize:xe,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:i,toPlainObject:o,fork(t){const n=Jr({},e);return ei("function"==typeof t?t(n,Object.assign):Jr(n,t))}};return a.lexer=new Qr({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const ti=43,ni=45,ri=110,ii=!0;function oi(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for(r!==ti&&r!==ni||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)I(this.charCodeAt(n))||this.error("Integer is expected",n)}function ai(e){return oi.call(this,0,e)}function si(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case ri:n="N is expected";break;case ni:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function li(){let e=0,t=0,n=this.tokenType;for(;n===_||n===B;)n=this.lookupType(++e);if(n!==k){if(!this.isDelim(ti,e)&&!this.isDelim(ni,e))return null;t=this.isDelim(ti,e)?ti:ni;do{n=this.lookupType(++e)}while(n===_||n===B);n!==k&&(this.skip(e),ai.call(this,ii))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==ti&&n!==ni&&this.error("Number sign is expected")),ai.call(this,0!==t),t===ni?"-"+this.consume(k):this.consume(k)}const ui={a:[String,null],b:[String,null]};function ci(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===k)ai.call(this,false),n=this.consume(k);else if(this.tokenType===p&&this.cmpChar(this.tokenStart,ni))switch(t="-1",si.call(this,1,ri),this.tokenEnd-this.tokenStart){case 2:this.next(),n=li.call(this);break;case 3:si.call(this,2,ni),this.next(),this.skipSC(),ai.call(this,ii),n="-"+this.consume(k);break;default:si.call(this,2,ni),oi.call(this,3,ii),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===p||this.isDelim(ti)&&this.lookupType(1)===p){let r=0;switch(t="1",this.isDelim(ti)&&(r=1,this.next()),si.call(this,0,ri),this.tokenEnd-this.tokenStart){case 1:this.next(),n=li.call(this);break;case 2:si.call(this,1,ni),this.next(),this.skipSC(),ai.call(this,ii),n="-"+this.consume(k);break;default:si.call(this,1,ni),oi.call(this,2,ii),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===O){const r=this.charCodeAt(this.tokenStart),i=r===ti||r===ni;let o=this.tokenStart+i;for(;o<this.tokenEnd&&I(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),si.call(this,o-this.tokenStart,ri),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),n=li.call(this)):(si.call(this,o-this.tokenStart+1,ni),o+2===this.tokenEnd?(this.next(),this.skipSC(),ai.call(this,ii),n="-"+this.consume(k)):(oi.call(this,o-this.tokenStart+2,ii),this.next(),n=this.substrToCursor(o+1)))}else this.error();return null!==t&&t.charCodeAt(0)===ti&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===ti&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}var hi=Object.freeze({__proto__:null,name:"AnPlusB",structure:ui,parse:ci,generate:function(e){if(e.a){const t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){const n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}});function pi(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function fi(){for(let e,t=1;e=this.lookupType(t);t++){if(e===U)return!0;if(e===M||e===d)return!1}return!1}const di={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function mi(e=!1){const t=this.tokenStart;let n,r,i=null,o=null;switch(this.eat(d),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==M&&this.tokenType!==A&&(i=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),pi):pi.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case A:this.next();break;case M:o=hasOwnProperty.call(this.atrule,r)&&"function"==typeof this.atrule[r].block?this.atrule[r].block.call(this,e):this.Block(fi.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:i,block:o}}var gi=Object.freeze({__proto__:null,name:"Atrule",walkContext:"atrule",structure:di,parse:mi,generate:function(e){this.token(d,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(A,";")}});function bi(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==M&&this.tokenType!==A&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}var vi=Object.freeze({__proto__:null,name:"AtrulePrelude",walkContext:"atrulePrelude",structure:{children:[[]]},parse:bi,generate:function(e){this.children(e)}});const yi=36,wi=42,ki=61,xi=94,Oi=124,_i=126;function Si(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(wi)?(t=!0,this.next()):this.isDelim(Oi)||this.eat(p),this.isDelim(Oi)?this.charCodeAt(this.tokenStart+1)!==ki?(this.next(),this.eat(p)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Ci(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==ki&&t!==_i&&t!==xi&&t!==yi&&t!==wi&&t!==Oi&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==ki&&(this.isDelim(ki)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const Ei={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Ai(){const e=this.tokenStart;let t,n=null,r=null,i=null;return this.eat(T),this.skipSC(),t=Si.call(this),this.skipSC(),this.tokenType!==L&&(this.tokenType!==p&&(n=Ci.call(this),this.skipSC(),r=this.tokenType===g?this.String():this.Identifier(),this.skipSC()),this.tokenType===p&&(i=this.consume(p),this.skipSC())),this.eat(L),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}var Ri=Object.freeze({__proto__:null,name:"AttributeSelector",structure:Ei,parse:Ai,generate:function(e){this.token(w,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(p,e.flags),this.token(w,"]")}});function Ti(e){return this.Raw(e,null,!0)}function Li(){return this.parseWithFallback(this.Rule,Ti)}function Pi(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function zi(){if(this.tokenType===A)return Pi.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Pi);return this.tokenType===A&&this.next(),e}function Mi(e){const t=e?zi:Li,n=this.tokenStart;let r=this.createList();this.eat(M);e:for(;!this.eof;)switch(this.tokenType){case U:break e;case _:case B:this.next();break;case d:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Ti));break;default:e&&this.isDelim(38)?r.push(Li.call(this)):r.push(t.call(this))}return this.eof||this.eat(U),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}var Ui=Object.freeze({__proto__:null,name:"Block",walkContext:"block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:Mi,generate:function(e){this.token(M,"{"),this.children(e,(e=>{"Declaration"===e.type&&this.token(A,";")})),this.token(U,"}")}});function Bi(e,t){const n=this.tokenStart;let r=null;return this.eat(T),r=e.call(this,t),this.eof||this.eat(L),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}var Ni=Object.freeze({__proto__:null,name:"Brackets",structure:{children:[[]]},parse:Bi,generate:function(e){this.token(w,"["),this.children(e),this.token(w,"]")}});function Ii(){const e=this.tokenStart;return this.eat(C),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}var ji=Object.freeze({__proto__:null,name:"CDC",structure:[],parse:Ii,generate:function(){this.token(C,"--\x3e")}});function Di(){const e=this.tokenStart;return this.eat(S),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}var Vi=Object.freeze({__proto__:null,name:"CDO",structure:[],parse:Di,generate:function(){this.token(S,"\x3c!--")}});const Fi={name:String};function Ki(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(p)}}var qi=Object.freeze({__proto__:null,name:"ClassSelector",structure:Fi,parse:Ki,generate:function(e){this.token(w,"."),this.token(p,e.name)}});const Wi={name:String};function Yi(){const e=this.tokenStart;let t;switch(this.tokenType){case _:t=" ";break;case w:switch(this.charCodeAt(this.tokenStart)){case 62:case 43:case 126:this.next();break;case 47:this.next(),this.eatIdent("deep"),this.eatDelim(47);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e)}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}var $i=Object.freeze({__proto__:null,name:"Combinator",structure:Wi,parse:Yi,generate:function(e){this.tokenize(e.name)}});const Gi={value:String};function Hi(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(B),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}var Qi=Object.freeze({__proto__:null,name:"Comment",structure:Gi,parse:Hi,generate:function(e){this.token(B,"/*"+e.value+"*/")}});const Zi=33,Xi=35,Ji=36,eo=38,to=42,no=43,ro=47;function io(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function oo(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function ao(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==A&&!1===this.isDelim(Zi)&&!1===this.isBalanceEdge(e)&&this.error(),t}const so={important:[Boolean,String],property:String,value:["Value","Raw"]};function lo(){const e=this.tokenStart,t=this.tokenIndex,n=uo.call(this),r=Ft(n),i=r?this.parseCustomProperty:this.parseValue,o=r?oo:io;let a,s=!1;this.skipSC(),this.eat(E);const l=this.tokenIndex;if(r||this.skipSC(),a=i?this.parseWithFallback(ao,o):o.call(this,this.tokenIndex),r&&"Value"===a.type&&a.children.isEmpty)for(let e=l-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===_){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(Zi)&&(s=co.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==A&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:s,property:n,value:a}}function uo(){const e=this.tokenStart;if(this.tokenType===w)switch(this.charCodeAt(this.tokenStart)){case to:case Ji:case no:case Xi:case eo:this.next();break;case ro:this.next(),this.isDelim(ro)&&this.next()}return this.tokenType===m?this.eat(m):this.eat(p),this.substrToCursor(e)}function co(){this.eat(w),this.skipSC();const e=this.consume(p);return"important"===e||e}var ho=Object.freeze({__proto__:null,name:"Declaration",walkContext:"declaration",structure:so,parse:lo,generate:function(e){this.token(p,e.property),this.token(E,":"),this.node(e.value),e.important&&(this.token(w,"!"),this.token(p,!0===e.important?"important":e.important))}});function po(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function fo(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case _:case B:case A:this.next();break;case d:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),po));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,po)):e.push(this.parseWithFallback(this.Declaration,po))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}var mo=Object.freeze({__proto__:null,name:"DeclarationList",structure:{children:[["Declaration","Atrule","Rule"]]},parse:fo,generate:function(e){this.children(e,(e=>{"Declaration"===e.type&&this.token(A,";")}))}});const go={value:String,unit:String};function bo(){const e=this.tokenStart,t=this.consumeNumber(O);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}var vo=Object.freeze({__proto__:null,name:"Dimension",structure:go,parse:bo,generate:function(e){this.token(O,e.value+e.unit)}});const yo={name:String,children:[[]]};function wo(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase();let o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(z),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:o}}var ko=Object.freeze({__proto__:null,name:"Function",walkContext:"function",structure:yo,parse:wo,generate:function(e){this.token(f,e.name+"("),this.children(e),this.token(z,")")}});const xo={value:String};function Oo(){const e=this.tokenStart;return this.eat(m),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}var _o=Object.freeze({__proto__:null,xxx:"XXX",name:"Hash",structure:xo,parse:Oo,generate:function(e){this.token(m,"#"+e.value)}});const So={name:String};function Co(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(p)}}var Eo=Object.freeze({__proto__:null,name:"Identifier",structure:So,parse:Co,generate:function(e){this.token(p,e.name)}});const Ao={name:String};function Ro(){const e=this.tokenStart;return this.eat(m),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}var To=Object.freeze({__proto__:null,name:"IdSelector",structure:Ao,parse:Ro,generate:function(e){this.token(w,"#"+e.name)}});const Lo={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function Po(){const e=this.tokenStart;let t,n=null;if(this.eat(P),this.skipSC(),t=this.consume(p),this.skipSC(),this.tokenType!==z){switch(this.eat(E),this.skipSC(),this.tokenType){case k:n=this.lookupNonWSType(1)===w?this.Ratio():this.Number();break;case O:n=this.Dimension();break;case p:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(z),{type:"MediaFeature",loc:this.getLocation(e,this.tokenStart),name:t,value:n}}var zo=Object.freeze({__proto__:null,name:"MediaFeature",structure:Lo,parse:Po,generate:function(e){this.token(P,"("),this.token(p,e.name),null!==e.value&&(this.token(E,":"),this.node(e.value)),this.token(z,")")}});function Mo(){const e=this.createList();let t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case B:case _:this.next();continue;case p:t=this.Identifier();break;case P:t=this.MediaFeature();break;default:break e}e.push(t)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}var Uo=Object.freeze({__proto__:null,name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:Mo,generate:function(e){this.children(e)}});function Bo(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===R);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}var No=Object.freeze({__proto__:null,name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:Bo,generate:function(e){this.children(e,(()=>this.token(R,",")))}});function Io(){const e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}var jo=Object.freeze({__proto__:null,name:"NestingSelector",structure:{},parse:Io,generate:function(){this.token(w,"&")}});function Do(){this.skipSC();const e=this.tokenStart;let t,n=e,r=null;return t=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(e,n),nth:t,selector:r}}var Vo=Object.freeze({__proto__:null,name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:Do,generate:function(e){this.node(e.nth),null!==e.selector&&(this.token(p,"of"),this.node(e.selector))}});const Fo={value:String};function Ko(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(k)}}var qo=Object.freeze({__proto__:null,name:"Number",structure:Fo,parse:Ko,generate:function(e){this.token(k,e.value)}});const Wo={value:String};function Yo(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}var $o=Object.freeze({__proto__:null,name:"Operator",structure:Wo,parse:Yo,generate:function(e){this.tokenize(e.value)}});function Go(e,t){const n=this.tokenStart;let r=null;return this.eat(P),r=e.call(this,t),this.eof||this.eat(z),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}var Ho=Object.freeze({__proto__:null,name:"Parentheses",structure:{children:[[]]},parse:Go,generate:function(e){this.token(P,"("),this.children(e),this.token(z,")")}});const Qo={value:String};function Zo(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(x)}}var Xo=Object.freeze({__proto__:null,name:"Percentage",structure:Qo,parse:Zo,generate:function(e){this.token(x,e.value+"%")}});const Jo={name:String,children:[["Raw"],null]};function ea(){const e=this.tokenStart;let t,n,r=null;return this.eat(E),this.tokenType===f?(t=this.consumeFunctionName(),n=t.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(this.tokenIndex,null,!1))),this.eat(z)):t=this.consume(p),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}var ta=Object.freeze({__proto__:null,name:"PseudoClassSelector",walkContext:"function",structure:Jo,parse:ea,generate:function(e){this.token(E,":"),null===e.children?this.token(p,e.name):(this.token(f,e.name+"("),this.children(e),this.token(z,")"))}});const na={name:String,children:[["Raw"],null]};function ra(){const e=this.tokenStart;let t,n,r=null;return this.eat(E),this.eat(E),this.tokenType===f?(t=this.consumeFunctionName(),n=t.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),r=this.pseudo[n].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(this.tokenIndex,null,!1))),this.eat(z)):t=this.consume(p),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:r}}var ia=Object.freeze({__proto__:null,name:"PseudoElementSelector",walkContext:"function",structure:na,parse:ra,generate:function(e){this.token(E,":"),this.token(E,":"),null===e.children?this.token(p,e.name):(this.token(f,e.name+"("),this.children(e),this.token(z,")"))}});const oa=46;function aa(){this.skipSC();const e=this.consume(k);for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);I(n)||n===oa||this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return 0===Number(e)&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}const sa={left:String,right:String};function la(){const e=this.tokenStart,t=aa.call(this);let n;return this.skipSC(),this.eatDelim(47),n=aa.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}var ua=Object.freeze({__proto__:null,name:"Ratio",structure:sa,parse:la,generate:function(e){this.token(k,e.left),this.token(w,"/"),this.token(k,e.right)}});function ca(){return this.tokenIndex>0&&this.lookupType(-1)===_?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const ha={value:String};function pa(e,t,n){const r=this.getTokenStart(e);let i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),i=n&&this.tokenStart>r?ca.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(r,i),value:this.substring(r,i)}}var fa=Object.freeze({__proto__:null,name:"Raw",structure:ha,parse:pa,generate:function(e){this.tokenize(e.value)}});function da(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function ma(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==M&&this.error(),e}function ga(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return n=this.parseRulePrelude?this.parseWithFallback(ma,da):da.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}var ba=Object.freeze({__proto__:null,name:"Rule",walkContext:"rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:ga,generate:function(e){this.node(e.prelude),this.node(e.block)}});function va(){const e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}var ya=Object.freeze({__proto__:null,name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:va,generate:function(e){this.children(e)}});function wa(){const e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===R);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}var ka=Object.freeze({__proto__:null,name:"SelectorList",walkContext:"selector",structure:{children:[["Selector","Raw"]]},parse:wa,generate:function(e){this.children(e,(()=>this.token(R,",")))}});const xa=92,Oa=34,_a=39;function Sa(e){const t=e.length,n=e.charCodeAt(0),r=n===Oa||n===_a?1:0,i=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let o="";for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(r===xa){if(n===i){n!==t-1&&(o=e.substr(n+1));break}if(r=e.charCodeAt(++n),Y(xa,r)){const t=n-1,r=le(e,t);n=r-1,o+=pe(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else o+=e[n]}return o}const Ca={value:String};function Ea(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Sa(this.consume(g))}}var Aa=Object.freeze({__proto__:null,name:"String",structure:Ca,parse:Ea,generate:function(e){this.token(g,function(e,t){const n=t?"'":'"',r=t?_a:Oa;let i="",o=!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);0!==n?n<=31||127===n?(i+="\\"+n.toString(16),o=!0):n===r||n===xa?(i+="\\"+e.charAt(t),o=!1):(o&&(j(n)||W(n))&&(i+=" "),i+=e.charAt(t),o=!1):i+="�"}return n+i+n}(e.value))}});function Ra(e){return this.Raw(e,null,!1)}function Ta(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case _:this.next();continue;case B:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}n=this.Comment();break;case S:n=this.CDO();break;case C:n=this.CDC();break;case d:n=this.parseWithFallback(this.Atrule,Ra);break;default:n=this.parseWithFallback(this.Rule,Ra)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}var La=Object.freeze({__proto__:null,name:"StyleSheet",walkContext:"stylesheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:Ta,generate:function(e){this.children(e)}});const Pa=42;function za(){this.tokenType!==p&&!1===this.isDelim(Pa)&&this.error("Identifier or asterisk is expected"),this.next()}const Ma={name:String};function Ua(){const e=this.tokenStart;return this.isDelim(124)?(this.next(),za.call(this)):(za.call(this),this.isDelim(124)&&(this.next(),za.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}var Ba=Object.freeze({__proto__:null,name:"TypeSelector",structure:Ma,parse:Ua,generate:function(e){this.tokenize(e.name)}});const Na=43,Ia=45,ja=63;function Da(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const i=this.charCodeAt(r);if(i===Ia&&t&&0!==n)return Da.call(this,e+n+1,!1),-1;j(i)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Va(e){let t=0;for(;this.isDelim(ja);)++t>e&&this.error("Too many question marks"),this.next()}function Fa(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Na?"Plus sign":"Hyphen minus")+" is expected")}function Ka(){let e=0;switch(this.tokenType){case k:if(e=Da.call(this,1,!0),this.isDelim(ja)){Va.call(this,6-e);break}if(this.tokenType===O||this.tokenType===k){Fa.call(this,Ia),Da.call(this,1,!1);break}break;case O:e=Da.call(this,1,!0),e>0&&Va.call(this,6-e);break;default:if(this.eatDelim(Na),this.tokenType===p){e=Da.call(this,0,!0),e>0&&Va.call(this,6-e);break}if(this.isDelim(ja)){this.next(),Va.call(this,5);break}this.error("Hex digit or question mark is expected")}}const qa={value:String};function Wa(){const e=this.tokenStart;return this.eatIdent("u"),Ka.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}var Ya=Object.freeze({__proto__:null,name:"UnicodeRange",structure:qa,parse:Wa,generate:function(e){this.tokenize(e.value)}});const $a=32,Ga=92,Ha=34,Qa=39,Za=40,Xa=41;const Ja={value:String};function es(){const e=this.tokenStart;let t;switch(this.tokenType){case v:t=function(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===Xa?t-2:t-1,i="";for(;n<r&&W(e.charCodeAt(n));)n++;for(;n<r&&W(e.charCodeAt(r));)r--;for(let o=n;o<=r;o++){let n=e.charCodeAt(o);if(n===Ga){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(n=e.charCodeAt(++o),Y(Ga,n)){const t=o-1,n=le(e,t);o=n-1,i+=pe(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(o+1)&&o++}else i+=e[o]}return i}(this.consume(v));break;case f:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(f),this.skipSC(),t=Sa(this.consume(g)),this.skipSC(),this.eof||this.eat(z);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}var ts=Object.freeze({__proto__:null,name:"Url",structure:Ja,parse:es,generate:function(e){this.token(v,function(e){let t="",n=!1;for(let r=0;r<e.length;r++){const i=e.charCodeAt(r);0!==i?i<=31||127===i?(t+="\\"+i.toString(16),n=!0):i===$a||i===Ga||i===Ha||i===Qa||i===Za||i===Xa?(t+="\\"+e.charAt(r),n=!1):(n&&j(i)&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return"url("+t+")"}(e.value))}});function ns(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}var rs=Object.freeze({__proto__:null,name:"Value",structure:{children:[[]]},parse:ns,generate:function(e){this.children(e)}});const is=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),os={value:String};function as(){return this.eat(_),is}var ss=Object.freeze({__proto__:null,name:"WhiteSpace",structure:os,parse:as,generate:function(e){this.token(_,e.value)}}),ls=Object.freeze({__proto__:null,AnPlusB:hi,Atrule:gi,AtrulePrelude:vi,AttributeSelector:Ri,Block:Ui,Brackets:Ni,CDC:ji,CDO:Vi,ClassSelector:qi,Combinator:$i,Comment:Qi,Declaration:ho,DeclarationList:mo,Dimension:vo,Function:ko,Hash:_o,Identifier:Eo,IdSelector:To,MediaFeature:zo,MediaQuery:Uo,MediaQueryList:No,NestingSelector:jo,Nth:Vo,Number:qo,Operator:$o,Parentheses:Ho,Percentage:Xo,PseudoClassSelector:ta,PseudoElementSelector:ia,Ratio:ua,Raw:fa,Rule:ba,Selector:ya,SelectorList:ka,String:Aa,StyleSheet:La,TypeSelector:Ba,UnicodeRange:Ya,Url:ts,Value:rs,WhiteSpace:ss}),us={generic:!0,generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|vertical|horizontal","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-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<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>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <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]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","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>","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> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-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 [0,∞]>|none] )","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>]]","pow()":"pow( <calc-sum> , <calc-sum> )","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> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<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>|scroll( <axis>? <scroller>? )","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}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-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>","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",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",right:"<length>|auto","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","-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'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-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}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",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||inline-size]||layout||style||paint]","contain-intrinsic-size":"[none|<length>|auto <length>]{1,2}","contain-intrinsic-block-size":"none|<length>|auto <length>","contain-intrinsic-height":"none|<length>|auto <length>","contain-intrinsic-inline-size":"none|<length>|auto <length>","contain-intrinsic-width":"none|<length>|auto <length>",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|inline-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'>||<'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-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","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","scroll-timeline":"<scroll-timeline-name>||<scroll-timeline-axis>","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","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":"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":"[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>","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>]"},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>"}},nest:{prelude:"<complex-selector-list>",descriptors:null}},node:ls};function cs(e){switch(this.tokenType){case m:return this.Hash();case R:return this.Operator();case P:return this.Parentheses(this.readSequence,e.recognizer);case T:return this.Brackets(this.readSequence,e.recognizer);case g:return this.String();case O:return this.Dimension();case x:return this.Percentage();case k:return this.Number();case f:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case v:return this.Url();case p:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case w:{const e=this.charCodeAt(this.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var hs={getNode:cs};var ps={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case T:return this.AttributeSelector();case m:return this.IdSelector();case E:return this.lookupType(1)===E?this.PseudoElementSelector():this.PseudoClassSelector();case p:return this.TypeSelector();case k:case x:return this.Percentage();case O:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case w:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector();case 38:return this.NestingSelector()}break}}};function fs(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var ds={getNode:cs,onWhiteSpace(e,t){fs(e)&&(e.value=" "+e.value),fs(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))},var:function(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===R){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===_){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},ms=Object.freeze({__proto__:null,AtrulePrelude:hs,Selector:ps,Value:ds});function gs(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function bs(){return this.skipSC(),this.tokenType===p&&this.lookupNonWSType(1)===E?this.createSingleNodeList(this.Declaration()):vs.call(this)}function vs(){const e=this.createList();let t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case B:case _:this.next();continue;case f:t=this.Function(gs,this.scope.AtrulePrelude);break;case p:t=this.Identifier();break;case P:t=this.Parentheses(bs,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}var ys={"font-face":{parse:{prelude:null,block(){return this.Block(!0)}}},import:{parse:{prelude(){const e=this.createList();switch(this.skipSC(),this.tokenType){case g:e.push(this.String());break;case v:case f:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==p&&this.lookupNonWSType(0)!==P||e.push(this.MediaQueryList()),e},block:null}},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)}}},supports:{parse:{prelude(){const e=vs.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block(e=!1){return this.Block(e)}}}};const ws={parse(){return this.createSingleNodeList(this.SelectorList())}},ks={parse(){return this.createSingleNodeList(this.Selector())}},xs={parse(){return this.createSingleNodeList(this.Identifier())}},Os={parse(){return this.createSingleNodeList(this.Nth())}};var _s={dir:xs,has:ws,lang:xs,matches:ws,is:ws,"-moz-any":ws,"-webkit-any":ws,where:ws,not:ws,"nth-child":Os,"nth-last-child":Os,"nth-last-of-type":Os,"nth-of-type":Os,slotted:ks,host:ks,"host-context":ks},Ss=Object.freeze({__proto__:null,AnPlusB:ci,Atrule:mi,AtrulePrelude:bi,AttributeSelector:Ai,Block:Mi,Brackets:Bi,CDC:Ii,CDO:Di,ClassSelector:Ki,Combinator:Yi,Comment:Hi,Declaration:lo,DeclarationList:fo,Dimension:bo,Function:wo,Hash:Oo,Identifier:Co,IdSelector:Ro,MediaFeature:Po,MediaQuery:Mo,MediaQueryList:Bo,NestingSelector:Io,Nth:Do,Number:Ko,Operator:Yo,Parentheses:Go,Percentage:Zo,PseudoClassSelector:ea,PseudoElementSelector:ra,Ratio:la,Raw:pa,Rule:ga,Selector:va,SelectorList:wa,String:Ea,StyleSheet:Ta,TypeSelector:Ua,UnicodeRange:Wa,Url:es,Value:ns,WhiteSpace:as}),Cs=(e=>ei(Jr({},e)))({...us,...{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:ms,atrule:ys,pseudo:_s,node:Ss},...{node:ls}});function Es(e){const t={};for(const n in e){let r=e[n];r&&(Array.isArray(r)||r instanceof _e?r=r.map(Es):r.constructor===Object&&(r=Es(r))),t[n]=r}return t}const{tokenize:As,parse:Rs,generate:Ts,lexer:Ls,createLexer:Ps,walk:zs,find:Ms,findLast:Us,findAll:Bs,toPlainObject:Ns,fromPlainObject:Is,fork:js}=Cs,Ds=["all","print","screen","speech"],Vs=/data:[^,]*;base64,/,Fs=/^(["']).*\1$/,Ks=[/::?(?:-moz-)?selection/],qs=[/(.*)animation/,/(.*)transition(.*)/,/cursor/,/pointer-events/,/(-webkit-)?tap-highlight-color/,/(.*)user-select/];function Ws(e){return"children"in e&&e.children instanceof _e&&e.children.isEmpty}class Ys{constructor(e,t,n){this.css=e,this.ast=t,this.errors=n}absolutifyUrls(e){zs(this.ast,{visit:"Url",enter:t=>{if(t.value){const n=Ys.readValue(t),r=new URL(n,e).toString();r!==n&&(t.value=r)}}})}pruned(e){const t=new Ys(this.css,Es(this.ast),this.errors);return t.pruneMediaQueries(),t.pruneAtRules(["keyframes","charset","import"]),t.pruneNonCriticalSelectors(e),t.pruneExcludedProperties(),t.pruneLargeBase64Embeds(),t.pruneComments(),t}originalText(e){return e.loc&&e.loc.start&&e.loc.end?this.css.substring(e.loc.start.offset,e.loc.end.offset):""}applyFilters(e){e&&(e.properties&&this.applyPropertiesFilter(e.properties),e.atRules&&this.applyAtRulesFilter(e.atRules))}applyPropertiesFilter(e){zs(this.ast,{visit:"Declaration",enter:(t,n,r)=>{!1===e(t.property,this.originalText(t.value))&&r.remove(n)}})}applyAtRulesFilter(e){zs(this.ast,{visit:"Atrule",enter:(t,n,r)=>{!1===e(t.name)&&r.remove(n)}})}pruneUnusedVariables(e){let t=0;return zs(this.ast,{visit:"Declaration",enter:(n,r,i)=>{n.property.startsWith("--")&&(e.has(n.property)||(i.remove(r),t++))}}),t}getUsedVariables(){const e=new Set;return zs(this.ast,{visit:"Function",enter:t=>{if("var"!==Dt(t.name).name)return;t.children.map(Ys.readValue).forEach((t=>e.add(t)))}}),e}pruneComments(){zs(this.ast,{visit:"Comment",enter:(e,t,n)=>{n.remove(t)}})}pruneMediaQueries(){zs(this.ast,{visit:"Atrule",enter:(e,t,n)=>{"media"===Dt(e.name).name&&e.prelude&&(zs(e,{visit:"MediaQueryList",enter:(e,t,n)=>{zs(e,{visit:"MediaQuery",enter:(e,t,n)=>{Ys.isUsefulMediaQuery(e)||n.remove(t)}}),Ws(e)&&n.remove(t)}}),Ws(e.prelude)&&n.remove(t))}})}pruneAtRules(e){zs(this.ast,{visit:"Atrule",enter:(t,n,r)=>{e.includes(Dt(t.name).basename)&&r.remove(n)}})}static isKeyframeRule(e){return e.atrule&&"keyframes"===Dt(e.atrule.name).basename||!1}forEachSelector(e){zs(this.ast,{visit:"Rule",enter(t){Ys.isKeyframeRule(this)||"SelectorList"===t.prelude.type&&t.prelude.children.forEach((t=>{const n=Ts(t);Ks.some((e=>e.test(n)))||e(n)}))}})}pruneNonCriticalSelectors(e){zs(this.ast,{visit:"Rule",enter(t,n,r){this.atrule&&"keyframes"===Dt(this.atrule.name).basename||("SelectorList"===t.prelude.type?t.block.children.some((e=>function(e){return"Declaration"===e.type}(e)&&"grid-area"===e.property))||(t.prelude.children=t.prelude.children.filter((t=>{if(Ks.some((e=>e.test(Ts(t)))))return!1;const n=Ts(t);return e.has(n)})),Ws(t.prelude)&&r.remove(n)):r.remove(n))}})}pruneLargeBase64Embeds(){zs(this.ast,{visit:"Declaration",enter:(e,t,n)=>{let r=!1;zs(e,{visit:"Url",enter(e){const t=e.value;Vs.test(t)&&t.length>1e3&&(r=!0)}}),r&&n.remove(t)}})}pruneExcludedProperties(){zs(this.ast,{visit:"Declaration",enter:(e,t,n)=>{if(e.property){const r=Vt(e.property).name;qs.some((e=>e.test(r)))&&n.remove(t)}}})}pruneNonCriticalFonts(e){zs(this.ast,{visit:"Atrule",enter:(t,n,r)=>{if("font-face"!==Dt(t.name).basename)return;const i={};zs(t,{visit:"Declaration",enter:(e,t,n)=>{const r=Vt(e.property).name;if(["src","font-family"].includes(r)&&"children"in e.value){const t=e.value.children.toArray();i[r]=t.map(Ys.readValue)}"src"===r&&n.remove(t)}}),i.src&&i["font-family"]&&i["font-family"].some((t=>e.has(t)))||r.remove(n)}})}ruleCount(){let e=0;return zs(this.ast,{visit:"Rule",enter:()=>{e++}}),e}getUsedFontFamilies(){const e=new Set;return zs(this.ast,{visit:"Declaration",enter(t){if(!this.rule)return;Ls.findDeclarationValueFragments(t,"Type","family-name").map((e=>e.nodes.toArray())).flat().map(Ys.readValue).forEach((t=>e.add(t)))}}),e}static readValue(e){return"String"===e.type&&Fs.test(e.value)?e.value.substr(1,e.value.length-2):"Identifier"===e.type?e.name:"value"in e?e.value:""}static isUsefulMediaQuery(e){let t=!1;const n={};if(zs(e,{visit:"Identifier",enter:e=>{const r=Dt(e.name).name;"not"!==r?(Ds.includes(r)&&(n[r]=!t),t=!1):t=!0}}),0===Object.keys(n).length)return!0;for(const e of["screen","all"])if(Object.prototype.hasOwnProperty.call(n,e))return n[e];return Object.values(n).some((e=>!e))}toCSS(){return Ts(this.ast)}static parse(e){const t=[],n=Rs(e,{parseCustomProperty:!0,positions:!0,onParseError:e=>{t.push(e)}});return new Ys(e,n,t)}}class $s{constructor(e){this.browserInterface=e,this.internalStyles={},this.knownUrls={},this.cssFiles=[],this.errors=[]}async addMultiple(e,t){await Promise.all(Object.keys(t).map((n=>this.add(e,n,t[n]))))}async addInternalStyles(e,t){this.internalStyles[e]=Ys.parse(t)}async add(e,t,n={}){if(Object.prototype.hasOwnProperty.call(this.knownUrls,t)){if(this.knownUrls[t]instanceof Error)return;this.addExtraReference(e,t,this.knownUrls[t])}else try{const r=await this.browserInterface.fetch(t,{},"css");if(!r.ok)throw new i({code:r.status,url:t});let o=await r.text();n.media&&(o="@media "+n.media+" {\n"+o+"\n}"),this.storeCss(e,t,o)}catch(e){let n=e;e instanceof r||(n=new o({url:t,message:e.message})),this.storeError(t,n)}}collateSelectorPages(){const e={};for(const t of this.cssFiles)t.ast.forEachSelector((n=>{e[n]||(e[n]=new Set),t.pages.forEach((t=>e[n].add(t)))}));return e}applyFilters(e){for(const t of this.cssFiles)t.ast.applyFilters(e)}prunedAsts(e){let t=this.cssFiles.map((t=>t.ast.pruned(e)));const n=new Set;let r;Object.values(this.internalStyles).reduce(((e,t)=>(t.getUsedVariables().forEach((t=>e.add(t))),e)),n);for(let e=0;e<10;e++){const e=t.reduce(((e,t)=>(t.getUsedVariables().forEach((t=>e.add(t))),e)),new Set);if(r&&r.size===e.size)break;if(0===t.reduce(((t,r)=>t+=r.pruneUnusedVariables(new Set([...e,...n]))),0))break;r=e}const i=t.reduce(((e,t)=>(t.getUsedFontFamilies().forEach((t=>e.add(t))),e)),new Set);return t.forEach((e=>e.pruneNonCriticalFonts(i))),t=t.filter((e=>e.ruleCount()>0)),t}storeCss(e,t,n){const r=this.cssFiles.find((e=>e.css===n));if(r)return void this.addExtraReference(e,t,r);const i=Ys.parse(n);i.absolutifyUrls(t);const o={css:n,ast:i,pages:[e],urls:[t]};this.knownUrls[t]=o,this.cssFiles.push(o)}addExtraReference(e,t,n){this.knownUrls[t]=n,n.pages.push(e),n.urls.includes(t)||n.urls.push(t)}storeError(e,t){this.knownUrls[e]=t,this.errors.push(t)}getErrors(){return this.errors}}const Gs=["after","before","first-(line|letter)","(input-)?placeholder","scrollbar","search(results-)?decoration","search-(cancel|results)-button"];let Hs;function Qs(e){return e.replace(function(){if(Hs)return Hs;const e=Gs.join("|");return Hs=new RegExp("::?(-(moz|ms|webkit)-)?("+e+")"),Hs}(),"").trim()}var Zs="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Xs(){throw new Error("setTimeout has not been defined")}function Js(){throw new Error("clearTimeout has not been defined")}var el=Xs,tl=Js;function nl(e){if(el===setTimeout)return setTimeout(e,0);if((el===Xs||!el)&&setTimeout)return el=setTimeout,setTimeout(e,0);try{return el(e,0)}catch(t){try{return el.call(null,e,0)}catch(t){return el.call(this,e,0)}}}"function"==typeof Zs.setTimeout&&(el=setTimeout),"function"==typeof Zs.clearTimeout&&(tl=clearTimeout);var rl,il=[],ol=!1,al=-1;function sl(){ol&&rl&&(ol=!1,rl.length?il=rl.concat(il):al=-1,il.length&&ll())}function ll(){if(!ol){var e=nl(sl);ol=!0;for(var t=il.length;t;){for(rl=il,il=[];++al<t;)rl&&rl[al].run();al=-1,t=il.length}rl=null,ol=!1,function(e){if(tl===clearTimeout)return clearTimeout(e);if((tl===Js||!tl)&&clearTimeout)return tl=clearTimeout,clearTimeout(e);try{return tl(e)}catch(t){try{return tl.call(null,e)}catch(t){return tl.call(this,e)}}}(e)}}function ul(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];il.push(new cl(e,t)),1!==il.length||ol||nl(ll)}function cl(e,t){this.fun=e,this.array=t}cl.prototype.run=function(){this.fun.apply(null,this.array)};function hl(){}var pl=hl,fl=hl,dl=hl,ml=hl,gl=hl,bl=hl,vl=hl;var yl=Zs.performance||{},wl=yl.now||yl.mozNow||yl.msNow||yl.oNow||yl.webkitNow||function(){return(new Date).getTime()};var kl=new Date;var xl={nextTick:ul,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:pl,addListener:fl,once:dl,off:ml,removeListener:gl,removeAllListeners:bl,emit:vl,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*wl.call(yl),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-kl)/1e3}},Ol={exports:{}};var _l=function(e){return e},Sl=/([0-9]+)/;function Cl(e){return""+parseInt(e)==e?parseInt(e):e}var El=function(e,t){var n,r,i,o,a=(""+e).split(Sl).map(Cl),s=(""+t).split(Sl).map(Cl);for(i=0,o=Math.min(a.length,s.length);i<o;i++)if((n=a[i])!=(r=s[i]))return n>r?1:-1;return a.length>s.length?1:a.length==s.length?0:-1},Al=El;function Rl(e,t){return Al(e[1],t[1])}function Tl(e,t){return e[1]>t[1]?1:-1}var Ll=function(e,t){switch(t){case"natural":return e.sort(Rl);case"standard":return e.sort(Tl);case"none":case!1:return e}};var Pl,zl=function e(t,n){var r,i,o,a={};for(r in t)o=t[r],Array.isArray(o)?a[r]=o.slice(0):a[r]="object"==typeof o&&null!==o?e(o,{}):o;for(i in n)o=n[i],i in a&&Array.isArray(o)?a[i]=o.slice(0):a[i]=i in a&&"object"==typeof o&&null!==o?e(a[i],o):o;return a};function Ml(){if(void 0===Pl){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Pl="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Pl="LE"}}return Pl}function Ul(){return void 0!==Zs.location?Zs.location.hostname:""}function Bl(){return[]}function Nl(){return 0}function Il(){return Number.MAX_VALUE}function jl(){return Number.MAX_VALUE}function Dl(){return[]}function Vl(){return"Browser"}function Fl(){return void 0!==Zs.navigator?Zs.navigator.appVersion:""}function Kl(){return{}}function ql(){return{}}function Wl(){return"javascript"}function Yl(){return"browser"}function $l(){return"/tmp"}var Gl=$l;function Hl(){return"$HOME"}var Ql={homedir:Hl,EOL:"\n",arch:Wl,platform:Yl,tmpdir:Gl,tmpDir:$l,networkInterfaces:Kl,getNetworkInterfaces:ql,release:Fl,type:Vl,cpus:Dl,totalmem:jl,freemem:Il,uptime:Nl,loadavg:Bl,hostname:Ul,endianness:Ml},Zl=Ke(Object.freeze({__proto__:null,endianness:Ml,hostname:Ul,loadavg:Bl,uptime:Nl,freemem:Il,totalmem:jl,cpus:Dl,type:Vl,release:Fl,networkInterfaces:Kl,getNetworkInterfaces:ql,arch:Wl,platform:Yl,tmpDir:$l,tmpdir:Gl,EOL:"\n",homedir:Hl,default:Ql})),Xl=zl;var Jl={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},eu={CarriageReturnLineFeed:"\r\n",LineFeed:"\n",System:function(){var e="\n";try{e=Zl.EOL}catch(e){}return e}()},tu={Space:" ",Tab:"\t"},nu={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},ru={breaks:pu(!1),breakWith:eu.System,indentBy:0,indentWith:tu.Space,spaces:fu(!1),wrapAt:!1,semicolonAfterLastProperty:!1},iu=";",ou=":",au=",",su="=",lu="false",uu="off",cu="true",hu="on";function pu(e){var t={};return t[Jl.AfterAtRule]=e,t[Jl.AfterBlockBegins]=e,t[Jl.AfterBlockEnds]=e,t[Jl.AfterComment]=e,t[Jl.AfterProperty]=e,t[Jl.AfterRuleBegins]=e,t[Jl.AfterRuleEnds]=e,t[Jl.BeforeBlockEnds]=e,t[Jl.BetweenSelectors]=e,t}function fu(e){var t={};return t[nu.AroundSelectorRelation]=e,t[nu.BeforeBlockBegins]=e,t[nu.BeforeValue]=e,t}function du(e){switch(e){case"windows":case"crlf":case eu.CarriageReturnLineFeed:return eu.CarriageReturnLineFeed;case"unix":case"lf":case eu.LineFeed:return eu.LineFeed;default:return eu.System}}function mu(e){switch(e){case"space":return tu.Space;case"tab":return tu.Tab;default:return e}}function gu(e){for(var t in Jl){var n=Jl[t],r=e.breaks[n];e.breaks[n]=!0===r?e.breakWith:!1===r?"":e.breakWith.repeat(parseInt(r))}return e}var bu=Jl,vu=nu,yu=function(e){return void 0!==e&&!1!==e&&("object"==typeof e&&"breakWith"in e&&(e=Xl(e,{breakWith:du(e.breakWith)})),"object"==typeof e&&"indentBy"in e&&(e=Xl(e,{indentBy:parseInt(e.indentBy)})),"object"==typeof e&&"indentWith"in e&&(e=Xl(e,{indentWith:mu(e.indentWith)})),"object"==typeof e?gu(Xl(ru,e)):"string"==typeof e&&"beautify"==e?gu(Xl(ru,{breaks:pu(!0),indentBy:2,spaces:fu(!0)})):"string"==typeof e&&"keep-breaks"==e?gu(Xl(ru,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}})):"string"==typeof e?gu(Xl(ru,e.split(iu).reduce((function(e,t){var n=t.split(ou),r=n[0],i=n[1];return"breaks"==r||"spaces"==r?e[r]=function(e){return e.split(au).reduce((function(e,t){var n=t.split(su),r=n[0],i=n[1];return e[r]=function(e){switch(e){case lu:case uu:return!1;case cu:case hu:return!0;default:return e}}(i),e}),{})}(i):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(i):"indentWith"==r?e[r]=mu(i):"breakWith"==r&&(e[r]=du(i)),e}),{}))):ru)},wu={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CARRIAGE_RETURN:"\r",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:"\n",OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:"\t",UNDERSCORE:"_"};var ku=function(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n},xu=vu,Ou=wu,_u=ku,Su=/[\s"'][iI]\s*\]/,Cu=/([\d\w])([iI])\]/g,Eu=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,Au=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,Ru=/^(?:(?:<!--|-->)\s*)+/,Tu=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,Lu=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,Pu=/[>+~]/,zu=/\s/,Mu="<",Uu=[":current",":future",":has",":host",":host-context",":is",":not",":past",":where"];function Bu(e){var t,n,r,i,o=!1,a=!1;for(r=0,i=e.length;r<i;r++){if(n=e[r],t);else if(n==Ou.SINGLE_QUOTE||n==Ou.DOUBLE_QUOTE)a=!a;else{if(!(a||n!=Ou.CLOSE_CURLY_BRACKET&&n!=Ou.EXCLAMATION&&n!=Mu&&n!=Ou.SEMICOLON)){o=!0;break}if(!a&&0===r&&Pu.test(n)){o=!0;break}}t=n==Ou.BACK_SLASH}return o}function Nu(e,t){var n,r,i,o,a,s,l,u,c,h,p,f,d,m,g=[],b=0,v=!1,y=!1,w=!1,k=Su.test(e),x=t&&t.spaces[xu.AroundSelectorRelation];for(d=0,m=e.length;d<m;d++){if(r=(n=e[d])==Ou.NEW_LINE_NIX,i=n==Ou.NEW_LINE_NIX&&e[d-1]==Ou.CARRIAGE_RETURN,s=l||u,h=!c&&!o&&0===b&&Pu.test(n),p=zu.test(n),f=(1!=b||n!=Ou.CLOSE_ROUND_BRACKET)&&(f||0===b&&n==Ou.COLON&&Iu(e,d)),a&&s&&i)g.pop(),g.pop();else if(o&&s&&r)g.pop();else if(o)g.push(n);else if(n!=Ou.OPEN_SQUARE_BRACKET||s)if(n!=Ou.CLOSE_SQUARE_BRACKET||s)if(n!=Ou.OPEN_ROUND_BRACKET||s)if(n!=Ou.CLOSE_ROUND_BRACKET||s)if(n!=Ou.SINGLE_QUOTE||s)if(n!=Ou.DOUBLE_QUOTE||s)if(n==Ou.SINGLE_QUOTE&&s)g.push(n),l=!1;else if(n==Ou.DOUBLE_QUOTE&&s)g.push(n),u=!1;else{if(p&&y&&!x)continue;!p&&y&&x?(g.push(Ou.SPACE),g.push(n)):p&&!w&&v&&b>0&&f||(p&&!w&&b>0&&f?g.push(n):p&&(c||b>0)&&!s||p&&w&&!s||(i||r)&&(c||b>0)&&s||(h&&w&&!x?(g.pop(),g.push(n)):h&&!w&&x?(g.push(Ou.SPACE),g.push(n)):p?g.push(Ou.SPACE):g.push(n)))}else g.push(n),u=!0;else g.push(n),l=!0;else g.push(n),b--;else g.push(n),b++;else g.push(n),c=!1;else g.push(n),c=!0;a=o,o=n==Ou.BACK_SLASH,y=h,w=p,v=n==Ou.COMMA}return k?g.join("").replace(Cu,"$1 $2]"):g.join("")}function Iu(e,t){var n=e.substring(t,e.indexOf(Ou.OPEN_ROUND_BRACKET,t));return Uu.indexOf(n)>-1}function ju(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(Tu,"=$1 $2").replace(Lu,"=$1$2").replace(Eu,"=$1 $2").replace(Au,"=$1$2")}function Du(e){return e.replace("nth-child(1)","first-child").replace("nth-of-type(1)","first-of-type").replace("nth-of-type(even)","nth-of-type(2n)").replace("nth-child(even)","nth-child(2n)").replace("nth-of-type(2n+1)","nth-of-type(odd)").replace("nth-child(2n+1)","nth-child(odd)").replace("nth-last-child(1)","last-child").replace("nth-last-of-type(1)","last-of-type").replace("nth-last-of-type(even)","nth-last-of-type(2n)").replace("nth-last-child(even)","nth-last-child(2n)").replace("nth-last-of-type(2n+1)","nth-last-of-type(odd)").replace("nth-last-child(2n+1)","nth-last-child(odd)")}var Vu=function(e,t,n,r,i){var o=[],a=[];function s(e,t){return i.push("HTML comment '"+t+"' at "+_u(e[2][0])+". Removing."),""}for(var l=0,u=e.length;l<u;l++){var c=e[l],h=c[1];Bu(h=h.replace(Ru,s.bind(null,c)))?i.push("Invalid selector '"+c[1]+"' at "+_u(c[2][0])+". Ignoring."):(h=ju(h=Nu(h,r)),n&&h.indexOf("nav")>0&&(h=h.replace(/\+nav(\S|$)/,"+ nav$1")),t&&h.indexOf("*+html ")>-1||t&&h.indexOf("*:first-child+html ")>-1||(h.indexOf("*")>-1&&(h=h.replace(/\*([:#.[])/g,"$1").replace(/^(:first-child)?\+html/,"*$1+html")),a.indexOf(h)>-1||(h=Du(h),c[1]=h,a.push(h),o.push(c))))}return 1==o.length&&0===o[0][1].length&&(i.push("Empty selector '"+o[0][1]+"' at "+_u(o[0][2][0])+". Ignoring."),o=[]),o},Fu=/^@media\W/,Ku=/^@(?:keyframes|-moz-keyframes|-o-keyframes|-webkit-keyframes)\W/;var qu=function(e,t){var n,r,i;for(i=e.length-1;i>=0;i--)n=!t&&Fu.test(e[i][1]),r=Ku.test(e[i][1]),e[i][1]=e[i][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),r&&(e[i][1]=e[i][1].replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1")),n&&(e[i][1]=e[i][1].replace(/\) /g,")"));return e};var Wu=function(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()},Yu={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"};var $u=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}},Gu=Yu,Hu=wu,Qu="*",Zu="\\",Xu="!important",Ju="_",ec="!ie";function tc(e){e.value[e.value.length-1][1]+=Xu}function nc(e){e.hack[0]==Gu.UNDERSCORE?e.name=Ju+e.name:e.hack[0]==Gu.ASTERISK?e.name=Qu+e.name:e.hack[0]==Gu.BACKSLASH?e.value[e.value.length-1][1]+=Zu+e.hack[1]:e.hack[0]==Gu.BANG&&(e.value[e.value.length-1][1]+=Hu.SPACE+ec)}var rc=function(e,t){var n,r,i,o;for(o=e.length-1;o>=0;o--)(n=e[o]).dynamic&&n.important?tc(n):n.dynamic||n.unused||(n.dirty||n.important||n.hack)&&(n.optimizable&&t?(r=t(n),n.value=r):r=n.value,n.important&&tc(n),n.hack&&nc(n),"all"in n&&((i=n.all[n.position])[1][1]=n.name,i.splice(2,i.length-1),Array.prototype.push.apply(i,r)))},ic={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RAW:"raw",RULE:"rule",RULE_SCOPE:"rule-scope"},oc=Yu,ac=wu,sc=ic,lc={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};function uc(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if((r=e[t])[0]==sc.PROPERTY_VALUE&&cc(r[1]))return!0;return!1}function cc(e){return lc.VARIABLE_REFERENCE_PATTERN.test(e)}function hc(e){var t,n,r;for(n=3,r=e.length;n<r;n++)if((t=e[n])[0]==sc.PROPERTY_VALUE&&(t[1]==ac.COMMA||t[1]==ac.FORWARD_SLASH))return!0;return!1}function pc(e){var t=function(e){if(e.length<3)return!1;var t=e[e.length-1];return!!lc.IMPORTANT_TOKEN_PATTERN.test(t[1])||!(!lc.IMPORTANT_WORD_PATTERN.test(t[1])||!lc.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}(e);t&&function(e){var t=e[e.length-1],n=e[e.length-2];lc.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(lc.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(lc.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(lc.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}(e);var n=function(e){var t=!1,n=e[1][1],r=e[e.length-1];return n[0]==lc.UNDERSCORE?t=[oc.UNDERSCORE]:n[0]==lc.ASTERISK?t=[oc.ASTERISK]:r[1][0]!=lc.BANG||r[1].match(lc.IMPORTANT_WORD_PATTERN)?r[1].indexOf(lc.BANG)>0&&!r[1].match(lc.IMPORTANT_WORD_PATTERN)&&lc.BANG_SUFFIX_PATTERN.test(r[1])?t=[oc.BANG]:r[1].indexOf(lc.BACKSLASH)>0&&r[1].indexOf(lc.BACKSLASH)==r[1].length-lc.BACKSLASH.length-1?t=[oc.BACKSLASH,r[1].substring(r[1].indexOf(lc.BACKSLASH)+1)]:0===r[1].indexOf(lc.BACKSLASH)&&2==r[1].length&&(t=[oc.BACKSLASH,r[1].substring(1)]):t=[oc.BANG],t}(e);return n[0]==oc.ASTERISK||n[0]==oc.UNDERSCORE?function(e){e[1][1]=e[1][1].substring(1)}(e):n[0]!=oc.BACKSLASH&&n[0]!=oc.BANG||function(e,t){var n=e[e.length-1];n[1]=n[1].substring(0,n[1].indexOf(t[0]==oc.BACKSLASH?lc.BACKSLASH:lc.BANG)).trim(),0===n[1].length&&e.pop()}(e,n),{block:e[2]&&e[2][0]==sc.PROPERTY_BLOCK,components:[],dirty:!1,dynamic:uc(e),hack:n,important:t,name:e[1][1],multiplex:e.length>3&&hc(e),optimizable:!0,position:0,shorthand:!1,unused:!1,value:e.slice(2)}}var fc=function(e,t){var n,r,i,o=[];for(i=e.length-1;i>=0;i--)(r=e[i])[0]==sc.PROPERTY&&(t&&t.indexOf(r[1][1])>-1||((n=pc(r)).all=e,n.position=i,o.unshift(n)));return o},dc=pc;function mc(e){this.name="InvalidPropertyError",this.message=e,this.stack=(new Error).stack}mc.prototype=Object.create(Error.prototype),mc.prototype.constructor=mc;var gc=mc,bc=gc,vc=dc,yc=ic,wc=wu,kc=ku;function xc(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function Oc(e,t,n){var r=n[e];return r.doubleValues&&2==r.defaultValue.length?vc([yc.PROPERTY,[yc.PROPERTY_NAME,e],[yc.PROPERTY_VALUE,r.defaultValue[0]],[yc.PROPERTY_VALUE,r.defaultValue[1]]]):r.doubleValues&&1==r.defaultValue.length?vc([yc.PROPERTY,[yc.PROPERTY_NAME,e],[yc.PROPERTY_VALUE,r.defaultValue[0]]]):vc([yc.PROPERTY,[yc.PROPERTY_NAME,e],[yc.PROPERTY_VALUE,r.defaultValue]])}function _c(e,t){var n=t[e.name].components,r=[],i=e.value;if(i.length<1)return[];i.length<2&&(i[1]=i[0].slice(0)),i.length<3&&(i[2]=i[0].slice(0)),i.length<4&&(i[3]=i[1].slice(0));for(var o=n.length-1;o>=0;o--){var a=vc([yc.PROPERTY,[yc.PROPERTY_NAME,n[o]]]);a.value=[i[o]],r.unshift(a)}return r}function Sc(e,t,n){for(var r,i,o,a=t[e.name],s=[Oc(a.components[0],0,t),Oc(a.components[1],0,t),Oc(a.components[2],0,t)],l=0;l<3;l++){var u=s[l];u.name.indexOf("color")>0?r=u:u.name.indexOf("style")>0?i=u:o=u}if(1==e.value.length&&"inherit"==e.value[0][1]||3==e.value.length&&"inherit"==e.value[0][1]&&"inherit"==e.value[1][1]&&"inherit"==e.value[2][1])return r.value=i.value=o.value=[e.value[0]],s;var c,h,p=e.value.slice(0);return p.length>0&&(h=p.filter(function(e){return function(t){return"inherit"!=t[1]&&(e.isWidth(t[1])||e.isUnit(t[1])||e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}(n)),(c=h.length>1&&("none"==h[0][1]||"auto"==h[0][1])?h[1]:h[0])&&(o.value=[c],p.splice(p.indexOf(c),1))),p.length>0&&(c=p.filter(function(e){return function(t){return"inherit"!=t[1]&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}(n))[0],c&&(i.value=[c],p.splice(p.indexOf(c),1))),p.length>0&&(c=p.filter(function(e){return function(t){return"invert"==t[1]||e.isColor(t[1])||e.isPrefixed(t[1])}}(n))[0],c&&(r.value=[c],p.splice(p.indexOf(c),1))),s}var Cc={animation:function(e,t,n){var r,i,o,a=Oc(e.name+"-duration",0,t),s=Oc(e.name+"-timing-function",0,t),l=Oc(e.name+"-delay",0,t),u=Oc(e.name+"-iteration-count",0,t),c=Oc(e.name+"-direction",0,t),h=Oc(e.name+"-fill-mode",0,t),p=Oc(e.name+"-play-state",0,t),f=Oc(e.name+"-name",0,t),d=[a,s,l,u,c,h,p,f],m=e.value,g=!1,b=!1,v=!1,y=!1,w=!1,k=!1,x=!1,O=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return a.value=s.value=l.value=u.value=c.value=h.value=p.value=f.value=e.value,d;if(m.length>1&&xc(m))throw new bc("Invalid animation values at "+kc(m[0][2][0])+". Ignoring.");for(i=0,o=m.length;i<o;i++)if(r=m[i],n.isTime(r[1])&&!g)a.value=[r],g=!0;else if(n.isTime(r[1])&&!v)l.value=[r],v=!0;else if(!n.isGlobal(r[1])&&!n.isTimingFunction(r[1])||b)if(!n.isAnimationIterationCountKeyword(r[1])&&!n.isPositiveNumber(r[1])||y)if(n.isAnimationDirectionKeyword(r[1])&&!w)c.value=[r],w=!0;else if(n.isAnimationFillModeKeyword(r[1])&&!k)h.value=[r],k=!0;else if(n.isAnimationPlayStateKeyword(r[1])&&!x)p.value=[r],x=!0;else{if(!n.isAnimationNameKeyword(r[1])&&!n.isIdentifier(r[1])||O)throw new bc("Invalid animation value at "+kc(r[2][0])+". Ignoring.");f.value=[r],O=!0}else u.value=[r],y=!0;else s.value=[r],b=!0;return d},background:function(e,t,n){var r=Oc("background-image",0,t),i=Oc("background-position",0,t),o=Oc("background-size",0,t),a=Oc("background-repeat",0,t),s=Oc("background-attachment",0,t),l=Oc("background-origin",0,t),u=Oc("background-clip",0,t),c=Oc("background-color",0,t),h=[r,i,o,a,s,l,u,c],p=e.value,f=!1,d=!1,m=!1,g=!1,b=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return c.value=r.value=a.value=i.value=o.value=l.value=u.value=e.value,h;if(1==e.value.length&&"0 0"==e.value[0][1])return h;for(var v=p.length-1;v>=0;v--){var y=p[v];if(n.isBackgroundAttachmentKeyword(y[1]))s.value=[y],b=!0;else if(n.isBackgroundClipKeyword(y[1])||n.isBackgroundOriginKeyword(y[1]))d?(l.value=[y],m=!0):(u.value=[y],d=!0),b=!0;else if(n.isBackgroundRepeatKeyword(y[1]))g?a.value.unshift(y):(a.value=[y],g=!0),b=!0;else if(n.isBackgroundPositionKeyword(y[1])||n.isBackgroundSizeKeyword(y[1])||n.isUnit(y[1])||n.isDynamicUnit(y[1])){if(v>0){var w=p[v-1];w[1]==wc.FORWARD_SLASH?o.value=[y]:v>1&&p[v-2][1]==wc.FORWARD_SLASH?(o.value=[w,y],v-=2):(f||(i.value=[]),i.value.unshift(y),f=!0)}else f||(i.value=[]),i.value.unshift(y),f=!0;b=!0}else c.value[0][1]!=t[c.name].defaultValue&&"none"!=c.value[0][1]||!n.isColor(y[1])&&!n.isPrefixed(y[1])?(n.isUrl(y[1])||n.isFunction(y[1]))&&(r.value=[y],b=!0):(c.value=[y],b=!0)}if(d&&!m&&(l.value=u.value.slice(0)),!b)throw new bc("Invalid background value at "+kc(p[0][2][0])+". Ignoring.");return h},border:Sc,borderRadius:function(e,t){for(var n=e.value,r=-1,i=0,o=n.length;i<o;i++)if(n[i][1]==wc.FORWARD_SLASH){r=i;break}if(0===r||r===n.length-1)throw new bc("Invalid border-radius value at "+kc(n[0][2][0])+". Ignoring.");var a=Oc(e.name,0,t);a.value=r>-1?n.slice(0,r):n.slice(0),a.components=_c(a,t);var s=Oc(e.name,0,t);s.value=r>-1?n.slice(r+1):n.slice(0),s.components=_c(s,t);for(var l=0;l<4;l++)a.components[l].multiplex=!0,a.components[l].value=a.components[l].value.concat(s.components[l].value);return a.components},font:function(e,t,n){var r,i,o,a,s=Oc("font-style",0,t),l=Oc("font-variant",0,t),u=Oc("font-weight",0,t),c=Oc("font-stretch",0,t),h=Oc("font-size",0,t),p=Oc("line-height",0,t),f=Oc("font-family",0,t),d=[s,l,u,c,h,p,f],m=e.value,g=0,b=!1,v=!1,y=!1,w=!1,k=!1;if(!m[g])throw new bc("Missing font values at "+kc(e.all[e.position][1][2][0])+". Ignoring.");if(1==m.length&&"inherit"==m[0][1])return s.value=l.value=u.value=c.value=h.value=p.value=f.value=m,d;if(1==m.length&&(n.isFontKeyword(m[0][1])||n.isGlobal(m[0][1])||n.isPrefixed(m[0][1])))return m[0][1]=wc.INTERNAL+m[0][1],s.value=l.value=u.value=c.value=h.value=p.value=f.value=m,d;if(m.length<2||!function(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isFontSizeKeyword(n[1])||t.isUnit(n[1])&&!t.isDynamicUnit(n[1])||t.isFunction(n[1]))return!0;return!1}(m,n)||!function(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isIdentifier(n[1])||t.isQuotedText(n[1]))return!0;return!1}(m,n))throw new bc("Invalid font values at "+kc(e.all[e.position][1][2][0])+". Ignoring.");if(m.length>1&&xc(m))throw new bc("Invalid font values at "+kc(m[0][2][0])+". Ignoring.");for(;g<4;){if(r=n.isFontStretchKeyword(m[g][1])||n.isGlobal(m[g][1]),i=n.isFontStyleKeyword(m[g][1])||n.isGlobal(m[g][1]),o=n.isFontVariantKeyword(m[g][1])||n.isGlobal(m[g][1]),a=n.isFontWeightKeyword(m[g][1])||n.isGlobal(m[g][1]),i&&!v)s.value=[m[g]],v=!0;else if(o&&!y)l.value=[m[g]],y=!0;else if(a&&!w)u.value=[m[g]],w=!0;else{if(!r||b){if(i&&v||o&&y||a&&w||r&&b)throw new bc("Invalid font style / variant / weight / stretch value at "+kc(m[0][2][0])+". Ignoring.");break}c.value=[m[g]],b=!0}g++}if(!(n.isFontSizeKeyword(m[g][1])||n.isUnit(m[g][1])&&!n.isDynamicUnit(m[g][1])))throw new bc("Missing font size at "+kc(m[0][2][0])+". Ignoring.");if(h.value=[m[g]],!m[++g])throw new bc("Missing font family at "+kc(m[0][2][0])+". Ignoring.");for(m[g]&&m[g][1]==wc.FORWARD_SLASH&&m[g+1]&&(n.isLineHeightKeyword(m[g+1][1])||n.isUnit(m[g+1][1])||n.isNumber(m[g+1][1]))&&(p.value=[m[g+1]],g++,g++),f.value=[];m[g];)m[g][1]==wc.COMMA?k=!1:(k?f.value[f.value.length-1][1]+=wc.SPACE+m[g][1]:f.value.push(m[g]),k=!0),g++;if(0===f.value.length)throw new bc("Missing font family at "+kc(m[0][2][0])+". Ignoring.");return d},fourValues:_c,listStyle:function(e,t,n){var r=Oc("list-style-type",0,t),i=Oc("list-style-position",0,t),o=Oc("list-style-image",0,t),a=[r,i,o];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=i.value=o.value=[e.value[0]],a;var s=e.value.slice(0),l=s.length,u=0;for(u=0,l=s.length;u<l;u++)if(n.isUrl(s[u][1])||"0"==s[u][1]){o.value=[s[u]],s.splice(u,1);break}for(u=0,l=s.length;u<l;u++)if(n.isListStylePositionKeyword(s[u][1])){i.value=[s[u]],s.splice(u,1);break}return s.length>0&&(n.isListStyleTypeKeyword(s[0][1])||n.isIdentifier(s[0][1]))&&(r.value=[s[0]]),a},multiplex:function(e){return function(t,n,r){var i,o,a,s,l=[],u=t.value;for(i=0,a=u.length;i<a;i++)","==u[i][1]&&l.push(i);if(0===l.length)return e(t,n,r);var c=[];for(i=0,a=l.length;i<=a;i++){var h=0===i?0:l[i-1]+1,p=i<a?l[i]:u.length,f=Oc(t.name,0,n);f.value=u.slice(h,p),f.value.length>0&&c.push(e(f,n,r))}var d=c[0];for(i=0,a=d.length;i<a;i++)for(d[i].multiplex=!0,o=1,s=c.length;o<s;o++)d[i].value.push([yc.PROPERTY_VALUE,wc.COMMA]),Array.prototype.push.apply(d[i].value,c[o][i].value);return d}},outline:Sc,transition:function(e,t,n){var r,i,o,a=Oc(e.name+"-property",0,t),s=Oc(e.name+"-duration",0,t),l=Oc(e.name+"-timing-function",0,t),u=Oc(e.name+"-delay",0,t),c=[a,s,l,u],h=e.value,p=!1,f=!1,d=!1,m=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return a.value=s.value=l.value=u.value=e.value,c;if(h.length>1&&xc(h))throw new bc("Invalid animation values at "+kc(h[0][2][0])+". Ignoring.");for(i=0,o=h.length;i<o;i++)if(r=h[i],n.isTime(r[1])&&!p)s.value=[r],p=!0;else if(n.isTime(r[1])&&!f)u.value=[r],f=!0;else if(!n.isGlobal(r[1])&&!n.isTimingFunction(r[1])||m){if(!n.isIdentifier(r[1])||d)throw new bc("Invalid animation value at "+kc(r[2][0])+". Ignoring.");a.value=[r],d=!0}else l.value=[r],m=!0;return c}},Ec=/(?:^|\W)(-\w+-)/g;function Ac(e){for(var t,n=[];null!==(t=Ec.exec(e));)-1==n.indexOf(t[0])&&n.push(t[0]);return n}var Rc=function(e,t){return Ac(e).sort().join(",")==Ac(t).sort().join(",")},Tc=Rc;var Lc=function(e,t,n,r,i){return!!Tc(t,n)&&(!i||e.isVariable(t)===e.isVariable(n))},Pc=Lc;function zc(e,t,n){if(!e.isFunction(t)||!e.isFunction(n))return!1;var r=t.substring(0,t.indexOf("(")),i=n.substring(0,n.indexOf("(")),o=t.substring(r.length+1,t.length-1),a=n.substring(i.length+1,n.length-1);return e.isFunction(o)||e.isFunction(a)?r===i&&zc(e,o,a):r===i}function Mc(e){return function(t,n,r){return!(!Pc(t,n,r,0,!0)&&!t.isKeyword(e)(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isKeyword(e)(r))}}function Uc(e){return function(t,n,r){return!!(Pc(t,n,r,0,!0)||t.isKeyword(e)(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||(t.isKeyword(e)(r)||t.isGlobal(r)))}}function Bc(e,t,n){return!!zc(e,t,n)||t===n}function Nc(e,t,n){return!(!Pc(e,t,n,0,!0)&&!e.isUnit(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isUnit(t)&&!e.isUnit(n))&&(!!e.isUnit(n)||!e.isUnit(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||Bc(e,t,n))))}function Ic(e){var t=Uc(e);return function(e,n,r){return Nc(e,n,r)||t(e,n,r)}}var jc={generic:{color:function(e,t,n){return!(!Pc(e,t,n,0,!0)&&!e.isColor(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t)))&&(!(!e.colorOpacity&&(e.isRgbColor(n)||e.isHslColor(n)))&&(!(!e.colorHexAlpha&&(e.isHexAlphaColor(t)||e.isHexAlphaColor(n)))&&(!(!e.isColor(t)||!e.isColor(n))||Bc(e,t,n)))))},components:function(e){return function(t,n,r,i){return e[i](t,n,r)}},image:function(e,t,n){return!(!Pc(e,t,n,0,!0)&&!e.isImage(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!!e.isImage(n)||!e.isImage(t)&&Bc(e,t,n)))},propertyName:function(e,t,n){return!(!Pc(e,t,n,0,!0)&&!e.isIdentifier(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isIdentifier(n))},time:function(e,t,n){return!(!Pc(e,t,n,0,!0)&&!e.isTime(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isTime(t)&&!e.isTime(n))&&(!!e.isTime(n)||!e.isTime(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||Bc(e,t,n))))},timingFunction:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isTimingFunction(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isTimingFunction(n)||e.isGlobal(n)))},unit:Nc,unitOrNumber:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isUnit(n)||e.isNumber(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!((e.isUnit(t)||e.isNumber(t))&&!e.isUnit(n)&&!e.isNumber(n))&&(!(!e.isUnit(n)&&!e.isNumber(n))||!e.isUnit(t)&&!e.isNumber(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||Bc(e,t,n))))}},property:{animationDirection:Uc("animation-direction"),animationFillMode:Mc("animation-fill-mode"),animationIterationCount:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n)))},animationName:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isAnimationNameKeyword(n)||e.isIdentifier(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationNameKeyword(n)||e.isIdentifier(n)))},animationPlayState:Uc("animation-play-state"),backgroundAttachment:Mc("background-attachment"),backgroundClip:Uc("background-clip"),backgroundOrigin:Mc("background-origin"),backgroundPosition:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isBackgroundPositionKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!(!e.isBackgroundPositionKeyword(n)&&!e.isGlobal(n))||Nc(e,t,n)))},backgroundRepeat:Mc("background-repeat"),backgroundSize:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isBackgroundSizeKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!(!e.isBackgroundSizeKeyword(n)&&!e.isGlobal(n))||Nc(e,t,n)))},bottom:Ic("bottom"),borderCollapse:Mc("border-collapse"),borderStyle:Uc("*-style"),clear:Uc("clear"),cursor:Uc("cursor"),display:Uc("display"),float:Uc("float"),left:Ic("left"),fontFamily:function(e,t,n){return Pc(e,t,n,0,!0)},fontStretch:Uc("font-stretch"),fontStyle:Uc("font-style"),fontVariant:Uc("font-variant"),fontWeight:Uc("font-weight"),listStyleType:Uc("list-style-type"),listStylePosition:Uc("list-style-position"),outlineStyle:Uc("*-style"),overflow:Uc("overflow"),position:Uc("position"),right:Ic("right"),textAlign:Uc("text-align"),textDecoration:Uc("text-decoration"),textOverflow:Uc("text-overflow"),textShadow:function(e,t,n){return!!(Pc(e,t,n,0,!0)||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isUnit(n)||e.isColor(n)||e.isGlobal(n)))},top:Ic("top"),transform:Bc,verticalAlign:Ic("vertical-align"),visibility:Uc("visibility"),whiteSpace:Uc("white-space"),zIndex:function(e,t,n){return!(!Pc(e,t,n,0,!0)&&!e.isZIndex(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isZIndex(n))}}},Dc=dc,Vc=ic;function Fc(e){var t=Dc([Vc.PROPERTY,[Vc.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}var Kc=function(e){for(var t=Fc(e),n=e.components.length-1;n>=0;n--){var r=Fc(e.components[n]);r.value=e.components[n].value.slice(0),t.components.unshift(r)}return t.dirty=!0,t.value=e.value.slice(0),t},qc=Fc,Wc=qc,Yc=ic,$c=wu;function Gc(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if("inherit"!=r&&r!=$c.COMMA&&r!=$c.FORWARD_SLASH)return!1}return!0}function Hc(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],i=t[2].value[0],o=t[3].value[0];return n[1]==r[1]&&n[1]==i[1]&&n[1]==o[1]?[n]:n[1]==i[1]&&r[1]==o[1]?[n,r]:r[1]==o[1]?[n,r,i]:[n,r,i,o]}function Qc(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)if((r=e[i]).name==n&&r.value[0][1]==t[n].defaultValue)return!0;return!1}var Zc={background:function(e,t,n){var r,i,o=e.components,a=[];function s(e){Array.prototype.unshift.apply(a,e.value)}function l(e){var n=t[e.name];return n.doubleValues&&1==n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(!e.value[1]||e.value[1][1]==n.defaultValue[0]):n.doubleValues&&1!=n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var u=o.length-1;u>=0;u--){var c=o[u],h=l(c);if("background-clip"==c.name){var p=o[u-1],f=l(p);i=!(r=c.value[0][1]==p.value[0][1])&&(f&&!h||!f&&!h||!f&&h&&c.value[0][1]!=p.value[0][1]),r?s(p):i&&(s(c),s(p)),u--}else if("background-size"==c.name){var d=o[u-1],m=l(d);i=!(r=!m&&h)&&(m&&!h||!m&&!h),r?s(d):i?(s(c),a.unshift([Yc.PROPERTY_VALUE,$c.FORWARD_SLASH]),s(d)):1==d.value.length&&s(d),u--}else{if(h||t[c.name].multiplexLastOnly&&!n)continue;s(c)}}return 0===a.length&&1==e.value.length&&"0"==e.value[0][1]&&a.push(e.value[0]),0===a.length&&a.push([Yc.PROPERTY_VALUE,t[e.name].defaultValue]),Gc(a)?[a[0]]:a},borderRadius:function(e){if(e.multiplex){for(var t=Wc(e),n=Wc(e),r=0;r<4;r++){var i=e.components[r],o=Wc(e);o.value=[i.value[0]],t.components.push(o);var a=Wc(e);a.value=[i.value[1]||i.value[0]],n.components.push(a)}var s=Hc(t),l=Hc(n);return s.length!=l.length||s[0][1]!=l[0][1]||s.length>1&&s[1][1]!=l[1][1]||s.length>2&&s[2][1]!=l[2][1]||s.length>3&&s[3][1]!=l[3][1]?s.concat([[Yc.PROPERTY_VALUE,$c.FORWARD_SLASH]]).concat(l):s}return Hc(e)},font:function(e,t){var n,r=e.components,i=[],o=0,a=0;if(0===e.value[0][1].indexOf($c.INTERNAL))return e.value[0][1]=e.value[0][1].substring($c.INTERNAL.length),e.value;for(;o<4;)(n=r[o]).value[0][1]!=t[n.name].defaultValue&&Array.prototype.push.apply(i,n.value),o++;for(Array.prototype.push.apply(i,r[o].value),r[++o].value[0][1]!=t[r[o].name].defaultValue&&(Array.prototype.push.apply(i,[[Yc.PROPERTY_VALUE,$c.FORWARD_SLASH]]),Array.prototype.push.apply(i,r[o].value)),o++;r[o].value[a];)i.push(r[o].value[a]),r[o].value[a+1]&&i.push([Yc.PROPERTY_VALUE,$c.COMMA]),a++;return Gc(i)?[i[0]]:i},fourValues:Hc,multiplex:function(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r,i,o=0,a=[],s={};for(r=0,i=t.components[0].value.length;r<i;r++)t.components[0].value[r][1]==$c.COMMA&&o++;for(r=0;r<=o;r++){for(var l=Wc(t),u=0,c=t.components.length;u<c;u++){var h=t.components[u],p=Wc(h);l.components.push(p);for(var f=s[p.name]||0,d=h.value.length;f<d;f++){if(h.value[f][1]==$c.COMMA){s[p.name]=f+1;break}p.value.push(h.value[f])}}var m=e(l,n,r==o);Array.prototype.push.apply(a,m),r<o&&a.push([Yc.PROPERTY_VALUE,$c.COMMA])}return a}},withoutDefaults:function(e,t){for(var n=e.components,r=[],i=n.length-1;i>=0;i--){var o=n[i],a=t[o.name];(o.value[0][1]!=a.defaultValue||"keepUnlessDefault"in a&&!Qc(n,t,a.keepUnlessDefault))&&r.unshift(o.value[0])}return 0===r.length&&r.push([Yc.PROPERTY_VALUE,t[e.name].defaultValue]),Gc(r)?[r[0]]:r}},Xc=zl,Jc=/^\d+$/,eh=["*","all"],th="off",nh=",",rh="=";function ih(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}var oh=th,ah=function(e){return Xc(ih(th),function(e){if(null==e)return{};if("boolean"==typeof e)return{};if("number"==typeof e&&-1==e)return ih(th);if("number"==typeof e)return ih(e);if("string"==typeof e&&Jc.test(e))return ih(parseInt(e));if("string"==typeof e&&e==th)return ih(th);if("object"==typeof e)return e;return e.split(nh).reduce((function(e,t){var n=t.split(rh),r=n[0],i=parseInt(n[1]);return(Number.isNaN(i)||-1==i)&&(i=th),eh.indexOf(r)>-1?e=Xc(e,ih(i)):e[r]=i,e}),{})}(e))},sh=ah,lh=zl,uh={Zero:"0",One:"1",Two:"2"},ch={};ch[uh.Zero]={},ch[uh.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:sh(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,variableValueOptimizers:[]},ch[uh.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var hh="*",ph="all",fh="false",dh="off",mh="true",gh="on",bh=";",vh=":";function yh(e,t){var n,r=lh(ch[e],{});for(n in r)"boolean"==typeof r[n]&&(r[n]=t);return r}function wh(e){switch(e){case fh:case dh:return!1;case mh:case gh:return!0;default:return e}}function kh(e,t){return e.split(bh).reduce((function(e,n){var r=n.split(vh),i=r[0],o=wh(r[1]);return hh==i||ph==i?e=lh(e,yh(t,o)):e[i]=o,e}),{})}var xh=uh,Oh=function(e){var t=lh(ch,{}),n=uh.Zero,r=uh.One,i=uh.Two;return void 0===e?(delete t[i],t):("string"==typeof e&&(e=parseInt(e)),"number"==typeof e&&e===parseInt(i)?t:"number"==typeof e&&e===parseInt(r)?(delete t[i],t):"number"==typeof e&&e===parseInt(n)?(delete t[i],delete t[r],t):("object"==typeof e&&(e=function(e){var t,n,r=lh(e,{});for(n=0;n<=2;n++)!((t=""+n)in r)||void 0!==r[t]&&!1!==r[t]||delete r[t],t in r&&!0===r[t]&&(r[t]={}),t in r&&"string"==typeof r[t]&&(r[t]=kh(r[t],t));return r}(e)),r in e&&"roundingPrecision"in e[r]&&(e[r].roundingPrecision=sh(e[r].roundingPrecision)),i in e&&"skipProperties"in e[i]&&"string"==typeof e[i].skipProperties&&(e[i].skipProperties=e[i].skipProperties.split(",")),(n in e||r in e||i in e)&&(t[n]=lh(t[n],e[n])),r in e&&hh in e[r]&&(t[r]=lh(t[r],yh(r,wh(e[r][hh]))),delete e[r][hh]),r in e&&ph in e[r]&&(t[r]=lh(t[r],yh(r,wh(e[r][ph]))),delete e[r][ph]),r in e||i in e?t[r]=lh(t[r],e[r]):delete t[r],i in e&&hh in e[i]&&(t[i]=lh(t[i],yh(i,wh(e[i][hh]))),delete e[i][hh]),i in e&&ph in e[i]&&(t[i]=lh(t[i],yh(i,wh(e[i][ph]))),delete e[i][ph]),i in e?t[i]=lh(t[i],e[i]):delete t[i],t))},_h=xh,Sh={level1:{property:function(e,t,n){var r=t.value;n.level[_h.One].optimizeBackground&&(1==r.length&&"none"==r[0][1]&&(r[0][1]="0 0"),1==r.length&&"transparent"==r[0][1]&&(r[0][1]="0 0"))}}},Ch={level1:{property:function(e,t){var n=t.value;4==n.length&&"0"===n[0][1]&&"0"===n[1][1]&&"0"===n[2][1]&&"0"===n[3][1]&&(t.value.splice(2),t.dirty=!0)}}},Eh=xh,Ah={level1:{property:function(e,t,n){var r=t.value;n.level[Eh.One].optimizeBorderRadius&&(3==r.length&&"/"==r[1][1]&&r[0][1]==r[2][1]?(t.value.splice(1),t.dirty=!0):5==r.length&&"/"==r[2][1]&&r[0][1]==r[3][1]&&r[1][1]==r[4][1]?(t.value.splice(2),t.dirty=!0):7==r.length&&"/"==r[3][1]&&r[0][1]==r[4][1]&&r[1][1]==r[5][1]&&r[2][1]==r[6][1]?(t.value.splice(3),t.dirty=!0):9==r.length&&"/"==r[4][1]&&r[0][1]==r[5][1]&&r[1][1]==r[6][1]&&r[2][1]==r[7][1]&&r[3][1]==r[8][1]&&(t.value.splice(4),t.dirty=!0))}}},Rh=Ah,Th=xh,Lh=/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,Ph=/,(\S)/g,zh=/ ?= ?/g,Mh={level1:{property:function(e,t,n){n.compatibility.properties.ieFilters&&n.level[Th.One].optimizeFilter&&(1==t.value.length&&(t.value[0][1]=t.value[0][1].replace(Lh,(function(e,t,n){return t.toLowerCase()+n}))),t.value[0][1]=t.value[0][1].replace(Ph,", $1").replace(zh,"="))}}},Uh=Mh,Bh=xh,Nh={level1:{property:function(e,t,n){var r=t.value[0][1];n.level[Bh.One].optimizeFontWeight&&("normal"==r?r="400":"bold"==r&&(r="700"),t.value[0][1]=r)}}},Ih=Nh,jh=xh,Dh={level1:{property:function(e,t,n){var r=t.value;n.level[jh.One].replaceMultipleZeros&&4==r.length&&"0"===r[0][1]&&"0"===r[1][1]&&"0"===r[2][1]&&"0"===r[3][1]&&(t.value.splice(1),t.dirty=!0)}}},Vh=Dh,Fh=xh,Kh={level1:{property:function(e,t,n){var r=t.value;n.level[Fh.One].optimizeOutline&&1==r.length&&"none"==r[0][1]&&(r[0][1]="0")}}},qh=Kh,Wh=xh;function Yh(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}var $h={level1:{property:function(e,t,n){var r=t.value;4==r.length&&"0"===r[0][1]&&"0"===r[1][1]&&"0"===r[2][1]&&"0"===r[3][1]&&(t.value.splice(1),t.dirty=!0),n.level[Wh.One].removeNegativePaddings&&(Yh(t.value[0])||Yh(t.value[1])||Yh(t.value[2])||Yh(t.value[3]))&&(t.unused=!0)}}},Gh=$h,Hh={background:Sh.level1.property,boxShadow:Ch.level1.property,borderRadius:Rh.level1.property,filter:Uh.level1.property,fontWeight:Ih.level1.property,margin:Vh.level1.property,outline:qh.level1.property,padding:Gh.level1.property},Qh={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",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#663399",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"},Zh={},Xh={};for(var Jh in Qh){var ep=Qh[Jh];Jh.length<ep.length?Xh[ep]=Jh:Zh[Jh]=ep}var tp=new RegExp("(^| |,|\\))("+Object.keys(Zh).join("|")+")( |,|\\)|$)","ig"),np=new RegExp("("+Object.keys(Xh).join("|")+")([^a-f0-9]|$)","ig");function rp(e,t,n,r){return t+Zh[n.toLowerCase()]+r}function ip(e,t,n){return Xh[t.toLowerCase()]+n}var op=function(e){var t=e.indexOf("#")>-1,n=e.replace(tp,rp);return n!=e&&(n=n.replace(tp,rp)),t?n.replace(np,ip):n};function ap(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var sp=wu;function lp(e,t,n){return n?t.test(e):e===t}var up=function(e,t){var n,r=sp.OPEN_ROUND_BRACKET,i=sp.CLOSE_ROUND_BRACKET,o=0,a=0,s=0,l=e.length,u=[],c="object"==typeof t&&"exec"in t;if(!c&&-1==e.indexOf(t))return[e];if(-1==e.indexOf(r))return e.split(t);for(;a<l;)e[a]==r?o++:e[a]==i&&o--,0===o&&a>0&&a+1<l&&lp(e[a],t,c)&&(u.push(e.substring(s,a)),c&&t.exec(e[a]).length>1&&u.push(e[a]),s=a+1),a++;return s<a+1&&(lp((n=e.substring(s))[n.length-1],t,c)&&(n=n.substring(0,n.length-1)),u.push(n)),u},cp=op,hp=function(e,t,n){var r=function(e,t,n){var r,i,o;if((e%=360)<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),n<0?n=0:n>100&&(n=100),n=~~n/100,0==(t=~~t/100))r=i=o=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=ap(s,a,e+1/3),i=ap(s,a,e),o=ap(s,a,e-1/3)}return[~~(255*r),~~(255*i),~~(255*o)]}(e,t,n),i=r[0].toString(16),o=r[1].toString(16),a=r[2].toString(16);return"#"+(1==i.length?"0":"")+i+(1==o.length?"0":"")+o+(1==a.length?"0":"")+a},pp=function(e,t,n){return"#"+("00000"+(Math.max(0,Math.min(parseInt(e),255))<<16|Math.max(0,Math.min(parseInt(t),255))<<8|Math.max(0,Math.min(parseInt(n),255))).toString(16)).slice(-6)},fp=up,dp=/(rgb|rgba|hsl|hsla)\(([^()]+)\)/gi,mp=/#|rgb|hsl/gi,gp=/(^|[^='"])#([0-9a-f]{6})/gi,bp=/(^|[^='"])#([0-9a-f]{3})/gi,vp=/[0-9a-f]/i,yp=/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/gi,wp=/(rgb|hsl)a?\((-?\d+),(-?\d+%?),(-?\d+%?),(0*[1-9]+[0-9]*(\.?\d*)?)\)/gi,kp=/rgb\((-?\d+),(-?\d+),(-?\d+)\)/gi,xp=/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,Op={level1:{value:function(e,t,n){return n.compatibility.properties.colors?t.match(mp)?(t=t.replace(wp,(function(e,t,n,r,i,o){return parseInt(o)>=1?t+"("+[n,r,i].join(",")+")":e})).replace(kp,(function(e,t,n,r){return pp(t,n,r)})).replace(yp,(function(e,t,n,r){return hp(t,n,r)})).replace(gp,(function(e,t,n,r,i){var o=i[r+e.length];return o&&vp.test(o)?e:n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+"#"+n[0]+n[2]+n[4]).toLowerCase():(t+"#"+n).toLowerCase()})).replace(bp,(function(e,t,n){return t+"#"+n.toLowerCase()})).replace(dp,(function(e,t,n){var r=n.split(","),i=t&&t.toLowerCase();return"hsl"==i&&3==r.length||"hsla"==i&&4==r.length||"rgb"==i&&3===r.length&&n.indexOf("%")>0||"rgba"==i&&4==r.length&&r[0].indexOf("%")>0?(-1==r[1].indexOf("%")&&(r[1]+="%"),-1==r[2].indexOf("%")&&(r[2]+="%"),t+"("+r.join(",")+")"):e})),n.compatibility.colors.opacity&&-1==e.indexOf("background")&&(t=t.replace(xp,(function(e){return fp(t,",").pop().indexOf("gradient(")>-1?e:"transparent"}))),cp(t)):cp(t):t}}},_p=/\(0deg\)/g,Sp={level1:{value:function(e,t,n){return n.compatibility.properties.zeroUnits?-1==t.indexOf("0deg")?t:t.replace(_p,"(0)"):t}}},Cp=Sp,Ep=/^url\(/i;var Ap=function(e){return Ep.test(e)},Rp=up,Tp=Ap,Lp=xh,Pp=/^expression\(.*\)$/,zp=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,Mp=/([\s,/])/,Up=/(^|\D)\.0+(\D|$)/g,Bp=/\.([1-9]*)0+(\D|$)/g,Np=/(^|\D)0\.(\d)/g,Ip=/([^\w\d-]|^)-0([^.]|$)/g,jp=/(^|\s)0+([1-9])/g;function Dp(e){var t,n;return Tp(e)||Pp.test(e)?e:(t=zp.exec(e))?(n=Rp(t[2],Mp).map((function(e){return Dp(e)})),t[1]+"("+n.join("")+")"):function(e){if(-1==e.indexOf("0"))return e;e.indexOf("-")>-1&&(e=e.replace(Ip,"$10$2").replace(Ip,"$10$2"));return e.replace(jp,"$1$2").replace(Up,"$10$2").replace(Bp,(function(e,t,n){return(t.length>0?".":"")+t+n})).replace(Np,"$1.$2")}(e)}var Vp={level1:{value:function(e,t,n){return n.level[Lp.One].replaceZeroUnits?Dp(t):t}}},Fp=Vp,Kp={level1:{value:function(e,t,n){return n.precision.enabled&&-1!==t.indexOf(".")?t.replace(n.precision.decimalPointMatcher,"$1$2$3").replace(n.precision.zeroMatcher,(function(e,t,r,i){var o=n.precision.units[i].multiplier,a=parseInt(t),s=Number.isNaN(a)?0:a,l=parseFloat(r);return Math.round((s+l)*o)/o+i})):t}}},qp=Kp,Wp=xh,Yp=/^local\(/i,$p=/^('.*'|".*")$/,Gp=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,Hp=/^['"](?:cursive|default|emoji|fangsong|fantasy|inherit|initial|math|monospace|revert|revert-layer|sans-serif|serif|system-ui|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|unset)['"]$/,Qp={level1:{value:function(e,t,n){return("font-family"!=e&&"font"!=e||!Hp.test(t))&&n.level[Wp.One].removeQuotes&&($p.test(t)||Yp.test(t))&&Gp.test(t)?t.substring(1,t.length-1):t}}},Zp=Qp,Xp=xh,Jp=/^(-?[\d.]+)(m?s)$/,ef={level1:{value:function(e,t,n){return n.level[Xp.One].replaceTimeUnits&&Jp.test(t)?t.replace(Jp,(function(e,t,n){var r;return"ms"==n?r=parseInt(t)/1e3+"s":"s"==n&&(r=1e3*parseFloat(t)+"ms"),r.length<e.length?r:e})):t}}},tf=ef,nf=/(?:^|\s|\()(-?\d+)px/,rf={level1:{value:function(e,t,n){return nf.test(t)?t.replace(nf,(function(e,t){var r,i=parseInt(t);return 0===i?e:(n.compatibility.properties.shorterLengthUnits&&n.compatibility.units.pt&&3*i%4==0&&(r=3*i/4+"pt"),n.compatibility.properties.shorterLengthUnits&&n.compatibility.units.pc&&i%16==0&&(r=i/16+"pc"),n.compatibility.properties.shorterLengthUnits&&n.compatibility.units.in&&i%96==0&&(r=i/96+"in"),r&&(r=e.substring(0,e.indexOf(t))+r),r&&r.length<e.length?r:e)})):t}}},of=rf,af=Ap,sf=xh,lf=/^url\(/i,uf={level1:{value:function(e,t,n){return n.level[sf.One].normalizeUrls&&af(t)?t.replace(lf,"url("):t}}},cf=uf,hf=/^url\(['"].+['"]\)$/,pf=/^url\(['"].*[*\s()'"].*['"]\)$/,ff=/["']/g,df=/^url\(['"]data:[^;]+;charset/,mf={level1:{value:function(e,t,n){return n.compatibility.properties.urlQuotes||!hf.test(t)||pf.test(t)||df.test(t)?t:t.replace(ff,"")}}},gf=mf,bf=Ap,vf=/\\?\n|\\?\r\n/g,yf=/(\()\s+/g,wf=/\s+(\))/g,kf={level1:{value:function(e,t){return bf(t)?t.replace(vf,"").replace(yf,"$1").replace(wf,"$1"):t}}},xf=kf,Of=xh,_f=wu,Sf=/\) ?\/ ?/g,Cf=/, /g,Ef=/\r?\n/g,Af=/\s+/g,Rf=/\s+(;?\))/g,Tf=/(\(;?)\s+/g,Lf=/^--\S+$/,Pf=/^var\(\s*--\S+\s*\)$/,zf={level1:{value:function(e,t,n){return n.level[Of.One].removeWhitespace?Lf.test(e)&&!Pf.test(t)||-1==t.indexOf(" ")&&-1==t.indexOf("\n")||0===t.indexOf("expression")||t.indexOf(_f.SINGLE_QUOTE)>-1||t.indexOf(_f.DOUBLE_QUOTE)>-1?t:((t=(t=t.replace(Ef,"")).replace(Af," ")).indexOf("calc")>-1&&(t=t.replace(Sf,")/ ")),t.replace(Tf,"$1").replace(Rf,"$1").replace(Cf,",")):t}}},Mf=zf,Uf=up,Bf=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,Nf=/^(?:-moz-calc|-webkit-calc|calc|rgb|hsl|rgba|hsla|min|max|clamp|expression)\(/,If=/([\s,/])/;function jf(e,t){var n,r;return Nf.test(e)?e:(n=Bf.exec(e))?(r=Uf(n[2],If).map((function(e){return jf(e,t)})),n[1]+"("+r.join("")+")"):function(e,t){return e.replace(t.unitsRegexp,"$10$2").replace(t.unitsRegexp,"$10$2")}(e,t)}var Df={level1:{value:function(e,t,n){return n.compatibility.properties.zeroUnits?t.indexOf("%")>0&&("height"==e||"max-height"==e||"width"==e||"max-width"==e)?t:jf(t,n):t}}},Vf=Df,Ff={color:Op.level1.value,degrees:Cp.level1.value,fraction:Fp.level1.value,precision:qp.level1.value,textQuotes:Zp.level1.value,time:tf.level1.value,unit:of.level1.value,urlPrefix:cf.level1.value,urlQuotes:gf.level1.value,urlWhiteSpace:xf.level1.value,whiteSpace:Mf.level1.value,zero:Vf.level1.value},Kf=Cc,qf=jc,Wf=Zc,Yf=Hh,$f=Ff,Gf=zl,Hf={animation:{canOverride:qf.generic.components([qf.generic.time,qf.generic.timingFunction,qf.generic.time,qf.property.animationIterationCount,qf.property.animationDirection,qf.property.animationFillMode,qf.property.animationPlayState,qf.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:Kf.multiplex(Kf.animation),defaultValue:"none",restore:Wf.multiplex(Wf.withoutDefaults),shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.textQuotes,$f.time,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:qf.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[$f.time,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:qf.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:qf.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"animation-delay",valueOptimizers:[$f.time,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:qf.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:qf.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:qf.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",valueOptimizers:[$f.textQuotes],vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:qf.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:qf.generic.timingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:qf.generic.components([qf.generic.image,qf.property.backgroundPosition,qf.property.backgroundSize,qf.property.backgroundRepeat,qf.property.backgroundAttachment,qf.property.backgroundOrigin,qf.property.backgroundClip,qf.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:Kf.multiplex(Kf.background),defaultValue:"0 0",propertyOptimizer:Yf.background,restore:Wf.multiplex(Wf.background),shortestValue:"0",shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.urlWhiteSpace,$f.fraction,$f.zero,$f.color,$f.urlPrefix,$f.urlQuotes]},"background-attachment":{canOverride:qf.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:qf.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:qf.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"background-image":{canOverride:qf.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default",valueOptimizers:[$f.urlWhiteSpace,$f.urlPrefix,$f.urlQuotes,$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero,$f.color]},"background-origin":{canOverride:qf.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:qf.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"background-repeat":{canOverride:qf.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:qf.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},bottom:{canOverride:qf.property.bottom,defaultValue:"auto",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},border:{breakUp:Kf.border,canOverride:qf.generic.components([qf.generic.unit,qf.property.borderStyle,qf.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:Wf.withoutDefaults,shorthand:!0,shorthandComponents:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.zero,$f.color]},"border-bottom":{breakUp:Kf.border,canOverride:qf.generic.components([qf.generic.unit,qf.property.borderStyle,qf.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:Wf.withoutDefaults,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.zero,$f.color]},"border-bottom-color":{canOverride:qf.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"border-bottom-left-radius":{canOverride:qf.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Yf.borderRadius,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:qf.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Yf.borderRadius,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:qf.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:qf.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"border-collapse":{canOverride:qf.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:Kf.fourValues,canOverride:qf.generic.components([qf.generic.color,qf.generic.color,qf.generic.color,qf.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:Wf.fourValues,shortestValue:"red",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"border-left":{breakUp:Kf.border,canOverride:qf.generic.components([qf.generic.unit,qf.property.borderStyle,qf.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:Wf.withoutDefaults,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.zero,$f.color]},"border-left-color":{canOverride:qf.generic.color,componentOf:["border-color","border-left"],defaultValue:"none",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"border-left-style":{canOverride:qf.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:qf.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"border-radius":{breakUp:Kf.borderRadius,canOverride:qf.generic.components([qf.generic.unit,qf.generic.unit,qf.generic.unit,qf.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",propertyOptimizer:Yf.borderRadius,restore:Wf.borderRadius,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:Kf.border,canOverride:qf.generic.components([qf.generic.unit,qf.property.borderStyle,qf.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:Wf.withoutDefaults,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"border-right-color":{canOverride:qf.generic.color,componentOf:["border-color","border-right"],defaultValue:"none",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"border-right-style":{canOverride:qf.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:qf.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"border-style":{breakUp:Kf.fourValues,canOverride:qf.generic.components([qf.property.borderStyle,qf.property.borderStyle,qf.property.borderStyle,qf.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:Wf.fourValues,shorthand:!0,singleTypeComponents:!0},"border-top":{breakUp:Kf.border,canOverride:qf.generic.components([qf.generic.unit,qf.property.borderStyle,qf.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:Wf.withoutDefaults,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.zero,$f.color,$f.unit]},"border-top-color":{canOverride:qf.generic.color,componentOf:["border-color","border-top"],defaultValue:"none",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"border-top-left-radius":{canOverride:qf.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Yf.borderRadius,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:qf.generic.unit,componentOf:["border-radius"],defaultValue:"0",propertyOptimizer:Yf.borderRadius,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:qf.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:qf.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"border-width":{breakUp:Kf.fourValues,canOverride:qf.generic.components([qf.generic.unit,qf.generic.unit,qf.generic.unit,qf.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:Wf.fourValues,shortestValue:"0",shorthand:!0,singleTypeComponents:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"box-shadow":{propertyOptimizer:Yf.boxShadow,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero,$f.color],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},clear:{canOverride:qf.property.clear,defaultValue:"none"},clip:{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},color:{canOverride:qf.generic.color,defaultValue:"transparent",shortestValue:"red",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"column-gap":{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},cursor:{canOverride:qf.property.cursor,defaultValue:"auto"},display:{canOverride:qf.property.display},filter:{propertyOptimizer:Yf.filter,valueOptimizers:[$f.fraction]},float:{canOverride:qf.property.float,defaultValue:"none"},font:{breakUp:Kf.font,canOverride:qf.generic.components([qf.property.fontStyle,qf.property.fontVariant,qf.property.fontWeight,qf.property.fontStretch,qf.generic.unit,qf.generic.unit,qf.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:Wf.font,shorthand:!0,valueOptimizers:[$f.textQuotes]},"font-family":{canOverride:qf.property.fontFamily,defaultValue:"user|agent|specific",valueOptimizers:[$f.textQuotes]},"font-size":{canOverride:qf.generic.unit,defaultValue:"medium",shortestValue:"0",valueOptimizers:[$f.fraction]},"font-stretch":{canOverride:qf.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:qf.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:qf.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:qf.property.fontWeight,defaultValue:"normal",propertyOptimizer:Yf.fontWeight,shortestValue:"400"},gap:{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},height:{canOverride:qf.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},left:{canOverride:qf.property.left,defaultValue:"auto",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"letter-spacing":{valueOptimizers:[$f.fraction,$f.zero]},"line-height":{canOverride:qf.generic.unitOrNumber,defaultValue:"normal",shortestValue:"0",valueOptimizers:[$f.fraction,$f.zero]},"list-style":{canOverride:qf.generic.components([qf.property.listStyleType,qf.property.listStylePosition,qf.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:Kf.listStyle,restore:Wf.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:qf.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:qf.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:qf.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:Kf.fourValues,canOverride:qf.generic.components([qf.generic.unit,qf.generic.unit,qf.generic.unit,qf.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",propertyOptimizer:Yf.margin,restore:Wf.fourValues,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"margin-bottom":{canOverride:qf.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top",propertyOptimizer:Yf.margin,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"margin-inline-end":{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"margin-inline-start":{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"margin-left":{canOverride:qf.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right",propertyOptimizer:Yf.margin,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"margin-right":{canOverride:qf.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left",propertyOptimizer:Yf.margin,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"margin-top":{canOverride:qf.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom",propertyOptimizer:Yf.margin,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"max-height":{canOverride:qf.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"max-width":{canOverride:qf.generic.unit,defaultValue:"none",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"min-height":{canOverride:qf.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"min-width":{canOverride:qf.generic.unit,defaultValue:"0",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},opacity:{valueOptimizers:[$f.fraction,$f.precision]},outline:{canOverride:qf.generic.components([qf.generic.color,qf.property.outlineStyle,qf.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:Kf.outline,restore:Wf.withoutDefaults,defaultValue:"0",propertyOptimizer:Yf.outline,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"outline-color":{canOverride:qf.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.color]},"outline-style":{canOverride:qf.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:qf.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},overflow:{canOverride:qf.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:qf.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:qf.property.overflow,defaultValue:"visible"},padding:{breakUp:Kf.fourValues,canOverride:qf.generic.components([qf.generic.unit,qf.generic.unit,qf.generic.unit,qf.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",propertyOptimizer:Yf.padding,restore:Wf.fourValues,shorthand:!0,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"padding-bottom":{canOverride:qf.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top",propertyOptimizer:Yf.padding,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"padding-left":{canOverride:qf.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right",propertyOptimizer:Yf.padding,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"padding-right":{canOverride:qf.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left",propertyOptimizer:Yf.padding,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"padding-top":{canOverride:qf.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom",propertyOptimizer:Yf.padding,valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},position:{canOverride:qf.property.position,defaultValue:"static"},right:{canOverride:qf.property.right,defaultValue:"auto",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"row-gap":{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},src:{valueOptimizers:[$f.urlWhiteSpace,$f.urlPrefix,$f.urlQuotes]},"stroke-width":{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"text-align":{canOverride:qf.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:qf.property.textDecoration,defaultValue:"none"},"text-indent":{canOverride:qf.property.textOverflow,defaultValue:"none",valueOptimizers:[$f.fraction,$f.zero]},"text-overflow":{canOverride:qf.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:qf.property.textShadow,defaultValue:"none",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.zero,$f.color]},top:{canOverride:qf.property.top,defaultValue:"auto",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},transform:{canOverride:qf.property.transform,valueOptimizers:[$f.whiteSpace,$f.degrees,$f.fraction,$f.precision,$f.unit,$f.zero],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},transition:{breakUp:Kf.multiplex(Kf.transition),canOverride:qf.generic.components([qf.property.transitionProperty,qf.generic.time,qf.generic.timingFunction,qf.generic.time]),components:["transition-property","transition-duration","transition-timing-function","transition-delay"],defaultValue:"none",restore:Wf.multiplex(Wf.withoutDefaults),shorthand:!0,valueOptimizers:[$f.time,$f.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-delay":{canOverride:qf.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",valueOptimizers:[$f.time],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-duration":{canOverride:qf.generic.time,componentOf:["transition"],defaultValue:"0s",intoMultiplexMode:"real",keepUnlessDefault:"transition-delay",valueOptimizers:[$f.time,$f.fraction],vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-property":{canOverride:qf.generic.propertyName,componentOf:["transition"],defaultValue:"all",intoMultiplexMode:"placeholder",placeholderValue:"_",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"transition-timing-function":{canOverride:qf.generic.timingFunction,componentOf:["transition"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-ms-","-o-","-webkit-"]},"vertical-align":{canOverride:qf.property.verticalAlign,defaultValue:"baseline",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},visibility:{canOverride:qf.property.visibility,defaultValue:"visible"},"-webkit-tap-highlight-color":{valueOptimizers:[$f.whiteSpace,$f.color]},"-webkit-margin-end":{valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"white-space":{canOverride:qf.property.whiteSpace,defaultValue:"normal"},width:{canOverride:qf.generic.unit,defaultValue:"auto",shortestValue:"0",valueOptimizers:[$f.whiteSpace,$f.fraction,$f.precision,$f.unit,$f.zero]},"z-index":{canOverride:qf.property.zIndex,defaultValue:"auto"}},Qf={};function Zf(e,t){var n=Gf(Hf[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map((function(e){return t+e}))),"components"in n&&(n.components=n.components.map((function(e){return t+e}))),"keepUnlessDefault"in n&&(n.keepUnlessDefault=t+n.keepUnlessDefault),n}for(var Xf in Hf){var Jf=Hf[Xf];if("vendorPrefixes"in Jf){for(var ed=0;ed<Jf.vendorPrefixes.length;ed++){var td=Jf.vendorPrefixes[ed],nd=Zf(Xf,td);delete nd.vendorPrefixes,Qf[td+Xf]=nd}delete Jf.vendorPrefixes}}var rd=Gf(Hf,Qf),id="",od=bu,ad=vu,sd=wu,ld=ic;function ud(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function cd(e,t,n){return!e.spaceAfterClosingBrace&&function(e){return"background"==e[1][1]||"transform"==e[1][1]||"src"==e[1][1]}(t)&&function(e,t){return e[t][1][e[t][1].length-1]==sd.CLOSE_ROUND_BRACKET}(t,n)||function(e,t){return e[t+1]&&e[t+1][1]==sd.FORWARD_SLASH}(t,n)||function(e,t){return e[t][1]==sd.FORWARD_SLASH}(t,n)||function(e,t){return e[t+1]&&e[t+1][1]==sd.COMMA}(t,n)||function(e,t){return e[t][1]==sd.COMMA}(t,n)}function hd(e,t){for(var n=e.store,r=0,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&n(e,wd(e))}function pd(e,t){for(var n=function(e){for(var t=e.length-1;t>=0&&e[t][0]==ld.COMMENT;t--);return t}(t),r=0,i=t.length;r<i;r++)fd(e,t,r,n)}function fd(e,t,n,r){var i,o=e.store,a=t[n],s=a[2],l=s&&s[0]===ld.PROPERTY_BLOCK;i=e.format?!(!e.format.semicolonAfterLastProperty&&!l)||n<r:n<r||l;var u=n===r;switch(a[0]){case ld.AT_RULE:o(e,a),o(e,yd(e,od.AfterProperty,!1));break;case ld.AT_RULE_BLOCK:hd(e,a[1]),o(e,bd(e,od.AfterRuleBegins,!0)),pd(e,a[2]),o(e,vd(e,od.AfterRuleEnds,!1,u));break;case ld.COMMENT:o(e,a),o(e,md(e,od.AfterComment)+e.indentWith);break;case ld.PROPERTY:o(e,a[1]),o(e,function(e){return e.format?sd.COLON+(gd(e,ad.BeforeValue)?sd.SPACE:id):sd.COLON}(e)),s&&dd(e,a),o(e,i?yd(e,od.AfterProperty,u):id);break;case ld.RAW:o(e,a)}}function dd(e,t){var n,r,i=e.store;if(t[2][0]==ld.PROPERTY_BLOCK)i(e,bd(e,od.AfterBlockBegins,!1)),pd(e,t[2][1]),i(e,vd(e,od.AfterBlockEnds,!1,!0));else for(n=2,r=t.length;n<r;n++)i(e,t[n]),n<r-1&&(ud(t)||!cd(e,t,n))&&i(e,sd.SPACE)}function md(e,t){return e.format?e.format.breaks[t]:id}function gd(e,t){return e.format&&e.format.spaces[t]}function bd(e,t,n){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n&&gd(e,ad.BeforeBlockBegins)?sd.SPACE:id)+sd.OPEN_CURLY_BRACKET+md(e,t)+e.indentWith):sd.OPEN_CURLY_BRACKET}function vd(e,t,n,r){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),md(e,n?od.BeforeBlockEnds:od.AfterProperty)+e.indentWith+sd.CLOSE_CURLY_BRACKET+(r?id:md(e,t)+e.indentWith)):sd.CLOSE_CURLY_BRACKET}function yd(e,t,n){return e.format?sd.SEMICOLON+(n?id:md(e,t)+e.indentWith):sd.SEMICOLON}function wd(e){return e.format?sd.COMMA+md(e,od.BetweenSelectors)+e.indentWith:sd.COMMA}var kd={all:function e(t,n){var r,i,o,a,s=t.store;for(o=0,a=n.length;o<a;o++)switch(i=o==a-1,(r=n[o])[0]){case ld.AT_RULE:s(t,r),s(t,yd(t,od.AfterAtRule,i));break;case ld.AT_RULE_BLOCK:hd(t,r[1]),s(t,bd(t,od.AfterRuleBegins,!0)),pd(t,r[2]),s(t,vd(t,od.AfterRuleEnds,!1,i));break;case ld.NESTED_BLOCK:hd(t,r[1]),s(t,bd(t,od.AfterBlockBegins,!0)),e(t,r[2]),s(t,vd(t,od.AfterBlockEnds,!0,i));break;case ld.COMMENT:s(t,r),s(t,md(t,od.AfterComment)+t.indentWith);break;case ld.RAW:s(t,r);break;case ld.RULE:hd(t,r[1]),s(t,bd(t,od.AfterRuleBegins,!0)),pd(t,r[2]),s(t,vd(t,od.AfterRuleEnds,!1,i))}},body:pd,property:fd,rules:hd,value:dd},xd=kd;function Od(e,t){e.output.push("string"==typeof t?t:t[1])}function _d(){return{output:[],store:Od}}var Sd=function(e){var t=_d();return xd.all(t,e),t.output.join("")},Cd=function(e){var t=_d();return xd.body(t,e),t.output.join("")},Ed=function(e,t){var n=_d();return xd.property(n,e,t,!0),n.output.join("")},Ad=function(e){var t=_d();return xd.rules(t,e),t.output.join("")},Rd=function(e){var t=_d();return xd.value(t,e),t.output.join("")},Td=Ll,Ld=Vu,Pd=qu,zd=Wu,Md=Yu,Ud=$u,Bd=rc,Nd=fc,Id=rd,jd=Ff,Dd=xh,Vd=ic,Fd=wu,Kd=ku,qd=Ad,Wd="@charset",Yd=new RegExp("^"+Wd,"i"),$d=oh,Gd=/^--\S+$/,Hd=/^(?:-chrome-|-[\w-]+\w|\w[\w-]+\w|\w{1,})$/,Qd=/^@import/i,Zd=/^url\(/i;function Xd(e){return Zd.test(e)}function Jd(e){return Qd.test(e[1])}function em(e){var t;return("filter"==e.name||"-ms-filter"==e.name)&&((t=e.value[0][1]).indexOf("progid")>-1||0===t.indexOf("alpha")||0===t.indexOf("chroma"))}function tm(){}function nm(e,t,n){return t}function rm(e,t,n){var r,i,o,a,s,l,u,c,h,p,f=n.options,d=qd(e),m=Nd(t),g=n.options.plugins.level1Value,b=n.options.plugins.level1Property;for(h=0,p=m.length;h<p;h++){var v,y,w,k;if(o=(i=m[h]).name,u=Id[o]&&Id[o].propertyOptimizer||tm,r=Id[o]&&Id[o].valueOptimizers||[jd.whiteSpace],(c=Gd.test(o))&&(r=f.variableOptimizers.length>0?f.variableOptimizers:[jd.whiteSpace]),c||Hd.test(o))if(0!==i.value.length)if(!i.hack||(i.hack[0]!=Md.ASTERISK&&i.hack[0]!=Md.UNDERSCORE||f.compatibility.properties.iePrefixHack)&&(i.hack[0]!=Md.BACKSLASH||f.compatibility.properties.ieSuffixHack)&&(i.hack[0]!=Md.BANG||f.compatibility.properties.ieBangHack))if(f.compatibility.properties.ieFilters||!em(i))if(i.block)rm(e,i.value[0][1],n);else{for(v=0,w=i.value.length;v<w;v++){if(a=i.value[v][0],s=i.value[v][1],a==Vd.PROPERTY_BLOCK){i.unused=!0,n.warnings.push("Invalid value token at "+Kd(s[0][1][2][0])+". Ignoring.");break}if(Xd(s)&&!n.validator.isUrl(s)){i.unused=!0,n.warnings.push("Broken URL '"+s+"' at "+Kd(i.value[v][2][0])+". Ignoring.");break}for(y=0,k=r.length;y<k;y++)s=r[y](o,s,f);for(y=0,k=g.length;y<k;y++)s=g[y](o,s,f);i.value[v][1]=s}for(u(d,i,f),v=0,w=b.length;v<w;v++)b[v](d,i,f)}else i.unused=!0;else i.unused=!0;else l=i.all[i.position],n.warnings.push("Empty property '"+o+"' at "+Kd(l[1][2][0])+". Ignoring."),i.unused=!0;else l=i.all[i.position],n.warnings.push("Invalid property name '"+o+"' at "+Kd(l[1][2][0])+". Ignoring."),i.unused=!0}Bd(m),Ud(m),function(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==Vd.COMMENT&&(im(n,t),0===n[1].length&&(e.splice(r,1),r--))}(t,f)}function im(e,t){e[1][2]==Fd.EXCLAMATION&&("all"==t.level[Dd.One].specialComments||t.commentsKept<t.level[Dd.One].specialComments)?t.commentsKept++:e[1]=[]}var om=function e(t,n){var r=n.options,i=r.level[Dd.One],o=r.compatibility.selectors.ie7Hack,a=r.compatibility.selectors.adjacentSpace,s=r.compatibility.properties.spaceAfterClosingBrace,l=r.format,u=!1,c=!1;r.unitsRegexp=r.unitsRegexp||function(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"];return["ch","rem","vh","vm","vmax","vmin","vw"].forEach((function(n){e.compatibility.units[n]&&t.push(n)})),new RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}(r),r.precision=r.precision||function(e){var t,n,r={matcher:null,units:{}},i=[];for(t in e)(n=e[t])!=$d&&(r.units[t]={},r.units[t].value=n,r.units[t].multiplier=10**n,i.push(t));return i.length>0&&(r.enabled=!0,r.decimalPointMatcher=new RegExp("(\\d)\\.($|"+i.join("|")+")($|\\W)","g"),r.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+i.join("|")+")","g")),r}(i.roundingPrecision),r.commentsKept=r.commentsKept||0,r.variableOptimizers=r.variableOptimizers||function(e){return e.level[Dd.One].variableValueOptimizers.map((function(e){return"string"==typeof e?jd[e]||nm:e}))}(r);for(var h=0,p=t.length;h<p;h++){var f=t[h];switch(f[0]){case Vd.AT_RULE:f[1]=Jd(f)&&c?"":f[1],f[1]=i.tidyAtRules?zd(f[1]):f[1],u=!0;break;case Vd.AT_RULE_BLOCK:rm(f[1],f[2],n),c=!0;break;case Vd.NESTED_BLOCK:f[1]=i.tidyBlockScopes?Pd(f[1],s):f[1],e(f[2],n),c=!0;break;case Vd.COMMENT:im(f,r);break;case Vd.RULE:f[1]=i.tidySelectors?Ld(f[1],!o,a,l,n.warnings):f[1],f[1]=f[1].length>1?Td(f[1],i.selectorsSortingMethod):f[1],rm(f[1],f[2],n),c=!0}(f[0]==Vd.COMMENT&&0===f[1].length||i.removeEmpty&&(0===f[1].length||f[2]&&0===f[2].length))&&(t.splice(h,1),h--,p--)}return i.cleanupCharsets&&u&&function(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i[0]==Vd.AT_RULE&&Yd.test(i[1])&&(t||-1==i[1].indexOf(Wd)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([Vd.AT_RULE,i[1].replace(Yd,Wd)])))}}(t),t},am=wu,sm=up,lm=/\/deep\//,um=/^::/,cm=/:(-moz-|-ms-|-o-|-webkit-)/,hm=":not",pm=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],fm=/[>+~]/,dm=[":after",":before",":first-letter",":first-line",":lang"],mm=["::after","::before","::first-letter","::first-line"],gm={DOUBLE_QUOTE:"double-quote",SINGLE_QUOTE:"single-quote",ROOT:"root"};function bm(e){return lm.test(e)}function vm(e){return cm.test(e)}function ym(e){var t,n,r,i,o,a,s=[],l=[],u=gm.ROOT,c=0,h=!1,p=!1;for(o=0,a=e.length;o<a;o++)t=e[o],i=!r&&fm.test(t),n=u==gm.DOUBLE_QUOTE||u==gm.SINGLE_QUOTE,r?l.push(t):t==am.DOUBLE_QUOTE&&u==gm.ROOT?(l.push(t),u=gm.DOUBLE_QUOTE):t==am.DOUBLE_QUOTE&&u==gm.DOUBLE_QUOTE?(l.push(t),u=gm.ROOT):t==am.SINGLE_QUOTE&&u==gm.ROOT?(l.push(t),u=gm.SINGLE_QUOTE):t==am.SINGLE_QUOTE&&u==gm.SINGLE_QUOTE?(l.push(t),u=gm.ROOT):n?l.push(t):t==am.OPEN_ROUND_BRACKET?(l.push(t),c++):t==am.CLOSE_ROUND_BRACKET&&1==c&&h?(l.push(t),s.push(l.join("")),c--,l=[],h=!1):t==am.CLOSE_ROUND_BRACKET?(l.push(t),c--):t==am.COLON&&0===c&&h&&!p?(s.push(l.join("")),(l=[]).push(t)):t!=am.COLON||0!==c||p?t==am.SPACE&&0===c&&h||i&&0===c&&h?(s.push(l.join("")),l=[],h=!1):l.push(t):((l=[]).push(t),h=!0),r=t==am.BACK_SLASH,p=t==am.COLON;return l.length>0&&h&&s.push(l.join("")),s}function wm(e,t,n,r,i){return function(e,t,n){var r,i,o,a;for(o=0,a=e.length;o<a;o++)if(i=(r=e[o]).indexOf(am.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(am.OPEN_ROUND_BRACKET)):r,-1===t.indexOf(i)&&-1===n.indexOf(i))return!1;return!0}(t,n,r)&&function(e){var t,n,r,i,o,a;for(o=0,a=e.length;o<a;o++){if(n=(i=(r=(t=e[o]).indexOf(am.OPEN_ROUND_BRACKET))>-1)?t.substring(0,r):t,i&&-1==pm.indexOf(n))return!1;if(!i&&pm.indexOf(n)>-1)return!1}return!0}(t)&&(t.length<2||!function(e,t){var n,r,i,o,a,s,l,u,c=0;for(l=0,u=t.length;l<u&&(n=t[l],i=t[l+1]);l++)if(r=e.indexOf(n,c),c=o=e.indexOf(n,r+1),r+n.length==o&&(a=n.indexOf(am.OPEN_ROUND_BRACKET)>-1?n.substring(0,n.indexOf(am.OPEN_ROUND_BRACKET)):n,s=i.indexOf(am.OPEN_ROUND_BRACKET)>-1?i.substring(0,i.indexOf(am.OPEN_ROUND_BRACKET)):i,a!=hm||s!=hm))return!0;return!1}(e,t))&&(t.length<2||i&&function(e){var t,n,r,i=0;for(n=0,r=e.length;n<r;n++)if(km(t=e[n])?i+=mm.indexOf(t)>-1?1:0:i+=dm.indexOf(t)>-1?1:0,i>1)return!1;return!0}(t))}function km(e){return um.test(e)}var xm=function(e,t,n,r){var i,o,a,s=sm(e,am.COMMA);for(o=0,a=s.length;o<a;o++)if(0===(i=s[o]).length||bm(i)||vm(i)||i.indexOf(am.COLON)>-1&&!wm(i,ym(i),t,n,r))return!1;return!0},Om=wu;var _m=function(e,t,n){var r,i,o,a=t.value.length,s=n.value.length,l=Math.max(a,s),u=Math.min(a,s)-1;for(o=0;o<l;o++)if(r=t.value[o]&&t.value[o][1]||r,i=n.value[o]&&n.value[o][1]||i,r!=Om.COMMA&&i!=Om.COMMA&&!e(r,i,o,o<=u))return!1;return!0};var Sm=function(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1};var Cm=function(e){var t,n,r=e.value[0][1];for(t=1,n=e.value.length;t<n;t++)if(e.value[t][1]!=r)return!1;return!0},Em=rd,Am=gc;function Rm(e,t){return 1==e.value.length&&t.isVariable(e.value[0][1])}function Tm(e,t){return e.value.length>1&&e.value.filter((function(e){return t.isVariable(e[1])})).length>1}var Lm=function(e,t,n){for(var r,i,o,a=e.length-1;a>=0;a--){var s=e[a],l=Em[s.name];if(!s.dynamic&&l&&l.shorthand){if(Rm(s,t)||Tm(s,t)){s.optimizable=!1;continue}s.shorthand=!0,s.dirty=!0;try{if(s.components=l.breakUp(s,Em,t),l.shorthandComponents)for(i=0,o=s.components.length;i<o;i++)(r=s.components[i]).components=Em[r.name].breakUp(r,Em,t)}catch(e){if(!(e instanceof Am))throw e;s.components=[],n.push(e.message)}s.components.length>0?s.multiplex=s.components[0].multiplex:s.unused=!0}}},Pm=rd;var zm=function(e){var t=Pm[e.name];return t&&t.shorthand?t.restore(e,Pm):e.value},Mm=_m,Um=Sm,Bm=Cm,Nm=Lm,Im=rd,jm=Kc,Dm=zm,Vm=rc,Fm=dc,Km=Cd,qm=ic;function Wm(e,t,n,r){var i,o,a,s,l=e[t],u=[];for(i in n)void 0!==l&&i==l.name||(o=Im[i],a=n[i],l&&Ym(n,i,l)?delete n[i]:o.components.length>Object.keys(a).length||$m(a)||Gm(a,i,r)&&Qm(a)&&(Zm(a)?Xm(e,a,i,r):rg(e,a,i,r),u.push(i)));for(s=u.length-1;s>=0;s--)delete n[u[s]]}function Ym(e,t,n){var r,i=Im[t],o=Im[n.name];if("overridesShorthands"in i&&i.overridesShorthands.indexOf(n.name)>-1)return!0;if(o&&"componentOf"in o)for(r in e[t])if(o.componentOf.indexOf(r)>-1)return!0;return!1}function $m(e){var t,n;for(n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function Gm(e,t,n){var r,i,o,a,s=Im[t],l=[qm.PROPERTY,[qm.PROPERTY_NAME,t],[qm.PROPERTY_VALUE,s.defaultValue]],u=Fm(l);for(Nm([u],n,[]),o=0,a=s.components.length;o<a;o++)if(r=e[s.components[o]],i=Im[r.name].canOverride||Hm,!Mm(i.bind(null,n),u.components[o],r))return!1;return!0}function Hm(e,t,n){return t===n}function Qm(e){var t,n,r,i,o=null;for(n in e)if(r=e[n],"restore"in(i=Im[n])){if(Vm([r.all[r.position]],Dm),t=i.restore(r,Im).length,null!==o&&t!==o)return!1;o=t}return!0}function Zm(e){var t,n,r=null;for(t in e){if(n=Um(e[t]),null!==r&&r!==n)return!0;r=n}return!1}function Xm(e,t,n,r){var i,o,a,s,l=function(e,t,n){var r,i,o,a,s,l,u=[],c={},h={},p=Im[t],f=[qm.PROPERTY,[qm.PROPERTY_NAME,t],[qm.PROPERTY_VALUE,p.defaultValue]],d=Fm(f);for(Nm([d],n,[]),s=0,l=p.components.length;s<l;s++)r=e[p.components[s]],Um(r)?(i=r.all[r.position].slice(0,2),Array.prototype.push.apply(i,r.value),u.push(i),(o=jm(r)).value=Jm(e,o.name),d.components[s]=o,c[r.name]=jm(r)):((o=jm(r)).all=r.all,d.components[s]=o,h[r.name]=r);return d.important=e[Object.keys(e).pop()].important,a=eg(h,1),f[1].push(a),Vm([d],Dm),f=f.slice(0,2),Array.prototype.push.apply(f,d.value),u.unshift(f),[u,d,c]}(t,n,r),u=function(e,t,n){var r,i,o,a,s,l,u=[],c={},h={},p=Im[t],f=[qm.PROPERTY,[qm.PROPERTY_NAME,t],[qm.PROPERTY_VALUE,"inherit"]],d=Fm(f);for(Nm([d],n,[]),s=0,l=p.components.length;s<l;s++)r=e[p.components[s]],Um(r)?c[r.name]=r:(i=r.all[r.position].slice(0,2),Array.prototype.push.apply(i,r.value),u.push(i),h[r.name]=jm(r));return o=eg(c,1),f[1].push(o),a=eg(c,2),f[2].push(a),u.unshift(f),[u,d,h]}(t,n,r),c=l[0],h=u[0],p=Km(c).length<Km(h).length,f=p?c:h,d=p?l[1]:u[1],m=p?l[2]:u[2],g=t[Object.keys(t).pop()],b=g.all,v=g.position;for(i in d.position=v,d.shorthand=!0,d.important=g.important,d.multiplex=!1,d.dirty=!0,d.all=b,d.all[v]=f[0],e.splice(v,1,d),t)(o=t[i]).unused=!0,d.multiplex=d.multiplex||o.multiplex,o.name in m&&(a=m[o.name],s=ng(f,i),a.position=b.length,a.all=b,a.all.push(s),e.push(a))}function Jm(e,t){var n=Im[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[qm.PROPERTY_VALUE,n.defaultValue]]}function eg(e,t){var n,r,i,o,a=[];for(o in e)i=(r=(n=e[o]).all[n.position])[t][r[t].length-1],Array.prototype.push.apply(a,i);return a.sort(tg)}function tg(e,t){var n=e[0],r=t[0],i=e[1],o=t[1];return n<r||n===r&&i<o?-1:1}function ng(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function rg(e,t,n,r){var i,o,a,s=Im[n],l=[qm.PROPERTY,[qm.PROPERTY_NAME,n],[qm.PROPERTY_VALUE,s.defaultValue]],u=function(e,t,n){var r=Object.keys(t),i=t[r[0]].position,o=t[r[r.length-1]].position;if("border"==n&&function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].name==t)return!0;return!1}(e.slice(i,o),"border-image"))return i;return o}(e,t,n),c=Fm(l);c.shorthand=!0,c.dirty=!0,c.multiplex=!1,Nm([c],r,[]);for(var h=0,p=s.components.length;h<p;h++){var f=t[s.components[h]];c.components[h]=jm(f),c.important=f.important,c.multiplex=c.multiplex||f.multiplex,a=f.all}for(var d in t)t[d].unused=!0;i=eg(t,1),l[1].push(i),o=eg(t,2),l[2].push(o),c.position=u,c.all=a,c.all[u]=l,e.splice(u,1,c)}var ig=function(e,t){var n,r,i,o,a,s,l,u={};if(!(e.length<3)){for(o=0,a=e.length;o<a;o++)if(i=e[o],n=Im[i.name],!i.dynamic&&!i.unused&&!i.hack&&!i.block&&(!n||!n.singleTypeComponents||Bm(i))&&(Wm(e,o,u,t),n&&n.componentOf))for(s=0,l=n.componentOf.length;s<l;s++)u[r=n.componentOf[s]]=u[r]||{},u[r][i.name]=i;Wm(e,o,u,t)}};var og=function(e){for(var t=e.value.length-1;t>=0;t--)if("unset"==e.value[t][1])return!0;return!1},ag=rd;function sg(e,t){return e.components.filter(t)[0]}var lg=function(e,t){var n,r=(n=t,function(e){return n.name===e.name});return sg(e,r)||function(e,t){var n,r,i;if(!ag[e.name].shorthandComponents)return;for(r=0,i=e.components.length;r<i;r++)if(n=sg(e.components[r],t))return n}(e,r)},ug=rd;function cg(e,t){var n=ug[e.name];return"components"in n&&n.components.indexOf(t.name)>-1}var hg=function(e,t,n){return cg(e,t)||!n&&!!ug[e.name].shorthandComponents&&function(e,t){return e.components.some((function(e){return cg(e,t)}))}(e,t)},pg=wu;var fg=rd;var dg=Sm,mg=og,gg=_m,bg=lg,vg=hg,yg=function(e){return"font"!=e.name||-1==e.value[0][1].indexOf(pg.INTERNAL)},wg=function(e,t){return e.name in fg&&"overridesShorthands"in fg[e.name]&&fg[e.name].overridesShorthands.indexOf(t.name)>-1},kg=Rc,xg=rd,Og=Kc,_g=zm,Sg=qc,Cg=rc,Eg=ic,Ag=wu,Rg=Ed;function Tg(e,t,n){return t===n}function Lg(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],i=xg[r.name],o=i&&i.canOverride||Tg,a=Sg(r);if(a.value=[[Eg.PROPERTY_VALUE,i.defaultValue]],!gg(o.bind(null,t),a,r))return!0}return!1}function Pg(e,t){t.unused=!0,Bg(t,Ig(e)),e.value=t.value}function zg(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function Mg(e,t){t.multiplex?zg(e,t):e.multiplex?Pg(e,t):function(e,t){t.unused=!0,e.value=t.value}(e,t)}function Ug(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)Mg(e.components[n],t.components[n])}function Bg(e,t){e.multiplex=!0,xg[e.name].shorthand?function(e,t){var n,r,i;for(r=0,i=e.components.length;r<i;r++)(n=e.components[r]).multiplex||Ng(n,t)}(e,t):Ng(e,t)}function Ng(e,t){for(var n,r=xg[e.name],i="real"==r.intoMultiplexMode,o="real"==r.intoMultiplexMode?e.value.slice(0):"placeholder"==r.intoMultiplexMode?r.placeholderValue:r.defaultValue,a=Ig(e),s=o.length;a<t;a++)if(e.value.push([Eg.PROPERTY_VALUE,Ag.COMMA]),Array.isArray(o))for(n=0;n<s;n++)e.value.push(i?o[n]:[Eg.PROPERTY_VALUE,o[n]]);else e.value.push(i?o:[Eg.PROPERTY_VALUE,o])}function Ig(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==Ag.COMMA&&t++;return t+1}function jg(e){var t=[Eg.PROPERTY,[Eg.PROPERTY_NAME,e.name]].concat(e.value);return Rg([t],0).length}function Dg(e,t,n){for(var r=0,i=t;i>=0&&(e[i].name!=n||e[i].unused||r++,!(r>1));i--);return r>1}function Vg(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!Fg(t.isUrl,e.components[n])&&Fg(t.isFunction,e.components[n]))return!0;return!1}function Fg(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=Ag.COMMA&&e(t.value[n][1]))return!0;return!1}function Kg(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,r=e.multiplex?e:t,i=e.multiplex?t:e,o=Og(r);Cg([o],_g);var a=Og(i);Cg([a],_g);var s=jg(o)+1+jg(a);return e.multiplex?Pg(n=bg(o,a),a):(n=bg(a,o),Bg(a,Ig(o)),zg(n,o)),Cg([a],_g),s<=jg(a)}function qg(e){return e.name in xg}function Wg(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&function(e){for(var t=function(e){for(var t=[],n=0,r=[],i=e.length;n<i;n++){var o=e[n];o[1]==Ag.COMMA?(t.push(r),r=[]):r.push(o)}return t.push(r),t}(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][1])return!0;return!1}(t.value)}var Yg=function(e,t,n,r){var i,o,a,s,l,u,c,h,p,f,d;e:for(p=e.length-1;p>=0;p--)if(qg(o=e[p])&&!o.block){i=xg[o.name].canOverride||Tg;t:for(f=p-1;f>=0;f--)if(qg(a=e[f])&&!a.block&&!a.dynamic&&!o.dynamic&&!a.unused&&!o.unused&&(!a.hack||o.hack||o.important)&&(a.hack||a.important||!o.hack)&&(a.important!=o.important||a.hack[0]==o.hack[0])&&!(a.important==o.important&&(a.hack[0]!=o.hack[0]||a.hack[1]&&a.hack[1]!=o.hack[1])||dg(o)||Wg(a,o)))if(o.shorthand&&vg(o,a)){if(!o.important&&a.important)continue;if(!kg([a],o.components))continue;if(!Fg(r.isFunction,a)&&Vg(o,r))continue;if(!yg(o)){a.unused=!0;continue}s=bg(o,a),i=xg[a.name].canOverride||Tg,gg(i.bind(null,r),a,s)&&(a.unused=!0)}else if(o.shorthand&&wg(o,a)){if(!o.important&&a.important)continue;if(!kg([a],o.components))continue;if(!Fg(r.isFunction,a)&&Vg(o,r))continue;for(d=(l=a.shorthand?a.components:[a]).length-1;d>=0;d--)if(u=l[d],c=bg(o,u),i=xg[u.name].canOverride||Tg,!gg(i.bind(null,r),a,c))continue t;a.unused=!0}else if(t&&a.shorthand&&!o.shorthand&&vg(a,o,!0)){if(o.important&&!a.important)continue;if(!o.important&&a.important){o.unused=!0;continue}if(Dg(e,p-1,a.name))continue;if(Vg(a,r))continue;if(!yg(a))continue;if(mg(a)||mg(o))continue;if(s=bg(a,o),gg(i.bind(null,r),s,o)){var m=!n.properties.backgroundClipMerging&&s.name.indexOf("background-clip")>-1||!n.properties.backgroundOriginMerging&&s.name.indexOf("background-origin")>-1||!n.properties.backgroundSizeMerging&&s.name.indexOf("background-size")>-1,g=xg[o.name].nonMergeableValue===o.value[0][1];if(m||g)continue;if(!n.properties.merging&&Lg(a,r))continue;if(s.value[0][1]!=o.value[0][1]&&(dg(a)||dg(o)))continue;if(Kg(a,o))continue;!a.multiplex&&o.multiplex&&Bg(a,Ig(o)),Mg(s,o),a.dirty=!0}}else if(t&&a.shorthand&&o.shorthand&&a.name==o.name){if(!a.multiplex&&o.multiplex)continue;if(!o.important&&a.important){o.unused=!0;continue e}if(o.important&&!a.important){a.unused=!0;continue}if(!yg(o)){a.unused=!0;continue}for(d=a.components.length-1;d>=0;d--){var b=a.components[d],v=o.components[d];if(i=xg[b.name].canOverride||Tg,!gg(i.bind(null,r),b,v))continue e}Ug(a,o),a.dirty=!0}else if(t&&a.shorthand&&o.shorthand&&vg(a,o)){if(!a.important&&o.important)continue;if(s=bg(a,o),i=xg[o.name].canOverride||Tg,!gg(i.bind(null,r),s,o))continue;if(a.important&&!o.important){o.unused=!0;continue}if(xg[o.name].restore(o,xg).length>1)continue;Mg(s=bg(a,o),o),o.dirty=!0}else if(a.name==o.name){if(h=!0,o.shorthand)for(d=o.components.length-1;d>=0&&h;d--)u=a.components[d],c=o.components[d],i=xg[c.name].canOverride||Tg,h=gg(i.bind(null,r),u,c);else i=xg[o.name].canOverride||Tg,h=gg(i.bind(null,r),a,o);if(a.important&&!o.important&&h){o.unused=!0;continue}if(!a.important&&o.important&&h){a.unused=!0;continue}if(!h)continue;a.unused=!0}}},$g=ig,Gg=Yg,Hg=Lm,Qg=zm,Zg=fc,Xg=$u,Jg=rc,eb=xh;var tb=function e(t,n,r,i){var o,a,s,l=i.options.level[eb.Two],u=Zg(t,l.skipProperties);for(Hg(u,i.validator,i.warnings),a=0,s=u.length;a<s;a++)(o=u[a]).block&&e(o.value[0][1],n,r,i);r&&l.mergeIntoShorthands&&$g(u,i.validator),n&&l.overrideProperties&&Gg(u,r,i.options.compatibility,i.validator),Jg(u,Qg),Xg(u)},nb=xm,rb=tb,ib=Ll,ob=Vu,ab=xh,sb=Cd,lb=Ad,ub=ic;var cb=function(e,t){for(var n=[null,[],[]],r=t.options,i=r.compatibility.selectors.adjacentSpace,o=r.level[ab.One].selectorsSortingMethod,a=r.compatibility.selectors.mergeablePseudoClasses,s=r.compatibility.selectors.mergeablePseudoElements,l=r.compatibility.selectors.mergeLimit,u=r.compatibility.selectors.multiplePseudoMerging,c=0,h=e.length;c<h;c++){var p=e[c];p[0]==ub.RULE?n[0]==ub.RULE&&lb(p[1])==lb(n[1])?(Array.prototype.push.apply(n[2],p[2]),rb(n[2],!0,!0,t),p[2]=[]):n[0]==ub.RULE&&sb(p[2])==sb(n[2])&&nb(lb(p[1]),a,s,u)&&nb(lb(n[1]),a,s,u)&&n[1].length<l?(n[1]=ob(n[1].concat(p[1]),!1,i,!1,t.warnings),n[1]=n.length>1?ib(n[1],o):n[1],p[2]=[]):n=p:n=[null,[],[]]}},hb=/--.+$/;function pb(e){return e.replace(hb,"")}var fb=function(e,t,n){var r,i,o,a,s,l;for(o=0,a=e.length;o<a;o++)for(r=e[o][1],s=0,l=t.length;s<l;s++){if(r==(i=t[s][1]))return!0;if(n&&pb(r)==pb(i))return!0}return!1},db=wu,mb=".",gb="#",bb=":",vb=/[a-zA-Z]/,yb=":not(",wb=/[\s,(>~+]/;function kb(e,t){return e.indexOf(yb,t)===t}var xb=function(e){var t,n,r,i,o,a,s,l=[0,0,0],u=0,c=!1,h=!1;for(a=0,s=e.length;a<s;a++){if(t=e[a],n);else if(t!=db.SINGLE_QUOTE||i||r)if(t==db.SINGLE_QUOTE&&!i&&r)r=!1;else if(t!=db.DOUBLE_QUOTE||i||r)if(t==db.DOUBLE_QUOTE&&i&&!r)i=!1;else{if(r||i)continue;u>0&&!c||(t==db.OPEN_ROUND_BRACKET?u++:t==db.CLOSE_ROUND_BRACKET&&1==u?(u--,c=!1):t==db.CLOSE_ROUND_BRACKET?u--:t==gb?l[0]++:t==mb||t==db.OPEN_SQUARE_BRACKET?l[1]++:t!=bb||h||kb(e,a)?t==bb?c=!0:(0===a||o)&&vb.test(t)&&l[2]++:(l[1]++,c=!1))}else i=!0;else r=!0;h=t==bb,o=!(n=t==db.BACK_SLASH)&&wb.test(t)}return l},Ob=xb;function _b(e,t){var n;return e in t||(t[e]=n=Ob(e)),n||t[e]}var Sb=function(e,t,n){var r,i,o,a,s,l;for(o=0,a=e.length;o<a;o++)for(r=_b(e[o][1],n),s=0,l=t.length;s<l;s++)if(i=_b(t[s][1],n),r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2])return!0;return!1},Cb=fb,Eb=Sb,Ab=/align-items|box-align|box-pack|flex|justify/,Rb=/^border-(top|right|bottom|left|color|style|width|radius)/;function Tb(e,t,n){var r,i,o=e[0],a=e[1],s=e[2],l=e[5],u=e[6],c=t[0],h=t[1],p=t[2],f=t[5],d=t[6];return!("font"==o&&"line-height"==c||"font"==c&&"line-height"==o)&&((!Ab.test(o)||!Ab.test(c))&&(!(s==p&&Pb(o)==Pb(c)&&Lb(o)^Lb(c))&&(("border"!=s||!Rb.test(p)||!("border"==o||o==p||a!=h&&zb(o,c)))&&(("border"!=p||!Rb.test(s)||!("border"==c||c==s||a!=h&&zb(o,c)))&&(("border"!=s||"border"!=p||o==c||!(Mb(o)&&Ub(c)||Ub(o)&&Mb(c)))&&(s!=p||(!(o!=c||s!=p||a!=h&&(r=a,i=h,!Lb(r)||!Lb(i)||r.split("-")[1]==i.split("-")[2]))||(o!=c&&s==p&&o!=s&&c!=p||(o!=c&&s==p&&a==h||(!(!d||!u||Bb(s)||Bb(p)||Cb(f,l,!1))||!Eb(l,f,n)))))))))))}function Lb(e){return/^-(?:moz|webkit|ms|o)-/.test(e)}function Pb(e){return e.replace(/^-(?:moz|webkit|ms|o)-/,"")}function zb(e,t){return e.split("-").pop()==t.split("-").pop()}function Mb(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function Ub(e){return"border-color"==e||"border-style"==e||"border-width"==e}function Bb(e){return"font"==e||"line-height"==e||"list-style"==e}var Nb=function(e,t,n){for(var r=t.length-1;r>=0;r--)for(var i=e.length-1;i>=0;i--)if(!Tb(e[i],t[r],n))return!1;return!0},Ib=ic,jb=Ad,Db=Rd;function Vb(e){return"list-style"==e?e:e.indexOf("-radius")>0?"border-radius":"border-collapse"==e||"border-spacing"==e||"border-image"==e?e:0===e.indexOf("border-")&&/^border-\w+-\w+$/.test(e)?e.match(/border-\w+/)[0]:0===e.indexOf("border-")&&/^border-\w+$/.test(e)?"border":0===e.indexOf("text-")||"-chrome-"==e?e:e.replace(/^-\w+-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var Fb=function e(t){var n,r,i,o,a,s,l=[];if(t[0]==Ib.RULE)for(n=!/[.+>~]/.test(jb(t[1])),a=0,s=t[2].length;a<s;a++)(r=t[2][a])[0]==Ib.PROPERTY&&0!==(i=r[1][1]).length&&(o=Db(r,a),l.push([i,o,Vb(i),t[2][a],i+":"+o,t[1],n]));else if(t[0]==Ib.NESTED_BLOCK)for(a=0,s=t[2].length;a<s;a++)l=l.concat(e(t[2][a]));return l},Kb=Nb,qb=Tb,Wb=Fb,Yb=fb,$b=Ad,Gb=xh,Hb=ic;function Qb(e,t,n){var r,i,o,a,s,l,u,c;for(s=0,l=e.length;s<l;s++)for(i=(r=e[s])[5],u=0,c=t.length;u<c;u++)if(a=(o=t[u])[5],Yb(i,a,!0)&&!qb(r,o,n))return!1;return!0}var Zb=function(e,t){for(var n=t.options.level[Gb.Two].mergeSemantically,r=t.cache.specificity,i={},o=[],a=e.length-1;a>=0;a--){var s=e[a];if(s[0]==Hb.NESTED_BLOCK){var l=$b(s[1]),u=i[l];u||(u=[],i[l]=u),u.push(a)}}for(var c in i){var h=i[c];e:for(var p=h.length-1;p>0;p--){var f=h[p],d=e[f],m=h[p-1],g=e[m];t:for(var b=1;b>=-1;b-=2){for(var v=1==b,y=v?f+1:m-1,w=v?m:f,k=v?1:-1,x=v?d:g,O=v?g:d,_=Wb(x);y!=w;){var S=Wb(e[y]);if(y+=k,!(n&&Qb(_,S,r)||Kb(_,S,r)))continue t}O[2]=v?x[2].concat(O[2]):O[2].concat(x[2]),x[2]=[],o.push(O);continue e}}}return o},Xb=xm,Jb=Ll,ev=Vu,tv=xh,nv=Cd,rv=Ad,iv=ic;function ov(e){return/\.|\*| :/.test(e)}function av(e){var t=rv(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function sv(e){return e.replace(/--[^ ,>+~:]+/g,"")}function lv(e,t){var n=sv(rv(e[1]));for(var r in t){var i=t[r],o=sv(rv(i[1]));(o.indexOf(n)>-1||n.indexOf(o)>-1)&&delete t[r]}}var uv=function(e,t){for(var n=t.options,r=n.level[tv.Two].mergeSemantically,i=n.compatibility.selectors.adjacentSpace,o=n.level[tv.One].selectorsSortingMethod,a=n.compatibility.selectors.mergeablePseudoClasses,s=n.compatibility.selectors.mergeablePseudoElements,l=n.compatibility.selectors.multiplePseudoMerging,u={},c=e.length-1;c>=0;c--){var h=e[c];if(h[0]==iv.RULE){h[2].length>0&&!r&&ov(rv(h[1]))&&(u={}),h[2].length>0&&r&&av(h)&&lv(h,u);var p=nv(h[2]),f=u[p];f&&Xb(rv(h[1]),a,s,l)&&Xb(rv(f[1]),a,s,l)&&(h[2].length>0?(h[1]=ev(f[1].concat(h[1]),!1,i,!1,t.warnings),h[1]=h[1].length>1?Jb(h[1],o):h[1]):h[1]=f[1].concat(h[1]),f[2]=[],u[p]=null),u[nv(h[2])]=h}}},cv=Nb,hv=Fb,pv=tb,fv=Ad,dv=ic;var mv=function(e,t){var n,r=t.cache.specificity,i={},o=[];for(n=e.length-1;n>=0;n--)if(e[n][0]==dv.RULE&&0!==e[n][2].length){var a=fv(e[n][1]);i[a]=[n].concat(i[a]||[]),2==i[a].length&&o.push(a)}for(n=o.length-1;n>=0;n--){var s=i[o[n]];e:for(var l=s.length-1;l>0;l--){var u=s[l-1],c=e[u],h=s[l],p=e[h];t:for(var f=1;f>=-1;f-=2){for(var d=1==f,m=d?u+1:h-1,g=d?h:u,b=d?1:-1,v=d?c:p,y=d?p:c,w=hv(v);m!=g;){var k=hv(e[m]);m+=b;var x=d?cv(w,k,r):cv(k,w,r);if(!x&&!d)continue e;if(!x&&d)continue t}d?(Array.prototype.push.apply(v[2],y[2]),y[2]=v[2]):Array.prototype.push.apply(y[2],v[2]),pv(y[2],!0,!0,t),v[2]=[]}}}};var gv=function e(t){for(var n=t.slice(0),r=0,i=n.length;r<i;r++)Array.isArray(n[r])&&(n[r]=e(n[r]));return n},bv=xm,vv=tb,yv=gv,wv=ic,kv=Cd,xv=Ad;function Ov(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function _v(e,t,n,r,i){for(var o=[],a=[],s=[],l=t.length-1;l>=0;l--)if(!n.filterOut(l,o)){var u=t[l].where,c=e[u],h=yv(c[2]);o=o.concat(h),a.push(h),s.push(u)}vv(o,!0,!1,i);for(var p=s.length,f=o.length-1,d=p-1;d>=0;)if((0===d||o[f]&&a[d].indexOf(o[f])>-1)&&f>-1)f--;else{var m=o.splice(f+1);n.callback(e[s[d]],m,p,d),d--}}var Sv=function(e,t){for(var n=t.options,r=n.compatibility.selectors.mergeablePseudoClasses,i=n.compatibility.selectors.mergeablePseudoElements,o=n.compatibility.selectors.multiplePseudoMerging,a={},s=[],l=e.length-1;l>=0;l--){var u=e[l];if(u[0]==wv.RULE&&0!==u[2].length)for(var c=xv(u[1]),h=u[1].length>1&&bv(c,r,i,o),p=Ov(u[1]),f=h?[c].concat(p):[c],d=0,m=f.length;d<m;d++){var g=f[d];a[g]?s.push(g):a[g]=[],a[g].push({where:l,list:p,isPartial:h&&d>0,isComplex:h&&0===d})}}!function(e,t,n,r,i){function o(e,t){return u[e].isPartial&&0===t.length}function a(e,t,n,r){u[n-r-1].isPartial||(e[2]=t)}for(var s=0,l=t.length;s<l;s++){var u=n[t[s]];_v(e,u,{filterOut:o,callback:a},r,i)}}(e,s,a,n,t),function(e,t,n,r){var i=n.compatibility.selectors.mergeablePseudoClasses,o=n.compatibility.selectors.mergeablePseudoElements,a=n.compatibility.selectors.multiplePseudoMerging,s={};function l(e){return s.data[e].where<s.intoPosition}function u(e,t,n,r){0===r&&s.reducedBodies.push(t)}e:for(var c in t){var h=t[c];if(h[0].isComplex){var p=h[h.length-1].where,f=e[p],d=[],m=bv(c,i,o,a)?h[0].list:[c];s.intoPosition=p,s.reducedBodies=d;for(var g=0,b=m.length;g<b;g++){var v=t[m[g]];if(v.length<2)continue e;if(s.data=v,_v(e,v,{filterOut:l,callback:u},n,r),kv(d[d.length-1])!=kv(d[0]))continue e}f[2]=d[0]}}}(e,a,n,t)},Cv=ic,Ev=Sd;var Av=function(e){var t,n,r,i,o=[];for(r=0,i=e.length;r<i;r++)(t=e[r])[0]!=Cv.AT_RULE_BLOCK&&"@font-face"!=t[1][0][1]||(n=Ev([t]),o.indexOf(n)>-1?t[2]=[]:o.push(n))},Rv=ic,Tv=Sd,Lv=Ad;var Pv=function(e){var t,n,r,i,o,a={};for(i=0,o=e.length;i<o;i++)(n=e[i])[0]==Rv.NESTED_BLOCK&&((t=a[r=Lv(n[1])+"%"+Tv(n[2])])&&(t[2]=[]),a[r]=n)},zv=ic,Mv=Cd,Uv=Ad;var Bv=function(e){for(var t,n,r,i,o={},a=[],s=0,l=e.length;s<l;s++)(n=e[s])[0]==zv.RULE&&(o[t=Uv(n[1])]&&1==o[t].length?a.push(t):o[t]=o[t]||[],o[t].push(s));for(s=0,l=a.length;s<l;s++){i=[];for(var u=o[t=a[s]].length-1;u>=0;u--)n=e[o[t][u]],r=Mv(n[2]),i.indexOf(r)>-1?n[2]=[]:i.push(r)}},Nv=Lm,Iv=dc,jv=rc,Dv=ic,Vv=/^(-moz-|-o-|-webkit-)?animation-name$/,Fv=/^(-moz-|-o-|-webkit-)?animation$/,Kv=/^@(-moz-|-o-|-webkit-)?keyframes /,qv=/\s{0,31}!important$/,Wv=/^(['"]?)(.*)\1$/;function Yv(e){return e.replace(Wv,"$2").replace(qv,"")}function $v(e,t,n,r){var i,o,a,s,l,u={};for(s=0,l=e.length;s<l;s++)t(e[s],u);if(0!==Object.keys(u).length)for(i in Gv(e,n,u,r),u)for(s=0,l=(o=u[i]).length;s<l;s++)(a=o[s])[a[0]==Dv.AT_RULE?1:2]=[]}function Gv(e,t,n,r){var i,o,a=t(n);for(i=0,o=e.length;i<o;i++)switch(e[i][0]){case Dv.RULE:a(e[i],r);break;case Dv.NESTED_BLOCK:Gv(e[i][2],t,n,r)}}function Hv(e,t){var n;e[0]==Dv.AT_RULE_BLOCK&&0===e[1][0][1].indexOf("@counter-style")&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function Qv(e){return function(t,n){var r,i,o,a;for(o=0,a=t[2].length;o<a;o++)"list-style"==(r=t[2][o])[1][1]&&(i=Iv(r),Nv([i],n.validator,n.warnings),i.components[0].value[0][1]in e&&delete e[r[2][1]],jv([i])),"list-style-type"==r[1][1]&&r[2][1]in e&&delete e[r[2][1]]}}function Zv(e,t){var n,r,i,o;if(e[0]==Dv.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(i=0,o=e[2].length;i<o;i++)if("font-family"==(n=e[2][i])[1][1]){t[r=Yv(n[2][1].toLowerCase())]=t[r]||[],t[r].push(e);break}}function Xv(e){return function(t,n){var r,i,o,a,s,l,u,c;for(s=0,l=t[2].length;s<l;s++){if("font"==(r=t[2][s])[1][1]){for(i=Iv(r),Nv([i],n.validator,n.warnings),u=0,c=(o=i.components[6]).value.length;u<c;u++)(a=Yv(o.value[u][1].toLowerCase()))in e&&delete e[a];jv([i])}if("font-family"==r[1][1])for(u=2,c=r.length;u<c;u++)(a=Yv(r[u][1].toLowerCase()))in e&&delete e[a]}}}function Jv(e,t){var n;e[0]==Dv.NESTED_BLOCK&&Kv.test(e[1][0][1])&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function ey(e){return function(t,n){var r,i,o,a,s,l,u;for(a=0,s=t[2].length;a<s;a++){if(r=t[2][a],Fv.test(r[1][1])){for(i=Iv(r),Nv([i],n.validator,n.warnings),l=0,u=(o=i.components[7]).value.length;l<u;l++)o.value[l][1]in e&&delete e[o.value[l][1]];jv([i])}if(Vv.test(r[1][1]))for(l=2,u=r.length;l<u;l++)r[l][1]in e&&delete e[r[l][1]]}}}function ty(e,t){var n;e[0]==Dv.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[n=e[1].split(" ")[1]]=t[n]||[],t[n].push(e))}function ny(e){var t=new RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,i,o,a,s,l;for(o=0,a=n[1].length;o<a;o++)for(s=0,l=(r=n[1][o][1].match(t)).length;s<l;s++)(i=r[s].substring(0,r[s].length-1))in e&&delete e[i]}}var ry=function(e,t){$v(e,Hv,Qv,t),$v(e,Zv,Xv,t),$v(e,Jv,ey,t),$v(e,ty,ny,t)};function iy(e,t){return e[1]>t[1]?1:-1}var oy=function(e){for(var t=[],n=[],r=0,i=e.length;r<i;r++){var o=e[r];-1==n.indexOf(o[1])&&(n.push(o[1]),t.push(o))}return t.sort(iy)},ay=Tb,sy=Fb,ly=xm,uy=oy,cy=ic,hy=gv,py=Cd,fy=Ad;function dy(e,t){return e>t?1:-1}var my=function(e,t){var n,r,i,o=t.options,a=o.compatibility.selectors.mergeablePseudoClasses,s=o.compatibility.selectors.mergeablePseudoElements,l=o.compatibility.selectors.mergeLimit,u=o.compatibility.selectors.multiplePseudoMerging,c=t.cache.specificity,h={},p=[],f={},d=[],m=2,g="%";function b(e,t){var n=function(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(fy(e[n][1]));return t.join(g)}(t);return f[n]=f[n]||[],f[n].push([e,t]),n}function v(e){var t,n=e.split(g),r=[];for(var i in f){var o=i.split(g);for(t=o.length-1;t>=0;t--)if(n.indexOf(o[t])>-1){r.push(i);break}}for(t=r.length-1;t>=0;t--)delete f[r[t]]}function y(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)ly(fy(e[r][1]),a,s,u)&&(n.unshift(e[r]),e[r][2].length>0&&-1==t.indexOf(e[r])&&t.push(e[r]));return t.length>1?n:[]}function w(e,t){var n=t[0],r=t[1],i=t[4],o=n.length+r.length+1,a=[],s=[],l=y(h[i]);if(!(l.length<2)){var u=x(l,o,1),c=u[0];if(c[1]>0)return function(e,t,n){for(var r=n.length-1;r>=0;r--){var i=b(t,n[r][0]);if(f[i].length>1&&E(e,f[i])){v(i);break}}}(e,t,u);for(var p=c[0].length-1;p>=0;p--)a=c[0][p][1].concat(a),s.unshift(c[0][p]);S(e,[t],a=uy(a),s)}}function k(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function x(e,t,n){return O(e,t,n,m-1).sort(k)}function O(e,t,n,r){var i=[[e,_(e,t,n)]];if(e.length>2&&r>0)for(var o=e.length-1;o>=0;o--){var a=Array.prototype.slice.call(e,0);a.splice(o,1),i=i.concat(O(a,t,n,r-1))}return i}function _(e,t,n){for(var r=0,i=e.length-1;i>=0;i--)r+=e[i][2].length>n?fy(e[i][1]).length:-1;return r-(e.length-1)*t+1}function S(t,n,r,i){var o,a,s,l,u=[];for(o=i.length-1;o>=0;o--){var c=i[o];for(a=c[2].length-1;a>=0;a--){var h=c[2][a];for(s=0,l=n.length;s<l;s++){var p=n[s],f=h[1][1],d=p[0],m=p[4];if(f==d&&py([h])==m){c[2].splice(a,1);break}}}}for(o=n.length-1;o>=0;o--)u.unshift(n[o][3]);var g=[cy.RULE,r,u];e.splice(t,0,g)}function C(e,t){var n=t[4],r=h[n];r&&r.length>1&&(function(e,t){var n,r,i=[],o=[],a=t[4],s=y(h[a]);if(s.length<2)return;e:for(var l in h){var u=h[l];for(n=s.length-1;n>=0;n--)if(-1==u.indexOf(s[n]))continue e;i.push(l)}if(i.length<2)return!1;for(n=i.length-1;n>=0;n--)for(r=p.length-1;r>=0;r--)if(p[r][4]==i[n]){o.unshift([p[r],s]);break}return E(e,o)}(e,t)||w(e,t))}function E(e,t){for(var n,r=0,i=[],o=t.length-1;o>=0;o--){r+=(n=t[o][0])[4].length+(o>0?1:0),i.push(n)}var a=x(t[0][1],r,i.length)[0];if(a[1]>0)return!1;var s=[],l=[];for(o=a[0].length-1;o>=0;o--)s=a[0][o][1].concat(s),l.unshift(a[0][o]);for(S(e,i,s=uy(s),l),o=i.length-1;o>=0;o--){n=i[o];var u=p.indexOf(n);delete h[n[4]],u>-1&&-1==d.indexOf(u)&&d.push(u)}return!0}function A(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],i=h[r];return i&&i.indexOf(n)>-1}for(var R=e.length-1;R>=0;R--){var T,L,P,z,M,U=e[R];if(U[0]==cy.RULE)T=!0;else{if(U[0]!=cy.NESTED_BLOCK)continue;T=!1}var B=p.length,N=sy(U);d=[];var I=[];for(L=N.length-1;L>=0;L--)for(P=L-1;P>=0;P--)if(!ay(N[L],N[P],c)){I.push(L);break}for(L=N.length-1;L>=0;L--){var j=N[L],D=!1;for(P=0;P<B;P++){var V=p[P];-1==d.indexOf(P)&&(!ay(j,V,c)&&!A(j,V,U)||h[V[4]]&&h[V[4]].length===l)&&(C(R+1,V),-1==d.indexOf(P)&&(d.push(P),delete h[V[4]])),D||(D=j[0]==V[0]&&j[1]==V[1])&&(M=P)}if(T&&!(I.indexOf(L)>-1)){var F=j[4];D&&p[M][5].length+j[5].length>l?(C(R+1,p[M]),p.splice(M,1),h[F]=[U],D=!1):(h[F]=h[F]||[],h[F].push(U)),D?p[M]=(n=p[M],r=j,i=void 0,(i=hy(n))[5]=i[5].concat(r[5]),i):p.push(j)}}for(L=0,z=(d=d.sort(dy)).length;L<z;L++){var K=d[L]-L;p.splice(K,1)}}for(var q=e[0]&&e[0][0]==cy.AT_RULE&&0===e[0][1].indexOf("@charset")?1:0;q<e.length-1;q++){var W=e[q][0]===cy.AT_RULE&&0===e[q][1].indexOf("@import"),Y=e[q][0]===cy.COMMENT;if(!W&&!Y)break}for(R=0;R<p.length;R++)C(q,p[R])},gy=cb,by=Zb,vy=uv,yy=mv,wy=Sv,ky=Av,xy=Pv,Oy=Bv,_y=ry,Sy=my,Cy=tb,Ey=xh,Ay=ic;function Ry(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=!1;switch(r[0]){case Ay.RULE:i=0===r[1].length||0===r[2].length;break;case Ay.NESTED_BLOCK:Ry(r[2]),i=0===r[2].length;break;case Ay.AT_RULE:i=0===r[1].length;break;case Ay.AT_RULE_BLOCK:i=0===r[2].length}i&&(e.splice(t,1),t--,n--)}}function Ty(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];switch(i[0]){case Ay.RULE:Cy(i[2],!0,!0,t);break;case Ay.NESTED_BLOCK:Ty(i[2],t)}}}function Ly(e,t,n){var r,i,o=t.options.level[Ey.Two],a=t.options.plugins.level2Block;if(function(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i[0]==Ay.NESTED_BLOCK){var o=/@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]);Ly(i[2],t,!o)}}}(e,t),Ty(e,t),o.removeDuplicateRules&&Oy(e),o.mergeAdjacentRules&&gy(e,t),o.reduceNonAdjacentRules&&wy(e,t),o.mergeNonAdjacentRules&&"body"!=o.mergeNonAdjacentRules&&yy(e,t),o.mergeNonAdjacentRules&&"selector"!=o.mergeNonAdjacentRules&&vy(e,t),o.restructureRules&&o.mergeAdjacentRules&&n&&(Sy(e,t),gy(e,t)),o.restructureRules&&!o.mergeAdjacentRules&&n&&Sy(e,t),o.removeDuplicateFontRules&&ky(e),o.removeDuplicateMediaBlocks&&xy(e),o.removeUnusedAtRules&&_y(e,t),o.mergeMedia)for(i=(r=by(e,t)).length-1;i>=0;i--)Ly(r[i][2],t,!1);for(i=0;i<a.length;i++)a[i](e);return o.removeEmpty&&Ry(e),e}var Py=Ly,zy="var\\(\\-\\-[^\\)]+\\)",My="("+zy+"|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))",Uy=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),By=/[0-9]/,Ny=new RegExp("^"+My+"$","i"),Iy=/^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i,jy=/^hsl\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\.?\d+\s{0,31}\)$/,Dy=/^hsl\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{1,31}\/\s{1,31}\d*\.?\d+%?\s{0,31}\)$/,Vy=/^(-[a-z0-9_][a-z0-9\-_]*|[a-z_][a-z0-9\-_]*)$/i,Fy=/^[a-z]+$/i,Ky=/^-([a-z0-9]|-)*$/i,qy=/^("[^"]*"|'[^']*')$/i,Wy=/^rgb\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[.\d]+\s{0,31}\)$/i,Yy=/^rgb\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}\/\s{1,31}[\d]*\.?[.\d]+%?\s{0,31}\)$/i,$y=/\d+(s|ms)/,Gy=/^(cubic-bezier|steps)\([^)]+\)$/,Hy=["ms","s"],Qy=/^url\([\s\S]+\)$/i,Zy=new RegExp("^"+zy+"$","i"),Xy=/^#[0-9a-f]{8}$/i,Jy=/^#[0-9a-f]{4}$/i,ew=/^#[0-9a-f]{6}$/i,tw=/^#[0-9a-f]{3}$/i,nw=".",rw="-",iw="+",ow={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"*-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},aw=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];function sw(e){return"auto"!=e&&(gw("color")(e)||function(e){return tw.test(e)||Jy.test(e)||ew.test(e)||Xy.test(e)}(e)||lw(e)||function(e){return Fy.test(e)}(e))}function lw(e){return vw(e)||hw(e)}function uw(e){return Uy.test(e)}function cw(e){return Ny.test(e)}function hw(e){return jy.test(e)||Dy.test(e)}function pw(e){return Iy.test(e)}function fw(e){return Vy.test(e)}function dw(e){return qy.test(e)}function mw(e){return"none"==e||"inherit"==e||_w(e)}function gw(e){return function(t){return ow[e].indexOf(t)>-1}}function bw(e){return Cw(e)==e.length}function vw(e){return Wy.test(e)||Yy.test(e)}function yw(e){return Ky.test(e)}function ww(e){return bw(e)&&parseFloat(e)>=0}function kw(e){return Zy.test(e)}function xw(e){var t=Cw(e);return t==e.length&&0===parseInt(e)||t>-1&&Hy.indexOf(e.slice(t+1))>-1||function(e){return cw(e)&&$y.test(e)}(e)}function Ow(e,t){var n=Cw(t);return n==t.length&&0===parseInt(t)||n>-1&&e.indexOf(t.slice(n+1).toLowerCase())>-1||"auto"==t||"inherit"==t}function _w(e){return Qy.test(e)}function Sw(e){return"auto"==e||bw(e)||gw("^")(e)}function Cw(e){var t,n,r,i=!1,o=!1;for(n=0,r=e.length;n<r;n++)if(t=e[n],0!==n||t!=iw&&t!=rw){if(n>0&&o&&(t==iw||t==rw))return n-1;if(t!=nw||i){if(t==nw&&i)return n-1;if(By.test(t))continue;return n-1}i=!0}else o=!0;return n}var Ew=function(e){var t,n=aw.slice(0).filter((function(t){return!(t in e.units)||!0===e.units[t]}));return e.customUnits.rpx&&n.push("rpx"),{colorOpacity:e.colors.opacity,colorHexAlpha:e.colors.hexAlpha,isAnimationDirectionKeyword:gw("animation-direction"),isAnimationFillModeKeyword:gw("animation-fill-mode"),isAnimationIterationCountKeyword:gw("animation-iteration-count"),isAnimationNameKeyword:gw("animation-name"),isAnimationPlayStateKeyword:gw("animation-play-state"),isTimingFunction:(t=gw("*-timing-function"),function(e){return t(e)||Gy.test(e)}),isBackgroundAttachmentKeyword:gw("background-attachment"),isBackgroundClipKeyword:gw("background-clip"),isBackgroundOriginKeyword:gw("background-origin"),isBackgroundPositionKeyword:gw("background-position"),isBackgroundRepeatKeyword:gw("background-repeat"),isBackgroundSizeKeyword:gw("background-size"),isColor:sw,isColorFunction:lw,isDynamicUnit:uw,isFontKeyword:gw("font"),isFontSizeKeyword:gw("font-size"),isFontStretchKeyword:gw("font-stretch"),isFontStyleKeyword:gw("font-style"),isFontVariantKeyword:gw("font-variant"),isFontWeightKeyword:gw("font-weight"),isFunction:cw,isGlobal:gw("^"),isHexAlphaColor:pw,isHslColor:hw,isIdentifier:fw,isImage:mw,isKeyword:gw,isLineHeightKeyword:gw("line-height"),isListStylePositionKeyword:gw("list-style-position"),isListStyleTypeKeyword:gw("list-style-type"),isNumber:bw,isPrefixed:yw,isPositiveNumber:ww,isQuotedText:dw,isRgbColor:vw,isStyleKeyword:gw("*-style"),isTime:xw,isUnit:Ow.bind(null,n),isUrl:_w,isVariable:kw,isWidth:gw("width"),isZIndex:Sw}},Aw={"*":{colors:{hexAlpha:!1,opacity:!0},customUnits:{rpx:!1},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!0,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:[":active",":after",":before",":empty",":checked",":disabled",":empty",":enabled",":first-child",":first-letter",":first-line",":first-of-type",":focus",":hover",":lang",":last-child",":last-of-type",":link",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type",":only-child",":only-of-type",":root",":target",":visited"],mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};function Rw(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];Object.prototype.hasOwnProperty.call(t,n)&&"object"==typeof r&&!Array.isArray(r)?t[n]=Rw(r,t[n]||{}):t[n]=n in t?t[n]:r}return t}Aw.ie11=Rw(Aw["*"],{properties:{ieSuffixHack:!0}}),Aw.ie10=Rw(Aw["*"],{properties:{ieSuffixHack:!0}}),Aw.ie9=Rw(Aw["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),Aw.ie8=Rw(Aw.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),Aw.ie7=Rw(Aw.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}});var Tw=function(e){return Rw(Aw["*"],function(e){if("object"==typeof e)return e;if(!/[,+-]/.test(e))return Aw[e]||Aw["*"];var t=e.split(","),n=t[0]in Aw?Aw[t.shift()]:Aw["*"];return e={},t.forEach((function(t){var n="+"==t[0],r=t.substring(1).split("."),i=r[0],o=r[1];e[i]=e[i]||{},e[i][o]=n})),Rw(n,e)}(e))},Lw=[],Pw=[],zw="undefined"!=typeof Uint8Array?Uint8Array:Array,Mw=!1;function Uw(){Mw=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Lw[t]=e[t],Pw[e.charCodeAt(t)]=t;Pw["-".charCodeAt(0)]=62,Pw["_".charCodeAt(0)]=63}function Bw(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Lw[(i=r)>>18&63]+Lw[i>>12&63]+Lw[i>>6&63]+Lw[63&i]);return o.join("")}function Nw(e){var t;Mw||Uw();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(Bw(e,s,s+a>l?l:s+a));return 1===r?(t=e[n-1],i+=Lw[t>>2],i+=Lw[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Lw[t>>10],i+=Lw[t>>4&63],i+=Lw[t<<2&63],i+="="),o.push(i),o.join("")}function Iw(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?i-1:0,p=n?-1:1,f=e[t+h];for(h+=p,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+h],h+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)}function jw(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+f]=255&a,f+=d,a/=256,u-=8);e[n+f-d]|=128*m}var Dw={}.toString,Vw=Array.isArray||function(e){return"[object Array]"==Dw.call(e)};function Fw(){return qw.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Kw(e,t){if(Fw()<t)throw new RangeError("Invalid typed array length");return qw.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=qw.prototype:(null===e&&(e=new qw(t)),e.length=t),e}function qw(e,t,n){if(!(qw.TYPED_ARRAY_SUPPORT||this instanceof qw))return new qw(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return $w(this,e)}return Ww(this,e,t,n)}function Ww(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);qw.TYPED_ARRAY_SUPPORT?(e=t).__proto__=qw.prototype:e=Gw(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!qw.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Zw(t,n);e=Kw(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(Qw(t)){var n=0|Hw(t.length);return 0===(e=Kw(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Kw(e,0):Gw(e,t);if("Buffer"===t.type&&Vw(t.data))return Gw(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Yw(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function $w(e,t){if(Yw(t),e=Kw(e,t<0?0:0|Hw(t)),!qw.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function Gw(e,t){var n=t.length<0?0:0|Hw(t.length);e=Kw(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Hw(e){if(e>=Fw())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Fw().toString(16)+" bytes");return 0|e}function Qw(e){return!(null==e||!e._isBuffer)}function Zw(e,t){if(Qw(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return _k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Sk(e).length;default:if(r)return _k(e).length;t=(""+t).toLowerCase(),r=!0}}function Xw(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return fk(this,t,n);case"utf8":case"utf-8":return uk(this,t,n);case"ascii":return hk(this,t,n);case"latin1":case"binary":return pk(this,t,n);case"base64":return lk(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dk(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Jw(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ek(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=qw.from(t,r)),Qw(t))return 0===t.length?-1:tk(e,t,n,r,i);if("number"==typeof t)return t&=255,qw.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):tk(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function tk(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,p=0;p<l;p++)if(u(e,o+p)!==u(t,p)){h=!1;break}if(h)return o}return-1}function nk(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function rk(e,t,n,r){return Ck(_k(t,e.length-n),e,n,r)}function ik(e,t,n,r){return Ck(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function ok(e,t,n,r){return ik(e,t,n,r)}function ak(e,t,n,r){return Ck(Sk(t),e,n,r)}function sk(e,t,n,r){return Ck(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function lk(e,t,n){return 0===t&&n===e.length?Nw(e):Nw(e.slice(t,n))}function uk(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=ck)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ck));return n}(r)}qw.TYPED_ARRAY_SUPPORT=void 0===Zs.TYPED_ARRAY_SUPPORT||Zs.TYPED_ARRAY_SUPPORT,Fw(),qw.poolSize=8192,qw._augment=function(e){return e.__proto__=qw.prototype,e},qw.from=function(e,t,n){return Ww(null,e,t,n)},qw.TYPED_ARRAY_SUPPORT&&(qw.prototype.__proto__=Uint8Array.prototype,qw.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&qw[Symbol.species]),qw.alloc=function(e,t,n){return function(e,t,n,r){return Yw(t),t<=0?Kw(e,t):void 0!==n?"string"==typeof r?Kw(e,t).fill(n,r):Kw(e,t).fill(n):Kw(e,t)}(null,e,t,n)},qw.allocUnsafe=function(e){return $w(null,e)},qw.allocUnsafeSlow=function(e){return $w(null,e)},qw.isBuffer=Ek,qw.compare=function(e,t){if(!Qw(e)||!Qw(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},qw.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},qw.concat=function(e,t){if(!Vw(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return qw.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=qw.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!Qw(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},qw.byteLength=Zw,qw.prototype._isBuffer=!0,qw.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Jw(this,t,t+1);return this},qw.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Jw(this,t,t+3),Jw(this,t+1,t+2);return this},qw.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Jw(this,t,t+7),Jw(this,t+1,t+6),Jw(this,t+2,t+5),Jw(this,t+3,t+4);return this},qw.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?uk(this,0,e):Xw.apply(this,arguments)},qw.prototype.equals=function(e){if(!Qw(e))throw new TypeError("Argument must be a Buffer");return this===e||0===qw.compare(this,e)},qw.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},qw.prototype.compare=function(e,t,n,r,i){if(!Qw(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;c<s;++c)if(l[c]!==u[c]){o=l[c],a=u[c];break}return o<a?-1:a<o?1:0},qw.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},qw.prototype.indexOf=function(e,t,n){return ek(this,e,t,n,!0)},qw.prototype.lastIndexOf=function(e,t,n){return ek(this,e,t,n,!1)},qw.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return nk(this,e,t,n);case"utf8":case"utf-8":return rk(this,e,t,n);case"ascii":return ik(this,e,t,n);case"latin1":case"binary":return ok(this,e,t,n);case"base64":return ak(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return sk(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},qw.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ck=4096;function hk(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function pk(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function fk(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=Ok(e[o]);return i}function dk(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function mk(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function gk(e,t,n,r,i,o){if(!Qw(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function bk(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function vk(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function yk(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function wk(e,t,n,r,i){return i||yk(e,0,n,4),jw(e,t,n,r,23,4),n+4}function kk(e,t,n,r,i){return i||yk(e,0,n,8),jw(e,t,n,r,52,8),n+8}qw.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),qw.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=qw.prototype;else{var i=t-e;n=new qw(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},qw.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||mk(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},qw.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||mk(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},qw.prototype.readUInt8=function(e,t){return t||mk(e,1,this.length),this[e]},qw.prototype.readUInt16LE=function(e,t){return t||mk(e,2,this.length),this[e]|this[e+1]<<8},qw.prototype.readUInt16BE=function(e,t){return t||mk(e,2,this.length),this[e]<<8|this[e+1]},qw.prototype.readUInt32LE=function(e,t){return t||mk(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},qw.prototype.readUInt32BE=function(e,t){return t||mk(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},qw.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||mk(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},qw.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||mk(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},qw.prototype.readInt8=function(e,t){return t||mk(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},qw.prototype.readInt16LE=function(e,t){t||mk(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},qw.prototype.readInt16BE=function(e,t){t||mk(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},qw.prototype.readInt32LE=function(e,t){return t||mk(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},qw.prototype.readInt32BE=function(e,t){return t||mk(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},qw.prototype.readFloatLE=function(e,t){return t||mk(e,4,this.length),Iw(this,e,!0,23,4)},qw.prototype.readFloatBE=function(e,t){return t||mk(e,4,this.length),Iw(this,e,!1,23,4)},qw.prototype.readDoubleLE=function(e,t){return t||mk(e,8,this.length),Iw(this,e,!0,52,8)},qw.prototype.readDoubleBE=function(e,t){return t||mk(e,8,this.length),Iw(this,e,!1,52,8)},qw.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||gk(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},qw.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||gk(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},qw.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,1,255,0),qw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},qw.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,2,65535,0),qw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):bk(this,e,t,!0),t+2},qw.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,2,65535,0),qw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):bk(this,e,t,!1),t+2},qw.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,4,4294967295,0),qw.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):vk(this,e,t,!0),t+4},qw.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,4,4294967295,0),qw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):vk(this,e,t,!1),t+4},qw.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);gk(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},qw.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);gk(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},qw.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,1,127,-128),qw.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},qw.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,2,32767,-32768),qw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):bk(this,e,t,!0),t+2},qw.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,2,32767,-32768),qw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):bk(this,e,t,!1),t+2},qw.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,4,2147483647,-2147483648),qw.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):vk(this,e,t,!0),t+4},qw.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||gk(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),qw.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):vk(this,e,t,!1),t+4},qw.prototype.writeFloatLE=function(e,t,n){return wk(this,e,t,!0,n)},qw.prototype.writeFloatBE=function(e,t,n){return wk(this,e,t,!1,n)},qw.prototype.writeDoubleLE=function(e,t,n){return kk(this,e,t,!0,n)},qw.prototype.writeDoubleBE=function(e,t,n){return kk(this,e,t,!1,n)},qw.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!qw.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},qw.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!qw.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=Qw(e)?e:_k(new qw(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var xk=/[^+\/0-9A-Za-z-_]/g;function Ok(e){return e<16?"0"+e.toString(16):e.toString(16)}function _k(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Sk(e){return function(e){var t,n,r,i,o,a;Mw||Uw();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new zw(3*s/4-o),r=o>0?s-4:s;var l=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Pw[e.charCodeAt(t)]<<18|Pw[e.charCodeAt(t+1)]<<12|Pw[e.charCodeAt(t+2)]<<6|Pw[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===o?(i=Pw[e.charCodeAt(t)]<<2|Pw[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===o&&(i=Pw[e.charCodeAt(t)]<<10|Pw[e.charCodeAt(t+1)]<<4|Pw[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(xk,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Ck(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Ek(e){return null!=e&&(!!e._isBuffer||Ak(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Ak(e.slice(0,0))}(e))}function Ak(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Rk,Tk,Lk=Dk(Zs.fetch)&&Dk(Zs.ReadableStream);function Pk(e){Tk||(Tk=new Zs.XMLHttpRequest).open("GET",Zs.location.host?"/":"https://example.com");try{return Tk.responseType=e,Tk.responseType===e}catch(e){return!1}}var zk=void 0!==Zs.ArrayBuffer,Mk=zk&&Dk(Zs.ArrayBuffer.prototype.slice),Uk=zk&&Pk("arraybuffer"),Bk=!Lk&&Mk&&Pk("ms-stream"),Nk=!Lk&&zk&&Pk("moz-chunked-arraybuffer"),Ik=Dk(Tk.overrideMimeType),jk=Dk(Zs.VBArray);function Dk(e){return"function"==typeof e}Tk=null;var Vk="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Fk=/%[sdj%]/g;function Kk(e){if(!tx(e)){for(var t=[],n=0;n<arguments.length;n++)t.push($k(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(Fk,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n<i;a=r[++n])ex(a)||!ix(a)?o+=" "+a:o+=" "+$k(a);return o}function qk(e,t){if(nx(Zs.process))return function(){return qk(e,t).apply(this,arguments)};if(!0===xl.noDeprecation)return e;var n=!1;return function(){if(!n){if(xl.throwDeprecation)throw new Error(t);xl.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var Wk,Yk={};function $k(e,t){var n={seen:[],stylize:Hk};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Jk(t)?n.showHidden=t:t&&function(e,t){if(!t||!ix(t))return e;var n=Object.keys(t),r=n.length;for(;r--;)e[n[r]]=t[n[r]]}(n,t),nx(n.showHidden)&&(n.showHidden=!1),nx(n.depth)&&(n.depth=2),nx(n.colors)&&(n.colors=!1),nx(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Gk),Qk(n,e,n.depth)}function Gk(e,t){var n=$k.styles[t];return n?"["+$k.colors[n][0]+"m"+e+"["+$k.colors[n][1]+"m":e}function Hk(e,t){return e}function Qk(e,t,n){if(e.customInspect&&t&&sx(t.inspect)&&t.inspect!==$k&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return tx(r)||(r=Qk(e,r,n)),r}var i=function(e,t){if(nx(t))return e.stylize("undefined","undefined");if(tx(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(Jk(t))return e.stylize(""+t,"boolean");if(ex(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),ax(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Zk(t);if(0===o.length){if(sx(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(rx(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ox(t))return e.stylize(Date.prototype.toString.call(t),"date");if(ax(t))return Zk(t)}var l,u,c="",h=!1,p=["{","}"];(l=t,Array.isArray(l)&&(h=!0,p=["[","]"]),sx(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return rx(t)&&(c=" "+RegExp.prototype.toString.call(t)),ox(t)&&(c=" "+Date.prototype.toUTCString.call(t)),ax(t)&&(c=" "+Zk(t)),0!==o.length||h&&0!=t.length?n<0?rx(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=h?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)ux(t,String(a))?o.push(Xk(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(Xk(e,t,n,r,i,!0))})),o}(e,t,n,a,o):o.map((function(r){return Xk(e,t,n,a,r,h)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,c,p)):p[0]+c+p[1]}function Zk(e){return"["+Error.prototype.toString.call(e)+"]"}function Xk(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),ux(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=ex(n)?Qk(e,l.value,null):Qk(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),nx(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Jk(e){return"boolean"==typeof e}function ex(e){return null===e}function tx(e){return"string"==typeof e}function nx(e){return void 0===e}function rx(e){return ix(e)&&"[object RegExp]"===lx(e)}function ix(e){return"object"==typeof e&&null!==e}function ox(e){return ix(e)&&"[object Date]"===lx(e)}function ax(e){return ix(e)&&("[object Error]"===lx(e)||e instanceof Error)}function sx(e){return"function"==typeof e}function lx(e){return Object.prototype.toString.call(e)}function ux(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function cx(){}function hx(){hx.init.call(this)}function px(e){return void 0===e._maxListeners?hx.defaultMaxListeners:e._maxListeners}function fx(e,t,n,r){var i,o,a,s;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((o=e._events)?(o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]):(o=e._events=new cx,e._eventsCount=0),a){if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(i=px(e))&&i>0&&a.length>i){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,"function"==typeof console.warn?console.warn(s):console.log(s)}}else a=o[t]=n,++e._eventsCount;return e}function dx(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function mx(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function gx(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}function bx(){this.head=null,this.tail=null,this.length=0}$k.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},$k.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},cx.prototype=Object.create(null),hx.EventEmitter=hx,hx.usingDomains=!1,hx.prototype.domain=void 0,hx.prototype._events=void 0,hx.prototype._maxListeners=void 0,hx.defaultMaxListeners=10,hx.init=function(){this.domain=null,hx.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new cx,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},hx.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},hx.prototype.getMaxListeners=function(){return px(this)},hx.prototype.emit=function(e){var t,n,r,i,o,a,s,l="error"===e;if(a=this._events)l=l&&null==a.error;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var c="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=gx(e,r),o=0;o<r;++o)i[o].call(n)}(n,c,this);break;case 2:!function(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=gx(e,i),a=0;a<i;++a)o[a].call(n,r)}(n,c,this,arguments[1]);break;case 3:!function(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,a=gx(e,o),s=0;s<o;++s)a[s].call(n,r,i)}(n,c,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var a=e.length,s=gx(e,a),l=0;l<a;++l)s[l].call(n,r,i,o)}(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];!function(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=gx(e,i),a=0;a<i;++a)o[a].apply(n,r)}(n,c,this,i)}return!0},hx.prototype.addListener=function(e,t){return fx(this,e,t,!1)},hx.prototype.on=hx.prototype.addListener,hx.prototype.prependListener=function(e,t){return fx(this,e,t,!0)},hx.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,dx(this,e,t)),this},hx.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,dx(this,e,t)),this},hx.prototype.removeListener=function(e,t){var n,r,i,o,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)0==--this._eventsCount?this._events=new cx:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new cx,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(n,i);r.removeListener&&this.emit("removeListener",e,a||t)}return this},hx.prototype.off=function(e,t){return this.removeListener(e,t)},hx.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new cx,this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=new cx:delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new cx,this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},hx.prototype.listeners=function(e){var t,n,r=this._events;return n=r&&(t=r[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(t):[],n},hx.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):mx.call(e,t)},hx.prototype.listenerCount=mx,hx.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]},bx.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},bx.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},bx.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},bx.prototype.clear=function(){this.head=this.tail=null,this.length=0},bx.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},bx.prototype.concat=function(e){if(0===this.length)return qw.alloc(0);if(1===this.length)return this.head.data;for(var t=qw.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var vx=qw.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function yx(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!vx(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=kx;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=xx;break;default:return void(this.write=wx)}this.charBuffer=new qw(6),this.charReceived=0,this.charLength=0}function wx(e){return e.toString(this.encoding)}function kx(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function xx(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}yx.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(e=e.slice(n,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var i;r=(t+=e.toString(this.encoding,0,r)).length-1;if((i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},yx.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},yx.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t},Sx.ReadableState=_x;var Ox=function(e){if(nx(Wk)&&(Wk=xl.env.NODE_DEBUG||""),e=e.toUpperCase(),!Yk[e])if(new RegExp("\\b"+e+"\\b","i").test(Wk)){Yk[e]=function(){var t=Kk.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else Yk[e]=function(){};return Yk[e]}("stream");function _x(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Jx&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new bx,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new yx(e.encoding),this.encoding=e.encoding)}function Sx(e){if(!(this instanceof Sx))return new Sx(e);this._readableState=new _x(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),hx.call(this)}function Cx(e,t,n,r,i){var o=function(e,t){var n=null;qw.isBuffer(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(t,n);if(o)e.emit("error",o);else if(null===n)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,Rx(e)}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||i||r||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),i||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Rx(e))),function(e,t){t.readingMore||(t.readingMore=!0,ul(Lx,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}Vk(Sx,hx),Sx.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=qw.from(e,t),t=""),Cx(this,n,e,t,!1)},Sx.prototype.unshift=function(e){return Cx(this,this._readableState,e,"",!0)},Sx.prototype.isPaused=function(){return!1===this._readableState.flowing},Sx.prototype.setEncoding=function(e){return this._readableState.decoder=new yx(e),this._readableState.encoding=e,this};var Ex=8388608;function Ax(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=Ex?e=Ex:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Rx(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Ox("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ul(Tx,e):Tx(e))}function Tx(e){Ox("emit readable"),e.emit("readable"),Mx(e)}function Lx(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Ox("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function Px(e){Ox("readable nexttick read 0"),e.read(0)}function zx(e,t){t.reading||(Ox("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Mx(e),t.flowing&&!t.reading&&e.read(0)}function Mx(e){var t=e._readableState;for(Ox("flow",t.flowing);t.flowing&&null!==e.read(););}function Ux(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=qw.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function Bx(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ul(Nx,t,e))}function Nx(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Ix(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function jx(){}function Dx(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function Vx(e,t){Object.defineProperty(this,"buffer",{get:qk((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Jx&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?ul(i,r):i(r);e._writableState.errorEmitted=!0,e.emit("error",r)}(e,n,r,t,i);else{var o=Yx(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||Wx(e,n),r?ul(qx,e,n,o,i):qx(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Hx(this)}function Fx(e){if(!(this instanceof Fx||this instanceof Jx))return new Fx(e);this._writableState=new Vx(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),hx.call(this)}function Kx(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function qx(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),Gx(e,t)}function Wx(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;Kx(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Hx(t)}else{for(;n;){var s=n.chunk,l=n.encoding,u=n.callback;if(Kx(e,t,!1,t.objectMode?1:s.length,s,l,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function Yx(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function $x(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function Gx(e,t){var n=Yx(t);return n&&(0===t.pendingcb?($x(e,t),t.finished=!0,e.emit("finish")):$x(e,t)),n}function Hx(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Sx.prototype.read=function(e){Ox("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return Ox("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Bx(this):Rx(this),null;if(0===(e=Ax(e,t))&&t.ended)return 0===t.length&&Bx(this),null;var r,i=t.needReadable;return Ox("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&Ox("length less than watermark",i=!0),t.ended||t.reading?Ox("reading or ended",i=!1):i&&(Ox("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Ax(n,t))),null===(r=e>0?Ux(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Bx(this)),null!==r&&this.emit("data",r),r},Sx.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Sx.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,Ox("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||!1!==t.end?a:u;function o(e){Ox("onunpipe"),e===n&&u()}function a(){Ox("onend"),e.end()}r.endEmitted?ul(i):n.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;Ox("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Mx(e))}}(n);e.on("drain",s);var l=!1;function u(){Ox("cleanup"),e.removeListener("close",f),e.removeListener("finish",d),e.removeListener("drain",s),e.removeListener("error",p),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",u),n.removeListener("data",h),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var c=!1;function h(t){Ox("ondata"),c=!1,!1!==e.write(t)||c||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Ix(r.pipes,e))&&!l&&(Ox("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function p(t){Ox("onerror",t),m(),e.removeListener("error",p),0===function(e,t){return e.listeners(t).length}(e,"error")&&e.emit("error",t)}function f(){e.removeListener("finish",d),m()}function d(){Ox("onfinish"),e.removeListener("close",f),m()}function m(){Ox("unpipe"),n.unpipe(e)}return n.on("data",h),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",p),e.once("close",f),e.once("finish",d),e.emit("pipe",n),r.flowing||(Ox("pipe resume"),n.resume()),e},Sx.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)n[i].emit("unpipe",this);return this}var o=Ix(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},Sx.prototype.on=function(e,t){var n=hx.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&Rx(this):ul(Px,this))}return n},Sx.prototype.addListener=Sx.prototype.on,Sx.prototype.resume=function(){var e=this._readableState;return e.flowing||(Ox("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ul(zx,e,t))}(this,e)),this},Sx.prototype.pause=function(){return Ox("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Ox("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Sx.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",(function(){if(Ox("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)})),e.on("data",(function(i){(Ox("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}(["error","close","destroy","pause","resume"],(function(t){e.on(t,r.emit.bind(r,t))})),r._read=function(t){Ox("wrapped _read",t),n&&(n=!1,e.resume())},r},Sx._fromList=Ux,Fx.WritableState=Vx,Vk(Fx,hx),Vx.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Fx.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Fx.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),qw.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=jx),r.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),ul(t,n)}(this,n):function(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):qw.isBuffer(n)||"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),ul(r,o),i=!1),i}(this,r,e,n)&&(r.pendingcb++,i=function(e,t,n,r,i){n=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=qw.from(t,n));return t}(t,n,r),qw.isBuffer(n)&&(r="buffer");var o=t.objectMode?1:n.length;t.length+=o;var a=t.length<t.highWaterMark;a||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new Dx(n,r,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Kx(e,t,!1,o,n,r,i);return a}(this,r,e,t,n)),i},Fx.prototype.cork=function(){this._writableState.corked++},Fx.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||Wx(this,e))},Fx.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Fx.prototype._write=function(e,t,n){n(new Error("not implemented"))},Fx.prototype._writev=null,Fx.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,Gx(e,t),n&&(t.finished?ul(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Vk(Jx,Sx);for(var Qx=Object.keys(Fx.prototype),Zx=0;Zx<Qx.length;Zx++){var Xx=Qx[Zx];Jx.prototype[Xx]||(Jx.prototype[Xx]=Fx.prototype[Xx])}function Jx(e){if(!(this instanceof Jx))return new Jx(e);Sx.call(this,e),Fx.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",eO)}function eO(){this.allowHalfOpen||this._writableState.ended||ul(tO,this)}function tO(e){e.end()}function nO(e){this.afterTransform=function(t,n){return function(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!=n&&e.push(n);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function rO(e){if(!(this instanceof rO))return new rO(e);Jx.call(this,e),this._transformState=new nO(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(e){iO(t,e)})):iO(t)}))}function iO(e,t){if(t)return e.emit("error",t);var n=e._writableState,r=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(r.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function oO(e){if(!(this instanceof oO))return new oO(e);rO.call(this,e)}function aO(){hx.call(this)}Vk(rO,Jx),rO.prototype.push=function(e,t){return this._transformState.needTransform=!1,Jx.prototype.push.call(this,e,t)},rO.prototype._transform=function(e,t,n){throw new Error("Not implemented")},rO.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},rO.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Vk(oO,rO),oO.prototype._transform=function(e,t,n){n(null,e)},Vk(aO,hx),aO.Readable=Sx,aO.Writable=Fx,aO.Duplex=Jx,aO.Transform=rO,aO.PassThrough=oO,aO.Stream=aO,aO.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===hx.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e};var sO=3,lO=4;function uO(e,t,n){var r,i=this;if(Sx.call(i),i._mode=n,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",(function(){xl.nextTick((function(){i.emit("close")}))})),"fetch"===n){i._fetchResponse=t,i.url=t.url,i.statusCode=t.status,i.statusMessage=t.statusText;for(var o,a,s=t.headers[Symbol.iterator]();o=(a=s.next()).value,!a.done;)i.headers[o[0].toLowerCase()]=o[1],i.rawHeaders.push(o[0],o[1]);var l=t.body.getReader();(r=function(){l.read().then((function(e){i._destroyed||(e.done?i.push(null):(i.push(new qw(e.value)),r()))}))})()}else{if(i._xhr=e,i._pos=0,i.url=e.responseURL,i.statusCode=e.status,i.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===i.headers[n]&&(i.headers[n]=[]),i.headers[n].push(t[2])):void 0!==i.headers[n]?i.headers[n]+=", "+t[2]:i.headers[n]=t[2],i.rawHeaders.push(t[1],t[2])}})),i._charset="x-user-defined",!Ik){var u=i.rawHeaders["mime-type"];if(u){var c=u.match(/;\s*charset=([^;])(;|$)/);c&&(i._charset=c[1].toLowerCase())}i._charset||(i._charset="utf-8")}}}function cO(e){var t,n=this;Fx.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new qw(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var r=!0;if("disable-fetch"===e.mode)r=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!Ik;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}n._mode=function(e,t){return Lk&&t?"fetch":Nk?"moz-chunked-arraybuffer":Bk?"ms-stream":Uk&&e?"arraybuffer":jk&&e?"text:vbarray":"text"}(t,r),n.on("finish",(function(){n._onFinish()}))}Vk(uO,Sx),uO.prototype._read=function(){},uO.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==lO)break;try{n=new Zs.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new qw(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var r=n.substr(e._pos);if("x-user-defined"===e._charset){for(var i=new qw(r.length),o=0;o<r.length;o++)i[o]=255&r.charCodeAt(o);e.push(i)}else e.push(r,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==lO||!t.response)break;n=t.response,e.push(new qw(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==sO||!n)break;e.push(new qw(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==sO)break;var a=new Zs.MSStreamReader;a.onprogress=function(){a.result.byteLength>e._pos&&(e.push(new qw(new Uint8Array(a.result.slice(e._pos)))),e._pos=a.result.byteLength)},a.onload=function(){e.push(null)},a.readAsArrayBuffer(n)}e._xhr.readyState===lO&&"ms-stream"!==e._mode&&e.push(null)},Vk(cO,Fx);var hO=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];cO.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===hO.indexOf(n)&&(this._headers[n]={name:e,value:t})},cO.prototype.getHeader=function(e){return this._headers[e.toLowerCase()].value},cO.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},cO.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t,n=e._opts,r=e._headers;if("POST"!==n.method&&"PUT"!==n.method&&"PATCH"!==n.method||(t=function(){if(void 0!==Rk)return Rk;try{new Zs.Blob([new ArrayBuffer(1)]),Rk=!0}catch(e){Rk=!1}return Rk}()?new Zs.Blob(e._body.map((function(e){return function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(Ek(e)){for(var t=new Uint8Array(e.length),n=e.length,r=0;r<n;r++)t[r]=e[r];return t.buffer}throw new Error("Argument must be a Buffer")}(e)})),{type:(r["content-type"]||{}).value||""}):qw.concat(e._body).toString()),"fetch"===e._mode){var i=Object.keys(r).map((function(e){return[r[e].name,r[e].value]}));Zs.fetch(e._opts.url,{method:e._opts.method,headers:i,body:t,mode:"cors",credentials:n.withCredentials?"include":"same-origin"}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){e.emit("error",t)}))}else{var o=e._xhr=new Zs.XMLHttpRequest;try{o.open(e._opts.method,e._opts.url,!0)}catch(t){return void xl.nextTick((function(){e.emit("error",t)}))}"responseType"in o&&(o.responseType=e._mode.split(":")[0]),"withCredentials"in o&&(o.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in o&&o.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(r).forEach((function(e){o.setRequestHeader(r[e].name,r[e].value)})),e._response=null,o.onreadystatechange=function(){switch(o.readyState){case sO:case lO:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(o.onprogress=function(){e._onXHRProgress()}),o.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{o.send(t)}catch(t){return void xl.nextTick((function(){e.emit("error",t)}))}}}},cO.prototype._onXHRProgress=function(){var e=this;(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},cO.prototype._connect=function(){var e=this;e._destroyed||(e._response=new uO(e._xhr,e._fetchResponse,e._mode),e.emit("response",e._response))},cO.prototype._write=function(e,t,n){this._body.push(e),n()},cO.prototype.abort=cO.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},cO.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),Fx.prototype.end.call(this,e,t,n)},cO.prototype.flushHeaders=function(){},cO.prototype.setTimeout=function(){},cO.prototype.setNoDelay=function(){},cO.prototype.setSocketKeepAlive=function(){};
|
|
2
|
+
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
3
|
+
var pO=2147483647,fO=36,dO=1,mO=26,gO=38,bO=700,vO=72,yO=128,wO="-",kO=/[^\x20-\x7E]/,xO=/[\x2E\u3002\uFF0E\uFF61]/g,OO={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_O=fO-dO,SO=Math.floor,CO=String.fromCharCode;function EO(e){throw new RangeError(OO[e])}function AO(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function RO(e,t,n){var r=0;for(e=n?SO(e/bO):e>>1,e+=SO(e/t);e>_O*mO>>1;r+=fO)e=SO(e/_O);return SO(r+(_O+1)*e/(e+gO))}function TO(e){return function(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}((e=e.replace(xO,".")).split("."),t).join(".");return r+i}(e,(function(e){return kO.test(e)?"xn--"+function(e){var t,n,r,i,o,a,s,l,u,c,h,p,f,d,m,g=[];for(e=function(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}(e),p=e.length,t=yO,n=0,o=vO,a=0;a<p;++a)(h=e[a])<128&&g.push(CO(h));for(r=i=g.length,i&&g.push(wO);r<p;){for(s=pO,a=0;a<p;++a)(h=e[a])>=t&&h<s&&(s=h);for(s-t>SO((pO-n)/(f=r+1))&&EO("overflow"),n+=(s-t)*f,t=s,a=0;a<p;++a)if((h=e[a])<t&&++n>pO&&EO("overflow"),h==t){for(l=n,u=fO;!(l<(c=u<=o?dO:u>=o+mO?mO:u-o));u+=fO)m=l-c,d=fO-c,g.push(CO(AO(c+m%d,0))),l=SO(m/d);g.push(CO(AO(l,0))),o=RO(n,f,r==i),n=0,++r}++n,++t}return g.join("")}(e):e}))}function LO(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var PO=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function zO(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function MO(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var UO=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t};function BO(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var l=0;l<s;++l){var u,c,h,p,f=e[l].replace(o,"%20"),d=f.indexOf(n);d>=0?(u=f.substr(0,d),c=f.substr(d+1)):(u=f,c=""),h=decodeURIComponent(u),p=decodeURIComponent(c),LO(i,h)?PO(i[h])?i[h].push(p):i[h]=[i[h],p]:i[h]=p}return i}const NO=Zs.URL,IO=Zs.URLSearchParams;var jO={parse:e_,resolve:o_,resolveObject:a_,fileURLToPath:n_,format:r_,Url:DO,URL:NO,URLSearchParams:IO};function DO(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var VO=/^([a-z0-9.+-]+:)/i,FO=/:[0-9]*$/,KO=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,qO=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),WO=["'"].concat(qO),YO=["%","/","?",";","#"].concat(WO),$O=["/","?","#"],GO=255,HO=/^[+a-z0-9A-Z_-]{0,63}$/,QO=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ZO={javascript:!0,"javascript:":!0},XO={javascript:!0,"javascript:":!0},JO={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function e_(e,t,n){if(e&&ix(e)&&e instanceof DO)return e;var r=new DO;return r.parse(e,t,n),r}function t_(e,t,n,r){if(!tx(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),o=-1!==i&&i<t.indexOf("#")?"?":"#",a=t.split(o);a[0]=a[0].replace(/\\/g,"/");var s=t=a.join(o);if(s=s.trim(),!r&&1===t.split("#").length){var l=KO.exec(s);if(l)return e.path=s,e.href=s,e.pathname=l[1],l[2]?(e.search=l[2],e.query=n?BO(e.search.substr(1)):e.search.substr(1)):n&&(e.search="",e.query={}),e}var u,c,h,p,f=VO.exec(s);if(f){var d=(f=f[0]).toLowerCase();e.protocol=d,s=s.substr(f.length)}if(r||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===s.substr(0,2);!m||f&&XO[f]||(s=s.substr(2),e.slashes=!0)}if(!XO[f]&&(m||f&&!JO[f])){var g,b,v=-1;for(u=0;u<$O.length;u++)-1!==(c=s.indexOf($O[u]))&&(-1===v||c<v)&&(v=c);for(-1!==(b=-1===v?s.lastIndexOf("@"):s.lastIndexOf("@",v))&&(g=s.slice(0,b),s=s.slice(b+1),e.auth=decodeURIComponent(g)),v=-1,u=0;u<YO.length;u++)-1!==(c=s.indexOf(YO[u]))&&(-1===v||c<v)&&(v=c);-1===v&&(v=s.length),e.host=s.slice(0,v),s=s.slice(v),s_(e),e.hostname=e.hostname||"";var y="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!y){var w=e.hostname.split(/\./);for(u=0,h=w.length;u<h;u++){var k=w[u];if(k&&!k.match(HO)){for(var x="",O=0,_=k.length;O<_;O++)k.charCodeAt(O)>127?x+="x":x+=k[O];if(!x.match(HO)){var S=w.slice(0,u),C=w.slice(u+1),E=k.match(QO);E&&(S.push(E[1]),C.unshift(E[2])),C.length&&(s="/"+C.join(".")+s),e.hostname=S.join(".");break}}}}e.hostname.length>GO?e.hostname="":e.hostname=e.hostname.toLowerCase(),y||(e.hostname=TO(e.hostname)),p=e.port?":"+e.port:"";var A=e.hostname||"";e.host=A+p,e.href+=e.host,y&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!ZO[d])for(u=0,h=WO.length;u<h;u++){var R=WO[u];if(-1!==s.indexOf(R)){var T=encodeURIComponent(R);T===R&&(T=escape(R)),s=s.split(R).join(T)}}var L=s.indexOf("#");-1!==L&&(e.hash=s.substr(L),s=s.slice(0,L));var P=s.indexOf("?");if(-1!==P?(e.search=s.substr(P),e.query=s.substr(P+1),n&&(e.query=BO(e.query)),s=s.slice(0,P)):n&&(e.search="",e.query={}),s&&(e.pathname=s),JO[d]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){p=e.pathname||"";var z=e.search||"";e.path=p+z}return e.href=i_(e),e}function n_(e){if("string"==typeof e)e=(new DO).parse(e);else if(!(e instanceof DO))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return function(e){const t=e.pathname;for(let e=0;e<t.length;e++)if("%"===t[e]){const n=32|t.codePointAt(e+2);if("2"===t[e+1]&&102===n)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function r_(e){return tx(e)&&(e=t_({},e)),i_(e)}function i_(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var n=e.protocol||"",r=e.pathname||"",i=e.hash||"",o=!1,a="";e.host?o=t+e.host:e.hostname&&(o=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(o+=":"+e.port)),e.query&&ix(e.query)&&Object.keys(e.query).length&&(a=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?MO(UO(e),(function(r){var i=encodeURIComponent(zO(r))+n;return PO(e[r])?MO(e[r],(function(e){return i+encodeURIComponent(zO(e))})).join(t):i+encodeURIComponent(zO(e[r]))})).join(t):r?encodeURIComponent(zO(r))+n+encodeURIComponent(zO(e)):""}(e.query));var s=e.search||a&&"?"+a||"";return n&&":"!==n.substr(-1)&&(n+=":"),e.slashes||(!n||JO[n])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),s&&"?"!==s.charAt(0)&&(s="?"+s),n+o+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+i}function o_(e,t){return e_(e,!1,!0).resolve(t)}function a_(e,t){return e?e_(e,!1,!0).resolveObject(t):t}function s_(e){var t=e.host,n=FO.exec(t);n&&(":"!==(n=n[0])&&(e.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(e.hostname=t)}DO.prototype.parse=function(e,t,n){return t_(this,e,t,n)},DO.prototype.format=function(){return i_(this)},DO.prototype.resolve=function(e){return this.resolveObject(e_(e,!1,!0)).format()},DO.prototype.resolveObject=function(e){if(tx(e)){var t=new DO;t.parse(e,!1,!0),e=t}for(var n,r=new DO,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(r[u]=e[u])}return JO[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!JO[e.protocol]){for(var c=Object.keys(e),h=0;h<c.length;h++){var p=c[h];r[p]=e[p]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||XO[e.protocol])r.pathname=e.pathname;else{for(n=(e.pathname||"").split("/");n.length&&!(e.host=n.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==n[0]&&n.unshift(""),n.length<2&&n.unshift(""),r.pathname=n.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var f=r.pathname||"",d=r.search||"";r.path=f+d}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m,g=r.pathname&&"/"===r.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=b||g||r.host&&e.pathname,y=v,w=r.pathname&&r.pathname.split("/")||[],k=r.protocol&&!JO[r.protocol];if(n=e.pathname&&e.pathname.split("/")||[],k&&(r.hostname="",r.port=null,r.host&&(""===w[0]?w[0]=r.host:w.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===n[0]?n[0]=e.host:n.unshift(e.host)),e.host=null),v=v&&(""===n[0]||""===w[0])),b)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,w=n;else if(n.length)w||(w=[]),w.pop(),w=w.concat(n),r.search=e.search,r.query=e.query;else if(null!=e.search)return k&&(r.hostname=r.host=w.shift(),(m=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),r.search=e.search,r.query=e.query,ex(r.pathname)&&ex(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!w.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var x=w.slice(-1)[0],O=(r.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,_=0,S=w.length;S>=0;S--)"."===(x=w[S])?w.splice(S,1):".."===x?(w.splice(S,1),_++):_&&(w.splice(S,1),_--);if(!v&&!y)for(;_--;_)w.unshift("..");!v||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),O&&"/"!==w.join("/").substr(-1)&&w.push("");var C=""===w[0]||w[0]&&"/"===w[0].charAt(0);return k&&(r.hostname=r.host=C?"":w.length?w.shift():"",(m=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),(v=v||r.host&&w.length)&&!C&&w.unshift(""),w.length?r.pathname=w.join("/"):(r.pathname=null,r.path=null),ex(r.pathname)&&ex(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},DO.prototype.parseHost=function(){return s_(this)};var l_=Object.freeze({__proto__:null,parse:e_,resolve:o_,resolveObject:a_,fileURLToPath:n_,format:r_,URL:NO,URLSearchParams:IO,default:jO,Url:DO});function u_(e,t){"string"==typeof e&&(e=e_(e));var n=-1===Zs.location.protocol.search(/^https?:$/)?"http:":"",r=e.protocol||n,i=e.hostname||e.host,o=e.port,a=e.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),e.url=(i?r+"//"+i:"")+(o?":"+o:"")+a,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var s=new cO(e);return t&&s.on("response",t),s}function c_(e,t){var n=u_(e,t);return n.end(),n}function h_(){}h_.defaultMaxSockets=4;var p_=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"],f_={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},d_={request:u_,get:c_,Agent:h_,METHODS:p_,STATUS_CODES:f_},m_=Ke(Object.freeze({__proto__:null,request:u_,get:c_,Agent:h_,METHODS:p_,STATUS_CODES:f_,default:d_}));function g_(e,t){"string"==typeof e&&(e=e_(e));var n=-1===Zs.location.protocol.search(/^https?:$/)?"http:":"",r=e.protocol||n,i=e.hostname||e.host,o=e.port,a=e.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),e.url=(i?r+"//"+i:"")+(o?":"+o:"")+a,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var s=new cO(e);return t&&s.on("response",t),s}function b_(e,t){var n=g_(e,t);return n.end(),n}function v_(){}v_.defaultMaxSockets=4;var y_=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"],w_={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},k_={request:g_,get:b_,Agent:v_,METHODS:y_,STATUS_CODES:w_},x_=Ke(Object.freeze({__proto__:null,request:g_,get:b_,Agent:v_,METHODS:y_,STATUS_CODES:w_,default:k_})),O_=Ke(l_),__=/^http:\/\//;var S_=/^https:\/\//;var C_=m_,E_=x_,A_=O_,R_=function(e){return __.test(e)},T_=function(e){return S_.test(e)},L_=zl;var P_=function e(t,n,r,i){var o,a=n.protocol||n.hostname,s=!1;o=L_(A_.parse(t),n||{}),void 0!==n.hostname&&(o.protocol=n.protocol||"http:",o.path=o.href),(a&&!T_(a)||R_(t)?C_.get:E_.get)(o,(function(o){var a=[];if(!s){if(o.statusCode<200||o.statusCode>399)return i(o.statusCode,null);if(o.statusCode>299)return e(A_.resolve(t,o.headers.location),n,r,i);o.on("data",(function(e){a.push(e.toString())})),o.on("end",(function(){var e=a.join("");i(null,e)}))}})).on("error",(function(e){s||(s=!0,i(e.message,null))})).on("timeout",(function(){s||(s=!0,i("timeout",null))})).setTimeout(r)},z_=P_;var M_=function(e){return e||z_};var U_=function(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")},B_=O_,N_=zl;var I_=function(e){return N_((t=xl.env.HTTP_PROXY||xl.env.http_proxy)?{hostname:B_.parse(t).hostname,port:parseInt(B_.parse(t).port)}:{},e||{});var t};var j_=function(e){return e||5e3};var D_=function(e){var t={level1Value:[],level1Property:[],level2Block:[]};return e=e||[],t.level1Value=e.map((function(e){return e.level1&&e.level1.value})).filter((function(e){return null!=e})),t.level1Property=e.map((function(e){return e.level1&&e.level1.property})).filter((function(e){return null!=e})),t.level2Block=e.map((function(e){return e.level2&&e.level2.block})).filter((function(e){return null!=e})),t};var V_=function(e,t){return void 0!==t||void 0!==e&&!!e};function F_(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var K_=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,q_=function(e){return K_.exec(e).slice(1)};function W_(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=F_(eS(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Y_(e){var t=$_(e),n="/"===tS(e,-1);return(e=F_(eS(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function $_(e){return"/"===e.charAt(0)}function G_(){return Y_(eS(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function H_(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=W_(e).substr(1),t=W_(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s<o;s++)if(r[s]!==i[s]){a=s;break}var l=[];for(s=a;s<r.length;s++)l.push("..");return(l=l.concat(i.slice(a))).join("/")}function Q_(e){var t=q_(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function Z_(e,t){var n=q_(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function X_(e){return q_(e)[3]}var J_={extname:X_,basename:Z_,dirname:Q_,sep:"/",delimiter:":",relative:H_,join:G_,isAbsolute:$_,normalize:Y_,resolve:W_};function eS(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var tS="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},nS=Ke(Object.freeze({__proto__:null,resolve:W_,normalize:Y_,isAbsolute:$_,join:G_,relative:H_,sep:"/",delimiter:":",dirname:Q_,basename:Z_,extname:X_,default:J_})),rS=nS;var iS=function(e){return e?rS.resolve(e):xl.cwd()},oS={},aS={},sS={},lS={};const uS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");lS.encode=function(e){if(0<=e&&e<uS.length)return uS[e];throw new TypeError("Must be between 0 and 63: "+e)};const cS=lS;sS.encode=function(e){let t,n="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,r>>>=5,r>0&&(t|=32),n+=cS.encode(t)}while(r>0);return n};var hS={};!function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};const t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){const n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function i(e){let t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=i;const o=function(e){const t=[];return function(n){for(let e=0;e<t.length;e++)if(t[e].input===n){const n=t[0];return t[0]=t[e],t[e]=n,t[0].result}const r=e(n);return t.unshift({input:n,result:r}),t.length>32&&t.pop(),r}}((function(t){let n=t;const o=r(t);if(o){if(!o.path)return t;n=o.path}const a=e.isAbsolute(n),s=[];let l=0,u=0;for(;;){if(l=u,u=n.indexOf("/",l),-1===u){s.push(n.slice(l));break}for(s.push(n.slice(l,u));u<n.length&&"/"===n[u];)u++}let c=0;for(u=s.length-1;u>=0;u--){const e=s[u];"."===e?s.splice(u,1):".."===e?c++:c>0&&(""===e?(s.splice(u+1,c),c=0):(s.splice(u,2),c--))}return n=s.join("/"),""===n&&(n=a?"/":"."),o?(o.path=n,i(o)):n}));function a(e,t){""===e&&(e="."),""===t&&(t=".");const a=r(t),s=r(e);if(s&&(e=s.path||"/"),a&&!a.scheme)return s&&(a.scheme=s.scheme),i(a);if(a||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);const l="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,i(s)):l}e.normalize=o,e.join=a,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");let n=0;for(;0!==t.indexOf(e+"/");){const r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};const s=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;const t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(let n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function c(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=s?l:function(e){return u(e)?"$"+e:e},e.fromSetString=s?l:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){let r=c(e.source,t.source);return 0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r||n?r:(r=e.generatedColumn-t.generatedColumn,0!==r?r:(r=e.generatedLine-t.generatedLine,0!==r?r:c(e.name,t.name)))))},e.compareByGeneratedPositionsDeflated=function(e,t,n){let r=e.generatedLine-t.generatedLine;return 0!==r?r:(r=e.generatedColumn-t.generatedColumn,0!==r||n?r:(r=c(e.source,t.source),0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r?r:c(e.name,t.name)))))},e.compareByGeneratedPositionsInflated=function(e,t){let n=e.generatedLine-t.generatedLine;return 0!==n?n:(n=e.generatedColumn-t.generatedColumn,0!==n?n:(n=c(e.source,t.source),0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n?n:c(e.name,t.name)))))},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){const e=r(n);if(!e)throw new Error("sourceMapURL could not be parsed");if(e.path){const t=e.path.lastIndexOf("/");t>=0&&(e.path=e.path.substring(0,t+1))}t=a(i(e),t)}return o(t)}}(hS);var pS={};class fS{constructor(){this._array=[],this._set=new Map}static fromArray(e,t){const n=new fS;for(let r=0,i=e.length;r<i;r++)n.add(e[r],t);return n}size(){return this._set.size}add(e,t){const n=this.has(e),r=this._array.length;n&&!t||this._array.push(e),n||this._set.set(e,r)}has(e){return this._set.has(e)}indexOf(e){const t=this._set.get(e);if(t>=0)return t;throw new Error('"'+e+'" is not in the set.')}at(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)}toArray(){return this._array.slice()}}pS.ArraySet=fS;var dS={};const mS=hS;dS.MappingList=class{constructor(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,t){this._array.forEach(e,t)}add(e){!function(e,t){const n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return r>n||r==n&&o>=i||mS.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))}toArray(){return this._sorted||(this._array.sort(mS.compareByGeneratedPositionsInflated),this._sorted=!0),this._array}};const gS=sS,bS=hS,vS=pS.ArraySet,yS=dS.MappingList;class wS{constructor(e){e||(e={}),this._file=bS.getArg(e,"file",null),this._sourceRoot=bS.getArg(e,"sourceRoot",null),this._skipValidation=bS.getArg(e,"skipValidation",!1),this._sources=new vS,this._names=new vS,this._mappings=new yS,this._sourcesContents=null}static fromSourceMap(e){const t=e.sourceRoot,n=new wS({file:e.file,sourceRoot:t});return e.eachMapping((function(e){const r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=bS.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){let i=r;null!==t&&(i=bS.relative(t,r)),n._sources.has(i)||n._sources.add(i);const o=e.sourceContentFor(r);null!=o&&n.setSourceContent(r,o)})),n}addMapping(e){const t=bS.getArg(e,"generated"),n=bS.getArg(e,"original",null);let r=bS.getArg(e,"source",null),i=bS.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})}setSourceContent(e,t){let n=e;null!=this._sourceRoot&&(n=bS.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[bS.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[bS.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))}applySourceMap(e,t,n){let r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}const i=this._sourceRoot;null!=i&&(r=bS.relative(i,r));const o=this._mappings.toArray().length>0?new vS:this._sources,a=new vS;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){const r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=n&&(t.source=bS.join(n,t.source)),null!=i&&(t.source=bS.relative(i,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}const s=t.source;null==s||o.has(s)||o.add(s);const l=t.name;null==l||a.has(l)||a.add(l)}),this),this._sources=o,this._names=a,e.sources.forEach((function(t){const r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=bS.join(n,t)),null!=i&&(t=bS.relative(i,t)),this.setSourceContent(t,r))}),this)}_validateMapping(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r);else if(!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}_serializeMappings(){let e,t,n,r,i=0,o=1,a=0,s=0,l=0,u=0,c="";const h=this._mappings.toArray();for(let p=0,f=h.length;p<f;p++){if(t=h[p],e="",t.generatedLine!==o)for(i=0;t.generatedLine!==o;)e+=";",o++;else if(p>0){if(!bS.compareByGeneratedPositionsInflated(t,h[p-1]))continue;e+=","}e+=gS.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=gS.encode(r-u),u=r,e+=gS.encode(t.originalLine-1-s),s=t.originalLine-1,e+=gS.encode(t.originalColumn-a),a=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=gS.encode(n-l),l=n)),c+=e}return c}_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=bS.relative(t,e));const n=bS.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)}toJSON(){const e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e}toString(){return JSON.stringify(this.toJSON())}}wS.prototype._version=3,aS.SourceMapGenerator=wS;var kS={},xS={};!function(e){function t(n,r,i,o,a,s){const l=Math.floor((r-n)/2)+n,u=a(i,o[l],!0);return 0===u?l:u>0?r-l>1?t(l,r,i,o,a,s):s==e.LEAST_UPPER_BOUND?r<o.length?r:-1:l:l-n>1?t(n,l,i,o,a,s):s==e.LEAST_UPPER_BOUND?l:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,r,i,o){if(0===r.length)return-1;let a=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}}(xS);var OS={exports:{}},_S=Ke(Object.freeze({__proto__:null,default:{}}));if(function(){return"undefined"!=typeof window&&this===window}.call()){let e=null;OS.exports=function(){if("string"==typeof e)return fetch(e).then((e=>e.arrayBuffer()));if(e instanceof ArrayBuffer)return Promise.resolve(e);throw new Error("You must provide the string URL or ArrayBuffer contents of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer")},OS.exports.initialize=t=>e=t}else{const e=_S,t=nS;OS.exports=function(){return new Promise(((n,r)=>{const i=t.join("/home/runner/work/jetpack/jetpack/projects/js-packages/critical-css-gen/node_modules/source-map/lib","mappings.wasm");e.readFile(i,null,((e,t)=>{e?r(e):n(t.buffer)}))}))},OS.exports.initialize=e=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}var SS=OS.exports;const CS=SS;function ES(){this.generatedLine=0,this.generatedColumn=0,this.lastGeneratedColumn=null,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let AS=null;const RS=hS,TS=xS,LS=pS.ArraySet,PS=SS,zS=function(){if(AS)return AS;const e=[];return AS=CS().then((t=>WebAssembly.instantiate(t,{env:{mapping_callback(t,n,r,i,o,a,s,l,u,c){const h=new ES;h.generatedLine=t+1,h.generatedColumn=n,r&&(h.lastGeneratedColumn=i-1),o&&(h.source=a,h.originalLine=s+1,h.originalColumn=l,u&&(h.name=c)),e[e.length-1](h)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((t=>({exports:t.instance.exports,withMappingCallback:(t,n)=>{e.push(t);try{n()}finally{e.pop()}}}))).then(null,(e=>{throw AS=null,e})),AS},MS=Symbol("smcInternal");class US{constructor(e,t){return e==MS?Promise.resolve(this):function(e,t){let n=e;"string"==typeof e&&(n=RS.parseSourceMapInput(e));const r=null!=n.sections?new NS(n,t):new BS(n,t);return Promise.resolve(r)}(e,t)}static initialize(e){PS.initialize(e["lib/mappings.wasm"])}static fromSourceMap(e,t){return function(e,t){return BS.fromSourceMap(e,t)}(e,t)}static async with(e,t,n){const r=await new US(e,t);try{return await n(r)}finally{r.destroy()}}_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")}eachMapping(e,t,n){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(e){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}US.prototype._version=3,US.GENERATED_ORDER=1,US.ORIGINAL_ORDER=2,US.GREATEST_LOWER_BOUND=1,US.LEAST_UPPER_BOUND=2,kS.SourceMapConsumer=US;class BS extends US{constructor(e,t){return super(MS).then((n=>{let r=e;"string"==typeof e&&(r=RS.parseSourceMapInput(e));const i=RS.getArg(r,"version");let o=RS.getArg(r,"sources");const a=RS.getArg(r,"names",[]);let s=RS.getArg(r,"sourceRoot",null);const l=RS.getArg(r,"sourcesContent",null),u=RS.getArg(r,"mappings"),c=RS.getArg(r,"file",null);if(i!=n._version)throw new Error("Unsupported version: "+i);return s&&(s=RS.normalize(s)),o=o.map(String).map(RS.normalize).map((function(e){return s&&RS.isAbsolute(s)&&RS.isAbsolute(e)?RS.relative(s,e):e})),n._names=LS.fromArray(a.map(String),!0),n._sources=LS.fromArray(o,!0),n._absoluteSources=n._sources.toArray().map((function(e){return RS.computeSourceURL(s,e,t)})),n.sourceRoot=s,n.sourcesContent=l,n._mappings=u,n._sourceMapURL=t,n.file=c,n._computedColumnSpans=!1,n._mappingsPtr=0,n._wasm=null,zS().then((e=>(n._wasm=e,n)))}))}_findSourceIndex(e){let t=e;if(null!=this.sourceRoot&&(t=RS.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);for(let t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1}static fromSourceMap(e,t){return new BS(e.toString())}get sources(){return this._absoluteSources.slice()}_getMappingsPtr(){return 0===this._mappingsPtr&&this._parseMappings(this._mappings,this.sourceRoot),this._mappingsPtr}_parseMappings(e,t){const n=e.length,r=this._wasm.exports.allocate_mappings(n),i=new Uint8Array(this._wasm.exports.memory.buffer,r,n);for(let t=0;t<n;t++)i[t]=e.charCodeAt(t);const o=this._wasm.exports.parse_mappings(r);if(!o){const e=this._wasm.exports.get_last_error();let t=`Error parsing mappings (code ${e}): `;switch(e){case 1:t+="the mappings contained a negative line, column, source index, or name index";break;case 2:t+="the mappings contained a number larger than 2**32";break;case 3:t+="reached EOF while in the middle of parsing a VLQ";break;case 4:t+="invalid base 64 character while parsing a VLQ";break;default:t+="unknown error code"}throw new Error(t)}this._mappingsPtr=o}eachMapping(e,t,n){const r=t||null,i=n||US.GENERATED_ORDER,o=this.sourceRoot;this._wasm.withMappingCallback((t=>{null!==t.source&&(t.source=this._sources.at(t.source),t.source=RS.computeSourceURL(o,t.source,this._sourceMapURL),null!==t.name&&(t.name=this._names.at(t.name))),e.call(r,t)}),(()=>{switch(i){case US.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case US.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(e){let t=RS.getArg(e,"source");const n=RS.getArg(e,"line"),r=e.column||0;if(t=this._findSourceIndex(t),t<0)return[];if(n<1)throw new Error("Line numbers must be >= 1");if(r<0)throw new Error("Column numbers must be >= 0");const i=[];return this._wasm.withMappingCallback((e=>{let t=e.lastGeneratedColumn;this._computedColumnSpans&&null===t&&(t=1/0),i.push({line:e.generatedLine,column:e.generatedColumn,lastColumn:t})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),t,n-1,"column"in e,r)})),i}destroy(){0!==this._mappingsPtr&&(this._wasm.exports.free_mappings(this._mappingsPtr),this._mappingsPtr=0)}computeColumnSpans(){this._computedColumnSpans||(this._wasm.exports.compute_column_spans(this._getMappingsPtr()),this._computedColumnSpans=!0)}originalPositionFor(e){const t={generatedLine:RS.getArg(e,"line"),generatedColumn:RS.getArg(e,"column")};if(t.generatedLine<1)throw new Error("Line numbers must be >= 1");if(t.generatedColumn<0)throw new Error("Column numbers must be >= 0");let n,r=RS.getArg(e,"bias",US.GREATEST_LOWER_BOUND);if(null==r&&(r=US.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback((e=>n=e),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),t.generatedLine-1,t.generatedColumn,r)})),n&&n.generatedLine===t.generatedLine){let e=RS.getArg(n,"source",null);null!==e&&(e=this._sources.at(e),e=RS.computeSourceURL(this.sourceRoot,e,this._sourceMapURL));let t=RS.getArg(n,"name",null);return null!==t&&(t=this._names.at(t)),{source:e,line:RS.getArg(n,"originalLine",null),column:RS.getArg(n,"originalColumn",null),name:t}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))}sourceContentFor(e,t){if(!this.sourcesContent)return null;const n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];let r,i=e;if(null!=this.sourceRoot&&(i=RS.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(r=RS.urlParse(this.sourceRoot))){const e=i.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];if((!r.path||"/"==r.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')}generatedPositionFor(e){let t=RS.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};const n={source:t,originalLine:RS.getArg(e,"line"),originalColumn:RS.getArg(e,"column")};if(n.originalLine<1)throw new Error("Line numbers must be >= 1");if(n.originalColumn<0)throw new Error("Column numbers must be >= 0");let r,i=RS.getArg(e,"bias",US.GREATEST_LOWER_BOUND);if(null==i&&(i=US.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback((e=>r=e),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),n.source,n.originalLine-1,n.originalColumn,i)})),r&&r.source===n.source){let e=r.lastGeneratedColumn;return this._computedColumnSpans&&null===e&&(e=1/0),{line:RS.getArg(r,"generatedLine",null),column:RS.getArg(r,"generatedColumn",null),lastColumn:e}}return{line:null,column:null,lastColumn:null}}}BS.prototype.consumer=US,kS.BasicSourceMapConsumer=BS;class NS extends US{constructor(e,t){return super(MS).then((n=>{let r=e;"string"==typeof e&&(r=RS.parseSourceMapInput(e));const i=RS.getArg(r,"version"),o=RS.getArg(r,"sections");if(i!=n._version)throw new Error("Unsupported version: "+i);n._sources=new LS,n._names=new LS,n.__generatedMappings=null,n.__originalMappings=null,n.__generatedMappingsUnsorted=null,n.__originalMappingsUnsorted=null;let a={line:-1,column:0};return Promise.all(o.map((e=>{if(e.url)throw new Error("Support for url field in sections not implemented.");const n=RS.getArg(e,"offset"),r=RS.getArg(n,"line"),i=RS.getArg(n,"column");if(r<a.line||r===a.line&&i<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");a=n;return new US(RS.getArg(e,"map"),t).then((e=>({generatedOffset:{generatedLine:r+1,generatedColumn:i+1},consumer:e})))}))).then((e=>(n._sections=e,n)))}))}get _generatedMappings(){return this.__generatedMappings||this._sortGeneratedMappings(),this.__generatedMappings}get _originalMappings(){return this.__originalMappings||this._sortOriginalMappings(),this.__originalMappings}get _generatedMappingsUnsorted(){return this.__generatedMappingsUnsorted||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){return this.__originalMappingsUnsorted||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappingsUnsorted}_sortGeneratedMappings(){const e=this._generatedMappingsUnsorted;e.sort(RS.compareByGeneratedPositionsDeflated),this.__generatedMappings=e}_sortOriginalMappings(){const e=this._originalMappingsUnsorted;e.sort(RS.compareByOriginalPositions),this.__originalMappings=e}get sources(){const e=[];for(let t=0;t<this._sections.length;t++)for(let n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}originalPositionFor(e){const t={generatedLine:RS.getArg(e,"line"),generatedColumn:RS.getArg(e,"column")},n=TS.search(t,this._sections,(function(e,t){const n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))}sourceContentFor(e,t){for(let t=0;t<this._sections.length;t++){const n=this._sections[t].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')}generatedPositionFor(e){for(let t=0;t<this._sections.length;t++){const n=this._sections[t];if(-1===n.consumer._findSourceIndex(RS.getArg(e,"source")))continue;const r=n.consumer.generatedPositionFor(e);if(r){return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}}_parseMappings(e,t){const n=this.__generatedMappingsUnsorted=[],r=this.__originalMappingsUnsorted=[];for(let e=0;e<this._sections.length;e++){const t=this._sections[e],i=[];t.consumer.eachMapping((e=>i.push(e)));for(let e=0;e<i.length;e++){const o=i[e];let a=RS.computeSourceURL(t.consumer.sourceRoot,null,this._sourceMapURL);this._sources.add(a),a=this._sources.indexOf(a);let s=null;o.name&&(this._names.add(o.name),s=this._names.indexOf(o.name));const l={source:a,generatedLine:o.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(t.generatedOffset.generatedLine===o.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:s};n.push(l),"number"==typeof l.originalLine&&r.push(l)}}}eachMapping(e,t,n){const r=t||null;let i;switch(n||US.GENERATED_ORDER){case US.GENERATED_ORDER:i=this._generatedMappings;break;case US.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}const o=this.sourceRoot;i.map((function(e){let t=null;return null!==e.source&&(t=this._sources.at(e.source),t=RS.computeSourceURL(o,t,this._sourceMapURL)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,r)}_findMapping(e,t,n,r,i,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return TS.search(e,t,i,o)}allGeneratedPositionsFor(e){const t=RS.getArg(e,"line"),n={source:RS.getArg(e,"source"),originalLine:t,originalColumn:RS.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];if(n.originalLine<1)throw new Error("Line numbers must be >= 1");if(n.originalColumn<0)throw new Error("Column numbers must be >= 0");const r=[];let i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",RS.compareByOriginalPositions,TS.LEAST_UPPER_BOUND);if(i>=0){let n=this._originalMappings[i];if(void 0===e.column){const e=n.originalLine;for(;n&&n.originalLine===e;){let e=n.lastGeneratedColumn;this._computedColumnSpans&&null===e&&(e=1/0),r.push({line:RS.getArg(n,"generatedLine",null),column:RS.getArg(n,"generatedColumn",null),lastColumn:e}),n=this._originalMappings[++i]}}else{const e=n.originalColumn;for(;n&&n.originalLine===t&&n.originalColumn==e;){let e=n.lastGeneratedColumn;this._computedColumnSpans&&null===e&&(e=1/0),r.push({line:RS.getArg(n,"generatedLine",null),column:RS.getArg(n,"generatedColumn",null),lastColumn:e}),n=this._originalMappings[++i]}}}return r}destroy(){for(let e=0;e<this._sections.length;e++)this._sections[e].consumer.destroy()}}kS.IndexedSourceMapConsumer=NS;var IS={};const jS=aS.SourceMapGenerator,DS=hS,VS=/(\r?\n)/,FS="$$$isSourceNode$$$";class KS{constructor(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[FS]=!0,null!=r&&this.add(r)}static fromStringWithSourceMap(e,t,n){const r=new KS,i=e.split(VS);let o=0;const a=function(){return e()+(e()||"");function e(){return o<i.length?i[o++]:void 0}};let s,l=1,u=0,c=null;return t.eachMapping((function(e){if(null!==c){if(!(l<e.generatedLine)){s=i[o]||"";const t=s.substr(0,e.generatedColumn-u);return i[o]=s.substr(e.generatedColumn-u),u=e.generatedColumn,h(c,t),void(c=e)}h(c,a()),l++,u=0}for(;l<e.generatedLine;)r.add(a()),l++;u<e.generatedColumn&&(s=i[o]||"",r.add(s.substr(0,e.generatedColumn)),i[o]=s.substr(e.generatedColumn),u=e.generatedColumn),c=e}),this),o<i.length&&(c&&h(c,a()),r.add(i.splice(o).join(""))),t.sources.forEach((function(e){const i=t.sourceContentFor(e);null!=i&&(null!=n&&(e=DS.join(n,e)),r.setSourceContent(e,i))})),r;function h(e,t){if(null===e||void 0===e.source)r.add(t);else{const i=n?DS.join(n,e.source):e.source;r.add(new KS(e.originalLine,e.originalColumn,i,t,e.name))}}}add(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[FS]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this}prepend(e){if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[FS]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this}walk(e){let t;for(let n=0,r=this.children.length;n<r;n++)t=this.children[n],t[FS]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}join(e){let t,n;const r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this}replaceRight(e,t){const n=this.children[this.children.length-1];return n[FS]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this}setSourceContent(e,t){this.sourceContents[DS.toSetString(e)]=t}walkSourceContents(e){for(let t=0,n=this.children.length;t<n;t++)this.children[t][FS]&&this.children[t].walkSourceContents(e);const t=Object.keys(this.sourceContents);for(let n=0,r=t.length;n<r;n++)e(DS.fromSetString(t[n]),this.sourceContents[t[n]])}toString(){let e="";return this.walk((function(t){e+=t})),e}toStringWithSourceMap(e){const t={code:"",line:1,column:0},n=new jS(e);let r=!1,i=null,o=null,a=null,s=null;return this.walk((function(e,l){t.code+=e,null!==l.source&&null!==l.line&&null!==l.column?(i===l.source&&o===l.line&&a===l.column&&s===l.name||n.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name}),i=l.source,o=l.line,a=l.column,s=l.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1);for(let o=0,a=e.length;o<a;o++)10===e.charCodeAt(o)?(t.line++,t.column=0,o+1===a?(i=null,r=!1):r&&n.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}}}IS.SourceNode=KS,oS.SourceMapGenerator=aS.SourceMapGenerator,oS.SourceMapConsumer=kS.SourceMapConsumer,oS.SourceNode=IS.SourceNode;var qS=oS.SourceMapConsumer;function WS(e){return e}function YS(e,t){return t in e}function $S(e,t,n,r){for(var i,o,a=t[0],s=t[1],l=t[2],u={line:a,column:s+n};!i&&u.column>s;)u.column--,i=e[l].originalPositionFor(u);return!i||i.column<0?t:null===i.line&&a>1&&r>0?$S(e,[a-1,s,l],n,r-1):null!==i.line?[(o=i).line,o.column,o.source]:t}function GS(e,t,n){e[t]=new qS(n)}var HS=function(){var e={};return{all:WS.bind(null,e),isTracking:YS.bind(null,e),originalPositionFor:$S.bind(null,e),track:GS.bind(null,e)}},QS=/^(\w+:\/\/|\/\/)/,ZS=/^file:\/\//;var XS=function(e){return QS.test(e)&&!ZS.test(e)},JS=/^\/\//;var eC=function(e){return!JS.test(e)},tC=nS,nC=O_,rC=XS,iC=eC,oC="http:";function aC(e){return rC(e)||nC.parse(oC+"//"+e).host==e}var sC=function e(t,n,r){var i,o,a,s,l,u,c=!n;if(0===r.length)return!1;for(n&&!iC(t)&&(t=oC+t),i=n?nC.parse(t).host:t,o=n?t:tC.resolve(t),u=0;u<r.length;u++)s="!"==(a=r[u])[0],l=a.substring(1),c=s&&n&&aC(l)?c&&!e(t,!0,[l]):!s||n||aC(l)?s?c&&!0:"all"==a||(n&&"local"==a?c||!1:!(!n||"remote"!=a)||!(!n&&"remote"==a)&&(!n&&"local"==a||(a===i||(a===t||(!(!n||0!==o.indexOf(a))||(!n&&0===o.indexOf(tC.resolve(a))||n!=aC(l)&&(c&&!0))))))):c&&!e(t,!1,[l]);return c},lC=/^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;var uC=nS;var cC=function(e,t,n){var r=uC.resolve(""),i=uC.resolve(r,t),o=uC.dirname(i);return e.sources=e.sources.map((function(e){return uC.relative(n,uC.resolve(o,e))})),e},hC=nS,pC=O_;var fC=function(e,t){var n=hC.dirname(t);return e.sources=e.sources.map((function(e){return pC.resolve(n,e)})),e},dC=/^data:(\S{0,31}?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;var mC=function(e){return dC.test(e)},gC=_S,bC=nS,vC=sC,yC=function(e){return lC.exec(e)},wC=cC,kC=fC,xC=ic,OC=eC,_C=mC,SC=XS,CC=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function EC(e){var t,n,r,i=[],o=AC(e.sourceTokens[0]);for(r=e.sourceTokens.length;e.index<r;e.index++)if((t=AC(n=e.sourceTokens[e.index]))!=o&&(i=[],o=t),i.push(n),e.processedTokens.push(n),n[0]==xC.COMMENT&&CC.test(n[1]))return RC(n[1],t,i,e);return e.callback(e.processedTokens)}function AC(e){return(e[0]==xC.AT_RULE||e[0]==xC.COMMENT||e[0]==xC.RAW?e[2][0]:e[1][0][2][0])[2]}function RC(e,t,n,r){return function(e,t,n){var r,i,o,a=CC.exec(e)[1];if(_C(a))return i=function(e){var t=yC(e),n=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",r=t[3]?t[3].split(";")[1]:"utf8",i="utf8"==r?Ve.unescape(t[4]):t[4],o=qw.from(i,r);return o.charset=n,JSON.parse(o.toString())}(a),n(i);if(SC(a))return function(e,t,n){var r=vC(e,!0,t.inline),i=!OC(e);if(t.localOnly)return t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null);if(i)return t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null);if(!r)return t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null);t.fetch(e,t.inlineRequest,t.inlineTimeout,(function(r,i){if(r)return t.warnings.push('Missing source map at "'+e+'" - '+r),n(null);n(i)}))}(a,t,(function(e){var t;e?(t=JSON.parse(e),o=kC(t,a),n(o)):n(null)}));if(r=bC.resolve(t.rebaseTo,a),i=function(e,t){var n,r=vC(e,!1,t.inline);if(!gC.existsSync(e)||!gC.statSync(e).isFile())return t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null;if(!r)return t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null;if(!gC.statSync(e).size)return t.warnings.push('Cannot fetch "'+e+'" as resource is empty.'),null;return n=gC.readFileSync(e,"utf-8"),JSON.parse(n)}(r,t),i)return o=wC(i,r,t.rebaseTo),n(o);return n(null)}(e,r,(function(e){return e&&(r.inputSourceMapTracker.track(t,e),TC(n,r.inputSourceMapTracker)),r.index++,EC(r)}))}function TC(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)switch((n=e[r])[0]){case xC.AT_RULE:LC(n,t);break;case xC.AT_RULE_BLOCK:TC(n[1],t),TC(n[2],t);break;case xC.AT_RULE_BLOCK_SCOPE:LC(n,t);break;case xC.NESTED_BLOCK:TC(n[1],t),TC(n[2],t);break;case xC.NESTED_BLOCK_SCOPE:case xC.COMMENT:LC(n,t);break;case xC.PROPERTY:TC(n,t);break;case xC.PROPERTY_BLOCK:TC(n[1],t);break;case xC.PROPERTY_NAME:case xC.PROPERTY_VALUE:LC(n,t);break;case xC.RULE:TC(n[1],t),TC(n[2],t);break;case xC.RULE_SCOPE:LC(n,t)}return e}function LC(e,t){var n,r,i=e[1],o=e[2],a=[];for(n=0,r=o.length;n<r;n++)a.push(t.originalPositionFor(o[n],i.length));e[2]=a}var PC=function(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?EC(r):n(e)},zC=up,MC=/^\(/,UC=/\)$/,BC=/^@import/i,NC=/['"]\s{0,31}/,IC=/\s{0,31}['"]/,jC=/^url\(\s{0,31}/i,DC=/\s{0,31}\)/i;var VC=function(e){var t,n;return t=e.replace(BC,"").trim().replace(jC,"(").replace(DC,") ").replace(NC,"").replace(IC,""),[(n=zC(t," "))[0].replace(MC,"").replace(UC,""),n.slice(1).join(" ")]},FC=_S,KC=nS,qC=sC,WC=eC,YC=XS;function $C(e){var t,n,r,i,o,a={};for(r in e)for(i=0,o=(t=e[r]).sources.length;i<o;i++)n=t.sources[i],r=t.sourceContentFor(n,!0),a[n]=r;return a}function GC(e){var t,n,r,i=Object.keys(e.uriToSource);for(r=i.length;e.index<r;e.index++){if(t=i[e.index],!(n=e.uriToSource[t]))return HC(t,e);e.sourcesContent[t]=n}return e.callback()}function HC(e,t){var n;return YC(e)?function(e,t,n){var r=qC(e,!0,t.inline),i=!WC(e);if(t.localOnly)return t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null);if(i)return t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null);if(!r)return t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null);t.fetch(e,t.inlineRequest,t.inlineTimeout,(function(r,i){r&&t.warnings.push('Missing original source at "'+e+'" - '+r),n(i)}))}(e,t,(function(n){return t.index++,t.sourcesContent[e]=n,GC(t)})):(n=function(e,t){var n=qC(e,!1,t.inline),r=KC.resolve(t.rebaseTo,e);if(!FC.existsSync(r)||!FC.statSync(r).isFile())return t.warnings.push('Ignoring local source map at "'+r+'" as resource is missing.'),null;if(!n)return t.warnings.push('Cannot fetch "'+r+'" as resource is not allowed.'),null;var i=FC.readFileSync(r,"utf8");65279===i.charCodeAt(0)&&(i=i.substring(1));return i}(e,t),t.index++,t.sourcesContent[e]=n,GC(t))}var QC=function(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:$C(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?GC(n):t()},ZC=/\\/g;var XC=function(e){return e.replace(ZC,"/")};var JC=function(e,t){return("@import "+e+" "+t).trim()},eE=nS,tE=O_,nE=mC,rE='"',iE="'",oE=/^[^\w\d]*\/\//,aE=/^["']/,sE=/["']$/,lE=/[()]/,uE=/^url\(/i,cE=/\)$/,hE=/\s/,pE="win32"==xl.platform;function fE(e,t){return t?function(e){return eE.isAbsolute(e)}(e)&&!dE(t.toBase)||dE(e)||function(e){return"#"==e[0]}(e)||function(e){return/^\w+:\w+/.test(e)}(e)||nE(e)?e:dE(t.toBase)?tE.resolve(t.toBase,e):t.absolute?mE(function(e,t){return eE.resolve(eE.join(t.fromBase||"",e)).replace(t.toBase,"")}(e,t)):mE(function(e,t){return eE.relative(t.toBase,eE.join(t.fromBase||"",e))}(e,t)):e}function dE(e){return/^[^:]+?:\/\//.test(e)||oE.test(e)}function mE(e){return pE?e.replace(/\\/g,"/"):e}function gE(e){return e.indexOf(iE)>-1?rE:e.indexOf(rE)>-1||function(e){return hE.test(e)}(e)||function(e){return lE.test(e)}(e)?iE:""}var bE=/^@import/i;var vE=function(e){return bE.test(e)},yE=VC,wE=JC,kE=function(e,t,n){var r=e.replace(uE,"").replace(cE,"").trim(),i=r.replace(aE,"").replace(sE,"").trim(),o=r[0]==iE||r[0]==rE?r[0]:gE(i);return n?fE(i,t):"url("+o+fE(i,t)+o+")"},xE=ic,OE=vE,_E=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function SE(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)switch((r=e[i])[0]){case xE.AT_RULE:CE(r,t,n);break;case xE.AT_RULE_BLOCK:AE(r[2],t,n);break;case xE.COMMENT:EE(r,n);break;case xE.NESTED_BLOCK:SE(r[2],t,n);break;case xE.RULE:AE(r[2],t,n)}return e}function CE(e,t,n){if(OE(e[1])){var r=yE(e[1]),i=kE(r[0],n),o=r[1];e[1]=wE(i,o)}}function EE(e,t){var n=_E.exec(e[1]);n&&-1===n[1].indexOf("data:")&&(e[1]=e[1].replace(n[1],kE(n[1],t,!0)))}function AE(e,t,n){var r,i,o,a,s,l;for(o=0,a=e.length;o<a;o++)for(s=2,l=(r=e[o]).length;s<l;s++)i=r[s][1],t.isUrl(i)&&(r[s][1]=kE(i,n))}var RE=function(e,t,n,r){return t?SE(e,n,r):function(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)if((r=e[i])[0]===xE.AT_RULE)CE(r,t,n);return e}(e,n,r)},TE=wu,LE=ic,PE=ku,zE={BLOCK:"block",COMMENT:"comment",DOUBLE_QUOTE:"double-quote",RULE:"rule",SINGLE_QUOTE:"single-quote"},ME=["@charset","@import"],UE=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports","@container","@layer"],BE=/\/\* clean-css ignore:end \*\/$/,NE=/^\/\* clean-css ignore:start \*\//,IE=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],jE=["@footnote","@footnotes","@left","@page-float-bottom","@page-float-top","@right"],DE=/^\[\s{0,31}\d+\s{0,31}\]$/,VE=/([^}])\}*$/,FE=/[\s(]/;function KE(e,t,n,r){for(var i,o,a,s,l,u,c,h,p,f,d,m,g,b,v,y,w,k=[],x=k,O=[],_=[],S=n.level,C=[],E=[],A=[],R=!0,T=0,L=!1,P=!1,z=!1,M=!1,U=!1,B=!1,N=!1,I=n.position;I.index<e.length;I.index++){var j=e[I.index];if(c=S==zE.SINGLE_QUOTE||S==zE.DOUBLE_QUOTE,h=j==TE.SPACE||j==TE.TAB,p=j==TE.NEW_LINE_NIX,f=j==TE.NEW_LINE_NIX&&e[I.index-1]==TE.CARRIAGE_RETURN,d=j==TE.CARRIAGE_RETURN&&e[I.index+1]&&e[I.index+1]!=TE.NEW_LINE_NIX,m=!P&&S!=zE.COMMENT&&!c&&j==TE.ASTERISK&&e[I.index-1]==TE.FORWARD_SLASH,b=!L&&!c&&j==TE.FORWARD_SLASH&&e[I.index-1]==TE.ASTERISK,g=S==zE.COMMENT&&b,y=!h&&!d&&(j>="A"&&j<="Z"||j>="a"&&j<="z"||j>="0"&&j<="9"||"-"==j),M=M||S!=zE.COMMENT&&!B&&z&&"-"===j&&1===E.length,z="-"===j,T=Math.max(T,0),s=R?[I.line,I.column,I.source]:s,v)E.push(j),R=!1;else if(y)E.push(j),R=!1;else if((h||p&&!f)&&(c||S==zE.COMMENT))E.push(j),R=!1;else if((h||p&&!f)&&R);else if(g||S!=zE.COMMENT)if(m||g||!U)if(m&&M&&(S==zE.BLOCK||S==zE.RULE)&&E.length>1)E.push(j),R=!1,C.push(S),S=zE.COMMENT;else if(m&&(S==zE.BLOCK||S==zE.RULE)&&E.length>1)_.push(s),E.push(j),A.push(E.slice(0,-2)),R=!1,E=E.slice(-2),s=[I.line,I.column-1,I.source],C.push(S),S=zE.COMMENT;else if(m)C.push(S),S=zE.COMMENT,E.push(j),R=!1;else if(g&&M)E.push(j),S=C.pop();else if(g&&qE(E))l=E.join("").trim()+j,i=[LE.COMMENT,l,[YE(s,l,t)]],x.push(i),U=!0,s=_.pop()||null,R=0===(E=A.pop()||[]).length;else if(g&&WE(E))w=(l=E.join("")+j).lastIndexOf(TE.FORWARD_SLASH+TE.ASTERISK),u=l.substring(0,w),i=[LE.RAW,u,[YE(s,u,t)]],x.push(i),u=l.substring(w),s=[I.line,I.column-u.length+1,I.source],i=[LE.COMMENT,u,[YE(s,u,t)]],x.push(i),U=!1,S=C.pop(),s=_.pop()||null,R=0===(E=A.pop()||[]).length;else if(g)l=E.join("").trim()+j,i=[LE.COMMENT,l,[YE(s,l,t)]],x.push(i),S=C.pop(),s=_.pop()||null,R=0===(E=A.pop()||[]).length;else if(b&&e[I.index+1]!=TE.ASTERISK)t.warnings.push("Unexpected '*/' at "+PE([I.line,I.column,I.source])+"."),E=[],R=!0;else if(j!=TE.SINGLE_QUOTE||c)if(j==TE.SINGLE_QUOTE&&S==zE.SINGLE_QUOTE)S=C.pop(),E.push(j),R=!1;else if(j!=TE.DOUBLE_QUOTE||c)if(j==TE.DOUBLE_QUOTE&&S==zE.DOUBLE_QUOTE)S=C.pop(),E.push(j),R=!1;else if(j!=TE.CLOSE_ROUND_BRACKET&&j!=TE.OPEN_ROUND_BRACKET&&S!=zE.COMMENT&&!c&&T>0)E.push(j),R=!1;else if(j!=TE.OPEN_ROUND_BRACKET||c||S==zE.COMMENT||B)if(j!=TE.CLOSE_ROUND_BRACKET||c||S==zE.COMMENT||B)if(j==TE.SEMICOLON&&S==zE.BLOCK&&E[0]==TE.AT)l=E.join("").trim(),k.push([LE.AT_RULE,l,[YE(s,l,t)]]),E=[],R=!0;else if(j==TE.COMMA&&S==zE.BLOCK&&o)l=E.join("").trim(),o[1].push([GE(o[0]),l,[YE(s,l,t,o[1].length)]]),E=[],R=!0;else if(j==TE.COMMA&&S==zE.BLOCK&&$E(E)==LE.AT_RULE)E.push(j),R=!1;else if(j==TE.COMMA&&S==zE.BLOCK)o=[$E(E),[],[]],l=E.join("").trim(),o[1].push([GE(o[0]),l,[YE(s,l,t,0)]]),E=[],R=!0;else if(j==TE.OPEN_CURLY_BRACKET&&S==zE.BLOCK&&o&&o[0]==LE.NESTED_BLOCK)l=E.join("").trim(),o[1].push([LE.NESTED_BLOCK_SCOPE,l,[YE(s,l,t)]]),k.push(o),C.push(S),I.column++,I.index++,E=[],R=!0,o[2]=KE(e,t,n,!0),o=null;else if(j==TE.OPEN_CURLY_BRACKET&&S==zE.BLOCK&&$E(E)==LE.NESTED_BLOCK)l=E.join("").trim(),(o=o||[LE.NESTED_BLOCK,[],[]])[1].push([LE.NESTED_BLOCK_SCOPE,l,[YE(s,l,t)]]),k.push(o),C.push(S),I.column++,I.index++,E=[],R=!0,M=!1,o[2]=KE(e,t,n,!0),o=null;else if(j==TE.OPEN_CURLY_BRACKET&&S==zE.BLOCK)l=E.join("").trim(),(o=o||[$E(E),[],[]])[1].push([GE(o[0]),l,[YE(s,l,t,o[1].length)]]),x=o[2],k.push(o),C.push(S),S=zE.RULE,E=[],R=!0;else if(j==TE.OPEN_CURLY_BRACKET&&S==zE.RULE&&B)O.push(o),o=[LE.PROPERTY_BLOCK,[]],a.push(o),x=o[1],C.push(S),S=zE.RULE,B=!1;else if(j==TE.OPEN_CURLY_BRACKET&&S==zE.RULE&&HE(E))l=E.join("").trim(),O.push(o),(o=[LE.AT_RULE_BLOCK,[],[]])[1].push([LE.AT_RULE_BLOCK_SCOPE,l,[YE(s,l,t)]]),x.push(o),x=o[2],C.push(S),S=zE.RULE,E=[],R=!0;else if(j!=TE.COLON||S!=zE.RULE||B)if(j==TE.SEMICOLON&&S==zE.RULE&&a&&O.length>0&&!R&&E[0]==TE.AT)l=E.join("").trim(),o[1].push([LE.AT_RULE,l,[YE(s,l,t)]]),E=[],R=!0;else if(j==TE.SEMICOLON&&S==zE.RULE&&a&&!R)l=E.join("").trim(),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),a=null,B=!1,E=[],R=!0,M=!1;else if(j==TE.SEMICOLON&&S==zE.RULE&&a&&R&&M&&!a[2])a.push([LE.PROPERTY_VALUE," ",[YE(s," ",t)]]),M=!1,a=null,B=!1;else if(j==TE.SEMICOLON&&S==zE.RULE&&a&&R)a=null,B=!1;else if(j!=TE.SEMICOLON||S!=zE.RULE||R||E[0]!=TE.AT)if(j==TE.SEMICOLON&&S==zE.RULE&&N)N=!1,E=[],R=!0;else if(j==TE.SEMICOLON&&S==zE.RULE&&R);else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE&&a&&B&&!R&&O.length>0)l=E.join(""),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),a=null,x=(o=O.pop())[2],S=C.pop(),B=!1,E=[],R=!0;else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE&&a&&!R&&E[0]==TE.AT&&O.length>0)l=E.join(""),o[1].push([LE.AT_RULE,l,[YE(s,l,t)]]),a=null,x=(o=O.pop())[2],S=C.pop(),B=!1,E=[],R=!0;else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE&&a&&O.length>0)a=null,x=(o=O.pop())[2],S=C.pop(),B=!1;else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE&&a&&!R)l=E.join(""),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),a=null,o=O.pop(),x=k,S=C.pop(),B=!1,E=[],R=!0;else if(j!=TE.CLOSE_CURLY_BRACKET||S!=zE.RULE||R||E[0]!=TE.AT)if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE&&C[C.length-1]==zE.RULE)a=null,x=(o=O.pop())[2],S=C.pop(),B=!1,N=!0,E=[],R=!0;else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE&&M&&a&&!a[2])a.push([LE.PROPERTY_VALUE," ",[YE(s," ",t)]]),M=!1,a=null,o=null,x=k,S=C.pop(),B=!1,M=!1;else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.RULE)a=null,o=null,x=k,S=C.pop(),B=!1,M=!1;else if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.BLOCK&&!r&&I.index<=e.length-1)t.warnings.push("Unexpected '}' at "+PE([I.line,I.column,I.source])+"."),E.push(j),R=!1;else{if(j==TE.CLOSE_CURLY_BRACKET&&S==zE.BLOCK)break;j==TE.OPEN_ROUND_BRACKET&&S==zE.RULE&&B?(E.push(j),R=!1,T++):j==TE.CLOSE_ROUND_BRACKET&&S==zE.RULE&&B&&1==T?(E.push(j),R=!1,l=E.join("").trim(),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),T--,E=[],R=!0,M=!1):j==TE.CLOSE_ROUND_BRACKET&&S==zE.RULE&&B?(E.push(j),R=!1,M=!1,T--):j==TE.FORWARD_SLASH&&e[I.index+1]!=TE.ASTERISK&&S==zE.RULE&&B&&!R?(l=E.join("").trim(),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),a.push([LE.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),E=[],R=!0):j==TE.FORWARD_SLASH&&e[I.index+1]!=TE.ASTERISK&&S==zE.RULE&&B?(a.push([LE.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),E=[],R=!0):j==TE.COMMA&&S==zE.RULE&&B&&!R?(l=E.join("").trim(),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),a.push([LE.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),E=[],R=!0):j==TE.COMMA&&S==zE.RULE&&B?(a.push([LE.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),E=[],R=!0):j==TE.CLOSE_SQUARE_BRACKET&&a&&a.length>1&&!R&&QE(E)?(E.push(j),l=E.join("").trim(),a[a.length-1][1]+=l,E=[],R=!0):(h||p&&!f)&&S==zE.RULE&&B&&a&&!R||f&&S==zE.RULE&&B&&a&&E.length>1?(l=E.join("").trim(),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),E=[],R=!0):f&&S==zE.RULE&&B?(E=[],R=!0):f&&1==E.length?(E.pop(),R=0===E.length):R&&(h||p||f||d)||(E.push(j),R=!1)}else a=null,o=null,l=E.join("").trim(),x.push([LE.AT_RULE,l,[YE(s,l,t)]]),x=k,S=C.pop(),B=!1,E=[],R=!0;else l=E.join(""),x.push([LE.AT_RULE,l,[YE(s,l,t)]]),B=!1,E=[],R=!0;else l=E.join("").trim(),a=[LE.PROPERTY,[LE.PROPERTY_NAME,l,[YE(s,l,t)]]],x.push(a),B=!0,E=[],R=!0;else E.push(j),R=!1,T--;else E.push(j),R=!1,T++;else C.push(S),S=zE.DOUBLE_QUOTE,E.push(j),R=!1;else C.push(S),S=zE.SINGLE_QUOTE,E.push(j),R=!1;else E.push(j),R=!1;else E.push(j),R=!1;v=!v&&j==TE.BACK_SLASH,L=m,P=g,I.line=f||p||d?I.line+1:I.line,I.column=f||p||d?0:I.column+1}return B&&t.warnings.push("Missing '}' at "+PE([I.line,I.column,I.source])+"."),B&&E.length>0&&(l=E.join("").trimRight().replace(VE,"$1").trimRight(),a.push([LE.PROPERTY_VALUE,l,[YE(s,l,t)]]),E=[]),E.length>0&&t.warnings.push("Invalid character(s) '"+E.join("")+"' at "+PE(s)+". Ignoring."),k}function qE(e){return NE.test(e.join("")+TE.FORWARD_SLASH)}function WE(e){return BE.test(e.join("")+TE.FORWARD_SLASH)}function YE(e,t,n,r){var i=e[2];return n.inputSourceMapTracker.isTracking(i)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function $E(e){var t=e[0]==TE.AT||e[0]==TE.UNDERSCORE,n=e.join("").split(FE)[0];return t&&UE.indexOf(n)>-1?LE.NESTED_BLOCK:t&&ME.indexOf(n)>-1?LE.AT_RULE:t?LE.AT_RULE_BLOCK:LE.RULE}function GE(e){return e==LE.RULE?LE.RULE_SCOPE:e==LE.NESTED_BLOCK?LE.NESTED_BLOCK_SCOPE:e==LE.AT_RULE_BLOCK?LE.AT_RULE_BLOCK_SCOPE:void 0}function HE(e){var t=e.join("").trim();return IE.indexOf(t)>-1||jE.indexOf(t)>-1}function QE(e){return DE.test(e.join("")+TE.CLOSE_SQUARE_BRACKET)}var ZE=_S,XE=nS,JE=PC,eA=VC,tA=sC,nA=QC,rA=XC,iA=RE,oA=cC,aA=fC,sA=JC,lA=function(e,t){return KE(e,t,{level:zE.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)},uA=ic,cA=wu,hA=eC,pA=vE,fA=XS,dA="uri:unknown",mA="file://";function gA(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,kA(e,t,{inline:t.options.inline},n)}function bA(e,t,n){var r,i,o;for(r in e)o=e[r],i=vA(r),n.push(wA(i)),t.sourcesContent[i]=o.styles,o.sourceMap&&yA(o.sourceMap,i,t);return n}function vA(e){var t,n,r=XE.resolve("");return fA(e)?e:(t=XE.isAbsolute(e)?e:XE.resolve(e),n=XE.relative(r,t),rA(n))}function yA(e,t,n){var r="string"==typeof e?JSON.parse(e):e,i=fA(t)?aA(r,t):oA(r,t||dA,n.options.rebaseTo);n.inputSourceMapTracker.track(t,i)}function wA(e){return sA("url("+e+")","")+cA.SEMICOLON}function kA(e,t,n,r){var i,o={};return t.source?fA(t.source)?(o.fromBase=t.source,o.toBase=t.source):XE.isAbsolute(t.source)?(o.fromBase=XE.dirname(t.source),o.toBase=t.options.rebaseTo):(o.fromBase=XE.dirname(XE.resolve(t.source)),o.toBase=t.options.rebaseTo):(o.fromBase=XE.resolve(""),o.toBase=t.options.rebaseTo),i=lA(e,t),i=iA(i,t.options.rebase,t.validator,o),function(e){return!(1==e.length&&"none"==e[0])}(n.inline)?function(e,t,n,r){var i={afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return xA(i)}(i,t,n,r):r(i)}function xA(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==uA.AT_RULE&&pA(t[1]))return e.sourceTokens.splice(0,n),OA(t,e);t[0]==uA.AT_RULE||t[0]==uA.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function OA(e,t){var n=eA(e[1]),r=n[0],i=n[1],o=e[2];return fA(r)?function(e,t,n,r){var i=tA(e,!0,r.inline),o=e,a=e in r.externalContext.sourcesContent,s=!hA(e);if(r.inlinedStylesheets.indexOf(e)>-1)return r.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),r.sourceTokens=r.sourceTokens.slice(1),xA(r);if(r.localOnly&&r.afterContent)return r.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),r.sourceTokens=r.sourceTokens.slice(1),xA(r);if(s)return r.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),xA(r);if(r.localOnly&&!a)return r.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),xA(r);if(!i&&r.afterContent)return r.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),r.sourceTokens=r.sourceTokens.slice(1),xA(r);if(!i)return r.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),xA(r);function l(i,a){return i?(r.errors.push('Broken @import declaration of "'+e+'" - '+i),xl.nextTick((function(){r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),xA(r)}))):(r.inline=r.externalContext.options.inline,r.isRemote=!0,r.externalContext.source=o,r.externalContext.sourcesContent[e]=a,r.externalContext.stats.originalSize+=a.length,kA(a,r.externalContext,r,(function(e){return e=_A(e,t,n),r.outputTokens=r.outputTokens.concat(e),r.sourceTokens=r.sourceTokens.slice(1),xA(r)})))}return r.inlinedStylesheets.push(e),a?l(null,r.externalContext.sourcesContent[e]):r.fetch(e,r.inlineRequest,r.inlineTimeout,l)}(r,i,o,t):function(e,t,n,r){var i,o=e.replace(mA,""),a=XE.resolve(""),s=XE.isAbsolute(o)?XE.resolve(a,"/"==o[0]?o.substring(1):o):XE.resolve(r.rebaseTo,o),l=XE.relative(a,s),u=tA(o,!1,r.inline),c=rA(l),h=c in r.externalContext.sourcesContent;if(r.inlinedStylesheets.indexOf(s)>-1)r.warnings.push('Ignoring local @import of "'+o+'" as it has already been imported.');else if(!u||h||ZE.existsSync(s)&&ZE.statSync(s).isFile())if(!u&&r.afterContent)r.warnings.push('Ignoring local @import of "'+o+'" as resource is not allowed and after other content.');else if(r.afterContent)r.warnings.push('Ignoring local @import of "'+o+'" as after other content.');else{if(u)return 65279===(i=h?r.externalContext.sourcesContent[c]:ZE.readFileSync(s,"utf-8")).charCodeAt(0)&&(i=i.substring(1)),r.inlinedStylesheets.push(s),r.inline=r.externalContext.options.inline,r.externalContext.source=c,r.externalContext.sourcesContent[c]=i,r.externalContext.stats.originalSize+=i.length,kA(i,r.externalContext,r,(function(e){return e=_A(e,t,n),r.outputTokens=r.outputTokens.concat(e),r.sourceTokens=r.sourceTokens.slice(1),xA(r)}));r.warnings.push('Skipping local @import of "'+o+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1))}else r.errors.push('Ignoring local @import of "'+o+'" as resource is missing.');return r.sourceTokens=r.sourceTokens.slice(1),xA(r)}(r,i,o,t)}function _A(e,t,n){return t?[[uA.NESTED_BLOCK,[[uA.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}var SA=function(e,t,n){return function(e,t,n){if("string"==typeof e)return gA(e,t,n);if(qw.isBuffer(e))return gA(e.toString(),t,n);if(Array.isArray(e))return function(e,t,n){var r=e.reduce((function(e,n){return"string"==typeof n?function(e,t){return t.push(wA(vA(e))),t}(n,e):bA(n,t,e)}),[]);return kA(r.join(""),t,{inline:["all"]},n)}(e,t,n);if("object"==typeof e)return function(e,t,n){var r=bA(e,t,[]);return kA(r.join(""),t,{inline:["all"]},n)}(e,t,n)}(e,t,(function(e){return JE(e,t,(function(){return nA(t,(function(){return n(e)}))}))}))},CA=kd.all;function EA(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),RA(e,n),e.output.push(n)}function AA(e,t){e.column+t.length>e.format.wrapAt&&(RA(e,e.format.breakWith),e.output.push(e.format.breakWith))}function RA(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}var TA=function(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:EA,wrap:t.options.format.wrapAt?AA:function(){}};return CA(n,e),{styles:n.output.join("")}},LA=oS.SourceMapGenerator,PA=kd.all,zA=XS,MA="win32"==xl.platform,UA=/\//g,BA="$stdin",NA="\\";function IA(e,t){var n="string"==typeof t,r=n?t:t[1],i=n?null:t[2];(0,e.wrap)(e,r),DA(e,r,i),e.output.push(r)}function jA(e,t){e.column+t.length>e.format.wrapAt&&(DA(e,e.format.breakWith,!1),e.output.push(e.format.breakWith))}function DA(e,t,n){var r=t.split("\n");n&&function(e,t){for(var n=0,r=t.length;n<r;n++)VA(e,t[n])}(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function VA(e,t){var n=t[0],r=t[1],i=t[2],o=i,a=o||BA;MA&&o&&!zA(o)&&(a=o.replace(UA,NA)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:a,original:{line:n,column:r}}),e.inlineSources&&i in e.sourcesContent&&e.outputMap.setSourceContent(a,e.sourcesContent[i])}var FA=function(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new LA,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:IA,wrap:t.options.format.wrapAt?jA:function(){}};return PA(n,e),{sourceMap:n.outputMap,styles:n.output.join("")}},KA=_l,qA=om,WA=Py,YA=Ew,$A=Tw,GA=M_,HA=yu,QA=U_,ZA=I_,XA=j_,JA=xh,eR=Oh,tR=D_,nR=V_,rR=iS,iR=HS,oR=SA,aR=TA,sR=FA,lR=Ol.exports=function(e){e=e||{},this.options={batch:!!e.batch,compatibility:$A(e.compatibility),explicitRebaseTo:"rebaseTo"in e,fetch:GA(e.fetch),format:HA(e.format),inline:QA(e.inline),inlineRequest:ZA(e.inlineRequest),inlineTimeout:XA(e.inlineTimeout),level:eR(e.level),plugins:tR(e.plugins),rebase:nR(e.rebase,e.rebaseTo),rebaseTo:rR(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}};function uR(e,t,n,r){return t.batch&&Array.isArray(e)?function(e,t,n,r){var i,o,a,s="function"==typeof r?r:"function"==typeof n?n:null,l=[],u={};function c(e,t){u=Object.assign(u,t),null!==e&&(l=l.concat(e))}for(o=0,a=e.length;o<a;o++)"object"==typeof e[o]?cR(e[o],t,c):(i=e[o],u[i]=hR([i],t),l=l.concat(u[i].errors));return s?s(l.length>0?l:null,u):u}(e,t,n,r):t.batch&&"object"==typeof e?cR(e,t,n,r):hR(e,t,n,r)}function cR(e,t,n,r){var i,o,a="function"==typeof r?r:"function"==typeof n?n:null,s=[],l={};for(i in e)o=e[i],l[i]=hR(o.styles,t,o.sourceMap),s=s.concat(l[i].errors);return a?a(s.length>0?s:null,l):l}function hR(e,t,n,r){var i="function"!=typeof n?n:null,o="function"==typeof r?r:"function"==typeof n?n:null,a={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:iR(),localOnly:!o,options:t,source:null,sourcesContent:{},validator:YA(t.compatibility),warnings:[]};return i&&a.inputSourceMapTracker.track(void 0,i),t.rebase&&!t.explicitRebaseTo&&a.warnings.push("You have set `rebase: true` without giving `rebaseTo` option, which, in this case, defaults to the current working directory. You are then warned this can lead to unexpected URL rebasing (aka here be dragons)! If you are OK with the clean-css output, then you can get rid of this warning by giving clean-css a `rebaseTo: process.cwd()` option."),(a.localOnly?function(e){return e()}:xl.nextTick)((function(){return oR(e,a,(function(e){var t=a.options.sourceMap?sR:aR,n=function(e,t){var n=KA(e);return n=JA.One in t.options.level?qA(e,t):e,n=JA.Two in t.options.level?WA(e,t,!0):n,n}(e,a),r=function(e,t){return e.stats=function(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}(t(n,a),a);return o?o(a.errors.length>0?a.errors:null,r):r}))}))}lR.process=function(e,t){var n=t.to;return delete t.to,new lR(Object.assign({returnPromise:!0,rebaseTo:n},t)).minify(e).then((function(e){return{css:e.styles}}))},lR.prototype.minify=function(e,t,n){var r=this.options;return r.returnPromise?new Promise((function(n,i){uR(e,r,t,(function(e,t){return e?i(e):n(t)}))})):uR(e,r,t,n)};var pR=Fe(Ol.exports);const fR=()=>{};return e.BrowserInterface=t,e.BrowserInterfaceIframe=class extends t{constructor({requestGetParameters:e,loadTimeout:t,verifyPage:n,allowScripts:r}){super(),this.requestGetParameters=e||{},this.loadTimeout=t||6e4,this.verifyPage=n,r=!1!==r,this.currentUrl=null,this.currentSize={width:null,height:null},this.wrapperDiv=document.createElement("div"),this.wrapperDiv.setAttribute("style","position:fixed; z-index: -1000; opacity: 0; top: 50px;"),document.body.append(this.wrapperDiv),this.iframe=document.createElement("iframe"),this.iframe.setAttribute("style","max-width: none; max-height: none; border: 0px;"),this.iframe.setAttribute("aria-hidden","true"),this.iframe.setAttribute("sandbox","allow-same-origin "+(r?"allow-scripts":"")),this.wrapperDiv.append(this.iframe)}async cleanup(){this.iframe.remove(),this.wrapperDiv.remove()}async fetch(e,t,n){return window.fetch(e,t)}async runInPage(e,t,n,...r){return await this.loadPage(e),t&&await this.resize(t),n({innerWindow:this.iframe.contentWindow,args:r})}addGetParameters(e){const t=new URL(e);for(const e of Object.keys(this.requestGetParameters))t.searchParams.append(e,this.requestGetParameters[e]);return t.toString()}async diagnoseUrlError(e){try{const t=await this.fetch(e,{redirect:"manual"},"html");return"DENY"===t.headers.get("x-frame-options")?new h({url:e}):"opaqueredirect"===t.type?new l({url:e,redirectUrl:t.url}):200===t.status?null:new i({url:e,code:t.status})}catch(t){return new o({url:e,message:t.message})}}sameOrigin(e){return new URL(e).origin===window.location.origin}async loadPage(e){if(e===this.currentUrl)return;const t=this.addGetParameters(e);return new Promise(((n,r)=>{const i=t=>{this.trackUrlError(e,t),r(t)};if(!this.sameOrigin(t))return void i(new a({url:t}));const o=setTimeout((()=>{this.iframe.onload=null,i(new s({url:t}))}),this.loadTimeout);this.iframe.onload=async()=>{try{if(this.iframe.onload=null,clearTimeout(o),!this.iframe.contentDocument||!this.iframe.contentWindow)throw await this.diagnoseUrlError(t)||new a({url:t});if(!this.verifyPage(e,this.iframe.contentWindow,this.iframe.contentDocument))throw await this.diagnoseUrlError(t)||new u({url:t});this.currentUrl=e,n()}catch(e){i(e)}},this.iframe.src=t}))}async resize({width:e,height:t}){if(this.currentSize.width!==e||this.currentSize.height!==t)return new Promise((n=>{this.iframe.width=e.toString(),this.iframe.height=t.toString(),setTimeout(n,1)}))}},e.CrossDomainError=a,e.EmptyCSSError=c,e.HttpError=i,e.LoadTimeoutError=s,e.RedirectError=l,e.SuccessTargetError=n,e.UnknownError=o,e.UrlError=r,e.UrlVerifyError=u,e.XFrameDenyError=h,e.generateCriticalCSS=async function({browserInterface:e,progressCallback:r,urls:i,viewports:o,filters:a,successRatio:s=1,maxPages:l=10}){const u=Math.ceil(Math.min(i.length,l)*s);try{r=r||fR;let s=0;const h=1+i.length*o.length,p=()=>r(++s,h),[f,d]=await async function(e,t,n){const r=new $s(e),i={};let o=0;for(const a of t)try{const t=await e.getCssIncludes(a),i=Object.keys(t).reduce(((e,n)=>{try{e[new URL(n,a).toString()]=t[n]}catch(e){console.log(`Could not absolutify URL: ${n}`)}return e}),{});await r.addMultiple(a,i);const s=await e.getInternalStyles(a);if(await r.addInternalStyles(a,s),o++,o>=n)break}catch(e){i[a]=e}return[r,i]}(e,i,l);p();const m=e.filterValidUrls(i);if(m.length<u)throw new n(d);f.applyFilters(a||{});const g=f.collateSelectorPages(),b=await async function({browserInterface:e,selectorPages:n,validUrls:r,viewports:i,maxPages:o,updateProgress:a}){const s=Object.keys(n).reduce(((e,t)=>(e[t]=Qs(t),e)),{}),l=new Set,u=new Set;for(const c of r.slice(0,o)){const r=await e.runInPage(c,null,t.innerFindMatchingSelectors,s);r.filter((e=>!n[e].has(c))).forEach((e=>u.add(e)));for(const n of i)a(),(await e.runInPage(c,n,t.innerFindAboveFoldSelectors,s,r)).forEach((e=>l.add(e)))}for(const e of u)l.delete(e);return l}({browserInterface:e,selectorPages:g,validUrls:m,viewports:o,maxPages:l,updateProgress:p}),v=f.prunedAsts(b),[y,w]=function(e){const t=(new pR).minify(e);return t.styles?[t.styles,t.errors]:[e,t.errors]}(v.map((e=>e.toCSS())).join("\n"));if(!y){const e={};for(const t of m)e[t]=new c({url:t});throw new n(e)}return[y,f.getErrors().concat(w.map((e=>new Error(e))))]}finally{e.cleanup()}},e.version="0.0.11",Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
|
4
|
+
//# sourceMappingURL=bundle.js.map
|