1732 lines
872 KiB
JavaScript
1732 lines
872 KiB
JavaScript
/* Stripped down stylelint v8.0.0 from https://github.com/Mottie/stylelint/tree/mod */
|
|
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,g){a!=Array.prototype&&a!=Object.prototype&&(a[l]=g.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
|
|
$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.Symbol=function(){var a=0;return function(l){return $jscomp.SYMBOL_PREFIX+(l||"")+a++}}();
|
|
$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(a){var l=0;return $jscomp.iteratorPrototype(function(){return l<a.length?{done:!1,value:a[l++]}:{done:!0}})};
|
|
$jscomp.iteratorPrototype=function(a){$jscomp.initSymbolIterator();a={next:a};a[$jscomp.global.Symbol.iterator]=function(){return this};return a};$jscomp.makeIterator=function(a){$jscomp.initSymbolIterator();var l=a[Symbol.iterator];return l?l.call(a):$jscomp.arrayIterator(a)};
|
|
require=function e$jscomp$0(l,g,k){function h(c,b){if(!g[c]){if(!l[c]){var p="function"==typeof require&&require;if(!b&&p)return p(c,!0);if(f)return f(c,!0);p=Error("Cannot find module '"+c+"'");throw p.code="MODULE_NOT_FOUND",p;}p=g[c]={exports:{}};l[c][0].call(p.exports,function(b){var p=l[c][1][b];return h(p?p:b)},p,p.exports,e$jscomp$0,l,g,k)}return g[c].exports}for(var f="function"==typeof require&&require,d=0;d<k.length;d++)h(k[d]);return h}({1:[function(a,l,g){},{}],2:[function(a,l,g){(function(k){function h(a,
|
|
b){if(a===b)return 0;for(var c=a.length,e=b.length,p=0,d=Math.min(c,e);p<d;++p)if(a[p]!==b[p]){c=a[p];e=b[p];break}return c<e?-1:e<c?1:0}function f(a){return k.Buffer&&"function"===typeof k.Buffer.isBuffer?k.Buffer.isBuffer(a):!(null==a||!a._isBuffer)}function d(a){return f(a)||"function"!==typeof k.ArrayBuffer?!1:"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(a):a?a instanceof DataView||a.buffer&&a.buffer instanceof ArrayBuffer?!0:!1:!1}function c(a){if(x.isFunction(a))return C?a.name:
|
|
(a=a.toString().match(K))&&a[1]}function b(a,b){return"string"===typeof a?a.length<b?a:a.slice(0,b):a}function p(a){if(C||!x.isFunction(a))return x.inspect(a);a=c(a);return"[Function"+(a?": "+a:"")+"]"}function m(a,b,c,e,p){throw new F.AssertionError({message:c,actual:a,expected:b,operator:e,stackStartFunction:p});}function q(a,b){a||m(a,!0,b,"==",F.ok)}function e(a,b,c,e){if(a===b)return!0;if(f(a)&&f(b))return 0===h(a,b);if(x.isDate(a)&&x.isDate(b))return a.getTime()===b.getTime();if(x.isRegExp(a)&&
|
|
x.isRegExp(b))return a.source===b.source&&a.global===b.global&&a.multiline===b.multiline&&a.lastIndex===b.lastIndex&&a.ignoreCase===b.ignoreCase;if(null!==a&&"object"===typeof a||null!==b&&"object"===typeof b){if(!d(a)||!d(b)||Object.prototype.toString.call(a)!==Object.prototype.toString.call(b)||a instanceof Float32Array||a instanceof Float64Array){if(f(a)!==f(b))return!1;e=e||{actual:[],expected:[]};var p=e.actual.indexOf(a);if(-1!==p&&p===e.expected.indexOf(b))return!0;e.actual.push(a);e.expected.push(b);
|
|
return r(a,b,c,e)}return 0===h(new Uint8Array(a.buffer),new Uint8Array(b.buffer))}return c?a===b:a==b}function n(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function r(a,b,c,p){if(null===a||void 0===a||null===b||void 0===b)return!1;if(x.isPrimitive(a)||x.isPrimitive(b))return a===b;if(c&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var d=n(a),f=n(b);if(d&&!f||!d&&f)return!1;if(d)return a=L.call(a),b=L.call(b),e(a,b,c);d=M(a);var q=M(b);if(d.length!==q.length)return!1;
|
|
d.sort();q.sort();for(f=d.length-1;0<=f;f--)if(d[f]!==q[f])return!1;for(f=d.length-1;0<=f;f--)if(q=d[f],!e(a[q],b[q],c,p))return!1;return!0}function t(a,b,c){e(a,b,!0)&&m(a,b,c,"notDeepStrictEqual",t)}function u(a,b){if(!a||!b)return!1;if("[object RegExp]"==Object.prototype.toString.call(b))return b.test(a);try{if(a instanceof b)return!0}catch(D){}return Error.isPrototypeOf(b)?!1:!0===b.call({},a)}function g(a,b,c,e){if("function"!==typeof b)throw new TypeError('"block" argument must be a function');
|
|
"string"===typeof c&&(e=c,c=null);try{b()}catch(H){var p=H}b=p;e=(c&&c.name?" ("+c.name+").":".")+(e?" "+e:".");a&&!b&&m(b,c,"Missing expected exception"+e);p="string"===typeof e;var d=!a&&x.isError(b),f=!a&&b&&!c;(d&&p&&u(b,c)||f)&&m(b,c,"Got unwanted exception"+e);if(a&&b&&c&&!u(b,c)||!a&&b)throw b;}var x=a("util/"),A=Object.prototype.hasOwnProperty,L=Array.prototype.slice,C=function(){return"foo"===function(){}.name}(),F=l.exports=q,K=/\s*function\s+([^\(\s]*)\s*/;F.AssertionError=function(a){this.name=
|
|
"AssertionError";this.actual=a.actual;this.expected=a.expected;this.operator=a.operator;a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=b(p(this.actual),128)+" "+this.operator+" "+b(p(this.expected),128),this.generatedMessage=!0);var e=a.stackStartFunction||m;Error.captureStackTrace?Error.captureStackTrace(this,e):(a=Error(),a.stack&&(a=a.stack,e=c(e),e=a.indexOf("\n"+e),0<=e&&(e=a.indexOf("\n",e+1),a=a.substring(e+1)),this.stack=a))};x.inherits(F.AssertionError,Error);F.fail=
|
|
m;F.ok=q;F.equal=function(a,b,c){a!=b&&m(a,b,c,"==",F.equal)};F.notEqual=function(a,b,c){a==b&&m(a,b,c,"!=",F.notEqual)};F.deepEqual=function(a,b,c){e(a,b,!1)||m(a,b,c,"deepEqual",F.deepEqual)};F.deepStrictEqual=function(a,b,c){e(a,b,!0)||m(a,b,c,"deepStrictEqual",F.deepStrictEqual)};F.notDeepEqual=function(a,b,c){e(a,b,!1)&&m(a,b,c,"notDeepEqual",F.notDeepEqual)};F.notDeepStrictEqual=t;F.strictEqual=function(a,b,c){a!==b&&m(a,b,c,"===",F.strictEqual)};F.notStrictEqual=function(a,b,c){a===b&&m(a,
|
|
b,c,"!==",F.notStrictEqual)};F["throws"]=function(a,b,c){g(!0,a,b,c)};F.doesNotThrow=function(a,b,c){g(!1,a,b,c)};F.ifError=function(a){if(a)throw a;};var M=Object.keys||function(a){var b=[],c;for(c in a)A.call(a,c)&&b.push(c);return b}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"util/":42}],3:[function(a,l,g){function k(a){var b=a.length;if(0<b%4)throw Error("Invalid string. Length must be a multiple of 4");return"="===a[b-
|
|
2]?2:"="===a[b-1]?1:0}function h(a,c,d){for(var b=[],e=c;e<d;e+=3)c=(a[e]<<16)+(a[e+1]<<8)+a[e+2],b.push(f[c>>18&63]+f[c>>12&63]+f[c>>6&63]+f[c&63]);return b.join("")}g.byteLength=function(a){return 3*a.length/4-k(a)};g.toByteArray=function(a){var b=a.length;var f=k(a);var q=new c(3*b/4-f);var e=0<f?b-4:b;var n=0;for(b=0;b<e;b+=4){var r=d[a.charCodeAt(b)]<<18|d[a.charCodeAt(b+1)]<<12|d[a.charCodeAt(b+2)]<<6|d[a.charCodeAt(b+3)];q[n++]=r>>16&255;q[n++]=r>>8&255;q[n++]=r&255}2===f?(r=d[a.charCodeAt(b)]<<
|
|
2|d[a.charCodeAt(b+1)]>>4,q[n++]=r&255):1===f&&(r=d[a.charCodeAt(b)]<<10|d[a.charCodeAt(b+1)]<<4|d[a.charCodeAt(b+2)]>>2,q[n++]=r>>8&255,q[n++]=r&255);return q};g.fromByteArray=function(a){for(var b=a.length,c=b%3,d="",e=[],n=0,r=b-c;n<r;n+=16383)e.push(h(a,n,n+16383>r?r:n+16383));1===c?(a=a[b-1],d+=f[a>>2],d+=f[a<<4&63],d+="=="):2===c&&(a=(a[b-2]<<8)+a[b-1],d+=f[a>>10],d+=f[a>>4&63],d+=f[a<<2&63],d+="=");e.push(d);return e.join("")};var f=[],d=[],c="undefined"!==typeof Uint8Array?Uint8Array:Array;
|
|
for(a=0;64>a;++a)f[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[a],d["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(a)]=a;d[45]=62;d[95]=63},{}],4:[function(a,l,g){arguments[4][1][0].apply(g,arguments)},{dup:1}],5:[function(a,l,g){function k(a){if(a>P)throw new RangeError("Invalid typed array length");a=new Uint8Array(a);a.__proto__=h.prototype;return a}function h(a,b,e){if("number"===typeof a){if("string"===typeof b)throw Error("If encoding is specified then the first argument must be a string");
|
|
return c(a)}return f(a,b,e)}function f(a,b,c){if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if(I(a)){if(0>b||a.byteLength<b)throw new RangeError("'offset' is out of bounds");if(a.byteLength<b+(c||0))throw new RangeError("'length' is out of bounds");a=void 0===b&&void 0===c?new Uint8Array(a):void 0===c?new Uint8Array(a,b):new Uint8Array(a,b,c);a.__proto__=h.prototype;return a}if("string"===typeof a){var e=b;if("string"!==typeof e||""===e)e="utf8";if(!h.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');
|
|
b=q(a,e)|0;c=k(b);a=c.write(a,e);a!==b&&(c=c.slice(0,a));return c}return p(a)}function d(a){if("number"!==typeof a)throw new TypeError('"size" argument must be a number');if(0>a)throw new RangeError('"size" argument must not be negative');}function c(a){d(a);return k(0>a?0:m(a)|0)}function b(a){for(var b=0>a.length?0:m(a.length)|0,c=k(b),e=0;e<b;e+=1)c[e]=a[e]&255;return c}function p(a){if(h.isBuffer(a)){var c=m(a.length)|0,e=k(c);if(0===e.length)return e;a.copy(e,0,0,c);return e}if(a){if("function"===
|
|
typeof ArrayBuffer.isView&&ArrayBuffer.isView(a)||"length"in a)return(c="number"!==typeof a.length)||(c=a.length,c=c!==c),c?k(0):b(a);if("Buffer"===a.type&&Array.isArray(a.data))return b(a.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}function m(a){if(a>=P)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P.toString(16)+" bytes");return a|0}function q(a,b){if(h.isBuffer(a))return a.length;if("function"===
|
|
typeof ArrayBuffer.isView&&ArrayBuffer.isView(a)||I(a))return a.byteLength;"string"!==typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var e=!1;;)switch(b){case "ascii":case "latin1":case "binary":return c;case "utf8":case "utf-8":case void 0:return K(a).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*c;case "hex":return c>>>1;case "base64":return D.toByteArray(F(a)).length;default:if(e)return K(a).length;b=(""+b).toLowerCase();e=!0}}function e(a,b,c){var e=!1;if(void 0===
|
|
b||0>b)b=0;if(b>this.length)return"";if(void 0===c||c>this.length)c=this.length;if(0>=c)return"";c>>>=0;b>>>=0;if(c<=b)return"";for(a||(a="utf8");;)switch(a){case "hex":a=b;b=c;c=this.length;if(!a||0>a)a=0;if(!b||0>b||b>c)b=c;e="";for(c=a;c<b;++c)a=e,e=this[c],e=16>e?"0"+e.toString(16):e.toString(16),e=a+e;return e;case "utf8":case "utf-8":return u(this,b,c);case "ascii":a="";for(c=Math.min(this.length,c);b<c;++b)a+=String.fromCharCode(this[b]&127);return a;case "latin1":case "binary":a="";for(c=
|
|
Math.min(this.length,c);b<c;++b)a+=String.fromCharCode(this[b]);return a;case "base64":return b=0===b&&c===this.length?D.fromByteArray(this):D.fromByteArray(this.slice(b,c)),b;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=this.slice(b,c);c="";for(a=0;a<b.length;a+=2)c+=String.fromCharCode(b[a]+256*b[a+1]);return c;default:if(e)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase();e=!0}}function n(a,b,c){var e=a[b];a[b]=a[c];a[c]=e}function r(a,b,c,e,d){if(0===a.length)return-1;
|
|
"string"===typeof c?(e=c,c=0):2147483647<c?c=2147483647:-2147483648>c&&(c=-2147483648);c=+c;c!==c&&(c=d?0:a.length-1);0>c&&(c=a.length+c);if(c>=a.length){if(d)return-1;c=a.length-1}else if(0>c)if(d)c=0;else return-1;"string"===typeof b&&(b=h.from(b,e));if(h.isBuffer(b))return 0===b.length?-1:t(a,b,c,e,d);if("number"===typeof b)return b&=255,"function"===typeof Uint8Array.prototype.indexOf?d?Uint8Array.prototype.indexOf.call(a,b,c):Uint8Array.prototype.lastIndexOf.call(a,b,c):t(a,[b],c,e,d);throw new TypeError("val must be string, number or Buffer");
|
|
}function t(a,b,c,e,d){function p(a,b){return 1===f?a[b]:a.readUInt16BE(b*f)}var f=1,n=a.length,q=b.length;if(void 0!==e&&(e=String(e).toLowerCase(),"ucs2"===e||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(2>a.length||2>b.length)return-1;f=2;n/=2;q/=2;c/=2}if(d)for(e=-1;c<n;c++)if(p(a,c)===p(b,-1===e?0:c-e)){if(-1===e&&(e=c),c-e+1===q)return e*f}else-1!==e&&(c-=c-e),e=-1;else for(c+q>n&&(c=n-q);0<=c;c--){n=!0;for(e=0;e<q;e++)if(p(a,c+e)!==p(b,e)){n=!1;break}if(n)return c}return-1}function u(a,
|
|
b,c){c=Math.min(a.length,c);for(var e=[];b<c;){var d=a[b],p=null,f=239<d?4:223<d?3:191<d?2:1;if(b+f<=c)switch(f){case 1:128>d&&(p=d);break;case 2:var n=a[b+1];128===(n&192)&&(d=(d&31)<<6|n&63,127<d&&(p=d));break;case 3:n=a[b+1];var q=a[b+2];128===(n&192)&&128===(q&192)&&(d=(d&15)<<12|(n&63)<<6|q&63,2047<d&&(55296>d||57343<d)&&(p=d));break;case 4:n=a[b+1];q=a[b+2];var r=a[b+3];128===(n&192)&&128===(q&192)&&128===(r&192)&&(d=(d&15)<<18|(n&63)<<12|(q&63)<<6|r&63,65535<d&&1114112>d&&(p=d))}null===p?(p=
|
|
65533,f=1):65535<p&&(p-=65536,e.push(p>>>10&1023|55296),p=56320|p&1023);e.push(p);b+=f}a=e.length;if(a<=y)e=String.fromCharCode.apply(String,e);else{c="";for(b=0;b<a;)c+=String.fromCharCode.apply(String,e.slice(b,b+=y));e=c}return e}function w(a,b,c){if(0!==a%1||0>a)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length");}function x(a,b,c,e,d,p){if(!h.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>d||b<
|
|
p)throw new RangeError('"value" argument is out of bounds');if(c+e>a.length)throw new RangeError("Index out of range");}function A(a,b,c,e,d,p){if(c+e>a.length)throw new RangeError("Index out of range");if(0>c)throw new RangeError("Index out of range");}function L(a,b,c,e,d){b=+b;c>>>=0;d||A(a,b,c,4,3.4028234663852886E38,-3.4028234663852886E38);E.write(a,b,c,e,23,4);return c+4}function C(a,b,c,e,d){b=+b;c>>>=0;d||A(a,b,c,8,1.7976931348623157E308,-1.7976931348623157E308);E.write(a,b,c,e,52,8);return c+
|
|
8}function F(a){a=a.trim().replace(z,"");if(2>a.length)return"";for(;0!==a.length%4;)a+="=";return a}function K(a,b){b=b||Infinity;for(var c,e=a.length,d=null,p=[],f=0;f<e;++f){c=a.charCodeAt(f);if(55295<c&&57344>c){if(!d){if(56319<c){-1<(b-=3)&&p.push(239,191,189);continue}else if(f+1===e){-1<(b-=3)&&p.push(239,191,189);continue}d=c;continue}if(56320>c){-1<(b-=3)&&p.push(239,191,189);d=c;continue}c=(d-55296<<10|c-56320)+65536}else d&&-1<(b-=3)&&p.push(239,191,189);d=null;if(128>c){if(0>--b)break;
|
|
p.push(c)}else if(2048>c){if(0>(b-=2))break;p.push(c>>6|192,c&63|128)}else if(65536>c){if(0>(b-=3))break;p.push(c>>12|224,c>>6&63|128,c&63|128)}else if(1114112>c){if(0>(b-=4))break;p.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw Error("Invalid code point");}return p}function M(a){for(var b=[],c=0;c<a.length;++c)b.push(a.charCodeAt(c)&255);return b}function B(a,b,c,e){for(var d=0;d<e&&!(d+c>=b.length||d>=a.length);++d)b[d+c]=a[d];return d}function I(a){return a instanceof ArrayBuffer||
|
|
null!=a&&null!=a.constructor&&"ArrayBuffer"===a.constructor.name&&"number"===typeof a.byteLength}var D=a("base64-js"),E=a("ieee754");g.Buffer=h;g.SlowBuffer=function(a){+a!=a&&(a=0);return h.alloc(+a)};g.INSPECT_MAX_BYTES=50;var P=2147483647;g.kMaxLength=P;h.TYPED_ARRAY_SUPPORT=function(){try{var a=new Uint8Array(1);a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===a.foo()}catch(Q){return!1}}();h.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||
|
|
console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();"undefined"!==typeof Symbol&&Symbol.species&&h[Symbol.species]===h&&($jscomp.initSymbol(),Object.defineProperty(h,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}));h.poolSize=8192;h.from=function(a,b,c){return f(a,b,c)};h.prototype.__proto__=Uint8Array.prototype;
|
|
h.__proto__=Uint8Array;h.alloc=function(a,b,c){d(a);a=0>=a?k(a):void 0!==b?"string"===typeof c?k(a).fill(b,c):k(a).fill(b):k(a);return a};h.allocUnsafe=function(a){return c(a)};h.allocUnsafeSlow=function(a){return c(a)};h.isBuffer=function(a){return null!=a&&!0===a._isBuffer};h.compare=function(a,b){if(!h.isBuffer(a)||!h.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,e=b.length,d=0,p=Math.min(c,e);d<p;++d)if(a[d]!==b[d]){c=a[d];e=b[d];break}return c<
|
|
e?-1:e<c?1:0};h.isEncoding=function(a){switch(String(a).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}};h.concat=function(a,b){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(0===a.length)return h.alloc(0);var c;if(void 0===b)for(c=b=0;c<a.length;++c)b+=a[c].length;var e=h.allocUnsafe(b),d=0;for(c=0;c<a.length;++c){var p=
|
|
a[c];if(!h.isBuffer(p))throw new TypeError('"list" argument must be an Array of Buffers');p.copy(e,d);d+=p.length}return e};h.byteLength=q;h.prototype._isBuffer=!0;h.prototype.swap16=function(){var a=this.length;if(0!==a%2)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var b=0;b<a;b+=2)n(this,b,b+1);return this};h.prototype.swap32=function(){var a=this.length;if(0!==a%4)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var b=0;b<a;b+=4)n(this,b,b+3),n(this,
|
|
b+1,b+2);return this};h.prototype.swap64=function(){var a=this.length;if(0!==a%8)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var b=0;b<a;b+=8)n(this,b,b+7),n(this,b+1,b+6),n(this,b+2,b+5),n(this,b+3,b+4);return this};h.prototype.toString=function(){var a=this.length;return 0===a?"":0===arguments.length?u(this,0,a):e.apply(this,arguments)};h.prototype.equals=function(a){if(!h.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:0===h.compare(this,
|
|
a)};h.prototype.inspect=function(){var a="",b=g.INSPECT_MAX_BYTES;0<this.length&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... "));return"<Buffer "+a+">"};h.prototype.compare=function(a,b,c,e,d){if(!h.isBuffer(a))throw new TypeError("Argument must be a Buffer");void 0===b&&(b=0);void 0===c&&(c=a?a.length:0);void 0===e&&(e=0);void 0===d&&(d=this.length);if(0>b||c>a.length||0>e||d>this.length)throw new RangeError("out of range index");if(e>=d&&b>=c)return 0;if(e>=d)return-1;
|
|
if(b>=c)return 1;b>>>=0;c>>>=0;e>>>=0;d>>>=0;if(this===a)return 0;var p=d-e,f=c-b,n=Math.min(p,f);e=this.slice(e,d);a=a.slice(b,c);for(b=0;b<n;++b)if(e[b]!==a[b]){p=e[b];f=a[b];break}return p<f?-1:f<p?1:0};h.prototype.includes=function(a,b,c){return-1!==this.indexOf(a,b,c)};h.prototype.indexOf=function(a,b,c){return r(this,a,b,c,!0)};h.prototype.lastIndexOf=function(a,b,c){return r(this,a,b,c,!1)};h.prototype.write=function(a,b,c,e){if(void 0===b)e="utf8",c=this.length,b=0;else if(void 0===c&&"string"===
|
|
typeof b)e=b,c=this.length,b=0;else if(isFinite(b))b>>>=0,isFinite(c)?(c>>>=0,void 0===e&&(e="utf8")):(e=c,c=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var d=this.length-b;if(void 0===c||c>d)c=d;if(0<a.length&&(0>c||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(d=!1;;)switch(e){case "hex":a:{b=Number(b)||0;e=this.length-b;c?(c=Number(c),c>e&&(c=e)):c=e;e=a.length;if(0!==e%2)throw new TypeError("Invalid hex string");
|
|
c>e/2&&(c=e/2);for(e=0;e<c;++e){d=parseInt(a.substr(2*e,2),16);if(d!==d){a=e;break a}this[b+e]=d}a=e}return a;case "utf8":case "utf-8":return B(K(a,this.length-b),this,b,c);case "ascii":return B(M(a),this,b,c);case "latin1":case "binary":return B(M(a),this,b,c);case "base64":return B(D.toByteArray(F(a)),this,b,c);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":e=a;d=this.length-b;for(var p=[],f=0;f<e.length&&!(0>(d-=2));++f){var n=e.charCodeAt(f);a=n>>8;n%=256;p.push(n);p.push(a)}return B(p,
|
|
this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase();d=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var y=4096;h.prototype.slice=function(a,b){var c=this.length;a=~~a;b=void 0===b?c:~~b;0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c);0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c);b<a&&(b=a);c=this.subarray(a,b);c.__proto__=h.prototype;return c};h.prototype.readUIntLE=function(a,b,c){a>>>=0;b>>>=0;c||w(a,b,this.length);c=this[a];
|
|
for(var e=1,d=0;++d<b&&(e*=256);)c+=this[a+d]*e;return c};h.prototype.readUIntBE=function(a,b,c){a>>>=0;b>>>=0;c||w(a,b,this.length);c=this[a+--b];for(var e=1;0<b&&(e*=256);)c+=this[a+--b]*e;return c};h.prototype.readUInt8=function(a,b){a>>>=0;b||w(a,1,this.length);return this[a]};h.prototype.readUInt16LE=function(a,b){a>>>=0;b||w(a,2,this.length);return this[a]|this[a+1]<<8};h.prototype.readUInt16BE=function(a,b){a>>>=0;b||w(a,2,this.length);return this[a]<<8|this[a+1]};h.prototype.readUInt32LE=
|
|
function(a,b){a>>>=0;b||w(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};h.prototype.readUInt32BE=function(a,b){a>>>=0;b||w(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};h.prototype.readIntLE=function(a,b,c){a>>>=0;b>>>=0;c||w(a,b,this.length);c=this[a];for(var e=1,d=0;++d<b&&(e*=256);)c+=this[a+d]*e;c>=128*e&&(c-=Math.pow(2,8*b));return c};h.prototype.readIntBE=function(a,b,c){a>>>=0;b>>>=0;c||w(a,b,this.length);c=b;for(var e=1,
|
|
d=this[a+--c];0<c&&(e*=256);)d+=this[a+--c]*e;d>=128*e&&(d-=Math.pow(2,8*b));return d};h.prototype.readInt8=function(a,b){a>>>=0;b||w(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};h.prototype.readInt16LE=function(a,b){a>>>=0;b||w(a,2,this.length);var c=this[a]|this[a+1]<<8;return c&32768?c|4294901760:c};h.prototype.readInt16BE=function(a,b){a>>>=0;b||w(a,2,this.length);var c=this[a+1]|this[a]<<8;return c&32768?c|4294901760:c};h.prototype.readInt32LE=function(a,b){a>>>=0;b||w(a,4,
|
|
this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};h.prototype.readInt32BE=function(a,b){a>>>=0;b||w(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};h.prototype.readFloatLE=function(a,b){a>>>=0;b||w(a,4,this.length);return E.read(this,a,!0,23,4)};h.prototype.readFloatBE=function(a,b){a>>>=0;b||w(a,4,this.length);return E.read(this,a,!1,23,4)};h.prototype.readDoubleLE=function(a,b){a>>>=0;b||w(a,8,this.length);return E.read(this,a,!0,52,8)};h.prototype.readDoubleBE=
|
|
function(a,b){a>>>=0;b||w(a,8,this.length);return E.read(this,a,!1,52,8)};h.prototype.writeUIntLE=function(a,b,c,e){a=+a;b>>>=0;c>>>=0;e||x(this,a,b,c,Math.pow(2,8*c)-1,0);e=1;var d=0;for(this[b]=a&255;++d<c&&(e*=256);)this[b+d]=a/e&255;return b+c};h.prototype.writeUIntBE=function(a,b,c,e){a=+a;b>>>=0;c>>>=0;e||x(this,a,b,c,Math.pow(2,8*c)-1,0);e=c-1;var d=1;for(this[b+e]=a&255;0<=--e&&(d*=256);)this[b+e]=a/d&255;return b+c};h.prototype.writeUInt8=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,1,255,0);
|
|
this[b]=a&255;return b+1};h.prototype.writeUInt16LE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,2,65535,0);this[b]=a&255;this[b+1]=a>>>8;return b+2};h.prototype.writeUInt16BE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,2,65535,0);this[b]=a>>>8;this[b+1]=a&255;return b+2};h.prototype.writeUInt32LE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,4,4294967295,0);this[b+3]=a>>>24;this[b+2]=a>>>16;this[b+1]=a>>>8;this[b]=a&255;return b+4};h.prototype.writeUInt32BE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,4,4294967295,
|
|
0);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};h.prototype.writeIntLE=function(a,b,c,e){a=+a;b>>>=0;e||(e=Math.pow(2,8*c-1),x(this,a,b,c,e-1,-e));e=0;var d=1,p=0;for(this[b]=a&255;++e<c&&(d*=256);)0>a&&0===p&&0!==this[b+e-1]&&(p=1),this[b+e]=(a/d>>0)-p&255;return b+c};h.prototype.writeIntBE=function(a,b,c,e){a=+a;b>>>=0;e||(e=Math.pow(2,8*c-1),x(this,a,b,c,e-1,-e));e=c-1;var d=1,p=0;for(this[b+e]=a&255;0<=--e&&(d*=256);)0>a&&0===p&&0!==this[b+e+1]&&(p=1),this[b+e]=
|
|
(a/d>>0)-p&255;return b+c};h.prototype.writeInt8=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,1,127,-128);0>a&&(a=255+a+1);this[b]=a&255;return b+1};h.prototype.writeInt16LE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,2,32767,-32768);this[b]=a&255;this[b+1]=a>>>8;return b+2};h.prototype.writeInt16BE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,2,32767,-32768);this[b]=a>>>8;this[b+1]=a&255;return b+2};h.prototype.writeInt32LE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,4,2147483647,-2147483648);this[b]=a&255;
|
|
this[b+1]=a>>>8;this[b+2]=a>>>16;this[b+3]=a>>>24;return b+4};h.prototype.writeInt32BE=function(a,b,c){a=+a;b>>>=0;c||x(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};h.prototype.writeFloatLE=function(a,b,c){return L(this,a,b,!0,c)};h.prototype.writeFloatBE=function(a,b,c){return L(this,a,b,!1,c)};h.prototype.writeDoubleLE=function(a,b,c){return C(this,a,b,!0,c)};h.prototype.writeDoubleBE=function(a,b,c){return C(this,
|
|
a,b,!1,c)};h.prototype.copy=function(a,b,c,e){c||(c=0);e||0===e||(e=this.length);b>=a.length&&(b=a.length);b||(b=0);0<e&&e<c&&(e=c);if(e===c||0===a.length||0===this.length)return 0;if(0>b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>e)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length);a.length-b<e-c&&(e=a.length-b+c);var d=e-c;if(this===a&&c<b&&b<e)for(e=d-1;0<=e;--e)a[e+b]=this[e+c];else if(1E3>
|
|
d)for(e=0;e<d;++e)a[e+b]=this[e+c];else Uint8Array.prototype.set.call(a,this.subarray(c,c+d),b);return d};h.prototype.fill=function(a,b,c,e){if("string"===typeof a){"string"===typeof b?(e=b,b=0,c=this.length):"string"===typeof c&&(e=c,c=this.length);if(1===a.length){var d=a.charCodeAt(0);256>d&&(a=d)}if(void 0!==e&&"string"!==typeof e)throw new TypeError("encoding must be a string");if("string"===typeof e&&!h.isEncoding(e))throw new TypeError("Unknown encoding: "+e);}else"number"===typeof a&&(a&=
|
|
255);if(0>b||this.length<b||this.length<c)throw new RangeError("Out of range index");if(c<=b)return this;b>>>=0;c=void 0===c?this.length:c>>>0;a||(a=0);if("number"===typeof a)for(e=b;e<c;++e)this[e]=a;else for(a=h.isBuffer(a)?a:new h(a,e),d=a.length,e=0;e<c-b;++e)this[e+b]=a[e%d];return this};var z=/[^+/0-9A-Za-z-_]/g},{"base64-js":3,ieee754:9}],6:[function(a,l,g){l.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,
|
|
S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,
|
|
EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,
|
|
EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,
|
|
SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,
|
|
SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,
|
|
ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,
|
|
RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],7:[function(a,l,g){(function(a){g.isArray=function(a){return Array.isArray?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)};g.isBoolean=function(a){return"boolean"===typeof a};g.isNull=function(a){return null===a};g.isNullOrUndefined=function(a){return null==a};g.isNumber=function(a){return"number"===typeof a};g.isString=
|
|
function(a){return"string"===typeof a};g.isSymbol=function(a){return"symbol"===typeof a};g.isUndefined=function(a){return void 0===a};g.isRegExp=function(a){return"[object RegExp]"===Object.prototype.toString.call(a)};g.isObject=function(a){return"object"===typeof a&&null!==a};g.isDate=function(a){return"[object Date]"===Object.prototype.toString.call(a)};g.isError=function(a){return"[object Error]"===Object.prototype.toString.call(a)||a instanceof Error};g.isFunction=function(a){return"function"===
|
|
typeof a};g.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};g.isBuffer=a.isBuffer}).call(this,{isBuffer:a("../../is-buffer/index.js")})},{"../../is-buffer/index.js":11}],8:[function(a,l,g){function k(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function h(a){return"function"===typeof a}function f(a){return"object"===typeof a&&null!==a}l.exports=k;k.EventEmitter=k;
|
|
k.prototype._events=void 0;k.prototype._maxListeners=void 0;k.defaultMaxListeners=10;k.prototype.setMaxListeners=function(a){if("number"!==typeof a||0>a||isNaN(a))throw TypeError("n must be a positive number");this._maxListeners=a;return this};k.prototype.emit=function(a){var c;this._events||(this._events={});if("error"===a&&(!this._events.error||f(this._events.error)&&!this._events.error.length)){var b=arguments[1];if(b instanceof Error)throw b;var d=Error('Uncaught, unspecified "error" event. ('+
|
|
b+")");d.context=b;throw d;}d=this._events[a];if(void 0===d)return!1;if(h(d))switch(arguments.length){case 1:d.call(this);break;case 2:d.call(this,arguments[1]);break;case 3:d.call(this,arguments[1],arguments[2]);break;default:b=Array.prototype.slice.call(arguments,1),d.apply(this,b)}else if(f(d)){b=Array.prototype.slice.call(arguments,1);var m=d.slice();d=m.length;for(c=0;c<d;c++)m[c].apply(this,b)}return!0};k.prototype.addListener=function(a,c){var b;if(!h(c))throw TypeError("listener must be a function");
|
|
this._events||(this._events={});this._events.newListener&&this.emit("newListener",a,h(c.listener)?c.listener:c);this._events[a]?f(this._events[a])?this._events[a].push(c):this._events[a]=[this._events[a],c]:this._events[a]=c;f(this._events[a])&&!this._events[a].warned&&(b=void 0!==this._maxListeners?this._maxListeners:k.defaultMaxListeners)&&0<b&&this._events[a].length>b&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",
|
|
this._events[a].length),"function"===typeof console.trace&&console.trace());return this};k.prototype.on=k.prototype.addListener;k.prototype.once=function(a,c){function b(){this.removeListener(a,b);d||(d=!0,c.apply(this,arguments))}if(!h(c))throw TypeError("listener must be a function");var d=!1;b.listener=c;this.on(a,b);return this};k.prototype.removeListener=function(a,c){if(!h(c))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;var b=this._events[a];
|
|
var d=b.length;var m=-1;if(b===c||h(b.listener)&&b.listener===c)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,c);else if(f(b)){for(;0<d--;)if(b[d]===c||b[d].listener&&b[d].listener===c){m=d;break}if(0>m)return this;1===b.length?(b.length=0,delete this._events[a]):b.splice(m,1);this._events.removeListener&&this.emit("removeListener",a,c)}return this};k.prototype.removeAllListeners=function(a){if(!this._events)return this;if(!this._events.removeListener)return 0===
|
|
arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(c in this._events)"removeListener"!==c&&this.removeAllListeners(c);this.removeAllListeners("removeListener");this._events={};return this}var c=this._events[a];if(h(c))this.removeListener(a,c);else if(c)for(;c.length;)this.removeListener(a,c[c.length-1]);delete this._events[a];return this};k.prototype.listeners=function(a){return this._events&&this._events[a]?h(this._events[a])?[this._events[a]]:
|
|
this._events[a].slice():[]};k.prototype.listenerCount=function(a){if(this._events){a=this._events[a];if(h(a))return 1;if(a)return a.length}return 0};k.listenerCount=function(a,c){return a.listenerCount(c)}},{}],9:[function(a,l,g){g.read=function(a,h,f,d,c){var b=8*c-d-1;var p=(1<<b)-1,m=p>>1,q=-7;c=f?c-1:0;var e=f?-1:1,n=a[h+c];c+=e;f=n&(1<<-q)-1;n>>=-q;for(q+=b;0<q;f=256*f+a[h+c],c+=e,q-=8);b=f&(1<<-q)-1;f>>=-q;for(q+=d;0<q;b=256*b+a[h+c],c+=e,q-=8);if(0===f)f=1-m;else{if(f===p)return b?NaN:Infinity*
|
|
(n?-1:1);b+=Math.pow(2,d);f-=m}return(n?-1:1)*b*Math.pow(2,f-d)};g.write=function(a,h,f,d,c,b){var p,m=8*b-c-1,q=(1<<m)-1,e=q>>1,n=23===c?Math.pow(2,-24)-Math.pow(2,-77):0;b=d?0:b-1;var r=d?1:-1,k=0>h||0===h&&0>1/h?1:0;h=Math.abs(h);isNaN(h)||Infinity===h?(h=isNaN(h)?1:0,d=q):(d=Math.floor(Math.log(h)/Math.LN2),1>h*(p=Math.pow(2,-d))&&(d--,p*=2),h=1<=d+e?h+n/p:h+n*Math.pow(2,1-e),2<=h*p&&(d++,p/=2),d+e>=q?(h=0,d=q):1<=d+e?(h=(h*p-1)*Math.pow(2,c),d+=e):(h=h*Math.pow(2,e-1)*Math.pow(2,c),d=0));for(;8<=
|
|
c;a[f+b]=h&255,b+=r,h/=256,c-=8);d=d<<c|h;for(m+=c;0<m;a[f+b]=d&255,b+=r,d/=256,m-=8);a[f+b-r]|=128*k}},{}],10:[function(a,l,g){l.exports="function"===typeof Object.create?function(a,h){a.super_=h;a.prototype=Object.create(h.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:function(a,h){a.super_=h;var f=function(){};f.prototype=h.prototype;a.prototype=new f;a.prototype.constructor=a}},{}],11:[function(a,l,g){function k(a){return!!a.constructor&&"function"===typeof a.constructor.isBuffer&&
|
|
a.constructor.isBuffer(a)}l.exports=function(a){return null!=a&&(k(a)||"function"===typeof a.readFloatLE&&"function"===typeof a.slice&&k(a.slice(0,0))||!!a._isBuffer)}},{}],12:[function(a,l,g){var k={}.toString;l.exports=Array.isArray||function(a){return"[object Array]"==k.call(a)}},{}],13:[function(a,l,g){g.endianness=function(){return"LE"};g.hostname=function(){return"undefined"!==typeof location?location.hostname:""};g.loadavg=function(){return[]};g.uptime=function(){return 0};g.freemem=function(){return Number.MAX_VALUE};
|
|
g.totalmem=function(){return Number.MAX_VALUE};g.cpus=function(){return[]};g.type=function(){return"Browser"};g.release=function(){return"undefined"!==typeof navigator?navigator.appVersion:""};g.networkInterfaces=g.getNetworkInterfaces=function(){return{}};g.arch=function(){return"javascript"};g.platform=function(){return"browser"};g.tmpdir=g.tmpDir=function(){return"/tmp"};g.EOL="\n"},{}],14:[function(a,l,g){(function(a){function h(a,c){for(var b=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,
|
|
1):".."===e?(a.splice(d,1),b++):b&&(a.splice(d,1),b--)}if(c)for(;b--;b)a.unshift("..");return a}function f(a,c){if(a.filter)return a.filter(c);for(var b=[],d=0;d<a.length;d++)c(a[d],d,a)&&b.push(a[d]);return b}var d=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;g.resolve=function(){for(var b="",c=!1,d=arguments.length-1;-1<=d&&!c;d--){var q=0<=d?arguments[d]:a.cwd();if("string"!==typeof q)throw new TypeError("Arguments to path.resolve must be strings");q&&(b=q+"/"+b,c="/"===q.charAt(0))}b=
|
|
h(f(b.split("/"),function(a){return!!a}),!c).join("/");return(c?"/":"")+b||"."};g.normalize=function(a){var b=g.isAbsolute(a),d="/"===c(a,-1);(a=h(f(a.split("/"),function(a){return!!a}),!b).join("/"))||b||(a=".");a&&d&&(a+="/");return(b?"/":"")+a};g.isAbsolute=function(a){return"/"===a.charAt(0)};g.join=function(){var a=Array.prototype.slice.call(arguments,0);return g.normalize(f(a,function(a,b){if("string"!==typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))};
|
|
g.relative=function(a,c){function b(a){for(var b=0;b<a.length&&""===a[b];b++);for(var c=a.length-1;0<=c&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=g.resolve(a).substr(1);c=g.resolve(c).substr(1);for(var d=b(a.split("/")),e=b(c.split("/")),f=Math.min(d.length,e.length),p=f,h=0;h<f;h++)if(d[h]!==e[h]){p=h;break}f=[];for(h=p;h<d.length;h++)f.push("..");f=f.concat(e.slice(p));return f.join("/")};g.sep="/";g.delimiter=":";g.dirname=function(a){var b=d.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";
|
|
b&&(b=b.substr(0,b.length-1));return a+b};g.basename=function(a,c){var b=d.exec(a).slice(1)[2];c&&b.substr(-1*c.length)===c&&(b=b.substr(0,b.length-c.length));return b};g.extname=function(a){return d.exec(a).slice(1)[3]};var c="b"==="ab".substr(-1)?function(a,c,d){return a.substr(c,d)}:function(a,c,d){0>c&&(c=a.length+c);return a.substr(c,d)}}).call(this,a("_process"))},{_process:16}],15:[function(a,l,g){(function(a){function h(f,d,c,b){if("function"!==typeof f)throw new TypeError('"callback" argument must be a function');
|
|
var p=arguments.length;switch(p){case 0:case 1:return a.nextTick(f);case 2:return a.nextTick(function(){f.call(null,d)});case 3:return a.nextTick(function(){f.call(null,d,c)});case 4:return a.nextTick(function(){f.call(null,d,c,b)});default:var h=Array(p-1);for(p=0;p<h.length;)h[p++]=arguments[p];return a.nextTick(function(){f.apply(null,h)})}}!a.version||0===a.version.indexOf("v0.")||0===a.version.indexOf("v1.")&&0!==a.version.indexOf("v1.8.")?l.exports=h:l.exports=a.nextTick}).call(this,a("_process"))},
|
|
{_process:16}],16:[function(a,l,g){function k(){throw Error("setTimeout has not been defined");}function h(){throw Error("clearTimeout has not been defined");}function f(a){if(q===setTimeout)return setTimeout(a,0);if((q===k||!q)&&setTimeout)return q=setTimeout,setTimeout(a,0);try{return q(a,0)}catch(x){try{return q.call(null,a,0)}catch(A){return q.call(this,a,0)}}}function d(a){if(e===clearTimeout)return clearTimeout(a);if((e===h||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(a);try{return e(a)}catch(x){try{return e.call(null,
|
|
a)}catch(A){return e.call(this,a)}}}function c(){r&&t&&(r=!1,t.length?n=t.concat(n):u=-1,n.length&&b())}function b(){if(!r){var a=f(c);r=!0;for(var b=n.length;b;){t=n;for(n=[];++u<b;)t&&t[u].run();u=-1;b=n.length}t=null;r=!1;d(a)}}function p(a,b){this.fun=a;this.array=b}function m(){}a=l.exports={};try{var q="function"===typeof setTimeout?setTimeout:k}catch(w){q=k}try{var e="function"===typeof clearTimeout?clearTimeout:h}catch(w){e=h}var n=[],r=!1,t,u=-1;a.nextTick=function(a){var c=Array(arguments.length-
|
|
1);if(1<arguments.length)for(var e=1;e<arguments.length;e++)c[e-1]=arguments[e];n.push(new p(a,c));1!==n.length||r||f(b)};p.prototype.run=function(){this.fun.apply(null,this.array)};a.title="browser";a.browser=!0;a.env={};a.argv=[];a.version="";a.versions={};a.on=m;a.addListener=m;a.once=m;a.off=m;a.removeListener=m;a.removeAllListeners=m;a.emit=m;a.prependListener=m;a.prependOnceListener=m;a.listeners=function(a){return[]};a.binding=function(a){throw Error("process.binding is not supported");};a.cwd=
|
|
function(){return"/"};a.chdir=function(a){throw Error("process.chdir is not supported");};a.umask=function(){return 0}},{}],17:[function(a,l,g){(function(a){(function(h){function f(a){throw new RangeError(L[a]);}function d(a,b){for(var c=a.length,e=[];c--;)e[c]=b(a[c]);return e}function c(a,b){var c=a.split("@"),e="";1<c.length&&(e=c[0]+"@",a=c[1]);a=a.replace(A,".");c=a.split(".");c=d(c,b).join(".");return e+c}function b(a){for(var b=[],c=0,e=a.length,d,f;c<e;)d=a.charCodeAt(c++),55296<=d&&56319>=
|
|
d&&c<e?(f=a.charCodeAt(c++),56320==(f&64512)?b.push(((d&1023)<<10)+(f&1023)+65536):(b.push(d),c--)):b.push(d);return b}function p(a){return d(a,function(a){var b="";65535<a&&(a-=65536,b+=F(a>>>10&1023|55296),a=56320|a&1023);return b+=F(a)}).join("")}function m(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function q(a,b,c){var e=0;a=c?C(a/700):a>>1;for(a+=C(a/b);455<a;e+=36)a=C(a/35);return C(e+36*a/(a+38))}function e(a){var b=[],c=a.length,e=0,d=128,n=72,r,h;var m=a.lastIndexOf("-");0>m&&(m=0);for(r=0;r<
|
|
m;++r)128<=a.charCodeAt(r)&&f("not-basic"),b.push(a.charCodeAt(r));for(m=0<m?m+1:0;m<c;){r=e;var k=1;for(h=36;;h+=36){m>=c&&f("invalid-input");var t=a.charCodeAt(m++);t=10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:36;(36<=t||t>C((2147483647-e)/k))&&f("overflow");e+=t*k;var u=h<=n?1:h>=n+26?26:h-n;if(t<u)break;t=36-u;k>C(2147483647/t)&&f("overflow");k*=t}k=b.length+1;n=q(e-r,k,0==r);C(e/k)>2147483647-d&&f("overflow");d+=C(e/k);e%=k;b.splice(e++,0,d)}return p(b)}function n(a){var c,e,d,p=[];a=b(a);var n=
|
|
a.length;var r=128;var h=0;var k=72;for(d=0;d<n;++d){var t=a[d];128>t&&p.push(F(t))}for((c=e=p.length)&&p.push("-");c<n;){var u=2147483647;for(d=0;d<n;++d)t=a[d],t>=r&&t<u&&(u=t);var g=c+1;u-r>C((2147483647-h)/g)&&f("overflow");h+=(u-r)*g;r=u;for(d=0;d<n;++d)if(t=a[d],t<r&&2147483647<++h&&f("overflow"),t==r){var w=h;for(u=36;;u+=36){t=u<=k?1:u>=k+26?26:u-k;if(w<t)break;var x=w-t;w=36-t;p.push(F(m(t+x%w,0)));w=C(x/w)}p.push(F(m(w,0)));k=q(h,g,c==e);h=0;++c}++h;++r}return p.join("")}var r="object"==
|
|
typeof g&&g&&!g.nodeType&&g,k="object"==typeof l&&l&&!l.nodeType&&l,u="object"==typeof a&&a;if(u.global===u||u.window===u||u.self===u)h=u;var w=/^xn--/,x=/[^\x20-\x7E]/,A=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=Math.floor,F=String.fromCharCode,K;var M={version:"1.4.1",ucs2:{decode:b,encode:p},decode:e,encode:n,toASCII:function(a){return c(a,function(a){return x.test(a)?
|
|
"xn--"+n(a):a})},toUnicode:function(a){return c(a,function(a){return w.test(a)?e(a.slice(4).toLowerCase()):a})}};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return M});else if(r&&k)if(l.exports==r)k.exports=M;else for(K in M)M.hasOwnProperty(K)&&(r[K]=M[K]);else h.punycode=M})(this)}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],18:[function(a,l,g){l.exports=function(a,
|
|
f,d,c){d=d||"=";var b={};if("string"!==typeof a||0===a.length)return b;var p=/\+/g;a=a.split(f||"&");f=1E3;c&&"number"===typeof c.maxKeys&&(f=c.maxKeys);c=a.length;0<f&&c>f&&(c=f);for(f=0;f<c;++f){var h=a[f].replace(p,"%20"),q=h.indexOf(d);if(0<=q){var e=h.substr(0,q);h=h.substr(q+1)}else e=h,h="";e=decodeURIComponent(e);h=decodeURIComponent(h);Object.prototype.hasOwnProperty.call(b,e)?k(b[e])?b[e].push(h):b[e]=[b[e],h]:b[e]=h}return b};var k=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},
|
|
{}],19:[function(a,l,g){function k(a,b){if(a.map)return a.map(b);for(var c=[],d=0;d<a.length;d++)c.push(b(a[d],d));return c}var h=function(a){switch(typeof a){case "string":return a;case "boolean":return a?"true":"false";case "number":return isFinite(a)?a:"";default:return""}};l.exports=function(a,b,p,m){b=b||"&";p=p||"=";null===a&&(a=void 0);return"object"===typeof a?k(d(a),function(c){var e=encodeURIComponent(h(c))+p;return f(a[c])?k(a[c],function(a){return e+encodeURIComponent(h(a))}).join(b):
|
|
e+encodeURIComponent(h(a[c]))}).join(b):m?encodeURIComponent(h(m))+p+encodeURIComponent(h(a)):""};var f=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},d=Object.keys||function(a){var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b}},{}],20:[function(a,l,g){g.decode=g.parse=a("./decode");g.encode=g.stringify=a("./encode")},{"./decode":18,"./encode":19}],21:[function(a,l,g){l.exports=a("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":22}],
|
|
22:[function(a,l,g){function k(a){if(!(this instanceof k))return new k(a);c.call(this,a);b.call(this,a);a&&!1===a.readable&&(this.readable=!1);a&&!1===a.writable&&(this.writable=!1);this.allowHalfOpen=!0;a&&!1===a.allowHalfOpen&&(this.allowHalfOpen=!1);this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||d(f,this)}function f(a){a.end()}var d=a("process-nextick-args");g=Object.keys||function(a){var b=[],c;for(c in a)b.push(c);return b};l.exports=k;l=a("core-util-is");l.inherits=
|
|
a("inherits");var c=a("./_stream_readable"),b=a("./_stream_writable");l.inherits(k,c);a=g(b.prototype);for(l=0;l<a.length;l++)g=a[l],k.prototype[g]||(k.prototype[g]=b.prototype[g]);Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0===this._readableState||void 0===this._writableState?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(a){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=a,this._writableState.destroyed=
|
|
a)}});k.prototype._destroy=function(a,b){this.push(null);this.end();d(b,a)}},{"./_stream_readable":24,"./_stream_writable":26,"core-util-is":7,inherits:10,"process-nextick-args":15}],23:[function(a,l,g){function k(a){if(!(this instanceof k))return new k(a);h.call(this,a)}l.exports=k;var h=a("./_stream_transform");l=a("core-util-is");l.inherits=a("inherits");l.inherits(k,h);k.prototype._transform=function(a,d,c){c(null,a)}},{"./_stream_transform":25,"core-util-is":7,inherits:10}],24:[function(a,l,
|
|
g){(function(k,h){function f(a,b,c){if("function"===typeof a.prependListener)return a.prependListener(b,c);if(a._events&&a._events[b])K(a._events[b])?a._events[b].unshift(c):a._events[b]=[c,a._events[b]];else a.on(b,c)}function d(b,c){M=M||a("./_stream_duplex");b=b||{};this.objectMode=!!b.objectMode;c instanceof M&&(this.objectMode=this.objectMode||!!b.readableObjectMode);var e=b.highWaterMark,d=this.objectMode?16:16384;this.highWaterMark=e||0===e?e:d;this.highWaterMark=Math.floor(this.highWaterMark);
|
|
this.buffer=new z;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.reading=this.endEmitted=this.ended=!1;this.sync=!0;this.destroyed=this.resumeScheduled=this.readableListening=this.emittedReadable=this.needReadable=!1;this.defaultEncoding=b.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=!1;this.encoding=this.decoder=null;b.encoding&&(H||(H=a("string_decoder/").StringDecoder),this.decoder=new H(b.encoding),this.encoding=b.encoding)}function c(b){M=M||a("./_stream_duplex");
|
|
if(!(this instanceof c))return new c(b);this._readableState=new d(b,this);this.readable=!0;b&&("function"===typeof b.read&&(this._read=b.read),"function"===typeof b.destroy&&(this._destroy=b.destroy));B.call(this)}function b(a,b,c,e,d){var f=a._readableState;if(null===b)f.reading=!1,f.ended||(f.decoder&&(b=f.decoder.end())&&b.length&&(f.buffer.push(b),f.length+=f.objectMode?1:b.length),f.ended=!0,q(a));else{if(!d){d=b;var r;I.isBuffer(d)||d instanceof D||"string"===typeof d||void 0===d||f.objectMode||
|
|
(r=new TypeError("Invalid non-string/buffer chunk"));var h=r}h?a.emit("error",h):f.objectMode||b&&0<b.length?("string"===typeof b||f.objectMode||Object.getPrototypeOf(b)===I.prototype||(b=I.from(b)),e?f.endEmitted?a.emit("error",Error("stream.unshift() after end event")):p(a,f,b,!0):f.ended?a.emit("error",Error("stream.push() after EOF")):(f.reading=!1,f.decoder&&!c?(b=f.decoder.write(b),f.objectMode||0!==b.length?p(a,f,b,!1):f.readingMore||(f.readingMore=!0,F(n,a,f))):p(a,f,b,!1))):e||(f.reading=
|
|
!1)}return!f.ended&&(f.needReadable||f.length<f.highWaterMark||0===f.length)}function p(a,b,c,e){b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,e?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&q(a));b.readingMore||(b.readingMore=!0,F(n,a,b))}function m(a,b){if(0>=a||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!==a)return b.flowing&&b.length?b.buffer.head.data.length:b.length;if(a>b.highWaterMark){var c=a;8388608<=c?c=8388608:
|
|
(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++);b.highWaterMark=c}return a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0)}function q(a){var b=a._readableState;b.needReadable=!1;b.emittedReadable||(y("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?F(e,a):e(a))}function e(a){y("emit readable");a.emit("readable");g(a)}function n(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(y("maybeReadMore read 0"),a.read(0),c!==b.length);)c=b.length;b.readingMore=
|
|
!1}function r(a){return function(){var b=a._readableState;y("pipeOnDrain",b.awaitDrain);b.awaitDrain&&b.awaitDrain--;0===b.awaitDrain&&a.listeners("data").length&&(b.flowing=!0,g(a))}}function t(a){y("readable nexttick read 0");a.read(0)}function u(a,b){b.reading||(y("resume read 0"),a.read(0));b.resumeScheduled=!1;b.awaitDrain=0;a.emit("resume");g(a);b.flowing&&!b.reading&&a.read(0)}function g(a){var b=a._readableState;for(y("flow",b.flowing);b.flowing&&null!==a.read(););}function x(a,b){if(0===
|
|
b.length)return null;if(b.objectMode)var c=b.buffer.shift();else if(!a||a>=b.length)c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear();else{c=b.buffer;var e=b.decoder;if(a<c.head.data.length)e=c.head.data.slice(0,a),c.head.data=c.head.data.slice(a);else{if(a===c.head.data.length)c=c.shift();else if(e){var d=c.head,f=1,p=d.data;for(e=a-p.length;d=d.next;){var n=d.data,q=e>n.length?n.length:e;p=q===n.length?p+n:p+n.slice(0,e);e-=q;if(0===
|
|
e){q===n.length?(++f,c.head=d.next?d.next:c.tail=null):(c.head=d,d.data=n.slice(q));break}++f}c.length-=f;c=p}else{e=a;d=I.allocUnsafe(e);f=c.head;p=1;f.data.copy(d);for(e-=f.data.length;f=f.next;){n=f.data;q=e>n.length?n.length:e;n.copy(d,d.length-e,0,q);e-=q;if(0===e){q===n.length?(++p,c.head=f.next?f.next:c.tail=null):(c.head=f,f.data=n.slice(q));break}++p}c.length-=p;c=d}e=c}c=e}return c}function A(a){var b=a._readableState;if(0<b.length)throw Error('"endReadable()" called on non-empty stream');
|
|
b.endEmitted||(b.ended=!0,F(L,b,a))}function L(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function C(a,b){for(var c=0,e=a.length;c<e;c++)if(a[c]===b)return c;return-1}var F=a("process-nextick-args");l.exports=c;var K=a("isarray"),M;c.ReadableState=d;a("events");var B=a("./internal/streams/stream"),I=a("safe-buffer").Buffer,D=h.Uint8Array||function(){},E=a("core-util-is");E.inherits=a("inherits");var P=a("util"),y=void 0;y=P&&P.debuglog?P.debuglog("stream"):function(){};
|
|
var z=a("./internal/streams/BufferList");P=a("./internal/streams/destroy");var H;E.inherits(c,B);var Q=["error","close","destroy","pause","resume"];Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0===this._readableState?!1:this._readableState.destroyed},set:function(a){this._readableState&&(this._readableState.destroyed=a)}});c.prototype.destroy=P.destroy;c.prototype._undestroy=P.undestroy;c.prototype._destroy=function(a,b){this.push(null);b(a)};c.prototype.push=function(a,
|
|
c){var e=this._readableState;if(e.objectMode)var d=!0;else"string"===typeof a&&(c=c||e.defaultEncoding,c!==e.encoding&&(a=I.from(a,c),c=""),d=!0);return b(this,a,c,!1,d)};c.prototype.unshift=function(a){return b(this,a,null,!0,!1)};c.prototype.isPaused=function(){return!1===this._readableState.flowing};c.prototype.setEncoding=function(b){H||(H=a("string_decoder/").StringDecoder);this._readableState.decoder=new H(b);this._readableState.encoding=b;return this};c.prototype.read=function(a){y("read",
|
|
a);a=parseInt(a,10);var b=this._readableState,c=a;0!==a&&(b.emittedReadable=!1);if(0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return y("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?A(this):q(this),null;a=m(a,b);if(0===a&&b.ended)return 0===b.length&&A(this),null;var e=b.needReadable;y("need readable",e);if(0===b.length||b.length-a<b.highWaterMark)e=!0,y("length less than watermark",e);b.ended||b.reading?y("reading or ended",!1):e&&(y("do read"),b.reading=!0,b.sync=
|
|
!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1,b.reading||(a=m(c,b)));e=0<a?x(a,b):null;null===e?(b.needReadable=!0,a=0):b.length-=a;0===b.length&&(b.ended||(b.needReadable=!0),c!==a&&b.ended&&A(this));null!==e&&this.emit("data",e);return e};c.prototype._read=function(a){this.emit("error",Error("_read() is not implemented"))};c.prototype.pipe=function(a,b){function c(b,f){y("onunpipe");b===m&&f&&!1===f.hasUnpiped&&(f.hasUnpiped=!0,y("cleanup"),a.removeListener("close",
|
|
n),a.removeListener("finish",q),a.removeListener("drain",g),a.removeListener("error",p),a.removeListener("unpipe",c),m.removeListener("end",e),m.removeListener("end",h),m.removeListener("data",d),w=!0,!t.awaitDrain||a._writableState&&!a._writableState.needDrain||g())}function e(){y("onend");a.end()}function d(b){y("ondata");x=!1;!1!==a.write(b)||x||((1===t.pipesCount&&t.pipes===a||1<t.pipesCount&&-1!==C(t.pipes,a))&&!w&&(y("false write response, pause",m._readableState.awaitDrain),m._readableState.awaitDrain++,
|
|
x=!0),m.pause())}function p(b){y("onerror",b);h();a.removeListener("error",p);0===a.listeners("error").length&&a.emit("error",b)}function n(){a.removeListener("finish",q);h()}function q(){y("onfinish");a.removeListener("close",n);h()}function h(){y("unpipe");m.unpipe(a)}var m=this,t=this._readableState;switch(t.pipesCount){case 0:t.pipes=a;break;case 1:t.pipes=[t.pipes,a];break;default:t.pipes.push(a)}t.pipesCount+=1;y("pipe count=%d opts=%j",t.pipesCount,b);var u=b&&!1===b.end||a===k.stdout||a===
|
|
k.stderr?h:e;if(t.endEmitted)F(u);else m.once("end",u);a.on("unpipe",c);var g=r(m);a.on("drain",g);var w=!1,x=!1;m.on("data",d);f(a,"error",p);a.once("close",n);a.once("finish",q);a.emit("pipe",m);t.flowing||(y("pipe resume"),m.resume());return a};c.prototype.unpipe=function(a){var b=this._readableState,c={hasUnpiped:!1};if(0===b.pipesCount)return this;if(1===b.pipesCount){if(a&&a!==b.pipes)return this;a||(a=b.pipes);b.pipes=null;b.pipesCount=0;b.flowing=!1;a&&a.emit("unpipe",this,c);return this}if(!a){a=
|
|
b.pipes;var e=b.pipesCount;b.pipes=null;b.pipesCount=0;b.flowing=!1;for(b=0;b<e;b++)a[b].emit("unpipe",this,c);return this}e=C(b.pipes,a);if(-1===e)return this;b.pipes.splice(e,1);--b.pipesCount;1===b.pipesCount&&(b.pipes=b.pipes[0]);a.emit("unpipe",this,c);return this};c.prototype.on=function(a,b){var c=B.prototype.on.call(this,a,b);if("data"===a)!1!==this._readableState.flowing&&this.resume();else if("readable"===a){var e=this._readableState;e.endEmitted||e.readableListening||(e.readableListening=
|
|
e.needReadable=!0,e.emittedReadable=!1,e.reading?e.length&&q(this):F(t,this))}return c};c.prototype.addListener=c.prototype.on;c.prototype.resume=function(){var a=this._readableState;a.flowing||(y("resume"),a.flowing=!0,a.resumeScheduled||(a.resumeScheduled=!0,F(u,this,a)));return this};c.prototype.pause=function(){y("call pause flowing=%j",this._readableState.flowing);!1!==this._readableState.flowing&&(y("pause"),this._readableState.flowing=!1,this.emit("pause"));return this};c.prototype.wrap=function(a){var b=
|
|
this._readableState,c=!1,e=this;a.on("end",function(){y("wrapped end");if(b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&e.push(a)}e.push(null)});a.on("data",function(d){y("wrapped data");b.decoder&&(d=b.decoder.write(d));b.objectMode&&(null===d||void 0===d)||!(b.objectMode||d&&d.length)||e.push(d)||(c=!0,a.pause())});for(var d in a)void 0===this[d]&&"function"===typeof a[d]&&(this[d]=function(b){return function(){return a[b].apply(a,arguments)}}(d));for(d=0;d<Q.length;d++)a.on(Q[d],e.emit.bind(e,
|
|
Q[d]));e._read=function(b){y("wrapped _read",b);c&&(c=!1,a.resume())};return e};c._fromList=x}).call(this,a("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./_stream_duplex":22,"./internal/streams/BufferList":27,"./internal/streams/destroy":28,"./internal/streams/stream":29,_process:16,"core-util-is":7,events:8,inherits:10,isarray:12,"process-nextick-args":15,"safe-buffer":34,"string_decoder/":36,util:4}],25:[function(a,l,g){function k(a){this.afterTransform=
|
|
function(b,c){var d=a._transformState;d.transforming=!1;var f=d.writecb;f?(d.writechunk=null,d.writecb=null,null!==c&&void 0!==c&&a.push(c),f(b),d=a._readableState,d.reading=!1,(d.needReadable||d.length<d.highWaterMark)&&a._read(d.highWaterMark),d=void 0):d=a.emit("error",Error("write callback called multiple times"));return d};this.transforming=this.needTransform=!1;this.writeencoding=this.writechunk=this.writecb=null}function h(a){if(!(this instanceof h))return new h(a);d.call(this,a);this._transformState=
|
|
new k(this);var b=this;this._readableState.needReadable=!0;this._readableState.sync=!1;a&&("function"===typeof a.transform&&(this._transform=a.transform),"function"===typeof a.flush&&(this._flush=a.flush));this.once("prefinish",function(){"function"===typeof this._flush?this._flush(function(a,c){f(b,a,c)}):f(b)})}function f(a,b,d){if(b)return a.emit("error",b);null!==d&&void 0!==d&&a.push(d);b=a._transformState;if(a._writableState.length)throw Error("Calling transform done when ws.length != 0");if(b.transforming)throw Error("Calling transform done when still transforming");
|
|
return a.push(null)}l.exports=h;var d=a("./_stream_duplex");l=a("core-util-is");l.inherits=a("inherits");l.inherits(h,d);h.prototype.push=function(a,b){this._transformState.needTransform=!1;return d.prototype.push.call(this,a,b)};h.prototype._transform=function(a,b,d){throw Error("_transform() is not implemented");};h.prototype._write=function(a,b,d){var c=this._transformState;c.writecb=d;c.writechunk=a;c.writeencoding=b;c.transforming||(a=this._readableState,(c.needTransform||a.needReadable||a.length<
|
|
a.highWaterMark)&&this._read(a.highWaterMark))};h.prototype._read=function(a){a=this._transformState;null!==a.writechunk&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0};h.prototype._destroy=function(a,b){var c=this;d.prototype._destroy.call(this,a,function(a){b(a);c.emit("close")})}},{"./_stream_duplex":22,"core-util-is":7,inherits:10}],26:[function(a,l,g){(function(k,h){function f(a){var b=this;this.entry=this.next=
|
|
null;this.finish=function(){var c=b.entry;for(b.entry=null;c;){var e=c.callback;a.pendingcb--;e(void 0);c=c.next}a.corkedRequestsFree?a.corkedRequestsFree.next=b:a.corkedRequestsFree=b}}function d(){}function c(b,c){g=g||a("./_stream_duplex");b=b||{};this.objectMode=!!b.objectMode;c instanceof g&&(this.objectMode=this.objectMode||!!b.writableObjectMode);var d=b.highWaterMark,p=this.objectMode?16:16384;this.highWaterMark=d||0===d?d:p;this.highWaterMark=Math.floor(this.highWaterMark);this.destroyed=
|
|
this.finished=this.ended=this.ending=this.needDrain=this.finalCalled=!1;this.decodeStrings=!1!==b.decodeStrings;this.defaultEncoding=b.defaultEncoding||"utf8";this.length=0;this.writing=!1;this.corked=0;this.sync=!0;this.bufferProcessing=!1;this.onwrite=function(a){var b=c._writableState,d=b.sync,f=b.writecb;b.writing=!1;b.writecb=null;b.length-=b.writelen;b.writelen=0;a?(--b.pendingcb,d?(t(f,a),t(r,c,b),c._writableState.errorEmitted=!0,c.emit("error",a)):(f(a),c._writableState.errorEmitted=!0,c.emit("error",
|
|
a),r(c,b))):((a=e(b))||b.corked||b.bufferProcessing||!b.bufferedRequest||q(c,b),d?u(m,c,b,a,f):m(c,b,a,f))};this.writecb=null;this.writelen=0;this.lastBufferedRequest=this.bufferedRequest=null;this.pendingcb=0;this.errorEmitted=this.prefinished=!1;this.bufferedRequestCount=0;this.corkedRequestsFree=new f(this)}function b(e){g=g||a("./_stream_duplex");if(!(M.call(b,this)||this instanceof g))return new b(e);this._writableState=new c(e,this);this.writable=!0;e&&("function"===typeof e.write&&(this._write=
|
|
e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e["final"]&&(this._final=e["final"]));L.call(this)}function p(a,b,c,e,d,f,p){b.writelen=e;b.writecb=p;b.writing=!0;b.sync=!0;c?a._writev(d,b.onwrite):a._write(d,f,b.onwrite);b.sync=!1}function m(a,b,c,e){!c&&0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"));b.pendingcb--;e();r(a,b)}function q(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&
|
|
c&&c.next){var e=Array(b.bufferedRequestCount),d=b.corkedRequestsFree;d.entry=c;for(var n=0,q=!0;c;)e[n]=c,c.isBuf||(q=!1),c=c.next,n+=1;e.allBuffers=q;p(a,b,!0,b.length,e,"",d.finish);b.pendingcb++;b.lastBufferedRequest=null;d.next?(b.corkedRequestsFree=d.next,d.next=null):b.corkedRequestsFree=new f(b)}else{for(;c&&(e=c.chunk,p(a,b,!1,b.objectMode?1:e.length,e,c.encoding,c.callback),c=c.next,!b.writing););null===c&&(b.lastBufferedRequest=null)}b.bufferedRequestCount=0;b.bufferedRequest=c;b.bufferProcessing=
|
|
!1}function e(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function n(a,b){a._final(function(c){b.pendingcb--;c&&a.emit("error",c);b.prefinished=!0;a.emit("prefinish");r(a,b)})}function r(a,b){var c=e(b);c&&(b.prefinished||b.finalCalled||("function"===typeof a._final?(b.pendingcb++,b.finalCalled=!0,t(n,a,b)):(b.prefinished=!0,a.emit("prefinish"))),0===b.pendingcb&&(b.finished=!0,a.emit("finish")));return c}var t=a("process-nextick-args");l.exports=b;var u=!k.browser&&
|
|
-1<["v0.10","v0.9."].indexOf(k.version.slice(0,5))?setImmediate:t,g;b.WritableState=c;var x=a("core-util-is");x.inherits=a("inherits");var A={deprecate:a("util-deprecate")},L=a("./internal/streams/stream"),C=a("safe-buffer").Buffer,F=h.Uint8Array||function(){},K=a("./internal/streams/destroy");x.inherits(b,L);c.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b};(function(){try{Object.defineProperty(c.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},
|
|
"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(B){}})();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();if("function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]){$jscomp.initSymbol();var M=Function.prototype[Symbol.hasInstance];$jscomp.initSymbol();Object.defineProperty(b,Symbol.hasInstance,{value:function(a){return M.call(this,a)?!0:a&&a._writableState instanceof c}})}else M=function(a){return a instanceof
|
|
this};b.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};b.prototype.write=function(a,b,c){var e=this._writableState,f=!1,n=a;(n=(C.isBuffer(n)||n instanceof F)&&!e.objectMode)&&!C.isBuffer(a)&&(a=C.from(a));"function"===typeof b&&(c=b,b=null);n?b="buffer":b||(b=e.defaultEncoding);"function"!==typeof c&&(c=d);if(e.ended)e=c,c=Error("write after end"),this.emit("error",c),t(e,c);else{var q;if(!(q=n)){q=a;var r=c,h=!0,m=!1;null===q?m=new TypeError("May not write null values to stream"):
|
|
"string"===typeof q||void 0===q||e.objectMode||(m=new TypeError("Invalid non-string/buffer chunk"));m&&(this.emit("error",m),t(r,m),h=!1);q=h}q&&(e.pendingcb++,f=n,f||(n=a,e.objectMode||!1===e.decodeStrings||"string"!==typeof n||(n=C.from(n,b)),a!==n&&(f=!0,b="buffer",a=n)),q=e.objectMode?1:a.length,e.length+=q,n=e.length<e.highWaterMark,n||(e.needDrain=!0),e.writing||e.corked?(q=e.lastBufferedRequest,e.lastBufferedRequest={chunk:a,encoding:b,isBuf:f,callback:c,next:null},q?q.next=e.lastBufferedRequest:
|
|
e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1):p(this,e,!1,q,a,b,c),f=n)}return f};b.prototype.cork=function(){this._writableState.corked++};b.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||q(this,a))};b.prototype.setDefaultEncoding=function(a){"string"===typeof a&&(a=a.toLowerCase());if(!(-1<"hex utf8 utf-8 ascii binary base64 ucs2 ucs-2 utf16le utf-16le raw".split(" ").indexOf((a+
|
|
"").toLowerCase())))throw new TypeError("Unknown encoding: "+a);this._writableState.defaultEncoding=a;return this};b.prototype._write=function(a,b,c){c(Error("_write() is not implemented"))};b.prototype._writev=null;b.prototype.end=function(a,b,c){var e=this._writableState;"function"===typeof a?(c=a,b=a=null):"function"===typeof b&&(c=b,b=null);null!==a&&void 0!==a&&this.write(a,b);e.corked&&(e.corked=1,this.uncork());if(!e.ending&&!e.finished){a=c;e.ending=!0;r(this,e);if(a)if(e.finished)t(a);else this.once("finish",
|
|
a);e.ended=!0;this.writable=!1}};Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0===this._writableState?!1:this._writableState.destroyed},set:function(a){this._writableState&&(this._writableState.destroyed=a)}});b.prototype.destroy=K.destroy;b.prototype._undestroy=K.undestroy;b.prototype._destroy=function(a,b){this.end();b(a)}}).call(this,a("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./_stream_duplex":22,
|
|
"./internal/streams/destroy":28,"./internal/streams/stream":29,_process:16,"core-util-is":7,inherits:10,"process-nextick-args":15,"safe-buffer":34,"util-deprecate":39}],27:[function(a,l,g){var k=a("safe-buffer").Buffer;l.exports=function(){function a(){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.tail=this.head=null;this.length=0}a.prototype.push=function(a){a={data:a,next:null};0<this.length?this.tail.next=a:this.head=a;this.tail=a;++this.length};a.prototype.unshift=
|
|
function(a){a={data:a,next:this.head};0===this.length&&(this.tail=a);this.head=a;++this.length};a.prototype.shift=function(){if(0!==this.length){var a=this.head.data;this.head=1===this.length?this.tail=null:this.head.next;--this.length;return a}};a.prototype.clear=function(){this.head=this.tail=null;this.length=0};a.prototype.join=function(a){if(0===this.length)return"";for(var d=this.head,c=""+d.data;d=d.next;)c+=a+d.data;return c};a.prototype.concat=function(a){if(0===this.length)return k.alloc(0);
|
|
if(1===this.length)return this.head.data;a=k.allocUnsafe(a>>>0);for(var d=this.head,c=0;d;)d.data.copy(a,c),c+=d.data.length,d=d.next;return a};return a}()},{"safe-buffer":34}],28:[function(a,l,g){function k(a,d){a.emit("error",d)}var h=a("process-nextick-args");l.exports={destroy:function(a,d){var c=this,b=this._writableState&&this._writableState.destroyed;this._readableState&&this._readableState.destroyed||b?d?d(a):!a||this._writableState&&this._writableState.errorEmitted||h(k,this,a):(this._readableState&&
|
|
(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!d&&a?(h(k,c,a),c._writableState&&(c._writableState.errorEmitted=!0)):d&&d(a)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1);this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=
|
|
!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":15}],29:[function(a,l,g){l.exports=a("events").EventEmitter},{events:8}],30:[function(a,l,g){l.exports=a("./readable").PassThrough},{"./readable":31}],31:[function(a,l,g){g=l.exports=a("./lib/_stream_readable.js");g.Stream=g;g.Readable=g;g.Writable=a("./lib/_stream_writable.js");g.Duplex=a("./lib/_stream_duplex.js");g.Transform=a("./lib/_stream_transform.js");g.PassThrough=a("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":22,
|
|
"./lib/_stream_passthrough.js":23,"./lib/_stream_readable.js":24,"./lib/_stream_transform.js":25,"./lib/_stream_writable.js":26}],32:[function(a,l,g){l.exports=a("./readable").Transform},{"./readable":31}],33:[function(a,l,g){l.exports=a("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":26}],34:[function(a,l,g){function k(a,b){for(var c in a)b[c]=a[c]}function h(a,b,f){return d(a,b,f)}var f=a("buffer"),d=f.Buffer;d.from&&d.alloc&&d.allocUnsafe&&d.allocUnsafeSlow?l.exports=f:(k(f,g),g.Buffer=
|
|
h);k(d,h);h.from=function(a,b,f){if("number"===typeof a)throw new TypeError("Argument must not be a number");return d(a,b,f)};h.alloc=function(a,b,f){if("number"!==typeof a)throw new TypeError("Argument must be a number");a=d(a);void 0!==b?"string"===typeof f?a.fill(b,f):a.fill(b):a.fill(0);return a};h.allocUnsafe=function(a){if("number"!==typeof a)throw new TypeError("Argument must be a number");return d(a)};h.allocUnsafeSlow=function(a){if("number"!==typeof a)throw new TypeError("Argument must be a number");
|
|
return f.SlowBuffer(a)}},{buffer:5}],35:[function(a,l,g){function k(){h.call(this)}l.exports=k;var h=a("events").EventEmitter;a("inherits")(k,h);k.Readable=a("readable-stream/readable.js");k.Writable=a("readable-stream/writable.js");k.Duplex=a("readable-stream/duplex.js");k.Transform=a("readable-stream/transform.js");k.PassThrough=a("readable-stream/passthrough.js");k.Stream=k;k.prototype.pipe=function(a,d){function c(b){a.writable&&!1===a.write(b)&&n.pause&&n.pause()}function b(){n.readable&&n.resume&&
|
|
n.resume()}function f(){r||(r=!0,a.end())}function m(){r||(r=!0,"function"===typeof a.destroy&&a.destroy())}function q(a){e();if(0===h.listenerCount(this,"error"))throw a;}function e(){n.removeListener("data",c);a.removeListener("drain",b);n.removeListener("end",f);n.removeListener("close",m);n.removeListener("error",q);a.removeListener("error",q);n.removeListener("end",e);n.removeListener("close",e);a.removeListener("close",e)}var n=this;n.on("data",c);a.on("drain",b);a._isStdio||d&&!1===d.end||
|
|
(n.on("end",f),n.on("close",m));var r=!1;n.on("error",q);a.on("error",q);n.on("end",e);n.on("close",e);a.on("close",e);a.emit("pipe",n);return a}},{events:8,inherits:10,"readable-stream/duplex.js":21,"readable-stream/passthrough.js":30,"readable-stream/readable.js":31,"readable-stream/transform.js":32,"readable-stream/writable.js":33}],36:[function(a,l,g){function k(a){if(!a)return"utf8";for(var b;;)switch(a){case "utf8":case "utf-8":return"utf8";case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return"utf16le";
|
|
case "latin1":case "binary":return"latin1";case "base64":case "ascii":case "hex":return a;default:if(b)return;a=(""+a).toLowerCase();b=!0}}function h(a){var d=k(a);if("string"!==typeof d&&(r.isEncoding===t||!t(a)))throw Error("Unknown encoding: "+a);this.encoding=d||a;switch(this.encoding){case "utf16le":this.text=b;this.end=p;a=4;break;case "utf8":this.fillLast=c;a=4;break;case "base64":this.text=m;this.end=q;a=3;break;default:this.write=e;this.end=n;return}this.lastTotal=this.lastNeed=0;this.lastChar=
|
|
r.allocUnsafe(a)}function f(a){return 127>=a?0:6===a>>5?2:14===a>>4?3:30===a>>3?4:-1}function d(a,b,c){var e=b.length-1;if(e<c)return 0;var d=f(b[e]);if(0<=d)return 0<d&&(a.lastNeed=d-1),d;if(--e<c)return 0;d=f(b[e]);if(0<=d)return 0<d&&(a.lastNeed=d-2),d;if(--e<c)return 0;d=f(b[e]);return 0<=d?(0<d&&(2===d?d=0:a.lastNeed=d-3),d):0}function c(a){var b=this.lastTotal-this.lastNeed;a:if(128!==(a[0]&192)){this.lastNeed=0;var c="\ufffd".repeat(b)}else{if(1<this.lastNeed&&1<a.length){if(128!==(a[1]&192)){this.lastNeed=
|
|
1;c="\ufffd".repeat(b+1);break a}if(2<this.lastNeed&&2<a.length&&128!==(a[2]&192)){this.lastNeed=2;c="\ufffd".repeat(b+2);break a}}c=void 0}if(void 0!==c)return c;if(this.lastNeed<=a.length)return a.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,b,0,a.length);this.lastNeed-=a.length}function b(a,b){if(0===(a.length-b)%2){var c=a.toString("utf16le",b);if(c){var e=c.charCodeAt(c.length-1);if(55296<=e&&56319>=e)return this.lastNeed=2,
|
|
this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],c.slice(0,-1)}return c}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=a[a.length-1];return a.toString("utf16le",b,a.length-1)}function p(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):a}function m(a,b){var c=(a.length-b)%3;if(0===c)return a.toString("base64",b);this.lastNeed=3-c;this.lastTotal=3;1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=
|
|
a[a.length-2],this.lastChar[1]=a[a.length-1]);return a.toString("base64",b,a.length-c)}function q(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("base64",0,3-this.lastNeed):a}function e(a){return a.toString(this.encoding)}function n(a){return a&&a.length?this.write(a):""}var r=a("safe-buffer").Buffer,t=r.isEncoding||function(a){a=""+a;switch(a&&a.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}};g.StringDecoder=h;h.prototype.write=function(a){if(0===a.length)return"";if(this.lastNeed){var b=this.fillLast(a);if(void 0===b)return"";var c=this.lastNeed;this.lastNeed=0}else c=0;return c<a.length?b?b+this.text(a,c):this.text(a,c):b||""};h.prototype.end=function(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+"\ufffd".repeat(this.lastTotal-this.lastNeed):a};h.prototype.text=function(a,b){var c=d(this,a,b);if(!this.lastNeed)return a.toString("utf8",b);this.lastTotal=
|
|
c;c=a.length-(c-this.lastNeed);a.copy(this.lastChar,0,c);return a.toString("utf8",b,c)};h.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length);this.lastNeed-=a.length}},{"safe-buffer":34}],37:[function(a,l,g){function k(){this.href=this.path=this.pathname=this.query=this.search=this.hash=this.hostname=this.port=
|
|
this.host=this.auth=this.slashes=this.protocol=null}function h(a,b,c){if(a&&d.isObject(a)&&a instanceof k)return a;var e=new k;e.parse(a,b,c);return e}var f=a("punycode"),d=a("./util");g.parse=h;g.resolve=function(a,b){return h(a,!1,!0).resolve(b)};g.resolveObject=function(a,b){return a?h(a,!1,!0).resolveObject(b):b};g.format=function(a){d.isString(a)&&(a=h(a));return a instanceof k?a.format():k.prototype.format.call(a)};g.Url=k;var c=/^([a-z0-9.+-]+:)/i,b=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/;
|
|
l="{}|\\^`".split("").concat('<>"` \r\n\t'.split(""));var m=["'"].concat(l),q=["%","/","?",";","#"].concat(m),e=["/","?","#"],n=/^[+a-z0-9A-Z_-]{0,63}$/,r=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},u={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=a("querystring");k.prototype.parse=function(a,b,h){var k,g;if(!d.isString(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);
|
|
var l=a.indexOf("?");l=-1!==l&&l<a.indexOf("#")?"?":"#";a=a.split(l);a[0]=a[0].replace(/\\/g,"/");a=a.join(l);l=a.trim();if(!h&&1===a.split("#").length&&(a=p.exec(l)))return this.href=this.path=l,this.pathname=a[1],a[2]?(this.search=a[2],this.query=b?x.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this;if(a=c.exec(l))a=a[0],this.protocol=g=a.toLowerCase(),l=l.substr(a.length);if(h||a||l.match(/^\/\/[^@\/]+@[^@\/]+/))!(k="//"===l.substr(0,2))||a&&u[a]||(l=l.substr(2),
|
|
this.slashes=!0);if(!u[a]&&(k||a&&!w[a])){a=-1;for(h=0;h<e.length;h++)k=l.indexOf(e[h]),-1!==k&&(-1===a||k<a)&&(a=k);k=-1===a?l.lastIndexOf("@"):l.lastIndexOf("@",a);-1!==k&&(h=l.slice(0,k),l=l.slice(k+1),this.auth=decodeURIComponent(h));a=-1;for(h=0;h<q.length;h++)k=l.indexOf(q[h]),-1!==k&&(-1===a||k<a)&&(a=k);-1===a&&(a=l.length);this.host=l.slice(0,a);l=l.slice(a);this.parseHost();this.hostname=this.hostname||"";k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var A=
|
|
this.hostname.split(/\./);h=0;for(a=A.length;h<a;h++){var C=A[h];if(C&&!C.match(n)){for(var L="",E=0,P=C.length;E<P;E++)L=127<C.charCodeAt(E)?L+"x":L+C[E];if(!L.match(n)){a=A.slice(0,h);h=A.slice(h+1);if(C=C.match(r))a.push(C[1]),h.unshift(C[2]);h.length&&(l="/"+h.join(".")+l);this.hostname=a.join(".");break}}}}this.hostname=255<this.hostname.length?"":this.hostname.toLowerCase();k||(this.hostname=f.toASCII(this.hostname));h=this.port?":"+this.port:"";this.host=(this.hostname||"")+h;this.href+=this.host;
|
|
k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==l[0]&&(l="/"+l))}if(!t[g])for(h=0,a=m.length;h<a;h++)k=m[h],-1!==l.indexOf(k)&&(C=encodeURIComponent(k),C===k&&(C=escape(k)),l=l.split(k).join(C));h=l.indexOf("#");-1!==h&&(this.hash=l.substr(h),l=l.slice(0,h));h=l.indexOf("?");-1!==h?(this.search=l.substr(h),this.query=l.substr(h+1),b&&(this.query=x.parse(this.query)),l=l.slice(0,h)):b&&(this.search="",this.query={});l&&(this.pathname=l);w[g]&&this.hostname&&!this.pathname&&(this.pathname=
|
|
"/");if(this.pathname||this.search)h=this.pathname||"",this.path=h+(this.search||"");this.href=this.format();return this};k.prototype.format=function(){var a=this.auth||"";a&&(a=encodeURIComponent(a),a=a.replace(/%3A/i,":"),a+="@");var b=this.protocol||"",c=this.pathname||"",e=this.hash||"",f=!1,p="";this.host?f=a+this.host:this.hostname&&(f=a+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(f+=":"+this.port));this.query&&d.isObject(this.query)&&Object.keys(this.query).length&&
|
|
(p=x.stringify(this.query));a=this.search||p&&"?"+p||"";b&&":"!==b.substr(-1)&&(b+=":");this.slashes||(!b||w[b])&&!1!==f?(f="//"+(f||""),c&&"/"!==c.charAt(0)&&(c="/"+c)):f||(f="");e&&"#"!==e.charAt(0)&&(e="#"+e);a&&"?"!==a.charAt(0)&&(a="?"+a);c=c.replace(/[?#]/g,function(a){return encodeURIComponent(a)});a=a.replace("#","%23");return b+f+c+a+e};k.prototype.resolve=function(a){return this.resolveObject(h(a,!1,!0)).format()};k.prototype.resolveObject=function(a){var b;if(d.isString(a)){var c=new k;
|
|
c.parse(a,!1,!0);a=c}c=new k;for(var e=Object.keys(this),f=0;f<e.length;f++){var p=e[f];c[p]=this[p]}c.hash=a.hash;if(""===a.href)return c.href=c.format(),c;if(a.slashes&&!a.protocol){e=Object.keys(a);for(f=0;f<e.length;f++)p=e[f],"protocol"!==p&&(c[p]=a[p]);w[c.protocol]&&c.hostname&&!c.pathname&&(c.path=c.pathname="/");c.href=c.format();return c}if(a.protocol&&a.protocol!==c.protocol){if(!w[a.protocol]){e=Object.keys(a);for(f=0;f<e.length;f++)p=e[f],c[p]=a[p];c.href=c.format();return c}c.protocol=
|
|
a.protocol;if(a.host||u[a.protocol])c.pathname=a.pathname;else{for(b=(a.pathname||"").split("/");b.length&&!(a.host=b.shift()););a.host||(a.host="");a.hostname||(a.hostname="");""!==b[0]&&b.unshift("");2>b.length&&b.unshift("");c.pathname=b.join("/")}c.search=a.search;c.query=a.query;c.host=a.host||"";c.auth=a.auth;c.hostname=a.hostname||a.host;c.port=a.port;if(c.pathname||c.search)c.path=(c.pathname||"")+(c.search||"");c.slashes=c.slashes||a.slashes;c.href=c.format();return c}e=c.pathname&&"/"===
|
|
c.pathname.charAt(0);var n=a.host||a.pathname&&"/"===a.pathname.charAt(0),q=e=n||e||c.host&&a.pathname;f=c.pathname&&c.pathname.split("/")||[];b=a.pathname&&a.pathname.split("/")||[];if(p=c.protocol&&!w[c.protocol])c.hostname="",c.port=null,c.host&&(""===f[0]?f[0]=c.host:f.unshift(c.host)),c.host="",a.protocol&&(a.hostname=null,a.port=null,a.host&&(""===b[0]?b[0]=a.host:b.unshift(a.host)),a.host=null),e=e&&(""===b[0]||""===f[0]);if(n)c.host=a.host||""===a.host?a.host:c.host,c.hostname=a.hostname||
|
|
""===a.hostname?a.hostname:c.hostname,c.search=a.search,c.query=a.query,f=b;else if(b.length)f||(f=[]),f.pop(),f=f.concat(b),c.search=a.search,c.query=a.query;else if(!d.isNullOrUndefined(a.search))return p&&(c.hostname=c.host=f.shift(),p=c.host&&0<c.host.indexOf("@")?c.host.split("@"):!1)&&(c.auth=p.shift(),c.host=c.hostname=p.shift()),c.search=a.search,c.query=a.query,d.isNull(c.pathname)&&d.isNull(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.href=c.format(),c;if(!f.length)return c.pathname=
|
|
null,c.path=c.search?"/"+c.search:null,c.href=c.format(),c;n=f.slice(-1)[0];b=(c.host||a.host||1<f.length)&&("."===n||".."===n)||""===n;for(var r=0,h=f.length;0<=h;h--)n=f[h],"."===n?f.splice(h,1):".."===n?(f.splice(h,1),r++):r&&(f.splice(h,1),r--);if(!e&&!q)for(;r--;r)f.unshift("..");!e||""===f[0]||f[0]&&"/"===f[0].charAt(0)||f.unshift("");b&&"/"!==f.join("/").substr(-1)&&f.push("");q=""===f[0]||f[0]&&"/"===f[0].charAt(0);p&&(c.hostname=c.host=q?"":f.length?f.shift():"",p=c.host&&0<c.host.indexOf("@")?
|
|
c.host.split("@"):!1)&&(c.auth=p.shift(),c.host=c.hostname=p.shift());(e=e||c.host&&f.length)&&!q&&f.unshift("");f.length?c.pathname=f.join("/"):(c.pathname=null,c.path=null);d.isNull(c.pathname)&&d.isNull(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:""));c.auth=a.auth||c.auth;c.slashes=c.slashes||a.slashes;c.href=c.format();return c};k.prototype.parseHost=function(){var a=this.host,c=b.exec(a);c&&(c=c[0],":"!==c&&(this.port=c.substr(1)),a=a.substr(0,a.length-c.length));a&&(this.hostname=
|
|
a)}},{"./util":38,punycode:17,querystring:20}],38:[function(a,l,g){l.exports={isString:function(a){return"string"===typeof a},isObject:function(a){return"object"===typeof a&&null!==a},isNull:function(a){return null===a},isNullOrUndefined:function(a){return null==a}}},{}],39:[function(a,l,g){(function(a){function h(f){try{if(!a.localStorage)return!1}catch(d){return!1}f=a.localStorage[f];return null==f?!1:"true"===String(f).toLowerCase()}l.exports=function(a,d){if(h("noDeprecation"))return a;var c=
|
|
!1;return function(){if(!c){if(h("throwDeprecation"))throw Error(d);h("traceDeprecation")?console.trace(d):console.warn(d);c=!0}return a.apply(this,arguments)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],40:[function(a,l,g){arguments[4][10][0].apply(g,arguments)},{dup:10}],41:[function(a,l,g){l.exports=function(a){return a&&"object"===typeof a&&"function"===typeof a.copy&&"function"===typeof a.fill&&"function"===typeof a.readUInt8}},
|
|
{}],42:[function(a,l,g){(function(k,h){function f(a,b){var e={seen:[],stylize:c};3<=arguments.length&&(e.depth=arguments[2]);4<=arguments.length&&(e.colors=arguments[3]);u(b)?e.showHidden=b:b&&g._extend(e,b);l(e.showHidden)&&(e.showHidden=!1);l(e.depth)&&(e.depth=2);l(e.colors)&&(e.colors=!1);l(e.customInspect)&&(e.customInspect=!0);e.colors&&(e.stylize=d);return p(e,a,e.depth)}function d(a,b){var c=f.styles[b];return c?"\u001b["+f.colors[c][0]+"m"+a+"\u001b["+f.colors[c][1]+"m":a}function c(a,b){return a}
|
|
function b(a){var b={};a.forEach(function(a,c){b[a]=!0});return b}function p(a,c,d){if(a.customInspect&&c&&M(c.inspect)&&c.inspect!==g.inspect&&(!c.constructor||c.constructor.prototype!==c)){var f=c.inspect(d,a);x(f)||(f=p(a,f,d));return f}if(f=m(a,c))return f;var h=Object.keys(c),k=b(h);a.showHidden&&(h=Object.getOwnPropertyNames(c));if(K(c)&&(0<=h.indexOf("message")||0<=h.indexOf("description")))return q(c);if(0===h.length){if(M(c))return a.stylize("[Function"+(c.name?": "+c.name:"")+"]","special");
|
|
if(L(c))return a.stylize(RegExp.prototype.toString.call(c),"regexp");if(F(c))return a.stylize(Date.prototype.toString.call(c),"date");if(K(c))return q(c)}f="";var u=!1,w=["{","}"];t(c)&&(u=!0,w=["[","]"]);M(c)&&(f=" [Function"+(c.name?": "+c.name:"")+"]");L(c)&&(f=" "+RegExp.prototype.toString.call(c));F(c)&&(f=" "+Date.prototype.toUTCString.call(c));K(c)&&(f=" "+q(c));if(0===h.length&&(!u||0==c.length))return w[0]+f+w[1];if(0>d)return L(c)?a.stylize(RegExp.prototype.toString.call(c),"regexp"):a.stylize("[Object]",
|
|
"special");a.seen.push(c);h=u?e(a,c,d,k,h):h.map(function(b){return n(a,c,d,k,b,u)});a.seen.pop();return r(h,f,w)}function m(a,b){if(l(b))return a.stylize("undefined","undefined");if(x(b)){var c="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(c,"string")}if(w(b))return a.stylize(""+b,"number");if(u(b))return a.stylize(""+b,"boolean");if(null===b)return a.stylize("null","null")}function q(a){return"["+Error.prototype.toString.call(a)+"]"}function e(a,
|
|
b,c,e,d){for(var f=[],p=0,q=b.length;p<q;++p)Object.prototype.hasOwnProperty.call(b,String(p))?f.push(n(a,b,c,e,String(p),!0)):f.push("");d.forEach(function(d){d.match(/^\d+$/)||f.push(n(a,b,c,e,d,!0))});return f}function n(a,b,c,e,d,f){var n,q;b=Object.getOwnPropertyDescriptor(b,d)||{value:b[d]};b.get?q=b.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):b.set&&(q=a.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(e,d)||(n="["+d+"]");q||(0>a.seen.indexOf(b.value)?
|
|
(q=null===c?p(a,b.value,null):p(a,b.value,c-1),-1<q.indexOf("\n")&&(q=f?q.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+q.split("\n").map(function(a){return" "+a}).join("\n"))):q=a.stylize("[Circular]","special"));if(l(n)){if(f&&d.match(/^\d+$/))return q;n=JSON.stringify(""+d);n.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(n=n.substr(1,n.length-2),n=a.stylize(n,"name")):(n=n.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),n=a.stylize(n,"string"))}return n+": "+q}
|
|
function r(a,b,c){var e=0;return 60<a.reduce(function(a,b){e++;0<=b.indexOf("\n")&&e++;return a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0)?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function t(a){return Array.isArray(a)}function u(a){return"boolean"===typeof a}function w(a){return"number"===typeof a}function x(a){return"string"===typeof a}function l(a){return void 0===a}function L(a){return C(a)&&"[object RegExp]"===Object.prototype.toString.call(a)}function C(a){return"object"===
|
|
typeof a&&null!==a}function F(a){return C(a)&&"[object Date]"===Object.prototype.toString.call(a)}function K(a){return C(a)&&("[object Error]"===Object.prototype.toString.call(a)||a instanceof Error)}function M(a){return"function"===typeof a}function B(a){return 10>a?"0"+a.toString(10):a.toString(10)}function I(){var a=new Date,b=[B(a.getHours()),B(a.getMinutes()),B(a.getSeconds())].join(":");return[a.getDate(),y[a.getMonth()],b].join(" ")}var D=/%[sdj%]/g;g.format=function(a){if(!x(a)){for(var b=
|
|
[],c=0;c<arguments.length;c++)b.push(f(arguments[c]));return b.join(" ")}c=1;var e=arguments,d=e.length;b=String(a).replace(D,function(a){if("%%"===a)return"%";if(c>=d)return a;switch(a){case "%s":return String(e[c++]);case "%d":return Number(e[c++]);case "%j":try{return JSON.stringify(e[c++])}catch(O){return"[Circular]"}default:return a}});for(var p=e[c];c<d;p=e[++c])b=null!==p&&C(p)?b+(" "+f(p)):b+(" "+p);return b};g.deprecate=function(a,b){if(l(h.process))return function(){return g.deprecate(a,
|
|
b).apply(this,arguments)};if(!0===k.noDeprecation)return a;var c=!1;return function(){if(!c){if(k.throwDeprecation)throw Error(b);k.traceDeprecation?console.trace(b):console.error(b);c=!0}return a.apply(this,arguments)}};var E={},P;g.debuglog=function(a){l(P)&&(P=k.env.NODE_DEBUG||"");a=a.toUpperCase();if(!E[a])if((new RegExp("\\b"+a+"\\b","i")).test(P)){var b=k.pid;E[a]=function(){var c=g.format.apply(g,arguments);console.error("%s %d: %s",a,b,c)}}else E[a]=function(){};return E[a]};g.inspect=f;
|
|
f.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]};f.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};g.isArray=t;g.isBoolean=u;g.isNull=function(a){return null===a};g.isNullOrUndefined=function(a){return null==a};g.isNumber=w;g.isString=x;g.isSymbol=function(a){return"symbol"===
|
|
typeof a};g.isUndefined=l;g.isRegExp=L;g.isObject=C;g.isDate=F;g.isError=K;g.isFunction=M;g.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};g.isBuffer=a("./support/isBuffer");var y="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");g.log=function(){console.log("%s - %s",I(),g.format.apply(g,arguments))};g.inherits=a("inherits");g._extend=function(a,b){if(!b||!C(b))return a;for(var c=Object.keys(b),
|
|
e=c.length;e--;)a[c[e]]=b[c[e]];return a}}).call(this,a("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./support/isBuffer":41,_process:16,inherits:40}],43:[function(a,l,g){l.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},{}],44:[function(a,l,g){var k=a("color-convert"),h=function(a,b){return function(){return"\u001b["+(a.apply(k,arguments)+b)+"m"}},f=function(a,b){return function(){var c=
|
|
a.apply(k,arguments);return"\u001b["+(38+b)+";5;"+c+"m"}},d=function(a,b){return function(){var c=a.apply(k,arguments);return"\u001b["+(38+b)+";2;"+c[0]+";"+c[1]+";"+c[2]+"m"}};Object.defineProperty(l,"exports",{enumerable:!0,get:function(){var a=new Map,b={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],
|
|
gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};b.color.grey=b.color.gray;for(var p=
|
|
$jscomp.makeIterator(Object.keys(b)),m=p.next();!m.done;m=p.next()){m=m.value;for(var q=b[m],e=$jscomp.makeIterator(Object.keys(q)),n=e.next();!n.done;n=e.next()){n=n.value;var r=q[n];b[n]={open:"\u001b["+r[0]+"m",close:"\u001b["+r[1]+"m"};q[n]=b[n];a.set(r[0],r[1])}Object.defineProperty(b,m,{value:q,enumerable:!1});Object.defineProperty(b,"codes",{value:a,enumerable:!1})}a=function(a,b,c){return[a,b,c]};b.color.close="\u001b[39m";b.bgColor.close="\u001b[49m";b.color.ansi={};b.color.ansi256={};b.color.ansi16m=
|
|
{rgb:d(a,0)};b.bgColor.ansi={};b.bgColor.ansi256={};b.bgColor.ansi16m={rgb:d(a,10)};a=$jscomp.makeIterator(Object.keys(k));for(p=a.next();!p.done;p=a.next())p=p.value,"object"===typeof k[p]&&(m=k[p],"ansi16"in m&&(b.color.ansi[p]=h(m.ansi16,0),b.bgColor.ansi[p]=h(m.ansi16,10)),"ansi256"in m&&(b.color.ansi256[p]=f(m.ansi256,0),b.bgColor.ansi256[p]=f(m.ansi256,10)),"rgb"in m&&(b.color.ansi16m[p]=d(m.rgb,0),b.bgColor.ansi16m[p]=d(m.rgb,10)));return b}})},{"color-convert":59}],45:[function(a,l,g){var k=
|
|
a("arr-flatten"),h=[].slice;l.exports=function(a,d){var c=arguments.length,b=a.length,f=-1,m=[];if(1===c)return a;for(2<c&&(d=k(h.call(arguments,1)));++f<b;)~d.indexOf(a[f])||m.push(a[f]);return m}},{"arr-flatten":46}],46:[function(a,l,g){function k(a,f){for(var d=0,c,b=a.length;d<b;d++)c=a[d],Array.isArray(c)?k(c,f):f.push(c);return f}l.exports=function(a){return k(a,[])}},{}],47:[function(a,l,g){var k=a("array-uniq");l.exports=function(){return k([].concat.apply([],arguments))}},{"array-uniq":48}],
|
|
48:[function(a,l,g){(function(a){function h(a){for(var b=[],c=0;c<a.length;c++)-1===b.indexOf(a[c])&&b.push(a[c]);return b}function f(a){var b=new Set;return a.filter(function(a){return b.has(a)?!1:(b.add(a),!0)})}function d(a){var b=[];(new Set(a)).forEach(function(a){b.push(a)});return b}function c(){var a=!1;(new Set([!0])).forEach(function(b){a=b});return!0===a}"Set"in a?"function"===typeof Set.prototype.forEach&&c()?l.exports=d:l.exports=f:l.exports=h}).call(this,"undefined"!==typeof global?
|
|
global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],49:[function(a,l,g){l.exports=function(a){if(!Array.isArray(a))throw new TypeError("array-unique expects an array.");for(var h=a.length,f=-1;f++<h;)for(var d=f+1;d<a.length;++d)a[f]===a[d]&&a.splice(d--,1);return a}},{}],50:[function(a,l,g){l.exports=function(a){return null===a||void 0===a?[]:Array.isArray(a)?a:[a]}},{}],51:[function(a,l,g){function k(a,c,b){a instanceof RegExp&&(a=h(a,b));c instanceof RegExp&&(c=h(c,
|
|
b));var d=f(a,c,b);return d&&{start:d[0],end:d[1],pre:b.slice(0,d[0]),body:b.slice(d[0]+a.length,d[1]),post:b.slice(d[1]+c.length)}}function h(a,c){var b=c.match(a);return b?b[0]:null}function f(a,c,b){var d,f=b.indexOf(a),q=b.indexOf(c,f+1),e=f;if(0<=f&&0<q){var n=[];for(d=b.length;0<=e&&!r;){if(e==f)n.push(e),f=b.indexOf(a,e+1);else if(1==n.length)var r=[n.pop(),q];else{var h=n.pop();if(h<d){d=h;var k=q}q=b.indexOf(c,e+1)}e=f<q&&0<=f?f:q}n.length&&(r=[d,k])}return r}l.exports=k;k.range=f},{}],52:[function(a,
|
|
l,g){function k(a){return parseInt(a,10)==a?parseInt(a,10):a.charCodeAt(0)}function h(a){return a.split(n).join("\\").split(r).join("{").split(t).join("}").split(u).join(",").split(w).join(".")}function f(a){if(!a)return[""];var b=[],c=e("{","}",a);if(!c)return a.split(",");var d=c.body;a=c.post;c=c.pre.split(",");c[c.length-1]+="{"+d+"}";d=f(a);a.length&&(c[c.length-1]+=d.shift(),c.push.apply(c,d));b.push.apply(b,c);return b}function d(a){return"{"+a+"}"}function c(a){return/^-?0\d/.test(a)}function b(a,
|
|
b){return a<=b}function p(a,b){return a>=b}function m(a,n){var r=[],h=e("{","}",a);if(!h||/\$$/.test(h.pre))return[a];var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(h.body),g=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(h.body);u=u||g;var w=0<=h.body.indexOf(",");if(!u&&!w)return h.post.match(/,.*\}/)?(a=h.pre+"{"+h.body+t+h.post,m(a)):[a];if(u)var l=h.body.split(/\.\./);else if(l=f(h.body),1===l.length&&(l=m(l[0],!1).map(d),1===l.length))return w=h.post.length?m(h.post,!1):[""],w.map(function(a){return h.pre+
|
|
l[0]+a});var x=h.pre;w=h.post.length?m(h.post,!1):[""];var A;if(u){var E=k(l[0]),P=k(l[1]),y=Math.max(l[0].length,l[1].length),z=3==l.length?Math.abs(k(l[2])):1,H=b;P<E&&(z*=-1,H=p);var Q=l.some(c);for(A=[];H(E,P);E+=z){if(g){var J=String.fromCharCode(E);"\\"===J&&(J="")}else if(J=String(E),Q){var N=y-J.length;0<N&&(N=Array(N+1).join("0"),J=0>E?"-"+N+J.slice(1):N+J)}A.push(J)}}else A=q(l,function(a){return m(a,!1)});for(g=0;g<A.length;g++)for(P=0;P<w.length;P++)y=x+A[g]+w[P],(!n||u||y)&&r.push(y);
|
|
return r}var q=a("concat-map"),e=a("balanced-match");l.exports=function(a){if(!a)return[];"{}"===a.substr(0,2)&&(a="\\{\\}"+a.substr(2));return m(a.split("\\\\").join(n).split("\\{").join(r).split("\\}").join(t).split("\\,").join(u).split("\\.").join(w),!0).map(h)};var n="\x00SLASH"+Math.random()+"\x00",r="\x00OPEN"+Math.random()+"\x00",t="\x00CLOSE"+Math.random()+"\x00",u="\x00COMMA"+Math.random()+"\x00",w="\x00PERIOD"+Math.random()+"\x00"},{"balanced-match":51,"concat-map":62}],53:[function(a,l,
|
|
g){function k(a,m,g){if(""===a)return[];Array.isArray(m)||(g=m,m=[]);g=g||{};m=m||[];"undefined"===typeof g.nodupes&&(g.nodupes=!0);var u=g.fn,l;"function"===typeof g&&(u=g,g={});t instanceof RegExp||(t=/\${|( (?=[{,}])|(?=[{,}]) )|{}|{,}|\\,(?=.*[{}])|\/\.(?=.*[{}])|\\\.(?={)|\\{|\\}/);switch((a.match(t)||[])[0]){case "\\,":return p(a,m,g);case "\\.":return c(a,m,g);case "/.":return b(a,m,g);case " ":a=a.split(" ");m=a.length;g=[];for(l=0;m--;)g.push.apply(g,k(a[l++]));return g;case "{,}":m=g;g=
|
|
k;"function"===typeof m&&(g=m,m=null);m=m||{};l=a.split("{,}");if(m.nodupes)a=g(l.join(""),m);else{a=l.length-1;g=g(l.join("__ESC_EXP__"),m);l=g.length;var w=[];for(u=0;l--;){var x=g[u++];-1===x.indexOf("__ESC_EXP__")?w.push(x):(x=x.split("__ESC_EXP__").join(""))&&!1!==m.nodupes?w.push(x):w.push.apply(w,e(x,Math.pow(2,a)))}a=w}return a;case "{}":return k(a.split("{}").join("\\{\\}"),m,g);case "\\{":case "\\}":return d(a,m,g);case "${":if(/\{[^{]+\{/.test(a))l=!0,a=n.before(a,/\$\{([^}]+)\}/);else return m.concat(a)}r instanceof
|
|
RegExp||(r=/.*(\\?\{([^}]+)\})/);x=r.exec(a);if(null==x)return[a];w=x[1];x=x[2];if(""===x)return[a];if(-1!==x.indexOf(".."))u=q(x,g,u)||x.split(","),x=u.length;else{if('"'===x[0]||"'"===x[0])return m.concat(a.split(/['"]/).join(""));u=x.split(",");if(g.makeRe)return k(a.replace(w,h(u,"|")),g);x=u.length;1===x&&g.bash&&(u[0]=h(u[0],"\\"))}for(var K=u.length,M=0,B;K--;){var I=u[M++];if(/(\.[^.\/])/.test(I))return 1<x?u:[a];B=a;var D=w,E=B.indexOf(D);B=B.substr(0,E)+I+B.substr(E+D.length);/\{[^{}]+?\}/.test(B)?
|
|
m=k(B,m,g):""===B||g.nodupes&&-1!==m.indexOf(B)||m.push(l?n.after(B):B)}if(g.strict){a=m;m=f;if(null==a)a=[];else{if("function"!==typeof m)throw new TypeError("braces: filter expects a callback function.");g=a.length;l=a.slice();for(w=0;g--;)m(a[g],w++)||l.splice(g,1);a=l}return a}return m}function h(a,b){if("|"===b)return"("+a.join(b)+")";if(","===b)return"{"+a.join(b)+"}";if("-"===b)return"["+a.join(b)+"]";if("\\"===b)return"\\{"+a+"\\}"}function f(a){return!!a&&"\\"!==a}function d(a,b,c){return/\{[^{]+\{/.test(a)?
|
|
(a=a.split("\\{").join("__LT_BRACE__"),a=a.split("\\}").join("__RT_BRACE__"),m(k(a,b,c),function(a){a=a.split("__LT_BRACE__").join("{");return a.split("__RT_BRACE__").join("}")})):b.concat(a.split("\\").join(""))}function c(a,b,c){return/[^\\]\..+\\\./.test(a)?(a=a.split("\\.").join("__ESC_DOT__"),m(k(a,b,c),function(a){return a.split("__ESC_DOT__").join(".")})):b.concat(a.split("\\").join(""))}function b(a,b,c){a=a.split("/.").join("__ESC_PATH__");return m(k(a,b,c),function(a){return a.split("__ESC_PATH__").join("/.")})}
|
|
function p(a,b,c){return/\w,/.test(a)?(a=a.split("\\,").join("__ESC_COMMA__"),m(k(a,b,c),function(a){return a.split("__ESC_COMMA__").join(",")})):b.concat(a.split("\\").join(""))}function m(a,b){if(null==a)return[];for(var c=a.length,e=Array(c),d=-1;++d<c;)e[d]=b(a[d],d,a);return e}var q=a("expand-range"),e=a("repeat-element"),n=a("preserve");l.exports=function(a,b){if("string"!==typeof a)throw Error("braces expects a string");return k(a,b)};var r,t},{"expand-range":80,preserve:306,"repeat-element":313}],
|
|
54:[function(a,l,g){(function(k){function h(a,b){b=b||{};var c=q?q.level:0;a.level=void 0===b.level?c:b.level;a.enabled="enabled"in b?b.enabled:0<a.level}function f(a){if(!(this&&this instanceof f)||this.template){var c={};h(c,a);c.template=function(){var a=[].slice.call(arguments);return b.apply(null,[c.template].concat(a))};Object.setPrototypeOf(c,f.prototype);Object.setPrototypeOf(c.template,c);c.template.constructor=f;return c.template}h(this,a)}function d(a,b){var e=function(){return c.apply(e,
|
|
arguments)};e._styles=a;var d=this;Object.defineProperty(e,"level",{enumerable:!0,get:function(){return d.level},set:function(a){d.level=a}});Object.defineProperty(e,"enabled",{enumerable:!0,get:function(){return d.enabled},set:function(a){d.enabled=a}});e.hasGrey=this.hasGrey||"gray"===b||"grey"===b;e.__proto__=A;return e}function c(){var a=arguments,b=a.length,c=String(arguments[0]);if(0===b)return"";if(1<b)for(var e=1;e<b;e++)c+=" "+a[e];if(!this.enabled||0>=this.level||!c)return c;a=m.dim.open;
|
|
n&&this.hasGrey&&(m.dim.open="");b=$jscomp.makeIterator(this._styles.slice().reverse());for(e=b.next();!e.done;e=b.next())e=e.value,c=e.open+c.replace(e.closeRe,e.open)+e.close,c=c.replace(/\r?\n/g,e.close+"$&"+e.open);m.dim.open=a;return c}function b(a,b){if(!Array.isArray(b))return[].slice.call(arguments,1).join(" ");for(var c=[].slice.call(arguments,2),d=[b.raw[0]],f=1;f<b.length;f++)d.push(String(c[f-1]).replace(/[{}\\]/g,"\\$&")),d.push(String(b.raw[f]));return e(a,d.join(""))}var p=a("escape-string-regexp"),
|
|
m=a("ansi-styles"),q=a("supports-color"),e=a("./templates.js"),n="win32"===k.platform&&!(k.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"];k=new Set(["gray"]);var t=Object.create(null);n&&(m.blue.open="\u001b[94m");for(var g={},w=$jscomp.makeIterator(Object.keys(m)),x=w.next();!x.done;g={key:g.key},x=w.next())g.key=x.value,m[g.key].closeRe=new RegExp(p(m[g.key].close),"g"),t[g.key]={get:function(a){return function(){var b=m[a.key];return d.call(this,this._styles?
|
|
this._styles.concat(b):[b],a.key)}}(g)};m.color.closeRe=new RegExp(p(m.color.close),"g");w={};x=$jscomp.makeIterator(Object.keys(m.color.ansi));for(g=x.next();!g.done;w={model:w.model},g=x.next())w.model=g.value,k.has(w.model)||(t[w.model]={get:function(a){return function(){var b=this.level;return function(){var c={open:m.color[r[b]][a.model].apply(null,arguments),close:m.color.close,closeRe:m.color.closeRe};return d.call(this,this._styles?this._styles.concat(c):[c],a.model)}}}(w)});m.bgColor.closeRe=
|
|
new RegExp(p(m.bgColor.close),"g");p={};w=$jscomp.makeIterator(Object.keys(m.bgColor.ansi));for(g=w.next();!g.done;p={model$22:p.model$22},g=w.next())p.model$22=g.value,k.has(p.model$22)||(g="bg"+p.model$22[0].toUpperCase()+p.model$22.slice(1),t[g]={get:function(a){return function(){var b=this.level;return function(){var c={open:m.bgColor[r[b]][a.model$22].apply(null,arguments),close:m.bgColor.close,closeRe:m.bgColor.closeRe};return d.call(this,this._styles?this._styles.concat(c):[c],a.model$22)}}}(p)});
|
|
var A=Object.defineProperties(function(){},t);Object.defineProperties(f.prototype,t);l.exports=f();l.exports.supportsColor=q}).call(this,a("_process"))},{"./templates.js":55,_process:16,"ansi-styles":44,"escape-string-regexp":77,"supports-color":606}],55:[function(a,l,g){function k(a){return"u"===a[0]&&5===a.length||"x"===a[0]&&3===a.length?String.fromCharCode(parseInt(a.slice(1),16)):q[a]||a}function h(a,b){var c=[],e=b.trim().split(/\s*,\s*/g),d;e=$jscomp.makeIterator(e);for(d=e.next();!d.done;d=
|
|
e.next()){var f=d.value;if(isNaN(f))if(d=f.match(p))c.push(d[2].replace(m,function(a,b,c){return b?k(b):c}));else throw Error("Invalid Chalk template style argument: "+f+" (in style '"+a+"')");else c.push(Number(f))}return c}function f(a){b.lastIndex=0;for(var c=[],e;null!==(e=b.exec(a));){var d=e[1];e[2]?(e=h(d,e[2]),c.push([d].concat(e))):c.push([d])}return c}function d(a,b){for(var c={},e=$jscomp.makeIterator(b),d=e.next();!d.done;d=e.next()){d=d.value;for(var f=$jscomp.makeIterator(d.styles),
|
|
p=f.next();!p.done;p=f.next())p=p.value,c[p[0]]=d.inverse?null:p.slice(1)}e=a;d=$jscomp.makeIterator(Object.keys(c));for(f=d.next();!f.done;f=d.next())if(f=f.value,Array.isArray(c[f])){if(!(f in e))throw Error("Unknown Chalk style: "+f);e=0<c[f].length?e[f].apply(e,c[f]):e[f]}return e}var c=/(?:\\(u[a-f0-9]{4}|x[a-f0-9]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,b=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,p=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,
|
|
m=/\\(u[0-9a-f]{4}|x[0-9a-f]{2}|.)|([^\\])/gi,q={n:"\n",r:"\r",t:"\t",b:"\b",f:"\f",v:"\v",0:"\x00","\\":"\\",e:"\u001b",a:"\u0007"};l.exports=function(a,b){var e=[],p=[],n=[];b.replace(c,function(b,c,q,h,r,m){if(c)n.push(k(c));else if(h)b=n.join(""),n=[],p.push(0===e.length?b:d(a,e)(b)),e.push({inverse:q,styles:f(h)});else if(r){if(0===e.length)throw Error("Found extraneous } in Chalk template literal");p.push(d(a,e)(n.join("")));n=[];e.pop()}else n.push(m)});p.push(n.join(""));if(0<e.length)throw Error("Chalk template literal is missing "+
|
|
e.length+" closing bracket"+(1===e.length?"":"s")+" (`}`)");return p.join("")}},{}],56:[function(a,l,g){function k(a,e,f){var p=[],n=[a],h=[a],r=[f?"~":"[Circular]"],m=a,k=1,t;return function(a,g){e&&(g=e.call(this,a,g));""!==a&&(m!==this&&(t=k-q.call(n,this)-1,k-=t,n.splice(k,n.length),p.splice(k-1,p.length),m=this),"object"===typeof g&&g?(0>q.call(n,g)&&n.push(m=g),k=n.length,t=q.call(h,g),0>t?(t=h.push(g)-1,f?(p.push((""+a).replace(b,d)),r[t]="~"+p.join("~")):r[t]=r[0]):g=r[t]):"string"===typeof g&&
|
|
f&&(g=g.replace(d,c).replace("~",d)));return g}}function h(a){return function(b,p){var n="string"===typeof p;if(n&&"~"===p.charAt(0))return new e(p.slice(1));""===b&&(p=f(p,p,{}));n&&(p=p.replace(m,"$1~").replace(c,d));return a?a.call(this,b,p):p}}function f(a,b,c){if(b instanceof Array)for(var d=0,n=b.length;d<n;d++)b[d]=f(a,b[d],c);else if(b instanceof e)if(b.length)if(c.hasOwnProperty(b))b=c[b];else{d=b.split("~");n=0;for(var q=d.length;n<q;a=a[d[n++].replace(p,"~")]);b=c[b]=a}else b=a;else if(b instanceof
|
|
Object)for(d in b)b.hasOwnProperty(d)&&(b[d]=f(a,b[d],c));return b}var d="\\x"+("0"+(126).toString(16)).slice(-2),c="\\"+d,b=new RegExp(d,"g"),p=new RegExp(c,"g"),m=new RegExp("(?:^|([^\\\\]))"+c),q=[].indexOf||function(a){for(var b=this.length;b--&&this[b]!==a;);return b},e=String;this.stringify=function(a,b,c,e){return JSON.stringify(a,k(a,b,!e),c)};this.parse=function(a,b){return JSON.parse(a,h(b))}},{}],57:[function(a,l,g){var k=a("is-regexp");a=a("is-supported-regexp-flag");var h={global:"g",
|
|
ignoreCase:"i",multiline:"m"};a("y")&&(h.sticky="y");a("u")&&(h.unicode="u");l.exports=function(a,d){if(!k(a))throw new TypeError("Expected a RegExp instance");d=d||{};var c=Object.keys(h).map(function(b){return("boolean"===typeof d[b]?d[b]:a[b])?h[b]:""}).join("");return new RegExp(d.source||a.source,c)}},{"is-regexp":126,"is-supported-regexp-flag":127}],58:[function(a,l,g){var k=a("color-name"),h={},f;for(f in k)k.hasOwnProperty(f)&&(h[k[f]]=f);var d=l.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,
|
|
labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},c;for(c in d)if(d.hasOwnProperty(c)){if(!("channels"in
|
|
d[c]))throw Error("missing channels property: "+c);if(!("labels"in d[c]))throw Error("missing channel labels property: "+c);if(d[c].labels.length!==d[c].channels)throw Error("channel and label counts mismatch: "+c);a=d[c].channels;l=d[c].labels;delete d[c].channels;delete d[c].labels;Object.defineProperty(d[c],"channels",{value:a});Object.defineProperty(d[c],"labels",{value:l})}d.rgb.hsl=function(a){var b=a[0]/255,c=a[1]/255,d=a[2]/255;a=Math.min(b,c,d);var e=Math.max(b,c,d),f=e-a,h;e===a?h=0:b===
|
|
e?h=(c-d)/f:c===e?h=2+(d-b)/f:d===e&&(h=4+(b-c)/f);h=Math.min(60*h,360);0>h&&(h+=360);b=(a+e)/2;return[h,100*(e===a?0:.5>=b?f/(e+a):f/(2-e-a)),100*b]};d.rgb.hsv=function(a){var b=a[0],c=a[1];a=a[2];var d=Math.min(b,c,a),e=Math.max(b,c,a),f=e-d,h;e===d?h=0:b===e?h=(c-a)/f:c===e?h=2+(a-b)/f:a===e&&(h=4+(b-c)/f);h=Math.min(60*h,360);0>h&&(h+=360);return[h,0===e?0:f/e*1E3/10,e/255*1E3/10]};d.rgb.hwb=function(a){var b=a[0],c=a[1],f=a[2];a=d.rgb.hsl(a)[0];var e=1/255*Math.min(b,Math.min(c,f));f=1-1/255*
|
|
Math.max(b,Math.max(c,f));return[a,100*e,100*f]};d.rgb.cmyk=function(a){var b=a[0]/255,c=a[1]/255;a=a[2]/255;var d=Math.min(1-b,1-c,1-a);return[100*((1-b-d)/(1-d)||0),100*((1-c-d)/(1-d)||0),100*((1-a-d)/(1-d)||0),100*d]};d.rgb.keyword=function(a){var b=h[a];if(b)return b;b=Infinity;var c;for(c in k)if(k.hasOwnProperty(c)){var d=k[c];d=Math.pow(a[0]-d[0],2)+Math.pow(a[1]-d[1],2)+Math.pow(a[2]-d[2],2);if(d<b){b=d;var e=c}}return e};d.keyword.rgb=function(a){return k[a]};d.rgb.xyz=function(a){var b=
|
|
a[0]/255,c=a[1]/255;a=a[2]/255;b=.04045<b?Math.pow((b+.055)/1.055,2.4):b/12.92;c=.04045<c?Math.pow((c+.055)/1.055,2.4):c/12.92;a=.04045<a?Math.pow((a+.055)/1.055,2.4):a/12.92;return[100*(.4124*b+.3576*c+.1805*a),100*(.2126*b+.7152*c+.0722*a),100*(.0193*b+.1192*c+.9505*a)]};d.rgb.lab=function(a){var b=d.rgb.xyz(a);a=b[0];var c=b[1];b=b[2];a/=95.047;c/=100;b/=108.883;a=.008856<a?Math.pow(a,1/3):7.787*a+16/116;c=.008856<c?Math.pow(c,1/3):7.787*c+16/116;b=.008856<b?Math.pow(b,1/3):7.787*b+16/116;return[116*
|
|
c-16,500*(a-c),200*(c-b)]};d.hsl.rgb=function(a){var b=a[0]/360,c=a[1]/100;a=a[2]/100;if(0===c){var d=255*a;return[d,d,d]}c=.5>a?a*(1+c):a+c-a*c;a=2*a-c;var e=[0,0,0];for(var f=0;3>f;f++)d=b+1/3*-(f-1),0>d&&d++,1<d&&d--,d=1>6*d?a+6*(c-a)*d:1>2*d?c:2>3*d?a+(c-a)*(2/3-d)*6:a,e[f]=255*d;return e};d.hsl.hsv=function(a){var b=a[0],c=a[1]/100;a=a[2]/100;var d=c,e=Math.max(a,.01);a*=2;c*=1>=a?a:2-a;d*=1>=e?e:2-e;return[b,100*(0===a?2*d/(e+d):2*c/(a+c)),(a+c)/2*100]};d.hsv.rgb=function(a){var b=a[0]/60,c=
|
|
a[1]/100;a=a[2]/100;var d=Math.floor(b)%6,e=b-Math.floor(b);b=255*a*(1-c);var f=255*a*(1-c*e);c=255*a*(1-c*(1-e));a*=255;switch(d){case 0:return[a,c,b];case 1:return[f,a,b];case 2:return[b,a,c];case 3:return[b,f,a];case 4:return[c,b,a];case 5:return[a,b,f]}};d.hsv.hsl=function(a){var b=a[0],c=a[1]/100;a=a[2]/100;var d=Math.max(a,.01);var e=(2-c)*d;d=c*d/(1>=e?e:2-e)||0;return[b,100*d,(2-c)*a/2*100]};d.hwb.rgb=function(a){var b=a[0]/360,c=a[1]/100;a=a[2]/100;var d=c+a;1<d&&(c/=d,a/=d);d=Math.floor(6*
|
|
b);a=1-a;b=6*b-d;0!==(d&1)&&(b=1-b);b=c+b*(a-c);switch(d){default:case 6:case 0:d=a;var e=b;break;case 1:d=b;e=a;break;case 2:d=c;e=a;c=b;break;case 3:d=c;e=b;c=a;break;case 4:d=b;e=c;c=a;break;case 5:d=a,e=c,c=b}return[255*d,255*e,255*c]};d.cmyk.rgb=function(a){var b=a[3]/100;return[255*(1-Math.min(1,a[0]/100*(1-b)+b)),255*(1-Math.min(1,a[1]/100*(1-b)+b)),255*(1-Math.min(1,a[2]/100*(1-b)+b))]};d.xyz.rgb=function(a){var b=a[0]/100,c=a[1]/100,d=a[2]/100;a=3.2406*b+-1.5372*c+-.4986*d;var e=-.9689*b+
|
|
1.8758*c+.0415*d;b=.0557*b+-.204*c+1.057*d;a=.0031308<a?1.055*Math.pow(a,1/2.4)-.055:12.92*a;e=.0031308<e?1.055*Math.pow(e,1/2.4)-.055:12.92*e;b=.0031308<b?1.055*Math.pow(b,1/2.4)-.055:12.92*b;a=Math.min(Math.max(0,a),1);e=Math.min(Math.max(0,e),1);b=Math.min(Math.max(0,b),1);return[255*a,255*e,255*b]};d.xyz.lab=function(a){var b=a[0],c=a[1];a=a[2];b/=95.047;c/=100;a/=108.883;b=.008856<b?Math.pow(b,1/3):7.787*b+16/116;c=.008856<c?Math.pow(c,1/3):7.787*c+16/116;a=.008856<a?Math.pow(a,1/3):7.787*a+
|
|
16/116;return[116*c-16,500*(b-c),200*(c-a)]};d.lab.xyz=function(a){var b=a[1],c=a[2];a=(a[0]+16)/116;b=b/500+a;c=a-c/200;var d=Math.pow(a,3),e=Math.pow(b,3),f=Math.pow(c,3);return[95.047*(.008856<e?e:(b-16/116)/7.787),100*(.008856<d?d:(a-16/116)/7.787),108.883*(.008856<f?f:(c-16/116)/7.787)]};d.lab.lch=function(a){var b=a[0],c=a[1];a=a[2];var d=360*Math.atan2(a,c)/2/Math.PI;0>d&&(d+=360);return[b,Math.sqrt(c*c+a*a),d]};d.lch.lab=function(a){var b=a[0],c=a[1];a=a[2]/360*2*Math.PI;return[b,c*Math.cos(a),
|
|
c*Math.sin(a)]};d.rgb.ansi16=function(a){var b=a[0],c=a[1],f=a[2],e=1 in arguments?arguments[1]:d.rgb.hsv(a)[2];e=Math.round(e/50);if(0===e)return 30;b=30+(Math.round(f/255)<<2|Math.round(c/255)<<1|Math.round(b/255));2===e&&(b+=60);return b};d.hsv.ansi16=function(a){return d.rgb.ansi16(d.hsv.rgb(a),a[2])};d.rgb.ansi256=function(a){var b=a[0],c=a[1];a=a[2];return b===c&&c===a?8>b?16:248<b?231:Math.round((b-8)/247*24)+232:16+36*Math.round(b/255*5)+6*Math.round(c/255*5)+Math.round(a/255*5)};d.ansi16.rgb=
|
|
function(a){var b=a%10;if(0===b||7===b)return 50<a&&(b+=3.5),b=b/10.5*255,[b,b,b];a=.5*(~~(50<a)+1);return[(b&1)*a*255,(b>>1&1)*a*255,(b>>2&1)*a*255]};d.ansi256.rgb=function(a){if(232<=a){var b=10*(a-232)+8;return[b,b,b]}a-=16;b=Math.floor(a/36)/5*255;var c=Math.floor((a%=36)/6)/5*255;return[b,c,a%6/5*255]};d.rgb.hex=function(a){a=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(a.length)+a};d.hex.rgb=function(a){a=
|
|
a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];var b=a[0];3===a[0].length&&(b=b.split("").map(function(a){return a+a}).join(""));a=parseInt(b,16);return[a>>16&255,a>>8&255,a&255]};d.rgb.hcg=function(a){var b=a[0]/255,c=a[1]/255;a=a[2]/255;var d=Math.max(Math.max(b,c),a),e=Math.min(Math.min(b,c),a),f=d-e;return[(0>=f?0:d===b?(c-a)/f%6:d===c?2+(a-b)/f:(b-c)/f+8)/6%1*360,100*f,100*(1>f?e/(1-f):0)]};d.hsl.hcg=function(a){var b=a[1]/100,c=a[2]/100,d=0;b=.5>c?2*b*c:2*b*(1-c);1>b&&
|
|
(d=(c-.5*b)/(1-b));return[a[0],100*b,100*d]};d.hsv.hcg=function(a){var b=a[2]/100,c=a[1]/100*b,d=0;1>c&&(d=(b-c)/(1-c));return[a[0],100*c,100*d]};d.hcg.rgb=function(a){var b=a[1]/100,c=a[2]/100;if(0===b)return[255*c,255*c,255*c];var d=[0,0,0];a=a[0]/360%1*6;var e=a%1,f=1-e;switch(Math.floor(a)){case 0:d[0]=1;d[1]=e;d[2]=0;break;case 1:d[0]=f;d[1]=1;d[2]=0;break;case 2:d[0]=0;d[1]=1;d[2]=e;break;case 3:d[0]=0;d[1]=f;d[2]=1;break;case 4:d[0]=e;d[1]=0;d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=f}c*=1-b;
|
|
return[255*(b*d[0]+c),255*(b*d[1]+c),255*(b*d[2]+c)]};d.hcg.hsv=function(a){var b=a[1]/100,c=b+a[2]/100*(1-b),d=0;0<c&&(d=b/c);return[a[0],100*d,100*c]};d.hcg.hsl=function(a){var b=a[1]/100,c=a[2]/100*(1-b)+.5*b,d=0;0<c&&.5>c?d=b/(2*c):.5<=c&&1>c&&(d=b/(2*(1-c)));return[a[0],100*d,100*c]};d.hcg.hwb=function(a){var b=a[1]/100,c=b+a[2]/100*(1-b);return[a[0],100*(c-b),100*(1-c)]};d.hwb.hcg=function(a){var b=1-a[2]/100,c=b-a[1]/100,d=0;1>c&&(d=(b-c)/(1-c));return[a[0],100*c,100*d]};d.apple.rgb=function(a){return[a[0]/
|
|
65535*255,a[1]/65535*255,a[2]/65535*255]};d.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]};d.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]};d.gray.hsl=d.gray.hsv=function(a){return[0,0,a[0]]};d.gray.hwb=function(a){return[0,100,a[0]]};d.gray.cmyk=function(a){return[0,0,0,a[0]]};d.gray.lab=function(a){return[a[0],0,0]};d.gray.hex=function(a){a=Math.round(a[0]/100*255)&255;a=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".substring(a.length)+
|
|
a};d.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}},{"color-name":61}],59:[function(a,l,g){function k(a){var b=function(b){if(void 0===b||null===b)return b;1<arguments.length&&(b=Array.prototype.slice.call(arguments));return a(b)};"conversion"in a&&(b.conversion=a.conversion);return b}function h(a){var b=function(b){if(void 0===b||null===b)return b;1<arguments.length&&(b=Array.prototype.slice.call(arguments));var c=a(b);if("object"===typeof c)for(var e=c.length,d=0;d<e;d++)c[d]=Math.round(c[d]);
|
|
return c};"conversion"in a&&(b.conversion=a.conversion);return b}var f=a("./conversions"),d=a("./route"),c={};Object.keys(f).forEach(function(a){c[a]={};Object.defineProperty(c[a],"channels",{value:f[a].channels});Object.defineProperty(c[a],"labels",{value:f[a].labels});var b=d(a);Object.keys(b).forEach(function(d){var f=b[d];c[a][d]=h(f);c[a][d].raw=k(f)})});l.exports=c},{"./conversions":58,"./route":60}],60:[function(a,l,g){function k(a,c){return function(b){return c(a(b))}}var h=a("./conversions"),
|
|
f=Object.keys(h);l.exports=function(a){for(var c={},b=f.length,d=0;d<b;d++)c[f[d]]={distance:-1,parent:null};b=[a];for(c[a].distance=0;b.length;){a=b.pop();d=Object.keys(h[a]);for(var m=d.length,q=0;q<m;q++){var e=d[q],n=c[e];-1===n.distance&&(n.distance=c[a].distance+1,n.parent=a,b.unshift(e))}}b={};a=Object.keys(c);d=a.length;for(m=0;m<d;m++){var r=a[m];if(null!==c[r].parent){q=r;e=c;n=[e[r].parent,r];var t=h[e[r].parent][r];for(r=e[r].parent;e[r].parent;)n.unshift(e[r].parent),t=k(h[e[r].parent][r],
|
|
t),r=e[r].parent;t.conversion=n;b[q]=t}}return b}},{"./conversions":58}],61:[function(a,l,g){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,
|
|
248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,
|
|
20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,
|
|
250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,
|
|
205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,
|
|
142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],
|
|
seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],62:[function(a,l,g){l.exports=function(a,f){for(var d=
|
|
[],c=0;c<a.length;c++){var b=f(a[c],c);k(b)?d.push.apply(d,b):d.push(b)}return d};var k=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},{}],63:[function(a,l,g){(function(k){var h=a("path"),f=a("os-homedir"),d=a("minimist"),c=a("object-assign"),b=a("./lib/createExplorer"),p=d(k.argv);l.exports=function(a,d){d=c({packageProp:a,rc:"."+a+"rc",js:a+".config.js",argv:"config",rcStrictJson:!1,stopDir:f(),cache:!0},d);d.argv&&p[d.argv]&&(d.configPath=h.resolve(p[d.argv]));
|
|
return b(d)}}).call(this,a("_process"))},{"./lib/createExplorer":64,_process:16,minimist:172,"object-assign":177,"os-homedir":180,path:14}],64:[function(a,l,g){(function(k){function h(a){return new Promise(function(b,e){return c(a,function(a,c){return a?e(a):b(c)})})}function f(a){return Promise.resolve(a)}var d=a("path"),c=a("is-directory"),b=a("./loadPackageProp"),p=a("./loadRc"),m=a("./loadJs"),q=a("./loadDefinedFile");l.exports=function(a){function c(){g&&g.clear()}function e(){l&&l.clear()}function t(c){if(l&&
|
|
l.has(c))return l.get(c);var e=Promise.resolve().then(function(){if(a.packageProp)return b(c,a)}).then(function(b){return b||!a.rc?b:p(d.join(c,a.rc),a)}).then(function(b){return b||!a.js?b:m(d.join(c,a.js))}).then(function(b){if(b)return b;b=c.split(d.sep);return(b=1<b.length?b.slice(0,-1).join(d.sep):null)&&c!==a.stopDir?t(b):null}).then(x);l&&l.set(c,e);return e}var g=a.cache?new Map:null,l=a.cache?new Map:null,x=a.transform||f;return{load:function(b,c){!c&&a.configPath&&(c=a.configPath);if(c){var e=
|
|
d.resolve(k.cwd(),c);if(g&&g.has(e))return g.get(e);var f=q(e,a).then(x);g&&g.set(e,f);return f}if(!b)return Promise.resolve(null);var n=d.resolve(k.cwd(),b);return h(n).then(function(a){a=a?n:d.dirname(n);return t(a)})},clearFileCache:c,clearDirectoryCache:e,clearCaches:function(){c();e()}}}}).call(this,a("_process"))},{"./loadDefinedFile":65,"./loadJs":66,"./loadPackageProp":67,"./loadRc":68,_process:16,"is-directory":114,path:14}],65:[function(a,l,g){function k(a,b){return h(a,b,function(){return f(a,
|
|
b,function(){return null})})}function h(a,b,c){try{var e=d.safeLoad(a,{filename:b});return"string"===typeof e?c():e}catch(r){return c()}}function f(a,b,e){try{return c(a,b)}catch(n){return e()}}var d=a("js-yaml"),c=a("require-from-string"),b=a("./readFile"),p=a("./parseJson");l.exports=function(a,f){return b(a,{throwNotFound:!0}).then(function(b){var e=function(){switch(f.format){case "json":return p(b,a);case "yaml":return d.safeLoad(b,{filename:a});case "js":return c(b,a);default:return k(b,a)}}();
|
|
if(!e)throw Error('Failed to parse "'+a+'" as JSON, JS, or YAML.');return{config:e,filepath:a}})}},{"./parseJson":69,"./readFile":70,"js-yaml":131,"require-from-string":315}],66:[function(a,l,g){var k=a("require-from-string"),h=a("./readFile");l.exports=function(a){return h(a).then(function(d){return d?{config:k(d,a),filepath:a}:null})}},{"./readFile":70,"require-from-string":315}],67:[function(a,l,g){var k=a("path"),h=a("./readFile"),f=a("./parseJson");l.exports=function(a,c){var b=k.join(a,"package.json");
|
|
return h(b).then(function(a){return a?(a=f(a,b)[c.packageProp])?{config:a,filepath:b}:null:null})}},{"./parseJson":69,"./readFile":70,path:14}],68:[function(a,l,g){var k=a("js-yaml"),h=a("require-from-string"),f=a("./readFile"),d=a("./parseJson");l.exports=function(a,b){function c(){return m("json").then(function(b){if(b){var c=a+".json";return{config:d(b,c),filepath:c}}return m("yaml")}).then(function(b){if(b){if(b.config)return b;var c=a+".yaml";return{config:k.safeLoad(b,{filename:c}),filepath:c}}return m("yml")}).then(function(b){if(b){if(b.config)return b;
|
|
var c=a+".yml";return{config:k.safeLoad(b,{filename:c}),filepath:c}}return m("js")}).then(function(b){if(b){if(b.config)return b;var c=a+".js";return{config:h(b,c),filepath:c}}return null})}function m(b){return f(b?a+"."+b:a)}return function(){return m().then(function(c){return c?{config:b.rcStrictJson?d(c,a):k.safeLoad(c,{filename:a}),filepath:a}:null})}().then(function(a){return a?a:b.rcExtensions?c():null})}},{"./parseJson":69,"./readFile":70,"js-yaml":131,"require-from-string":315}],69:[function(a,
|
|
l,g){var k=a("parse-json");l.exports=function(a,f){try{return k(a)}catch(d){throw d.message="JSON Error in "+f+":\n"+d.message,d;}}},{"parse-json":182}],70:[function(a,l,g){var k=a("fs");l.exports=function(a,f){f=f||{};f.throwNotFound=f.throwNotFound||!1;return new Promise(function(d,c){k.readFile(a,"utf8",function(a,h){if(a&&"ENOENT"===a.code&&!f.throwNotFound)return d(null);if(a)return c(a);d(h)})})}},{fs:1}],71:[function(a,l,g){(function(k){function h(){try{var a=g.storage.debug}catch(b){}!a&&
|
|
"undefined"!==typeof k&&"env"in k&&(a=k.env.DEBUG);return a}g=l.exports=a("./debug");g.log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)};g.formatArgs=function(a){var b=this.useColors;a[0]=(b?"%c":"")+this.namespace+(b?" %c":" ")+a[0]+(b?"%c ":" ")+"+"+g.humanize(this.diff);if(b){b="color: "+this.color;a.splice(1,0,b,"color: inherit");var c=0,d=0;a[0].replace(/%[a-zA-Z%]/g,function(a){"%%"!==a&&(c++,"%c"===a&&(d=c))});a.splice(d,
|
|
0,b)}};g.save=function(a){try{null==a?g.storage.removeItem("debug"):g.storage.debug=a}catch(b){}};g.load=h;g.useColors=function(){return"undefined"!==typeof window&&window.process&&"renderer"===window.process.type?!0:"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&
|
|
navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)};var f=g;if("undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage)var d=chrome.storage.local;else a:{try{d=window.localStorage;break a}catch(c){}d=void 0}f.storage=d;g.colors="lightseagreen forestgreen goldenrod dodgerblue darkorchid crimson".split(" ");g.formatters.j=
|
|
function(a){try{return JSON.stringify(a)}catch(b){return"[UnexpectedJSONParseError]: "+b.message}};g.enable(h())}).call(this,a("_process"))},{"./debug":72,_process:16}],72:[function(a,l,g){function k(a){var c=0,b;for(b in a)c=(c<<5)-c+a.charCodeAt(b),c|=0;return g.colors[Math.abs(c)%g.colors.length]}function h(a){function c(){if(c.enabled){var a=+new Date;c.diff=a-(f||a);c.prev=f;f=c.curr=a;var d=Array(arguments.length);for(a=0;a<d.length;a++)d[a]=arguments[a];d[0]=g.coerce(d[0]);"string"!==typeof d[0]&&
|
|
d.unshift("%O");var h=0;d[0]=d[0].replace(/%([a-zA-Z%])/g,function(a,b){if("%%"===a)return a;h++;var e=g.formatters[b];"function"===typeof e&&(a=e.call(c,d[h]),d.splice(h,1),h--);return a});g.formatArgs.call(c,d);(c.log||g.log||console.log.bind(console)).apply(c,d)}}c.namespace=a;c.enabled=g.enabled(a);c.useColors=g.useColors();c.color=k(a);"function"===typeof g.init&&g.init(c);return c}g=l.exports=h.debug=h["default"]=h;g.coerce=function(a){return a instanceof Error?a.stack||a.message:a};g.disable=
|
|
function(){g.enable("")};g.enable=function(a){g.save(a);g.names=[];g.skips=[];for(var c=("string"===typeof a?a:"").split(/[\s,]+/),b=c.length,d=0;d<b;d++)c[d]&&(a=c[d].replace(/\*/g,".*?"),"-"===a[0]?g.skips.push(new RegExp("^"+a.substr(1)+"$")):g.names.push(new RegExp("^"+a+"$")))};g.enabled=function(a){var c;var b=0;for(c=g.skips.length;b<c;b++)if(g.skips[b].test(a))return!1;b=0;for(c=g.names.length;b<c;b++)if(g.names[b].test(a))return!0;return!1};g.humanize=a("ms");g.names=[];g.skips=[];g.formatters=
|
|
{};var f},{ms:174}],73:[function(a,l,g){function k(a){if(d(a))throw Error("Cannot delete the current working directory. Can be overriden with the `force` option.");if(!c(a))throw Error("Cannot delete files/folders outside the current working directory. Can be overriden with the `force` option.");}var h=a("path"),f=a("globby"),d=a("is-path-cwd"),c=a("is-path-in-cwd"),b=a("object-assign"),p=a("pinkie-promise");g=a("pify");var m=a("rimraf"),q=g(m,p);l.exports=function(a,c){c=b({},c);var e=c.force;delete c.force;
|
|
var d=c.dryRun;delete c.dryRun;return f(a,c).then(function(a){return p.all(a.map(function(a){e||k(a);a=h.resolve(c.cwd||"",a);return d?p.resolve(a):q(a).then(function(){return a})}))})};l.exports.sync=function(a,c){c=b({},c);var e=c.force;delete c.force;var d=c.dryRun;delete c.dryRun;return f.sync(a,c).map(function(a){e||k(a);a=h.resolve(c.cwd||"",a);d||m.sync(a);return a})}},{globby:74,"is-path-cwd":121,"is-path-in-cwd":122,"object-assign":177,path:14,pify:75,"pinkie-promise":188,rimraf:317}],74:[function(a,
|
|
l,g){function k(a){return"!"===a[0]}function h(a,b){var e=[];a=p(a);b=c({cache:Object.create(null),statCache:Object.create(null),realpathCache:Object.create(null),symlinks:Object.create(null),ignore:[]},b);a.forEach(function(d,f){if(!k(d)){var n=a.slice(f).filter(k).map(function(a){return a.slice(1)});e.push({pattern:d,opts:c({},b,{ignore:b.ignore.concat(n)})})}});return e}var f=a("pinkie-promise"),d=a("array-union"),c=a("object-assign"),b=a("glob"),p=a("arrify"),m=a("pify")(b,f).bind(b);l.exports=
|
|
function(a,b){var c=h(a,b);return f.all(c.map(function(a){return m(a.pattern,a.opts)})).then(function(a){return d.apply(null,a)})};l.exports.sync=function(a,c){return h(a,c).reduce(function(a,c){return d(a,b.sync(c.pattern,c.opts))},[])};l.exports.generateGlobTasks=h},{"array-union":47,arrify:50,glob:95,"object-assign":177,pify:75,"pinkie-promise":188}],75:[function(a,l,g){var k=function(a,f,d){return function(){for(var c=this,b=Array(arguments.length),h=0;h<arguments.length;h++)b[h]=arguments[h];
|
|
return new f(function(f,h){b.push(function(a,b){if(a)h(a);else if(d.multiArgs){for(var c=Array(arguments.length-1),e=1;e<arguments.length;e++)c[e-1]=arguments[e];f(c)}else f(b)});a.apply(c,b)})}};a=l.exports=function(a,f,d){"function"!==typeof f&&(d=f,f=Promise);d=d||{};d.exclude=d.exclude||[/.+Sync$/];var c=function(a){var b=function(b){return"string"===typeof b?a===b:b.test(a)};return d.include?d.include.some(b):!d.exclude.some(b)},b="function"===typeof a?function(){return d.excludeMain?a.apply(this,
|
|
arguments):k(a,f,d).apply(this,arguments)}:{};return Object.keys(a).reduce(function(b,h){var p=a[h];b[h]="function"===typeof p&&c(h)?k(p,f,d):p;return b},b)};a.all=a},{}],76:[function(a,l,g){var k=a("util"),h=a("is-arrayish");a=function(a,d){a&&a.constructor===String||(d=a||{},a=Error.name);var c=function p(f){if(!this)return new p(f);f=f instanceof Error?f.message:f||this.message;Error.call(this,f);Error.captureStackTrace(this,c);this.name=a;Object.defineProperty(this,"message",{configurable:!0,
|
|
enumerable:!1,get:function(){var a=f.split(/\r?\n/g),c;for(c in d)if(d.hasOwnProperty(c)){var e=d[c];"message"in e&&(a=e.message(this[c],a)||a,h(a)||(a=[a]))}return a.join("\n")},set:function(a){f=a}});var q=Object.getOwnPropertyDescriptor(this,"stack"),e=q.get,n=q.value;delete q.value;delete q.writable;q.get=function(){var a=e?e.call(this).split(/\r?\n+/g):n.split(/\r?\n+/g);a[0]=this.name+": "+this.message;var c=1,f;for(f in d)if(d.hasOwnProperty(f)){var h=d[f];if("line"in h){var p=h.line(this[f]);
|
|
p&&a.splice(c++,0," "+p)}"stack"in h&&h.stack(this[f],a)}return a.join("\n")};Object.defineProperty(this,"stack",q)};Object.setPrototypeOf?(Object.setPrototypeOf(c.prototype,Error.prototype),Object.setPrototypeOf(c,Error)):k.inherits(c,Error);return c};a.append=function(a,d){return{message:function(c,b){(c=c||d)&&(b[0]+=" "+a.replace("%s",c.toString()));return b}}};a.line=function(a,d){return{line:function(c){return(c=c||d)?a.replace("%s",c.toString()):null}}};l.exports=a},{"is-arrayish":112,util:42}],
|
|
77:[function(a,l,g){var k=/[|\\{}()[\]^$+*?.]/g;l.exports=function(a){if("string"!==typeof a)throw new TypeError("Expected a string");return a.replace(k,"\\$&")}},{}],78:[function(a,l,g){var k=a("clone-regexp");l.exports=function(a,f){for(var d,c=[],b=k(a),h=b.global;(d=b.exec(f))&&(c.push({match:d[0],sub:d.slice(1),index:d.index}),h););return c}},{"clone-regexp":57}],79:[function(a,l,g){function k(a){if(!h(a))return a;var c=!1;-1!==a.indexOf("[^")&&(c=!0,a=a.split("[^").join("["));-1!==a.indexOf("[!")&&
|
|
(c=!0,a=a.split("[!").join("["));var b=a.split("["),d=a.split("]");b=b.length!==d.length;var k=a.split(/(?::\]\[:|\[?\[:|:\]\]?)/),q=k.length,e=0;d=a="";for(var n=[];q--;){var r=k[e++];if("^[!"===r||"[!"===r)r="",c=!0;var t=c?"^":"",g=f[r];g?n.push("["+t+g+"]"):r&&(/^\[?\w-\w\]?$/.test(r)?e===k.length?n.push("["+t+r):1===e?n.push(t+r+"]"):n.push(t+r):1===e?d+=r:e===k.length?a+=r:n.push("["+t+r+"]"))}c=n.join("|");n=n.length||1;1<n&&(c="(?:"+c+")",n=1);d&&(n++,"["===d.charAt(0)&&(d=b?"\\["+d.slice(1):
|
|
d+"]"),c=d+c);a&&(n++,"]"===a.slice(-1)&&(a=b?a.slice(0,a.length-1)+"\\]":"["+a),c+=a);1<n&&(c=c.split("][").join("]|["),-1===c.indexOf("|")||/\(\?/.test(c)||(c="(?:"+c+")"));return c=c.replace(/\[+=|=\]+/g,"\\b")}var h=a("is-posix-bracket"),f={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E",punct:"-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};l.exports=
|
|
k;k.makeRe=function(a){try{return new RegExp(k(a))}catch(c){}};k.isMatch=function(a,c){try{return k.makeRe(c).test(a)}catch(b){return!1}};k.match=function(a,c){for(var b=a.length,d=0,f=a.slice(),h=k.makeRe(c);d<b;){var e=a[d++];h.test(e)&&f.splice(d,1)}return f}},{"is-posix-bracket":124}],80:[function(a,l,g){var k=a("fill-range");l.exports=function(a,f,d){if("string"!==typeof a)throw new TypeError("expand-range expects a string.");"function"===typeof f&&(d=f,f={});"boolean"===typeof f&&(f={makeRe:!0});
|
|
f=f||{};var c=a.split(".."),b=c.length;if(3<b)return a;if(1===b)return c;"boolean"===typeof d&&!0===d&&(f.makeRe=!0);c.push(f);return k.apply(null,c.concat(d))}},{"fill-range":84}],81:[function(a,l,g){function k(a,c,d){d&&(a=h(a));switch(c){case "!":return"(?!"+a+")[^/]"+(d?"%%%~":"*?");case "@":return"(?:"+a+")";case "+":return"(?:"+a+")+";case "*":return"(?:"+a+")"+(d?"%%":"*");case "?":return"(?:"+a+"|)";default:return a}}function h(a){a=a.split("*").join("[^/]%%%~");return a=a.split(".").join("\\.")}
|
|
function f(a,c,d){var b=c?"^":"";a="(?:"+a+")"+(c?"$":"");d&&(a=b+("(?!^"+a+").*$"));return new RegExp(b+a)}a("is-extglob");var d,c={};l.exports=function(a,p){p=p||{};var b={},q=0;a=a.replace(/!\(([^\w*()])/g,"$1!(");a=a.replace(/([*\/])\.!\([*]\)/g,function(a,b){return"/"===b?h("\\/[^.]+"):h("[^.]+")});var e=a+String(!!p.regex)+String(!!p.contains)+String(!!p.escape);if(c.hasOwnProperty(e))return c[e];d instanceof RegExp||(d=/(\\?[@?!+*$]\\?)(\(([^()]*?)\))/);p.negate=!1;for(var n;n=d.exec(a);){var r=
|
|
n[1],t=n[3];"!"===r&&(p.negate=!0);var g="__EXTGLOB_"+q++ +"__";b[g]=k(t,r,p.escape);a=a.split(n[0]).join(g)}q=Object.keys(b);for(n=q.length;n--;)r=q[n],a=a.split(r).join(b[r]);b=p.regex?f(a,p.contains,p.negate):a;b=b.split(".").join("\\.");return c[e]=b}},{"is-extglob":118}],82:[function(a,l,g){var k=a("path");l.exports={createFromFile:function(a){var f=k.basename(a);a=k.dirname(a);return this.create(f,a)},create:function(h,f){var d=a("fs"),c=a("flat-cache").load(h,f),b=a("object-assign"),p={},k=
|
|
function(){c.keys().forEach(function(a){try{d.statSync(a)}catch(e){"ENOENT"===e.code&&c.removeKey(a)}})};k();return{cache:c,hasFileChanged:function(a){return this.getFileDescriptor(a).changed},analyzeFiles:function(a){a=a||[];var b={changedFiles:[],notFoundFiles:[],notChangedFiles:[]};this.normalizeEntries(a).forEach(function(a){a.changed?b.changedFiles.push(a.key):a.notFound?b.notFoundFiles.push(a.key):b.notChangedFiles.push(a.key)});return b},getFileDescriptor:function(a){var b=c.getKey(a),f=!!b;
|
|
try{var h=d.statSync(a)}catch(x){return this.removeEntry(a),{key:a,notFound:!0,err:x}}var q=h.size;h=h.mtime.getTime();if(b){var k=h!==b.mtime;var m=q!==b.size}else b={size:q,mtime:h};return p[a]={key:a,changed:!f||k||m,meta:b}},getUpdatedFiles:function(a){a=a||[];return this.normalizeEntries(a).filter(function(a){return a.changed}).map(function(a){return a.key})},normalizeEntries:function(a){a=a||[];var b=this;return a.map(function(a){return b.getFileDescriptor(a)})},removeEntry:function(a){delete p[a];
|
|
c.removeKey(a)},deleteCacheFile:function(){c.removeCacheFile()},destroy:function(){p={};c.destroy()},reconcile:function(){k();var a=p,e=Object.keys(a);0!==e.length&&(e.forEach(function(e){var f=a[e];try{var n=d.statSync(f.key),h=b(f.meta,{size:n.size,mtime:n.mtime.getTime()});c.setKey(e,h)}catch(w){if("ENOENT"!==w.code)throw w;}}),c.save(!0))}}}}},{"flat-cache":85,fs:1,"object-assign":177,path:14}],83:[function(a,l,g){l.exports=function(){return/([^\\\/]+)$/}},{}],84:[function(a,l,g){function k(a,
|
|
b,c){"~"===b&&(b="-");a=a.join(b);c=c&&c.regexPrefix;"|"===b&&(a="("+(c?c+a:a)+")");"-"===b&&(a="["+(c&&"^"===c?c+a:a)+"]");return[a]}function h(a,b,c,d,f){return(f?0:d?9>=a&&9>=b:a<b&&1===c)?"~":"|"}function f(a){return/^-*0+$/.test(a.toString())?"0":a}function d(a,b){if(/[^.]\.|^-*0+[0-9]/.test(a)||/[^.]\.|^-*0+[0-9]/.test(b)){var c=a.toString().length,e=b.toString().length,d=c>=e?c:e;return function(a){return m("0",d-a.toString().length)}}return!1}var c=a("isobject"),b=a("is-number"),p=a("randomatic"),
|
|
m=a("repeat-string"),q=a("repeat-element");l.exports=function(a,n,r,m,g){if(null==a||null==n)throw Error("fill-range expects the first and second args to be strings.");"function"===typeof r&&(g=r,m={},r=null);"function"===typeof m&&(g=m,m={});c(r)&&(m=r,r="");var e,t=!1,u="";m=m||{};"undefined"===typeof m.silent&&(m.silent=!0);r=r||m.step;var l=a,C=n;n="-0"===n.toString()?0:n;if(m.optimize||m.makeRe)r=r?r+="~":r,t=e=!0,u="~";if("string"===typeof r){var F=/\?|>|\||\+|\~/g.exec(r);if(F){var K=F.index;
|
|
F=F[0];if("+"===F)return q(a,n);if("?"===F)return[p(a,n)];">"===F?(r=r.substr(0,K)+r.substr(K+1),e=!0):"|"===F?(r=r.substr(0,K)+r.substr(K+1),t=e=!0,u=F):"~"===F&&(r=r.substr(0,K)+r.substr(K+1),t=e=!0,u=F)}else if(!b(r)){if(!m.silent)throw new TypeError("fill-range: invalid step.");return null}}if(/[.&*()[\]^%$#@!]/.test(a)||/[.&*()[\]^%$#@!]/.test(n)){if(!m.silent)throw new RangeError("fill-range: invalid range arguments.");return null}if(!/[a-z0-9]/i.test(a)||!/[a-z0-9]/i.test(n)||/[a-z][0-9]|[0-9][a-z]/i.test(a)||
|
|
/[a-z][0-9]|[0-9][a-z]/i.test(n)){if(!m.silent)throw new RangeError("fill-range: invalid range arguments.");return null}K=b(f(a));F=b(f(n));if(!K&&F||K&&!F){if(!m.silent)throw new TypeError("fill-range: first range argument is incompatible with second.");return null}r=Math.abs(r>>0)||1;K?(a=+a,n=+n):(a=a.charCodeAt(0),n=n.charCodeAt(0));F=a>n;if(0>a||0>n)t=e=!1;var M=d(l,C),B,I=[],D=0;if(t&&(K&&(9<a||9<n)?0:!M&&1===r&&a<n)){if("|"===u||"~"===u)u=h(a,n,r,K,F);return k([l,C],u,m)}for(;F?a>=n:a<=n;){M&&
|
|
K&&(B=M(a));if("function"===typeof g)l=g(a,K,B,D++);else if(K){l=a;var E=(C=B)?C+l:l;C&&"-"===l.toString().charAt(0)&&(E="-"+C+l.toString().substr(1));l=E.toString()}else{if(l=t)l=String.fromCharCode(a),l="\\"===l||"["===l||"]"===l||"^"===l||"("===l||")"===l||"`"===l;l=l?null:String.fromCharCode(a)}null!==l&&I.push(l);a=F?a-r:a+r}if((t||e)&&!m.noexpand){if("|"===u||"~"===u)u=h(a,n,r,K,F);return 1===I.length||0>a||0>n?I:k(I,u,m)}return I}},{"is-number":120,isobject:129,randomatic:307,"repeat-element":313,
|
|
"repeat-string":314}],85:[function(a,l,g){(function(k){var h=a("path"),f=a("graceful-fs"),d=a("del").sync,c=a("./utils"),b=c.writeJSON,p={load:function(a,b){this._visited={};this._persisted={};this._pathToFile=b?h.resolve(b,a):h.resolve(k,"./.cache/",a);f.existsSync(this._pathToFile)&&(this._persisted=c.tryParse(this._pathToFile,{}))},loadFile:function(a){var b=h.dirname(a);a=h.basename(a);this.load(a,b)},keys:function(){return Object.keys(this._persisted)},setKey:function(a,b){this._visited[a]=!0;
|
|
this._persisted[a]=b},removeKey:function(a){delete this._visited[a];delete this._persisted[a]},getKey:function(a){this._visited[a]=!0;return this._persisted[a]},_prune:function(){var a=this,b={},c=Object.keys(a._visited);0!==c.length&&(c.forEach(function(c){b[c]=a._persisted[c]}),a._visited={},a._persisted=b)},save:function(a){!a&&this._prune();b(this._pathToFile,this._persisted)},removeCacheFile:function(){return d(this._pathToFile,{force:!0})},destroy:function(){this._visited={};this._persisted=
|
|
{};this.removeCacheFile()}};l.exports={load:function(a,b){return this.create(a,b)},create:function(a,b){var c=Object.create(p);c.load(a,b);return c},createFromFile:function(a){var b=Object.create(p);b.loadFile(a);return b},clearCacheById:function(a,b){var c=b?h.resolve(b,a):h.resolve(k,"./.cache/",a);return 0<d(c,{force:!0}).length},clearAll:function(a){a=a?h.resolve(a):h.resolve(k,"./.cache/");return 0<d(a,{force:!0}).length}}}).call(this,"/node_modules\\flat-cache")},{"./utils":86,del:73,"graceful-fs":101,
|
|
path:14}],86:[function(a,l,g){var k=a("graceful-fs"),h=a("write"),f=a("circular-json");l.exports={tryParse:function(a,c){try{var b=this.readJSON(a)}catch(p){b=c}return b},readJSON:function(a){return f.parse(k.readFileSync(a).toString())},writeJSON:function(a,c){h.sync(a,f.stringify(c))}}},{"circular-json":56,"graceful-fs":101,write:611}],87:[function(a,l,g){l.exports=function(a,h){function f(a,c){return a.reduce(function(a,d){return Array.isArray(d)&&c<h?a.concat(f(d,c+1)):a.concat(d)},[])}return(h=
|
|
"number"==typeof h?h:Infinity)?f(a,1):Array.isArray(a)?a.map(function(a){return a}):a}},{}],88:[function(a,l,g){l.exports=function(a,h,f){for(var d in a)if(!1===h.call(f,a[d],d,a))break}},{}],89:[function(a,l,g){var k=a("for-in"),h=Object.prototype.hasOwnProperty;l.exports=function(a,d,c){k(a,function(b,f){if(h.call(a,f))return d.call(c,a[f],f,a)})}},{"for-in":88}],90:[function(a,l,g){(function(k){function h(a){return a&&"realpath"===a.syscall&&("ELOOP"===a.code||"ENOMEM"===a.code||"ENAMETOOLONG"===
|
|
a.code)}function f(a,c,d){if(m)return b(a,c,d);"function"===typeof c&&(d=c,c=null);b(a,c,function(b,e){h(b)?q.realpath(a,c,d):d(b,e)})}function d(a,b){if(m)return p(a,b);try{return p(a,b)}catch(r){if(h(r))return q.realpathSync(a,b);throw r;}}l.exports=f;f.realpath=f;f.sync=d;f.realpathSync=d;f.monkeypatch=function(){c.realpath=f;c.realpathSync=d};f.unmonkeypatch=function(){c.realpath=b;c.realpathSync=p};var c=a("fs"),b=c.realpath,p=c.realpathSync,m=/^v[0-5]\./.test(k.version),q=a("./old.js")}).call(this,
|
|
a("_process"))},{"./old.js":91,_process:16,fs:1}],91:[function(a,l,g){(function(k){function h(){function a(a){a&&(d.message=a.message,a=d,c(a))}function c(a){if(a){if(k.throwDeprecation)throw a;k.noDeprecation||(a="fs: missing callback "+(a.stack||a.message),k.traceDeprecation?console.trace(a):console.error(a))}}if(b){var d=Error();var f=a}else f=c;return f}var f=a("path"),d="win32"===k.platform,c=a("fs"),b=k.env.NODE_DEBUG&&/fs/.test(k.env.NODE_DEBUG);var p=d?/(.*?)(?:[\/\\]+|$)/g:/(.*?)(?:[\/]+|$)/g;
|
|
var m=d?/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:/^[\/]*/;g.realpathSync=function(a,b){function e(){var b=m.exec(a);C=b[0].length;g=b[0];L=b[0];A="";d&&!q[L]&&(c.lstatSync(L),q[L]=!0)}a=f.resolve(a);if(b&&Object.prototype.hasOwnProperty.call(b,a))return b[a];var h=a,k={},q={},g;for(e();C<a.length;){p.lastIndex=C;var l=p.exec(a);var A=g;g+=l[0];var L=A+l[1];var C=p.lastIndex;if(!(q[L]||b&&b[L]===L)){if(b&&Object.prototype.hasOwnProperty.call(b,L))var F=b[L];else{F=c.lstatSync(L);if(!F.isSymbolicLink()){q[L]=
|
|
!0;b&&(b[L]=L);continue}l=null;if(!d){var K=F.dev.toString(32)+":"+F.ino.toString(32);k.hasOwnProperty(K)&&(l=k[K])}null===l&&(c.statSync(L),l=c.readlinkSync(L));F=f.resolve(A,l);b&&(b[L]=F);d||(k[K]=l)}a=f.resolve(F,a.slice(C));e()}}b&&(b[h]=a);return a};g.realpath=function(a,b,n){function e(){var b=m.exec(a);C=b[0].length;F=b[0];K=b[0];M="";d&&!L[K]?c.lstat(K,function(a){if(a)return n(a);L[K]=!0;q()}):k.nextTick(q)}function q(){if(C>=a.length)return b&&(b[x]=a),n(null,a);p.lastIndex=C;var d=p.exec(a);
|
|
M=F;F+=d[0];K=M+d[1];C=p.lastIndex;if(L[K]||b&&b[K]===K)return k.nextTick(q);if(b&&Object.prototype.hasOwnProperty.call(b,K))a=f.resolve(b[K],a.slice(C)),e();else return c.lstat(K,g)}function g(a,e){if(a)return n(a);if(!e.isSymbolicLink())return L[K]=!0,b&&(b[K]=K),k.nextTick(q);if(!d){var f=e.dev.toString(32)+":"+e.ino.toString(32);if(A.hasOwnProperty(f))return l(null,A[f],K)}c.stat(K,function(a){if(a)return n(a);c.readlink(K,function(a,b){d||(A[f]=b);l(a,b)})})}function l(c,d,h){if(c)return n(c);
|
|
c=f.resolve(M,d);b&&(b[h]=c);a=f.resolve(c,a.slice(C));e()}"function"!==typeof n&&(n="function"===typeof b?b:h(),b=null);a=f.resolve(a);if(b&&Object.prototype.hasOwnProperty.call(b,a))return k.nextTick(n.bind(null,null,b[a]));var x=a,A={},L={},C,F,K,M;e()}}).call(this,a("_process"))},{_process:16,fs:1,path:14}],92:[function(a,l,g){var k=a("path"),h=a("glob-parent"),f=a("is-glob");l.exports=function(a){if("string"!==typeof a)throw new TypeError("glob-base expects a string.");var c={};c.base=h(a);c.isGlob=
|
|
f(a);"."!==c.base?(c.glob=a.substr(c.base.length),"/"===c.glob.charAt(0)&&(c.glob=c.glob.substr(1))):c.glob=a;if(!c.isGlob){var b="/"===a.slice(-1)?a:k.dirname(a);c.base=b;c.glob="."!==c.base?a.substr(c.base.length):a}"./"===c.glob.substr(0,2)&&(c.glob=c.glob.substr(2));"/"===c.glob.charAt(0)&&(c.glob=c.glob.substr(1));return c}},{"glob-parent":93,"is-glob":119,path:14}],93:[function(a,l,g){var k=a("path"),h=a("is-glob");l.exports=function(a){a+="a";do a=k.dirname(a);while(h(a));return a}},{"is-glob":119,
|
|
path:14}],94:[function(a,l,g){(function(k){function h(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function f(a,b){return a.toLowerCase().localeCompare(b.toLowerCase())}function d(a,b){return a.localeCompare(b)}function c(a){var b=null;"/**"===a.slice(-3)&&(b=a.replace(/(\/\*\*)+$/,""),b=new n(b,{dot:!0}));return{matcher:new n(a,{dot:!0}),gmatcher:b}}function b(a,b){var c="/"===b.charAt(0)?m.join(a.root,b):e(b)||""===b?b:a.changedCwd?m.resolve(a.cwd,b):m.resolve(b);"win32"===k.platform&&
|
|
(c=c.replace(/\\/g,"/"));return c}function p(a,b){return a.ignore.length?a.ignore.some(function(a){return a.matcher.match(b)||!(!a.gmatcher||!a.gmatcher.match(b))}):!1}g.alphasort=d;g.alphasorti=f;g.setopts=function(a,d,f){f||(f={});if(f.matchBase&&-1===d.indexOf("/")){if(f.noglobstar)throw Error("base matching requires globstar");d="**/"+d}a.silent=!!f.silent;a.pattern=d;a.strict=!1!==f.strict;a.realpath=!!f.realpath;a.realpathCache=f.realpathCache||Object.create(null);a.follow=!!f.follow;a.dot=
|
|
!!f.dot;a.mark=!!f.mark;a.nodir=!!f.nodir;a.nodir&&(a.mark=!0);a.sync=!!f.sync;a.nounique=!!f.nounique;a.nonull=!!f.nonull;a.nosort=!!f.nosort;a.nocase=!!f.nocase;a.stat=!!f.stat;a.noprocess=!!f.noprocess;a.absolute=!!f.absolute;a.maxLength=f.maxLength||Infinity;a.cache=f.cache||Object.create(null);a.statCache=f.statCache||Object.create(null);a.symlinks=f.symlinks||Object.create(null);a.ignore=f.ignore||[];Array.isArray(a.ignore)||(a.ignore=[a.ignore]);a.ignore.length&&(a.ignore=a.ignore.map(c));
|
|
a.changedCwd=!1;var p=k.cwd();h(f,"cwd")?(a.cwd=m.resolve(f.cwd),a.changedCwd=a.cwd!==p):a.cwd=p;a.root=f.root||m.resolve(a.cwd,"/");a.root=m.resolve(a.root);"win32"===k.platform&&(a.root=a.root.replace(/\\/g,"/"));a.cwdAbs=e(a.cwd)?a.cwd:b(a,a.cwd);"win32"===k.platform&&(a.cwdAbs=a.cwdAbs.replace(/\\/g,"/"));a.nomount=!!f.nomount;f.nonegate=!0;f.nocomment=!0;a.minimatch=new n(d,f);a.options=a.minimatch.options};g.ownProp=h;g.makeAbs=b;g.finish=function(a){for(var c=a.nounique,e=c?[]:Object.create(null),
|
|
n=0,h=a.matches.length;n<h;n++){var k=a.matches[n];k&&0!==Object.keys(k).length?(k=Object.keys(k),c?e.push.apply(e,k):k.forEach(function(a){e[a]=!0})):a.nonull&&(k=a.minimatch.globSet[n],c?e.push(k):e[k]=!0)}c||(e=Object.keys(e));a.nosort||(e=e.sort(a.nocase?f:d));if(a.mark){for(n=0;n<e.length;n++)e[n]=a._mark(e[n]);a.nodir&&(e=e.filter(function(c){var e=!/\/$/.test(c);c=a.cache[c]||a.cache[b(a,c)];e&&c&&(e="DIR"!==c&&!Array.isArray(c));return e}))}a.ignore.length&&(e=e.filter(function(b){return!p(a,
|
|
b)}));a.found=e};g.mark=function(a,c){var e=b(a,c),d=a.cache[e],f=c;if(d){d="DIR"===d||Array.isArray(d);var n="/"===c.slice(-1);d&&!n?f+="/":!d&&n&&(f=f.slice(0,-1));f!==c&&(d=b(a,f),a.statCache[d]=a.statCache[e],a.cache[d]=a.cache[e])}return f};g.isIgnored=p;g.childrenIgnored=function(a,b){return a.ignore.length?a.ignore.some(function(a){return!(!a.gmatcher||!a.gmatcher.match(b))}):!1};var m=a("path"),q=a("minimatch"),e=a("path-is-absolute"),n=q.Minimatch}).call(this,a("_process"))},{_process:16,
|
|
minimatch:171,path:14,"path-is-absolute":185}],95:[function(a,l,g){(function(k){function h(a,b,c){"function"===typeof b&&(c=b,b={});b||(b={});if(b.sync){if(c)throw new TypeError("callback provided to sync glob");return g(a,b)}return new f(a,b,c)}function f(a,b,c){function e(){--d._processing;0>=d._processing&&(n?k.nextTick(function(){d._finish()}):d._finish())}"function"===typeof b&&(c=b,b=null);if(b&&b.sync){if(c)throw new TypeError("callback provided to sync glob");return new K(a,b)}if(!(this instanceof
|
|
f))return new f(a,b,c);w(this,a,b);this._didRealPath=!1;a=this.minimatch.set.length;this.matches=Array(a);"function"===typeof c&&(c=F(c),this.on("error",c),this.on("end",function(a){c(null,a)}));var d=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=!1;if(this.noprocess)return this;if(0===a)return e();var n=!0;for(b=0;b<a;b++)this._process(this.minimatch.set[b],b,!1,e);n=!1}function d(a,b,c){return function(e,d){e?a._readdirError(b,e,c):a._readdirEntries(b,d,c)}}l.exports=
|
|
h;var c=a("fs"),b=a("fs.realpath"),p=a("minimatch"),m=a("inherits"),q=a("events").EventEmitter,e=a("path"),n=a("assert"),r=a("path-is-absolute"),g=a("./sync.js"),u=a("./common.js"),w=u.setopts,x=u.ownProp,A=a("inflight");a("util");var L=u.childrenIgnored,C=u.isIgnored,F=a("once");h.sync=g;var K=h.GlobSync=g.GlobSync;h.glob=h;h.hasMagic=function(a,b){var c={};if(null!==b&&"object"===typeof b)for(var e=Object.keys(b),d=e.length;d--;)c[e[d]]=b[e[d]];c.noprocess=!0;c=(new f(a,c)).minimatch.set;if(!a)return!1;
|
|
if(1<c.length)return!0;for(e=0;e<c[0].length;e++)if("string"!==typeof c[0][e])return!0;return!1};h.Glob=f;m(f,q);f.prototype._finish=function(){n(this instanceof f);if(!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();u.finish(this);this.emit("end",this.found)}};f.prototype._realpath=function(){function a(){0===--b&&c._finish()}if(!this._didRealpath){this._didRealpath=!0;var b=this.matches.length;if(0===b)return this._finish();for(var c=this,e=0;e<this.matches.length;e++)this._realpathSet(e,
|
|
a)}};f.prototype._realpathSet=function(a,c){var e=this.matches[a];if(!e)return c();e=Object.keys(e);var d=this,f=e.length;if(0===f)return c();var n=this.matches[a]=Object.create(null);e.forEach(function(e,h){e=d._makeAbs(e);b.realpath(e,d.realpathCache,function(b,h){b?"stat"===b.syscall?n[e]=!0:d.emit("error",b):n[h]=!0;0===--f&&(d.matches[a]=n,c())})})};f.prototype._mark=function(a){return u.mark(this,a)};f.prototype._makeAbs=function(a){return u.makeAbs(this,a)};f.prototype.abort=function(){this.aborted=
|
|
!0;this.emit("abort")};f.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};f.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=!1;if(this._emitQueue.length)for(var a=this._emitQueue.slice(0),b=this._emitQueue.length=0;b<a.length;b++){var c=a[b];this._emitMatch(c[0],c[1])}if(this._processQueue.length)for(a=this._processQueue.slice(0),b=this._processQueue.length=0;b<a.length;b++)c=a[b],this._processing--,this._process(c[0],c[1],c[2],c[3])}};f.prototype._process=
|
|
function(a,b,c,e){n(this instanceof f);n("function"===typeof e);if(!this.aborted)if(this._processing++,this.paused)this._processQueue.push([a,b,c,e]);else{for(var d=0;"string"===typeof a[d];)d++;switch(d){case a.length:this._processSimple(a.join("/"),b,e);return;case 0:var h=null;break;default:h=a.slice(0,d).join("/")}d=a.slice(d);if(null===h)a=".";else{if(r(h)||r(a.join("/")))h&&r(h)||(h="/"+h);a=h}var k=this._makeAbs(a);if(L(this,a))return e();d[0]===p.GLOBSTAR?this._processGlobStar(h,a,k,d,b,c,
|
|
e):this._processReaddir(h,a,k,d,b,c,e)}};f.prototype._processReaddir=function(a,b,c,e,d,f,n){var h=this;this._readdir(c,f,function(p,k){return h._processReaddir2(a,b,c,e,d,f,k,n)})};f.prototype._processReaddir2=function(a,b,c,d,f,n,h,p){if(!h)return p();c=d[0];var k=!!this.minimatch.negate;b=c._glob;for(var q=this.dot||"."===b.charAt(0),r=[],m=0;m<h.length;m++)b=h[m],("."!==b.charAt(0)||q)&&(k&&!a?!b.match(c):b.match(c))&&r.push(b);h=r.length;if(0===h)return p();if(1===d.length&&!this.mark&&!this.stat){this.matches[f]||
|
|
(this.matches[f]=Object.create(null));for(m=0;m<h;m++)b=r[m],a&&(b="/"!==a?a+"/"+b:a+b),"/"!==b.charAt(0)||this.nomount||(b=e.join(this.root,b)),this._emitMatch(f,b);return p()}d.shift();for(m=0;m<h;m++)b=r[m],a&&(b="/"!==a?a+"/"+b:a+b),this._process([b].concat(d),f,n,p);p()};f.prototype._emitMatch=function(a,b){if(!this.aborted&&!C(this,b))if(this.paused)this._emitQueue.push([a,b]);else{var c=r(b)?b:this._makeAbs(b);this.mark&&(b=this._mark(b));this.absolute&&(b=c);if(!this.matches[a][b]){if(this.nodir){var e=
|
|
this.cache[c];if("DIR"===e||Array.isArray(e))return}this.matches[a][b]=!0;(c=this.statCache[c])&&this.emit("stat",b,c);this.emit("match",b)}}};f.prototype._readdirInGlobStar=function(a,b){if(!this.aborted){if(this.follow)return this._readdir(a,!1,b);var e=this,d=A("lstat\x00"+a,function(c,d){if(c&&"ENOENT"===c.code)return b();var f=d&&d.isSymbolicLink();(e.symlinks[a]=f)||!d||d.isDirectory()?e._readdir(a,!1,b):(e.cache[a]="FILE",b())});d&&c.lstat(a,d)}};f.prototype._readdir=function(a,b,e){if(!this.aborted&&
|
|
(e=A("readdir\x00"+a+"\x00"+b,e))){if(b&&!x(this.symlinks,a))return this._readdirInGlobStar(a,e);if(x(this.cache,a)){b=this.cache[a];if(!b||"FILE"===b)return e();if(Array.isArray(b))return e(null,b)}c.readdir(a,d(this,a,e))}};f.prototype._readdirEntries=function(a,b,c){if(!this.aborted){if(!this.mark&&!this.stat)for(var e=0;e<b.length;e++){var d=b[e];d="/"===a?a+d:a+"/"+d;this.cache[d]=!0}this.cache[a]=b;return c(null,b)}};f.prototype._readdirError=function(a,b,c){if(!this.aborted){switch(b.code){case "ENOTSUP":case "ENOTDIR":a=
|
|
this._makeAbs(a);this.cache[a]="FILE";a===this.cwdAbs&&(a=Error(b.code+" invalid cwd "+this.cwd),a.path=this.cwd,a.code=b.code,this.emit("error",a),this.abort());break;case "ENOENT":case "ELOOP":case "ENAMETOOLONG":case "UNKNOWN":this.cache[this._makeAbs(a)]=!1;break;default:this.cache[this._makeAbs(a)]=!1,this.strict&&(this.emit("error",b),this.abort()),this.silent||console.error("glob error",b)}return c()}};f.prototype._processGlobStar=function(a,b,c,e,d,f,n){var h=this;this._readdir(c,f,function(p,
|
|
k){h._processGlobStar2(a,b,c,e,d,f,k,n)})};f.prototype._processGlobStar2=function(a,b,c,e,d,f,n,h){if(!n)return h();b=e.slice(1);a=a?[a]:[];var p=a.concat(b);this._process(p,d,!1,h);p=n.length;if(this.symlinks[c]&&f)return h();for(c=0;c<p;c++)if("."!==n[c].charAt(0)||this.dot)f=a.concat(n[c],b),this._process(f,d,!0,h),f=a.concat(n[c],e),this._process(f,d,!0,h);h()};f.prototype._processSimple=function(a,b,c){var e=this;this._stat(a,function(d,f){e._processSimple2(a,b,d,f,c)})};f.prototype._processSimple2=
|
|
function(a,b,c,d,f){this.matches[b]||(this.matches[b]=Object.create(null));if(!d)return f();a&&r(a)&&!this.nomount&&(c=/[\/\\]$/.test(a),"/"===a.charAt(0)?a=e.join(this.root,a):(a=e.resolve(this.root,a),c&&(a+="/")));"win32"===k.platform&&(a=a.replace(/\\/g,"/"));this._emitMatch(b,a);f()};f.prototype._stat=function(a,b){var e=this._makeAbs(a),d="/"===a.slice(-1);if(a.length>this.maxLength)return b();if(!this.stat&&x(this.cache,e)){var f=this.cache[e];Array.isArray(f)&&(f="DIR");if(!d||"DIR"===f)return b(null,
|
|
f);if(d&&"FILE"===f)return b()}f=this.statCache[e];if(void 0!==f){if(!1===f)return b(null,f);var n=f.isDirectory()?"DIR":"FILE";return d&&"FILE"===n?b():b(null,n,f)}var h=this;(d=A("stat\x00"+e,function(d,f){if(f&&f.isSymbolicLink())return c.stat(e,function(c,d){c?h._stat2(a,e,null,f,b):h._stat2(a,e,c,d,b)});h._stat2(a,e,d,f,b)}))&&c.lstat(e,d)};f.prototype._stat2=function(a,b,c,e,d){if(c&&("ENOENT"===c.code||"ENOTDIR"===c.code))return this.statCache[b]=!1,d();a="/"===a.slice(-1);this.statCache[b]=
|
|
e;if("/"===b.slice(-1)&&e&&!e.isDirectory())return d(null,!1,e);c=!0;e&&(c=e.isDirectory()?"DIR":"FILE");this.cache[b]=this.cache[b]||c;return a&&"FILE"===c?d():d(null,c,e)}}).call(this,a("_process"))},{"./common.js":94,"./sync.js":96,_process:16,assert:2,events:8,fs:1,"fs.realpath":90,inflight:110,inherits:111,minimatch:171,once:179,path:14,"path-is-absolute":185,util:42}],96:[function(a,l,g){(function(k){function h(a,b){if("function"===typeof b||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");
|
|
return(new f(a,b)).found}function f(a,b){if(!a)throw Error("must provide pattern");if("function"===typeof b||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof f))return new f(a,b);n(this,a,b);if(this.noprocess)return this;var c=this.minimatch.set.length;this.matches=Array(c);for(var e=0;e<c;e++)this._process(this.minimatch.set[e],e,!1);this._finish()}l.exports=h;h.GlobSync=f;var d=a("fs"),c=a("fs.realpath"),
|
|
b=a("minimatch");a("./glob.js");a("util");var p=a("path"),m=a("assert"),q=a("path-is-absolute"),e=a("./common.js"),n=e.setopts,r=e.ownProp,g=e.childrenIgnored,u=e.isIgnored;f.prototype._finish=function(){m(this instanceof f);if(this.realpath){var a=this;this.matches.forEach(function(b,e){var d=a.matches[e]=Object.create(null);for(f in b)try{var f=a._makeAbs(f);var n=c.realpathSync(f,a.realpathCache);d[n]=!0}catch(K){if("stat"===K.syscall)d[a._makeAbs(f)]=!0;else throw K;}})}e.finish(this)};f.prototype._process=
|
|
function(a,c,e){m(this instanceof f);for(var d=0;"string"===typeof a[d];)d++;switch(d){case a.length:this._processSimple(a.join("/"),c);return;case 0:var n=null;break;default:n=a.slice(0,d).join("/")}d=a.slice(d);if(null===n)a=".";else{if(q(n)||q(a.join("/")))n&&q(n)||(n="/"+n);a=n}var h=this._makeAbs(a);g(this,a)||(d[0]===b.GLOBSTAR?this._processGlobStar(n,a,h,d,c,e):this._processReaddir(n,a,h,d,c,e))};f.prototype._processReaddir=function(a,b,c,e,d,f){if(c=this._readdir(c,f)){var n=e[0],h=!!this.minimatch.negate;
|
|
b=n._glob;for(var k=this.dot||"."===b.charAt(0),q=[],r=0;r<c.length;r++)b=c[r],("."!==b.charAt(0)||k)&&(h&&!a?!b.match(n):b.match(n))&&q.push(b);c=q.length;if(0!==c)if(1!==e.length||this.mark||this.stat)for(e.shift(),r=0;r<c;r++)b=q[r],this._process((a?[a,b]:[b]).concat(e),d,f);else for(this.matches[d]||(this.matches[d]=Object.create(null)),r=0;r<c;r++)b=q[r],a&&(b="/"!==a.slice(-1)?a+"/"+b:a+b),"/"!==b.charAt(0)||this.nomount||(b=p.join(this.root,b)),this._emitMatch(d,b)}};f.prototype._emitMatch=
|
|
function(a,b){if(!u(this,b)){var c=this._makeAbs(b);this.mark&&(b=this._mark(b));this.absolute&&(b=c);if(!this.matches[a][b]){if(this.nodir&&(c=this.cache[c],"DIR"===c||Array.isArray(c)))return;this.matches[a][b]=!0;this.stat&&this._stat(b)}}};f.prototype._readdirInGlobStar=function(a){if(this.follow)return this._readdir(a,!1);var b;try{var c=d.lstatSync(a)}catch(C){if("ENOENT"===C.code)return null}var e=c&&c.isSymbolicLink();(this.symlinks[a]=e)||!c||c.isDirectory()?b=this._readdir(a,!1):this.cache[a]=
|
|
"FILE";return b};f.prototype._readdir=function(a,b){if(b&&!r(this.symlinks,a))return this._readdirInGlobStar(a);if(r(this.cache,a)){var c=this.cache[a];if(!c||"FILE"===c)return null;if(Array.isArray(c))return c}try{return this._readdirEntries(a,d.readdirSync(a))}catch(L){return this._readdirError(a,L),null}};f.prototype._readdirEntries=function(a,b){if(!this.mark&&!this.stat)for(var c=0;c<b.length;c++){var e=b[c];e="/"===a?a+e:a+"/"+e;this.cache[e]=!0}return this.cache[a]=b};f.prototype._readdirError=
|
|
function(a,b){switch(b.code){case "ENOTSUP":case "ENOTDIR":var c=this._makeAbs(a);this.cache[c]="FILE";if(c===this.cwdAbs)throw c=Error(b.code+" invalid cwd "+this.cwd),c.path=this.cwd,c.code=b.code,c;break;case "ENOENT":case "ELOOP":case "ENAMETOOLONG":case "UNKNOWN":this.cache[this._makeAbs(a)]=!1;break;default:this.cache[this._makeAbs(a)]=!1;if(this.strict)throw b;this.silent||console.error("glob error",b)}};f.prototype._processGlobStar=function(a,b,c,e,d,f){if(b=this._readdir(c,f)){var n=e.slice(1);
|
|
a=a?[a]:[];var h=a.concat(n);this._process(h,d,!1);h=b.length;if(!this.symlinks[c]||!f)for(c=0;c<h;c++)if("."!==b[c].charAt(0)||this.dot)f=a.concat(b[c],n),this._process(f,d,!0),f=a.concat(b[c],e),this._process(f,d,!0)}};f.prototype._processSimple=function(a,b){var c=this._stat(a);this.matches[b]||(this.matches[b]=Object.create(null));c&&(a&&q(a)&&!this.nomount&&(c=/[\/\\]$/.test(a),"/"===a.charAt(0)?a=p.join(this.root,a):(a=p.resolve(this.root,a),c&&(a+="/"))),"win32"===k.platform&&(a=a.replace(/\\/g,
|
|
"/")),this._emitMatch(b,a))};f.prototype._stat=function(a){var b=this._makeAbs(a),c="/"===a.slice(-1);if(a.length>this.maxLength)return!1;if(!this.stat&&r(this.cache,b)){a=this.cache[b];Array.isArray(a)&&(a="DIR");if(!c||"DIR"===a)return a;if(c&&"FILE"===a)return!1}var e=this.statCache[b];if(!e){try{var f=d.lstatSync(b)}catch(F){if(F&&("ENOENT"===F.code||"ENOTDIR"===F.code))return this.statCache[b]=!1}if(f&&f.isSymbolicLink())try{e=d.statSync(b)}catch(F){e=f}else e=f}this.statCache[b]=e;a=!0;e&&(a=
|
|
e.isDirectory()?"DIR":"FILE");this.cache[b]=this.cache[b]||a;return c&&"FILE"===a?!1:a};f.prototype._mark=function(a){return e.mark(this,a)};f.prototype._makeAbs=function(a){return e.makeAbs(this,a)}}).call(this,a("_process"))},{"./common.js":94,"./glob.js":95,_process:16,assert:2,fs:1,"fs.realpath":90,minimatch:171,path:14,"path-is-absolute":185,util:42}],97:[function(a,l,g){function k(a){return"!"===a[0]}function h(a){return"string"===typeof a}function f(a,c){a=[].concat(a);if(!a.every(h))throw new TypeError("patterns must be a string or an array of strings");
|
|
var e=[];c=b({cache:Object.create(null),statCache:Object.create(null),realpathCache:Object.create(null),symlinks:Object.create(null),ignore:[]},c);a.forEach(function(d,f){if(!k(d)){var n=a.slice(f).filter(k).map(function(a){return a.slice(1)});e.push({pattern:d,opts:b({},c,{ignore:c.ignore.concat(n)})})}});return e}var d=a("pinkie-promise"),c=a("array-union"),b=a("object-assign"),p=a("glob"),m=a("pify")(p,d).bind(p);l.exports=function(a,b){try{var e=f(a,b)}catch(r){return d.reject(r)}return d.all(e.map(function(a){return m(a.pattern,
|
|
a.opts)})).then(function(a){return c.apply(null,a)})};l.exports.sync=function(a,b){return f(a,b).reduce(function(a,b){return c(a,p.sync(b.pattern,b.opts))},[])};l.exports.generateGlobTasks=f;l.exports.hasMagic=function(a,b){return[].concat(a).some(function(a){return p.hasMagic(a,b)})}},{"array-union":47,glob:95,"object-assign":177,pify:98,"pinkie-promise":188}],98:[function(a,l,g){arguments[4][75][0].apply(g,arguments)},{dup:75}],99:[function(a,l,g){function k(a,c){return Array.isArray(a)?a.reduce(function(a,
|
|
d){return a.concat(c(d))},[]):c(a)}var h=a("path"),f=Array.prototype.slice;l.exports=function(){return f.call(arguments,0).reduce(function(a,c){return k(a,function(a){return k(c,function(b){if("!"===b[0]){var c=b.substr(1);b="!"===a[0]?"":"!";b+=h.join(a,c)}else b=h.join(a,b);return b})})},"")}},{path:14}],100:[function(a,l,g){a=a("fs");l.exports=function(a){if(null===a||"object"!==typeof a)return a;var h=a instanceof Object?{__proto__:a.__proto__}:Object.create(null);Object.getOwnPropertyNames(a).forEach(function(f){Object.defineProperty(h,
|
|
f,Object.getOwnPropertyDescriptor(a,f))});return h}(a)},{fs:1}],101:[function(a,l,g){(function(k){function h(a){function c(a,b,c,e){function h(a,b,c,e){return C(a,b,c,function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"===typeof e&&e.apply(this,arguments),d()):f([h,[a,b,c,e]])})}"function"===typeof c&&(e=c,c=null);return h(a,b,c,e)}function e(b){return F.apply(a,b)}function n(a,b){return this instanceof n?(M.apply(this,arguments),this):n.apply(Object.create(n.prototype),arguments)}function q(a,
|
|
b){return this instanceof q?(B.apply(this,arguments),this):q.apply(Object.create(q.prototype),arguments)}function m(a,b,c,e){function h(a,b,c,e){return I(a,b,c,function(n,p){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"===typeof e&&e.apply(this,arguments),d()):f([h,[a,b,c,e]])})}"function"===typeof c&&(e=c,c=null);return h(a,b,c,e)}b(a);a.gracefulify=h;a.FileReadStream=n;a.FileWriteStream=q;a.createReadStream=function(a,b){return new n(a,b)};a.createWriteStream=function(a,b){return new q(a,
|
|
b)};var g=a.readFile;a.readFile=function(a,b,c){function e(a,b,c){return g(a,b,function(h){!h||"EMFILE"!==h.code&&"ENFILE"!==h.code?("function"===typeof c&&c.apply(this,arguments),d()):f([e,[a,b,c]])})}"function"===typeof b&&(c=b,b=null);return e(a,b,c)};var l=a.writeFile;a.writeFile=function(a,b,c,e){function h(a,b,c,e){return l(a,b,c,function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"===typeof e&&e.apply(this,arguments),d()):f([h,[a,b,c,e]])})}"function"===typeof c&&(e=c,c=null);return h(a,
|
|
b,c,e)};var C=a.appendFile;C&&(a.appendFile=c);var F=a.readdir;a.readdir=function(a,b,c){var h=[a];"function"!==typeof b?h.push(b):c=b;h.push(function(a,b){b&&b.sort&&b.sort();!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?("function"===typeof c&&c.apply(this,arguments),d()):f([e,[h]])});return e(h)};if("v0.8"===k.version.substr(0,4)){var K=p(a);n=K.ReadStream;q=K.WriteStream}var M=a.ReadStream;n.prototype=Object.create(M.prototype);n.prototype.open=function(){var a=this;m(a.path,a.flags,a.mode,function(b,
|
|
c){b?(a.autoClose&&a.destroy(),a.emit("error",b)):(a.fd=c,a.emit("open",c),a.read())})};var B=a.WriteStream;q.prototype=Object.create(B.prototype);q.prototype.open=function(){var a=this;m(a.path,a.flags,a.mode,function(b,c){b?(a.destroy(),a.emit("error",b)):(a.fd=c,a.emit("open",c))})};a.ReadStream=n;a.WriteStream=q;var I=a.open;a.open=m;return a}function f(a){e("ENQUEUE",a[0].name,a[1]);m.push(a)}function d(){var a=m.shift();a&&(e("RETRY",a[0].name,a[1]),a[0].apply(null,a[1]))}var c=a("fs"),b=a("./polyfills.js"),
|
|
p=a("./legacy-streams.js"),m=[],q=a("util"),e=function(){};q.debuglog?e=q.debuglog("gfs4"):/\bgfs4\b/i.test(k.env.NODE_DEBUG||"")&&(e=function(){var a=q.format.apply(q,arguments);a="GFS4: "+a.split(/\n/).join("\nGFS4: ");console.error(a)});if(/\bgfs4\b/i.test(k.env.NODE_DEBUG||""))k.on("exit",function(){e(m);a("assert").equal(m.length,0)});l.exports=h(a("./fs.js"));k.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&(l.exports=h(c));l.exports.close=c.close=function(a){return function(b,e){return a.call(c,b,function(a){a||
|
|
d();"function"===typeof e&&e.apply(this,arguments)})}}(c.close);l.exports.closeSync=c.closeSync=function(a){return function(b){var e=a.apply(c,arguments);d();return e}}(c.closeSync)}).call(this,a("_process"))},{"./fs.js":100,"./legacy-streams.js":102,"./polyfills.js":103,_process:16,assert:2,fs:1,util:42}],102:[function(a,l,g){(function(k){var h=a("stream").Stream;l.exports=function(a){function d(b,c){if(!(this instanceof d))return new d(b,c);h.call(this);var f=this;this.path=b;this.fd=null;this.readable=
|
|
!0;this.paused=!1;this.flags="r";this.mode=438;this.bufferSize=65536;c=c||{};for(var p=Object.keys(c),e=0,n=p.length;e<n;e++){var r=p[e];this[r]=c[r]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!==typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=Infinity;else if("number"!==typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw Error("start must be <= end");this.pos=this.start}null!==this.fd?
|
|
k.nextTick(function(){f._read()}):a.open(this.path,this.flags,this.mode,function(a,b){a?(f.emit("error",a),f.readable=!1):(f.fd=b,f.emit("open",b),f._read())})}function c(b,d){if(!(this instanceof c))return new c(b,d);h.call(this);this.path=b;this.fd=null;this.writable=!0;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;d=d||{};for(var f=Object.keys(d),p=0,e=f.length;p<e;p++){var n=f[p];this[n]=d[n]}if(void 0!==this.start){if("number"!==typeof this.start)throw TypeError("start must be a Number");
|
|
if(0>this.start)throw Error("start must be >= zero");this.pos=this.start}this.busy=!1;this._queue=[];null===this.fd&&(this._open=a.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}return{ReadStream:d,WriteStream:c}}}).call(this,a("_process"))},{_process:16,stream:35}],103:[function(a,l,g){(function(k){function h(a){a.lchmod=function(b,c,e){a.open(b,r.O_WRONLY|r.O_SYMLINK,c,function(b,d){b?e&&e(b):a.fchmod(d,c,function(b){a.close(d,function(a){e&&e(b||a)})})})};
|
|
a.lchmodSync=function(b,c){var e=a.openSync(b,r.O_WRONLY|r.O_SYMLINK,c),d=!0;try{var f=a.fchmodSync(e,c);d=!1}finally{if(d)try{a.closeSync(e)}catch(B){}else a.closeSync(e)}return f}}function f(a){r.hasOwnProperty("O_SYMLINK")?(a.lutimes=function(b,c,e,d){a.open(b,r.O_SYMLINK,function(b,f){b?d&&d(b):a.futimes(f,c,e,function(b){a.close(f,function(a){d&&d(b||a)})})})},a.lutimesSync=function(b,c,e){b=a.openSync(b,r.O_SYMLINK);var d=!0;try{var f=a.futimesSync(b,c,e);d=!1}finally{if(d)try{a.closeSync(b)}catch(B){}else a.closeSync(b)}return f}):
|
|
(a.lutimes=function(a,b,c,e){e&&k.nextTick(e)},a.lutimesSync=function(){})}function d(a){return a?function(b,c,d){return a.call(n,b,c,function(a){e(a)&&(a=null);d&&d.apply(this,arguments)})}:a}function c(a){return a?function(b,c){try{return a.call(n,b,c)}catch(F){if(!e(F))throw F;}}:a}function b(a){return a?function(b,c,d,f){return a.call(n,b,c,d,function(a){e(a)&&(a=null);f&&f.apply(this,arguments)})}:a}function p(a){return a?function(b,c,d){try{return a.call(n,b,c,d)}catch(K){if(!e(K))throw K;}}:
|
|
a}function m(a){return a?function(b,c){return a.call(n,b,function(a,b){if(!b)return c.apply(this,arguments);0>b.uid&&(b.uid+=4294967296);0>b.gid&&(b.gid+=4294967296);c&&c.apply(this,arguments)})}:a}function q(a){return a?function(b){b=a.call(n,b);0>b.uid&&(b.uid+=4294967296);0>b.gid&&(b.gid+=4294967296);return b}:a}function e(a){if(!a||"ENOSYS"===a.code)return!0;if(!k.getuid||0!==k.getuid())if("EINVAL"===a.code||"EPERM"===a.code)return!0;return!1}var n=a("./fs.js"),r=a("constants"),g=k.cwd,u=null,
|
|
w=k.env.GRACEFUL_FS_PLATFORM||k.platform;k.cwd=function(){u||(u=g.call(k));return u};try{k.cwd()}catch(A){}var x=k.chdir;k.chdir=function(a){u=null;x.call(k,a)};l.exports=function(a){r.hasOwnProperty("O_SYMLINK")&&k.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&h(a);a.lutimes||f(a);a.chown=b(a.chown);a.fchown=b(a.fchown);a.lchown=b(a.lchown);a.chmod=d(a.chmod);a.fchmod=d(a.fchmod);a.lchmod=d(a.lchmod);a.chownSync=p(a.chownSync);a.fchownSync=p(a.fchownSync);a.lchownSync=p(a.lchownSync);a.chmodSync=c(a.chmodSync);
|
|
a.fchmodSync=c(a.fchmodSync);a.lchmodSync=c(a.lchmodSync);a.stat=m(a.stat);a.fstat=m(a.fstat);a.lstat=m(a.lstat);a.statSync=q(a.statSync);a.fstatSync=q(a.fstatSync);a.lstatSync=q(a.lstatSync);a.lchmod||(a.lchmod=function(a,b,c){c&&k.nextTick(c)},a.lchmodSync=function(){});a.lchown||(a.lchown=function(a,b,c,e){e&&k.nextTick(e)},a.lchownSync=function(){});"win32"===w&&(a.rename=function(b){return function(c,e,d){var f=Date.now(),h=0;b(c,e,function D(n){n&&("EACCES"===n.code||"EPERM"===n.code)&&6E4>
|
|
Date.now()-f?(setTimeout(function(){a.stat(e,function(a,f){a&&"ENOENT"===a.code?b(c,e,D):d(n)})},h),100>h&&(h+=10)):d&&d(n)})}}(a.rename));a.read=function(b){return function(c,e,d,f,h,n){if(n&&"function"===typeof n){var p=0;var k=function(q,r,m){if(q&&"EAGAIN"===q.code&&10>p)return p++,b.call(a,c,e,d,f,h,k);n.apply(this,arguments)}}return b.call(a,c,e,d,f,h,k)}}(a.read);a.readSync=function(b){return function(c,e,d,f,h){for(var n=0;;)try{return b.call(a,c,e,d,f,h)}catch(D){if("EAGAIN"===D.code&&10>
|
|
n)n++;else throw D;}}}(a.readSync)}}).call(this,a("_process"))},{"./fs.js":100,_process:16,constants:6}],104:[function(a,l,g){a=a("ansi-regex");a=new RegExp(a().source);l.exports=a.test.bind(a)},{"ansi-regex":43}],105:[function(a,l,g){l.exports="a abbr address area article aside audio b base bdi bdo blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark math menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rb rp rt rtc ruby s samp script section select slot small source span strong style sub summary sup svg table tbody td template textarea tfoot th thead time title tr track u ul var video wbr".split(" ")},
|
|
{}],106:[function(a,l,g){l.exports=a("./html-tags.json")},{"./html-tags.json":105}],107:[function(a,l,g){(function(a){function h(a){return Array.isArray(a)?a:[a]}function f(a,b){var c=g[a];if(c)return c;c=(b?r:n).reduce(function(b,c){return b.replace(c[0],c[1].bind(a))},a);return g[a]=new RegExp(c,"i")}var d=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,
|
|
c,e){c&&a(b.prototype,c);e&&a(b,e);return b}}();l.exports=function(){return new k};var c=/^\s+$/,b=/^\\\!/,p=/^\\#/,k=function(){function a(){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this._rules=[];this._initCache()}d(a,[{key:"_initCache",value:function(){this._cache={}}},{key:"add",value:function(a){this._added=!1;"string"===typeof a&&(a=a.split(/\r?\n/g));h(a).forEach(this._addPattern,this);this._added&&this._initCache();return this}},{key:"addPattern",value:function(a){return this.add(a)}},
|
|
{key:"_addPattern",value:function(b){b instanceof a?(this._rules=this._rules.concat(b._rules),this._added=!0):this._checkPattern(b)&&(b=this._createRule(b),this._added=!0,this._rules.push(b))}},{key:"_checkPattern",value:function(a){return a&&"string"===typeof a&&!c.test(a)&&0!==a.indexOf("#")}},{key:"filter",value:function(a){var b=this;return h(a).filter(function(a){return b._filter(a)})}},{key:"createFilter",value:function(){var a=this;return function(b){return a._filter(b)}}},{key:"ignores",value:function(a){return!this._filter(a)}},
|
|
{key:"_createRule",value:function(a){var c=a,e=!1;0===a.indexOf("!")&&(e=!0,a=a.substr(1));a=a.replace(b,"!").replace(p,"#");var d=f(a,e);return{origin:c,pattern:a,negative:e,regex:d}}},{key:"_filter",value:function(a,b){if(!a)return!1;if(a in this._cache)return this._cache[a];b||(b=a.split("/"),b.length&&!b[0]&&(b=b.slice(1),b[0]="/"+b[0]));b.pop();return this._cache[a]=b.length?this._filter(b.join("/")+"/",b)&&this._test(a):this._test(a)}},{key:"_test",value:function(a){var b=0;this._rules.forEach(function(c){b^
|
|
c.negative||(b=c.negative^c.regex.test(a))});return!b}}]);return a}(),q=[[/\\?\s+$/,function(a){return 0===a.indexOf("\\")?" ":""}],[/\\\s/g,function(){return" "}],[/[\\\^$.|?*+()\[{]/g,function(a){return"\\"+a}],[/^\//,function(){return"^"}],[/\//g,function(){return"\\/"}],[/^\^*\\\*\\\*\\\//,function(){return"^(?:.*\\/)?"}]],e=[[/^(?=[^\^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,function(a,b,c){return b+6<c.length?"(?:\\/[^\\/]+)*":"\\/.+"}],[/(^|[^\\]+)\\\*(?=.+)/g,
|
|
function(a,b){return b+"[^\\/]*"}],[/(\^|\\\/)?\\\*$/,function(a,b){return(b?b+"[^/]+":"[^/]*")+"(?=$|\\/$)"}],[/\\\\\\/g,function(){return"\\"}]],n=[].concat(q,[[/(?:[^*\/])$/,function(a){return a+"(?=$|\\/)"}]],e),r=[].concat(q,[[/(?:[^*\/])$/,function(a){return a+"(?=$|\\/$)"}]],e),g={};if(a.env.IGNORE_TEST_WIN32||"win32"===a.platform){var u=k.prototype._filter;k.prototype._filter=function(a,b){var c=a;a=/^\\\\\?\\/.test(c)||/[^\x00-\x80]+/.test(c)?c:c.replace(/\\/g,"/");return u.call(this,a,b)}}}).call(this,
|
|
a("_process"))},{_process:16}],108:[function(a,l,g){(function(){function a(f,d){var c=this instanceof a?this:h;c.reset(d);"string"===typeof f&&0<f.length&&c.hash(f);if(c!==this)return c}a.prototype.hash=function(a){var d;var c=a.length;this.len+=c;var b=this.k1;var f=0;switch(this.rem){case 0:b^=c>f?a.charCodeAt(f++)&65535:0;case 1:b^=c>f?(a.charCodeAt(f++)&65535)<<8:0;case 2:b^=c>f?(a.charCodeAt(f++)&65535)<<16:0;case 3:b^=c>f?(a.charCodeAt(f)&255)<<24:0,b^=c>f?(a.charCodeAt(f++)&65280)>>8:0}this.rem=
|
|
c+this.rem&3;c-=this.rem;if(0<c){for(d=this.h1;;){b=11601*b+3432906752*(b&65535)&4294967295;b=b<<15|b>>>17;b=13715*b+461832192*(b&65535)&4294967295;d^=b;d=d<<13|d>>>19;d=5*d+3864292196&4294967295;if(f>=c)break;b=a.charCodeAt(f++)&65535^(a.charCodeAt(f++)&65535)<<8^(a.charCodeAt(f++)&65535)<<16;var h=a.charCodeAt(f++);b^=(h&255)<<24^(h&65280)>>8}b=0;switch(this.rem){case 3:b^=(a.charCodeAt(f+2)&65535)<<16;case 2:b^=(a.charCodeAt(f+1)&65535)<<8;case 1:b^=a.charCodeAt(f)&65535}this.h1=d}this.k1=b;return this};
|
|
a.prototype.result=function(){var a=this.k1;var d=this.h1;0<a&&(a=11601*a+3432906752*(a&65535)&4294967295,a=a<<15|a>>>17,d^=13715*a+461832192*(a&65535)&4294967295);d^=this.len;d^=d>>>16;d=51819*d+2246770688*(d&65535)&4294967295;d^=d>>>13;d=44597*d+3266445312*(d&65535)&4294967295;return(d^d>>>16)>>>0};a.prototype.reset=function(a){this.h1="number"===typeof a?a:0;this.rem=this.k1=this.len=0;return this};var h=new a;"undefined"!=typeof l?l.exports=a:this.MurmurHash3=a})()},{}],109:[function(a,l,g){l.exports=
|
|
function(a,h){for(var f=-1,d=[];-1!==(f=a.indexOf(h,f+1));)d.push(f);return d}},{}],110:[function(a,l,g){(function(k){function h(a){return b(function q(){var b=c[a],d=b.length,h=f(arguments);try{for(var p=0;p<d;p++)b[p].apply(null,h)}finally{b.length>d?(b.splice(0,d),k.nextTick(function(){q.apply(null,h)})):delete c[a]}})}function f(a){for(var b=a.length,c=[],e=0;e<b;e++)c[e]=a[e];return c}var d=a("wrappy"),c=Object.create(null),b=a("once");l.exports=d(function(a,b){if(c[a])return c[a].push(b),null;
|
|
c[a]=[b];return h(a)})}).call(this,a("_process"))},{_process:16,once:179,wrappy:610}],111:[function(a,l,g){arguments[4][10][0].apply(g,arguments)},{dup:10}],112:[function(a,l,g){l.exports=function(a){return a?a instanceof Array||Array.isArray(a)||0<=a.length&&a.splice instanceof Function:!1}},{}],113:[function(a,l,g){arguments[4][11][0].apply(g,arguments)},{dup:11}],114:[function(a,l,g){function k(a,d){if("function"!==typeof d)throw Error("expected a callback function");"string"!==typeof a?d(Error("expected filepath to be a string")):
|
|
h.stat(a,function(a,b){a?"ENOENT"===a.code?d(null,!1):d(a):d(null,b.isDirectory())})}var h=a("fs");k.sync=function(a){if("string"!==typeof a)throw Error("expected filepath to be a string");try{return h.statSync(a).isDirectory()}catch(d){if("ENOENT"!==d.code)throw d;}return!1};l.exports=k},{fs:1}],115:[function(a,l,g){l.exports=function(a){if(46===a.charCodeAt(0)&&-1===a.indexOf("/",1))return!0;var h=a.lastIndexOf("/");return-1!==h?46===a.charCodeAt(h+1):!1}},{}],116:[function(a,l,g){var k=a("is-primitive");
|
|
l.exports=function(a,f){if(!a&&!f)return!0;if(!a&&f||a&&!f)return!1;var d=0,c=0,b;for(b in f)if(c++,!k(f[b])||!a.hasOwnProperty(b)||a[b]!==f[b])return!1;for(b in a)d++;return d===c}},{"is-primitive":125}],117:[function(a,l,g){l.exports=function(a){return"undefined"!==typeof a&&null!==a&&("object"===typeof a||"function"===typeof a)}},{}],118:[function(a,l,g){l.exports=function(a){return"string"===typeof a&&/[@?!+*]\(/.test(a)}},{}],119:[function(a,l,g){var k=a("is-extglob");l.exports=function(a){return"string"===
|
|
typeof a&&(/[*!?{}(|)[\]]/.test(a)||k(a))}},{"is-extglob":118}],120:[function(a,l,g){var k=a("kind-of");l.exports=function(a){var f=k(a);if("number"!==f&&"string"!==f)return!1;f=+a;return 0<=f-f+1&&""!==a}},{"kind-of":161}],121:[function(a,l,g){(function(k){var h=a("path");l.exports=function(a){return h.resolve(a)===h.resolve(k.cwd())}}).call(this,a("_process"))},{_process:16,path:14}],122:[function(a,l,g){(function(k){var h=a("is-path-inside");l.exports=function(a){return h(a,k.cwd())}}).call(this,
|
|
a("_process"))},{_process:16,"is-path-inside":123}],123:[function(a,l,g){var k=a("path"),h=a("path-is-inside");l.exports=function(a,d){a=k.resolve(a);d=k.resolve(d);return a===d?!1:h(a,d)}},{path:14,"path-is-inside":186}],124:[function(a,l,g){l.exports=function(a){return"string"===typeof a&&/\[([:.=+])(?:[^\[\]]|)+\1\]/.test(a)}},{}],125:[function(a,l,g){l.exports=function(a){return null==a||"function"!==typeof a&&"object"!==typeof a}},{}],126:[function(a,l,g){l.exports=function(a){return"[object RegExp]"===
|
|
Object.prototype.toString.call(a)}},{}],127:[function(a,l,g){l.exports=function(a){var h=!0;try{RegExp("",a)}catch(f){h=!1}return h}},{}],128:[function(a,l,g){arguments[4][12][0].apply(g,arguments)},{dup:12}],129:[function(a,l,g){var k=a("isarray");l.exports=function(a){return null!=a&&"object"===typeof a&&!1===k(a)}},{isarray:128}],130:[function(a,l,g){(function(k){var h=k.Base64;if("undefined"!==typeof l&&l.exports)try{var f=a("buffer").Buffer}catch(K){}var d=function(a){for(var b={},c=0,e=a.length;c<
|
|
e;c++)b[a.charAt(c)]=c;return b}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c=String.fromCharCode,b=function(a){if(2>a.length){var b=a.charCodeAt(0);return 128>b?a:2048>b?c(192|b>>>6)+c(128|b&63):c(224|b>>>12&15)+c(128|b>>>6&63)+c(128|b&63)}b=65536+1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320);return c(240|b>>>18&7)+c(128|b>>>12&63)+c(128|b>>>6&63)+c(128|b&63)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,m=function(a){return a.replace(p,b)},q=function(a){var b=
|
|
[0,2,1][a.length%3];a=a.charCodeAt(0)<<16|(1<a.length?a.charCodeAt(1):0)<<8|(2<a.length?a.charCodeAt(2):0);return["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>18),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>12&63),2<=b?"=":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>6&63),1<=b?"=":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a&63)].join("")},e=k.btoa?function(a){return k.btoa(a)}:
|
|
function(a){return a.replace(/[\s\S]{1,3}/g,q)},n=f?function(a){return(a.constructor===f.constructor?a:new f(a)).toString("base64")}:function(a){return e(m(a))},r=function(a,b){return b?n(String(a)).replace(/[+\/]/g,function(a){return"+"==a?"-":"_"}).replace(/=/g,""):n(String(a))},g=RegExp("[\u00c0-\u00df][\u0080-\u00bf]|[\u00e0-\u00ef][\u0080-\u00bf]{2}|[\u00f0-\u00f7][\u0080-\u00bf]{3}","g"),u=function(a){switch(a.length){case 4:return a=((7&a.charCodeAt(0))<<18|(63&a.charCodeAt(1))<<12|(63&a.charCodeAt(2))<<
|
|
6|63&a.charCodeAt(3))-65536,c((a>>>10)+55296)+c((a&1023)+56320);case 3:return c((15&a.charCodeAt(0))<<12|(63&a.charCodeAt(1))<<6|63&a.charCodeAt(2));default:return c((31&a.charCodeAt(0))<<6|63&a.charCodeAt(1))}},w=function(a){return a.replace(g,u)},x=function(a){var b=a.length,e=b%4;a=(0<b?d[a.charAt(0)]<<18:0)|(1<b?d[a.charAt(1)]<<12:0)|(2<b?d[a.charAt(2)]<<6:0)|(3<b?d[a.charAt(3)]:0);a=[c(a>>>16),c(a>>>8&255),c(a&255)];a.length-=[0,0,2,1][e];return a.join("")},A=k.atob?function(a){return k.atob(a)}:
|
|
function(a){return a.replace(/[\s\S]{1,4}/g,x)},L=f?function(a){return(a.constructor===f.constructor?a:new f(a,"base64")).toString()}:function(a){return w(A(a))},C=function(a){return L(String(a).replace(/[-_]/g,function(a){return"-"==a?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))};k.Base64={VERSION:"2.1.9",atob:A,btoa:e,fromBase64:C,toBase64:r,utob:m,encode:r,encodeURI:function(a){return r(a,!0)},btou:w,decode:C,noConflict:function(){var a=k.Base64;k.Base64=h;return a}};if("function"===typeof Object.defineProperty){var F=
|
|
function(a){return{value:a,enumerable:!1,writable:!0,configurable:!0}};k.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",F(function(){return C(this)}));Object.defineProperty(String.prototype,"toBase64",F(function(a){return r(this,a)}));Object.defineProperty(String.prototype,"toBase64URI",F(function(){return r(this,!0)}))}}k.Meteor&&(Base64=k.Base64)})(this)},{buffer:5}],131:[function(a,l,g){a=a("./lib/js-yaml.js");l.exports=a},{"./lib/js-yaml.js":132}],132:[function(a,
|
|
l,g){function k(a){return function(){throw Error("Function "+a+" is deprecated and cannot be used.");}}g=a("./js-yaml/loader");var h=a("./js-yaml/dumper");l.exports.Type=a("./js-yaml/type");l.exports.Schema=a("./js-yaml/schema");l.exports.FAILSAFE_SCHEMA=a("./js-yaml/schema/failsafe");l.exports.JSON_SCHEMA=a("./js-yaml/schema/json");l.exports.CORE_SCHEMA=a("./js-yaml/schema/core");l.exports.DEFAULT_SAFE_SCHEMA=a("./js-yaml/schema/default_safe");l.exports.DEFAULT_FULL_SCHEMA=a("./js-yaml/schema/default_full");
|
|
l.exports.load=g.load;l.exports.loadAll=g.loadAll;l.exports.safeLoad=g.safeLoad;l.exports.safeLoadAll=g.safeLoadAll;l.exports.dump=h.dump;l.exports.safeDump=h.safeDump;l.exports.YAMLException=a("./js-yaml/exception");l.exports.MINIMAL_SCHEMA=a("./js-yaml/schema/failsafe");l.exports.SAFE_SCHEMA=a("./js-yaml/schema/default_safe");l.exports.DEFAULT_SCHEMA=a("./js-yaml/schema/default_full");l.exports.scan=k("scan");l.exports.parse=k("parse");l.exports.compose=k("compose");l.exports.addConstructor=k("addConstructor")},
|
|
{"./js-yaml/dumper":134,"./js-yaml/exception":135,"./js-yaml/loader":136,"./js-yaml/schema":138,"./js-yaml/schema/core":139,"./js-yaml/schema/default_full":140,"./js-yaml/schema/default_safe":141,"./js-yaml/schema/failsafe":142,"./js-yaml/schema/json":143,"./js-yaml/type":144}],133:[function(a,l,g){function k(a){return"undefined"===typeof a||null===a}l.exports.isNothing=k;l.exports.isObject=function(a){return"object"===typeof a&&null!==a};l.exports.toArray=function(a){return Array.isArray(a)?a:k(a)?
|
|
[]:[a]};l.exports.repeat=function(a,f){var d="",c;for(c=0;c<f;c+=1)d+=a;return d};l.exports.isNegativeZero=function(a){return 0===a&&Number.NEGATIVE_INFINITY===1/a};l.exports.extend=function(a,f){var d;if(f){var c=Object.keys(f);var b=0;for(d=c.length;b<d;b+=1){var h=c[b];a[h]=f[h]}}return a}},{}],134:[function(a,l,g){function k(a){this.schema=a.schema||L;this.indent=Math.max(1,a.indent||2);this.skipInvalid=a.skipInvalid||!1;this.flowLevel=x.isNothing(a.flowLevel)?-1:a.flowLevel;var b=this.schema;
|
|
var c=a.styles||null,e,d;if(null===c)b={};else{var f={};var h=Object.keys(c);var n=0;for(e=h.length;n<e;n+=1){var p=h[n];var k=String(c[p]);"!!"===p.slice(0,2)&&(p="tag:yaml.org,2002:"+p.slice(2));(d=b.compiledTypeMap.fallback[p])&&K.call(d.styleAliases,k)&&(k=d.styleAliases[k]);f[p]=k}b=f}this.styleMap=b;this.sortKeys=a.sortKeys||!1;this.lineWidth=a.lineWidth||80;this.noRefs=a.noRefs||!1;this.noCompatMode=a.noCompatMode||!1;this.condenseFlow=a.condenseFlow||!1;this.implicitTypes=this.schema.compiledImplicit;
|
|
this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function h(a,b){for(var c=x.repeat(" ",b),e=0,d,f="",h,n=a.length;e<n;)d=a.indexOf("\n",e),-1===d?(h=a.slice(e),e=n):(h=a.slice(e,d+1),e=d+1),h.length&&"\n"!==h&&(f+=c),f+=h;return f}function f(a){return 32<=a&&126>=a||161<=a&&55295>=a&&8232!==a&&8233!==a||57344<=a&&65533>=a&&65279!==a||65536<=a&&1114111>=a}function d(a){return f(a)&&65279!==a&&44!==a&&91!==a&&93!==a&&123!==a&&
|
|
125!==a&&58!==a&&35!==a}function c(a,b,c,e,h){var n=!1,p=!1,k=-1!==e,q=-1,r=a.charCodeAt(0);if(r=f(r)&&65279!==r&&!(32===r||9===r)&&45!==r&&63!==r&&58!==r&&44!==r&&91!==r&&93!==r&&123!==r&&125!==r&&35!==r&&38!==r&&42!==r&&33!==r&&124!==r&&62!==r&&39!==r&&34!==r&&37!==r&&64!==r&&96!==r)r=a.charCodeAt(a.length-1),r=!(32===r||9===r);if(b)for(b=0;b<a.length;b++){var m=a.charCodeAt(b);if(!f(m))return 5;r=r&&d(m)}else{for(b=0;b<a.length;b++){m=a.charCodeAt(b);if(10===m)n=!0,k&&(p=p||b-q-1>e&&" "!==a[q+
|
|
1],q=b);else if(!f(m))return 5;r=r&&d(m)}p=p||k&&b-q-1>e&&" "!==a[q+1]}return n||p?" "===a[0]&&9<c?5:p?4:3:r&&!h(a)?1:2}function b(a,b,e,d){a.dump=function(){if(0===b.length)return"''";if(!a.noCompatMode&&-1!==B.indexOf(b))return"'"+b+"'";var f=a.indent*Math.max(1,e),k=-1===a.lineWidth?-1:Math.max(Math.min(a.lineWidth,40),a.lineWidth-f);switch(c(b,d||-1<a.flowLevel&&e>=a.flowLevel,a.indent,k,function(b){a:{var c;var e=0;for(c=a.implicitTypes.length;e<c;e+=1){var d=a.implicitTypes[e];if(d.resolve(b)){b=
|
|
!0;break a}}b=!1}return b})){case 1:return b;case 2:return"'"+b.replace(/'/g,"''")+"'";case 3:return"|"+p(b,a.indent)+m(h(b,f));case 4:return">"+p(b,a.indent)+m(h(q(b,k),f));case 5:return'"'+n(b,k)+'"';default:throw new A("impossible error: invalid scalar style");}}()}function p(a,b){var c="\n"===a[a.length-1];return(" "===a[0]?String(b):"")+(!c||"\n"!==a[a.length-2]&&"\n"!==a?c?"":"-":"+")+"\n"}function m(a){return"\n"===a[a.length-1]?a.slice(0,-1):a}function q(a,b){var c=/(\n+)([^\n]*)/g;var d=
|
|
a.indexOf("\n");d=-1!==d?d:a.length;c.lastIndex=d;d=e(a.slice(0,d),b);for(var f="\n"===a[0]||" "===a[0],h;h=c.exec(a);){var n=h[1],p=h[2];h=" "===p[0];d+=n+(f||h||""===p?"":"\n")+e(p,b);f=h}return d}function e(a,b){if(""===a||" "===a[0])return a;var c=/ [^ ]/g,e,d=0;var f=0;for(var h="";e=c.exec(a);)e=e.index,e-d>b&&(f=f>d?f:e,h+="\n"+a.slice(d,f),d=f+1),f=e;h+="\n";h=a.length-d>b&&f>d?h+(a.slice(d,f)+"\n"+a.slice(f+1)):h+a.slice(d);return h.slice(1)}function n(a){for(var b="",c,e,d=0;d<a.length;d++){c=
|
|
a.charCodeAt(d);e=M[c];if(!e&&f(c))c=a[d];else{if(!e){e=c;c=e.toString(16).toUpperCase();if(255>=e){var h="x";e=2}else if(65535>=e)h="u",e=4;else if(4294967295>=e)h="U",e=8;else throw new A("code point within a string may not be greater than 0xFFFFFFFF");e="\\"+h+x.repeat("0",e-c.length)+c}c=e}b+=c}return b}function r(a,b,c){var e;var d=c?a.explicitTypes:a.implicitTypes;var f=0;for(e=d.length;f<e;f+=1){var h=d[f];if((h.instanceOf||h.predicate)&&(!h.instanceOf||"object"===typeof b&&b instanceof h.instanceOf)&&
|
|
(!h.predicate||h.predicate(b))){a.tag=c?h.tag:"?";if(h.represent){c=a.styleMap[h.tag]||h.defaultStyle;if("[object Function]"===F.call(h.represent))b=h.represent(b,c);else if(K.call(h.represent,c))b=h.represent[c](b,c);else throw new A("!<"+h.tag+'> tag resolver accepts not "'+c+'" style');a.dump=b}return!0}}return!1}function t(a,c,e,d,f,h){a.tag=null;a.dump=e;r(a,e,!1)||r(a,e,!0);var n=F.call(a.dump);d&&(d=0>a.flowLevel||a.flowLevel>c);var p="[object Object]"===n||"[object Array]"===n;if(p){var k=
|
|
a.duplicates.indexOf(e);var q=-1!==k}if(null!==a.tag&&"?"!==a.tag||q||2!==a.indent&&0<c)f=!1;if(q&&a.usedDuplicates[k])a.dump="*ref_"+k;else{p&&q&&!a.usedDuplicates[k]&&(a.usedDuplicates[k]=!0);if("[object Object]"===n)if(d&&0!==Object.keys(a.dump).length){e=a.dump;d="";h=a.tag;n=Object.keys(e);var m;if(!0===a.sortKeys)n.sort();else if("function"===typeof a.sortKeys)n.sort(a.sortKeys);else if(a.sortKeys)throw new A("sortKeys must be a boolean or a function");p=0;for(m=n.length;p<m;p+=1){var g="";
|
|
f&&0===p||(g+="\n"+x.repeat(" ",a.indent*c));var l=n[p];var u=e[l];t(a,c+1,l,!0,!0,!0)&&((l=null!==a.tag&&"?"!==a.tag||a.dump&&1024<a.dump.length)&&(g=a.dump&&10===a.dump.charCodeAt(0)?g+"?":g+"? "),g+=a.dump,l&&(g+="\n"+x.repeat(" ",a.indent*c)),t(a,c+1,u,!0,l)&&(g=a.dump&&10===a.dump.charCodeAt(0)?g+":":g+": ",g+=a.dump,d+=g))}a.tag=h;a.dump=d||"{}";q&&(a.dump="&ref_"+k+a.dump)}else{e=a.dump;f="";d=a.tag;h=Object.keys(e);n=0;for(p=h.length;n<p;n+=1)g="",0!==n&&(g+=", "),m=h[n],u=e[m],t(a,c,m,!1,
|
|
!1)&&(1024<a.dump.length&&(g+="? "),g+=a.dump+":"+(a.condenseFlow?"":" "),t(a,c,u,!1,!1)&&(g+=a.dump,f+=g));a.tag=d;a.dump="{"+f+"}";q&&(a.dump="&ref_"+k+" "+a.dump)}else if("[object Array]"===n)if(d&&0!==a.dump.length){e=a.dump;d="";h=a.tag;n=0;for(p=e.length;n<p;n+=1)t(a,c+1,e[n],!0,!0)&&(f&&0===n||(d+="\n"+x.repeat(" ",a.indent*c)),d=a.dump&&10===a.dump.charCodeAt(0)?d+"-":d+"- ",d+=a.dump);a.tag=h;a.dump=d||"[]";q&&(a.dump="&ref_"+k+a.dump)}else{e=a.dump;f="";d=a.tag;h=0;for(n=e.length;h<n;h+=
|
|
1)t(a,c,e[h],!1,!1)&&(0!==h&&(f+=","+(a.condenseFlow?"":" ")),f+=a.dump);a.tag=d;a.dump="["+f+"]";q&&(a.dump="&ref_"+k+" "+a.dump)}else if("[object String]"===n)"?"!==a.tag&&b(a,a.dump,c,h);else{if(a.skipInvalid)return!1;throw new A("unacceptable kind of an object to dump "+n);}null!==a.tag&&"?"!==a.tag&&(a.dump="!<"+a.tag+"> "+a.dump)}return!0}function u(a,b,c){var e;if(null!==a&&"object"===typeof a){var d=b.indexOf(a);if(-1!==d)-1===c.indexOf(d)&&c.push(d);else if(b.push(a),Array.isArray(a))for(d=
|
|
0,e=a.length;d<e;d+=1)u(a[d],b,c);else{var f=Object.keys(a);d=0;for(e=f.length;d<e;d+=1)u(a[f[d]],b,c)}}}function w(a,b){b=b||{};var c=new k(b);if(!c.noRefs){var e=[],d=[],f;u(a,e,d);var h=0;for(f=d.length;h<f;h+=1)c.duplicates.push(e[d[h]]);c.usedDuplicates=Array(f)}return t(c,0,a,!0,!0)?c.dump+"\n":""}var x=a("./common"),A=a("./exception"),L=a("./schema/default_full"),C=a("./schema/default_safe"),F=Object.prototype.toString,K=Object.prototype.hasOwnProperty,M={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",
|
|
11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},B="y Y yes Yes YES on On ON n N no No NO off Off OFF".split(" ");l.exports.dump=w;l.exports.safeDump=function(a,b){return w(a,x.extend({schema:C},b))}},{"./common":133,"./exception":135,"./schema/default_full":140,"./schema/default_safe":141}],135:[function(a,l,g){function k(a,f){Error.call(this);this.name="YAMLException";this.reason=a;this.mark=f;this.message=(this.reason||"(unknown reason)")+(this.mark?
|
|
" "+this.mark.toString():"");Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}k.prototype=Object.create(Error.prototype);k.prototype.constructor=k;k.prototype.toString=function(a){var f=this.name+": ";f+=this.reason||"(unknown reason)";!a&&this.mark&&(f+=" "+this.mark.toString());return f};l.exports=k},{}],136:[function(a,l,g){function k(a){return 10===a||13===a}function h(a){return 9===a||32===a}function f(a){return 9===a||32===a||10===a||13===a}
|
|
function d(a){return 44===a||91===a||93===a||123===a||125===a}function c(a){return 48===a?"\x00":97===a?"\u0007":98===a?"\b":116===a?"\t":9===a?"\t":110===a?"\n":118===a?"\x0B":102===a?"\f":114===a?"\r":101===a?"\u001b":32===a?" ":34===a?'"':47===a?"/":92===a?"\\":78===a?"\u0085":95===a?"\u00a0":76===a?"\u2028":80===a?"\u2029":""}function b(a,b){this.input=a;this.filename=b.filename||null;this.schema=b.schema||y;this.onWarning=b.onWarning||null;this.legacy=b.legacy||!1;this.json=b.json||!1;this.listener=
|
|
b.listener||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=a.length;this.lineIndent=this.lineStart=this.line=this.position=0;this.documents=[]}function p(a,b){return new D(b,new E(a.filename,a.input,a.position,a.line,a.position-a.lineStart))}function m(a,b){throw p(a,b);}function q(a,b){a.onWarning&&a.onWarning.call(null,p(a,b))}function e(a,b,c,e){if(b<c){b=a.input.slice(b,c);if(e)for(e=0,c=b.length;e<c;e+=1){var d=b.charCodeAt(e);9===d||
|
|
32<=d&&1114111>=d||m(a,"expected valid JSON character")}else H.test(b)&&m(a,"the stream contains non-printable characters");a.result+=b}}function n(a,b,c,e){var d;I.isObject(c)||m(a,"cannot merge mappings; the provided source object is unacceptable");a=Object.keys(c);var f=0;for(d=a.length;f<d;f+=1){var h=a[f];z.call(b,h)||(b[h]=c[h],e[h]=!0)}}function r(a,b,c,e,d,f,h,p){d=String(d);null===b&&(b={});if("tag:yaml.org,2002:merge"===e)if(Array.isArray(f))for(e=0,d=f.length;e<d;e+=1)n(a,b,f[e],c);else n(a,
|
|
b,f,c);else a.json||z.call(c,d)||!z.call(b,d)||(a.line=h||a.line,a.position=p||a.position,m(a,"duplicated mapping key")),b[d]=f,delete c[d];return b}function t(a){var b=a.input.charCodeAt(a.position);10===b?a.position++:13===b?(a.position++,10===a.input.charCodeAt(a.position)&&a.position++):m(a,"a line break is expected");a.line+=1;a.lineStart=a.position}function u(a,b,c){for(var e=0,d=a.input.charCodeAt(a.position);0!==d;){for(;h(d);)d=a.input.charCodeAt(++a.position);if(b&&35===d){do d=a.input.charCodeAt(++a.position);
|
|
while(10!==d&&13!==d&&0!==d)}if(k(d))for(t(a),d=a.input.charCodeAt(a.position),e++,a.lineIndent=0;32===d;)a.lineIndent++,d=a.input.charCodeAt(++a.position);else break}-1!==c&&0!==e&&a.lineIndent<c&&q(a,"deficient indentation");return e}function w(a){var b=a.position;var c=a.input.charCodeAt(b);return 45!==c&&46!==c||c!==a.input.charCodeAt(b+1)||c!==a.input.charCodeAt(b+2)||(c=a.input.charCodeAt(b+3),0!==c&&!f(c))?!1:!0}function x(a,b){1===b?a.result+=" ":1<b&&(a.result+=I.repeat("\n",b-1))}function A(a,
|
|
b){var c=a.tag,e=a.anchor,d=[],h=!1,n;null!==a.anchor&&(a.anchorMap[a.anchor]=d);for(n=a.input.charCodeAt(a.position);0!==n&&45===n;){var p=a.input.charCodeAt(a.position+1);if(!f(p))break;h=!0;a.position++;if(u(a,!0,-1)&&a.lineIndent<=b)d.push(null),n=a.input.charCodeAt(a.position);else if(p=a.line,F(a,b,3,!1,!0),d.push(a.result),u(a,!0,-1),n=a.input.charCodeAt(a.position),(a.line===p||a.lineIndent>b)&&0!==n)m(a,"bad indentation of a sequence entry");else if(a.lineIndent<b)break}return h?(a.tag=c,
|
|
a.anchor=e,a.kind="sequence",a.result=d,!0):!1}function L(a){var b=!1,c=!1;var e=a.input.charCodeAt(a.position);if(33!==e)return!1;null!==a.tag&&m(a,"duplication of a tag property");e=a.input.charCodeAt(++a.position);if(60===e)b=!0,e=a.input.charCodeAt(++a.position);else if(33===e){c=!0;var d="!!";e=a.input.charCodeAt(++a.position)}else d="!";var h=a.position;if(b){do e=a.input.charCodeAt(++a.position);while(0!==e&&62!==e);if(a.position<a.length){var n=a.input.slice(h,a.position);a.input.charCodeAt(++a.position)}else m(a,
|
|
"unexpected end of the stream within a verbatim tag")}else{for(;0!==e&&!f(e);)33===e&&(c?m(a,"tag suffix cannot contain exclamation marks"):(d=a.input.slice(h-1,a.position+1),N.test(d)||m(a,"named tag handle cannot contain such characters"),c=!0,h=a.position+1)),e=a.input.charCodeAt(++a.position);n=a.input.slice(h,a.position);J.test(n)&&m(a,"tag suffix cannot contain flow indicator characters")}n&&!R.test(n)&&m(a,"tag name cannot contain such characters: "+n);b?a.tag=n:z.call(a.tagMap,d)?a.tag=a.tagMap[d]+
|
|
n:"!"===d?a.tag="!"+n:"!!"===d?a.tag="tag:yaml.org,2002:"+n:m(a,'undeclared tag handle "'+d+'"');return!0}function C(a){var b;var c=a.input.charCodeAt(a.position);if(38!==c)return!1;null!==a.anchor&&m(a,"duplication of an anchor property");c=a.input.charCodeAt(++a.position);for(b=a.position;0!==c&&!f(c)&&!d(c);)c=a.input.charCodeAt(++a.position);a.position===b&&m(a,"name of an anchor node must contain at least one character");a.anchor=a.input.slice(b,a.position);return!0}function F(a,b,c,n,p){var q,
|
|
g,l=1,B=!1,K=!1;null!==a.listener&&a.listener("open",a);a.tag=null;a.anchor=null;a.kind=null;a.result=null;var M=q=g=4===c||3===c;n&&u(a,!0,-1)&&(B=!0,a.lineIndent>b?l=1:a.lineIndent===b?l=0:a.lineIndent<b&&(l=-1));if(1===l)for(;L(a)||C(a);)u(a,!0,-1)?(B=!0,g=M,a.lineIndent>b?l=1:a.lineIndent===b?l=0:a.lineIndent<b&&(l=-1)):g=!1;g&&(g=B||p);if(1===l||4===c)if(b=1===c||2===c?b:b+1,n=a.position-a.lineStart,1===l){if(g&&!(g=A(a,n)))a:{M=a.tag;B=a.anchor;var D={},y={},H=null,E=null,Q=null,P=!1,J=!1,R;
|
|
null!==a.anchor&&(a.anchorMap[a.anchor]=D);for(R=a.input.charCodeAt(a.position);0!==R;){g=a.input.charCodeAt(a.position+1);l=a.line;p=a.position;if(63!==R&&58!==R||!f(g))if(F(a,b,2,!1,!0))if(a.line===l){for(R=a.input.charCodeAt(a.position);h(R);)R=a.input.charCodeAt(++a.position);if(58===R){R=a.input.charCodeAt(++a.position);f(R)||m(a,"a whitespace character is expected after the key-value separator within a block mapping");P&&(r(a,D,y,H,E,null),Q=null);J=!0;var N=P=!1;H=a.tag;E=a.result}else if(J)m(a,
|
|
"can not read an implicit mapping pair; a colon is missed");else{a.tag=M;a.anchor=B;g=!0;break a}}else if(J)m(a,"can not read a block mapping entry; a multiline key may not be an implicit key");else{a.tag=M;a.anchor=B;g=!0;break a}else break;else 63===R?(P&&(r(a,D,y,H,E,null),H=E=Q=null),N=P=J=!0):P?(P=!1,N=!0):m(a,"incomplete explicit mapping pair; a key node is missed"),a.position+=1,R=g;if(a.line===l||a.lineIndent>n)F(a,n,4,!0,N)&&(P?E=a.result:Q=a.result),P||(r(a,D,y,H,E,Q,l,p),H=E=Q=null),u(a,
|
|
!0,-1),R=a.input.charCodeAt(a.position);if(a.lineIndent>n&&0!==R)m(a,"bad indentation of a mapping entry");else if(a.lineIndent<n)break}P&&r(a,D,y,H,E,null);J&&(a.tag=M,a.anchor=B,a.kind="mapping",a.result=D);g=J}if(!(N=g))a:{B=!0;N=a.tag;g=a.anchor;M={};H=a.input.charCodeAt(a.position);if(91===H)l=93,p=!1,n=[];else if(123===H)l=125,p=!0,n={};else{N=!1;break a}null!==a.anchor&&(a.anchorMap[a.anchor]=n);for(H=a.input.charCodeAt(++a.position);0!==H;){u(a,!0,b);H=a.input.charCodeAt(a.position);if(H===
|
|
l){a.position++;a.tag=N;a.anchor=g;a.kind=p?"mapping":"sequence";a.result=n;N=!0;break a}else B||m(a,"missed comma between flow collection entries");y=null;B=D=!1;63===H&&(H=a.input.charCodeAt(a.position+1),f(H)&&(B=D=!0,a.position++,u(a,!0,b)));E=a.line;F(a,b,1,!1,!0);P=a.tag;Q=a.result;u(a,!0,b);H=a.input.charCodeAt(a.position);!D&&a.line!==E||58!==H||(B=!0,a.input.charCodeAt(++a.position),u(a,!0,b),F(a,b,1,!1,!0),y=a.result);p?r(a,n,M,P,Q,y):B?n.push(r(a,null,M,P,Q,y)):n.push(Q);u(a,!0,b);H=a.input.charCodeAt(a.position);
|
|
44===H?(B=!0,H=a.input.charCodeAt(++a.position)):B=!1}m(a,"unexpected end of the stream within a flow collection");N=void 0}if(N)K=!0;else{if(q)a:{N=1;g=n=!1;l=b;p=0;M=!1;B=a.input.charCodeAt(a.position);if(124===B)q=!1;else if(62===B)q=!0;else{q=!1;break a}a.kind="scalar";for(a.result="";0!==B;)if(B=a.input.charCodeAt(++a.position),43===B||45===B)1===N?N=43===B?3:2:m(a,"repeat of a chomping mode identifier");else if(0<=(D=48<=B&&57>=B?B-48:-1))0===D?m(a,"bad explicit indentation width of a block scalar; it cannot be less than one"):
|
|
g?m(a,"repeat of an indentation width identifier"):(l=b+D-1,g=!0);else break;if(h(B)){do B=a.input.charCodeAt(++a.position);while(h(B));if(35===B){do B=a.input.charCodeAt(++a.position);while(!k(B)&&0!==B)}}for(;0!==B;){t(a);a.lineIndent=0;for(B=a.input.charCodeAt(a.position);(!g||a.lineIndent<l)&&32===B;)a.lineIndent++,B=a.input.charCodeAt(++a.position);!g&&a.lineIndent>l&&(l=a.lineIndent);if(k(B))p++;else{if(a.lineIndent<l){3===N?a.result+=I.repeat("\n",n?1+p:p):1===N&&n&&(a.result+="\n");break}q?
|
|
h(B)?(M=!0,a.result+=I.repeat("\n",n?1+p:p)):M?(M=!1,a.result+=I.repeat("\n",p+1)):0===p?n&&(a.result+=" "):a.result+=I.repeat("\n",p):a.result+=I.repeat("\n",n?1+p:p);g=n=!0;p=0;for(D=a.position;!k(B)&&0!==B;)B=a.input.charCodeAt(++a.position);e(a,D,a.position,!1)}}q=!0}if(!q)a:if(q=a.input.charCodeAt(a.position),39!==q)q=!1;else{a.kind="scalar";a.result="";a.position++;for(N=n=a.position;0!==(q=a.input.charCodeAt(a.position));)if(39===q)if(e(a,N,a.position,!0),q=a.input.charCodeAt(++a.position),
|
|
39===q)N=a.position,a.position++,n=a.position;else{q=!0;break a}else k(q)?(e(a,N,n,!0),x(a,u(a,!1,b)),N=n=a.position):a.position===a.lineStart&&w(a)?m(a,"unexpected end of the document within a single quoted scalar"):(a.position++,n=a.position);m(a,"unexpected end of the stream within a single quoted scalar");q=void 0}if(!q)a:if(g=a.input.charCodeAt(a.position),34!==g)q=!1;else{a.kind="scalar";a.result="";a.position++;for(q=N=a.position;0!==(g=a.input.charCodeAt(a.position));)if(34===g){e(a,q,a.position,
|
|
!0);a.position++;q=!0;break a}else if(92===g){e(a,q,a.position,!0);g=a.input.charCodeAt(++a.position);if(k(g))u(a,!1,b);else if(256>g&&G[g])a.result+=O[g],a.position++;else if(0<(n=120===g?2:117===g?4:85===g?8:0)){N=n;for(q=0;0<N;N--)g=a.input.charCodeAt(++a.position),48<=g&&57>=g?g-=48:(g|=32,g=97<=g&&102>=g?g-97+10:-1),0<=(n=g)?q=(q<<4)+n:m(a,"expected hexadecimal character");N=a.result;q=65535>=q?String.fromCharCode(q):String.fromCharCode((q-65536>>10)+55296,(q-65536&1023)+56320);a.result=N+q;
|
|
a.position++}else m(a,"unknown escape sequence");q=N=a.position}else k(g)?(e(a,q,N,!0),x(a,u(a,!1,b)),q=N=a.position):a.position===a.lineStart&&w(a)?m(a,"unexpected end of the document within a double quoted scalar"):(a.position++,N=a.position);m(a,"unexpected end of the stream within a double quoted scalar");q=void 0}if(q)K=!0;else{N=a.input.charCodeAt(a.position);if(42!==N)q=!1;else{N=a.input.charCodeAt(++a.position);for(q=a.position;0!==N&&!f(N)&&!d(N);)N=a.input.charCodeAt(++a.position);a.position===
|
|
q&&m(a,"name of an alias node must contain at least one character");q=a.input.slice(q,a.position);a.anchorMap.hasOwnProperty(q)||m(a,'unidentified alias "'+q+'"');a.result=a.anchorMap[q];u(a,!0,-1);q=!0}if(q)K=!0,null===a.tag&&null===a.anchor||m(a,"alias node should not have any properties");else{a:if(c=1===c,n=a.kind,g=a.result,p=a.input.charCodeAt(a.position),f(p)||d(p)||35===p||38===p||42===p||33===p||124===p||62===p||39===p||34===p||37===p||64===p||96===p)var S=!1;else{if(63===p||45===p)if(M=
|
|
a.input.charCodeAt(a.position+1),f(M)||c&&d(M)){S=!1;break a}a.kind="scalar";a.result="";q=N=a.position;for(l=!1;0!==p;){if(58===p){if(M=a.input.charCodeAt(a.position+1),f(M)||c&&d(M))break}else if(35===p){if(M=a.input.charCodeAt(a.position-1),f(M))break}else if(a.position===a.lineStart&&w(a)||c&&d(p))break;else if(k(p))if(S=a.line,l=a.lineStart,p=a.lineIndent,u(a,!1,-1),a.lineIndent>=b){l=!0;p=a.input.charCodeAt(a.position);continue}else{a.position=N;a.line=S;a.lineStart=l;a.lineIndent=p;break}l&&
|
|
(e(a,q,N,!1),x(a,a.line-S),q=N=a.position,l=!1);h(p)||(N=a.position+1);p=a.input.charCodeAt(++a.position)}e(a,q,N,!1);a.result?S=!0:(a.kind=n,a.result=g,S=!1)}S&&(K=!0,null===a.tag&&(a.tag="?"))}}null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)}}else 0===l&&(K=g&&A(a,n));if(null!==a.tag&&"!"!==a.tag)if("?"===a.tag)for(S=0,b=a.implicitTypes.length;S<b;S+=1){if(c=a.implicitTypes[S],c.resolve(a.result)){a.result=c.construct(a.result);a.tag=c.tag;null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);break}}else z.call(a.typeMap[a.kind||
|
|
"fallback"],a.tag)?(c=a.typeMap[a.kind||"fallback"][a.tag],null!==a.result&&c.kind!==a.kind&&m(a,"unacceptable node kind for !<"+a.tag+'> tag; it should be "'+c.kind+'", not "'+a.kind+'"'),c.resolve(a.result)?(a.result=c.construct(a.result),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):m(a,"cannot resolve a node with !<"+a.tag+"> explicit tag")):m(a,"unknown tag !<"+a.tag+">");null!==a.listener&&a.listener("close",a);return null!==a.tag||null!==a.anchor||K}function K(a,c){a=String(a);c=c||{};
|
|
0!==a.length&&(10!==a.charCodeAt(a.length-1)&&13!==a.charCodeAt(a.length-1)&&(a+="\n"),65279===a.charCodeAt(0)&&(a=a.slice(1)));var e=new b(a,c);for(e.input+="\x00";32===e.input.charCodeAt(e.position);)e.lineIndent+=1,e.position+=1;for(;e.position<e.length-1;){var d,n=e,p=n.position,r=!1;n.version=null;n.checkLineBreaks=n.legacy;n.tagMap={};for(n.anchorMap={};0!==n.input.charCodeAt(n.position);){u(n,!0,-1);var g=n.input.charCodeAt(n.position);if(0<n.lineIndent||37!==g)break;r=!0;g=n.input.charCodeAt(++n.position);
|
|
for(d=n.position;0!==g&&!f(g);)g=n.input.charCodeAt(++n.position);var l=n.input.slice(d,n.position);var x=[];for(1>l.length&&m(n,"directive name must not be less than one character in length");0!==g;){for(;h(g);)g=n.input.charCodeAt(++n.position);if(35===g){do g=n.input.charCodeAt(++n.position);while(0!==g&&!k(g));break}if(k(g))break;for(d=n.position;0!==g&&!f(g);)g=n.input.charCodeAt(++n.position);x.push(n.input.slice(d,n.position))}0!==g&&t(n);if(z.call(S,l))S[l](n,l,x);else q(n,'unknown document directive "'+
|
|
l+'"')}u(n,!0,-1);0===n.lineIndent&&45===n.input.charCodeAt(n.position)&&45===n.input.charCodeAt(n.position+1)&&45===n.input.charCodeAt(n.position+2)?(n.position+=3,u(n,!0,-1)):r&&m(n,"directives end mark is expected");F(n,n.lineIndent-1,4,!1,!0);u(n,!0,-1);n.checkLineBreaks&&Q.test(n.input.slice(p,n.position))&&q(n,"non-ASCII line breaks are interpreted as content");n.documents.push(n.result);n.position===n.lineStart&&w(n)?46===n.input.charCodeAt(n.position)&&(n.position+=3,u(n,!0,-1)):n.position<
|
|
n.length-1&&m(n,"end of the stream or a document separator is expected")}return e.documents}function M(a,b,c){a=K(a,c);var e;if("function"!==typeof b)return a;c=0;for(e=a.length;c<e;c+=1)b(a[c])}function B(a,b){var c=K(a,b);if(0!==c.length){if(1===c.length)return c[0];throw new D("expected a single document in the stream, but found more");}}var I=a("./common"),D=a("./exception"),E=a("./mark"),P=a("./schema/default_safe"),y=a("./schema/default_full"),z=Object.prototype.hasOwnProperty,H=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,
|
|
Q=/[\x85\u2028\u2029]/,J=/[,\[\]\{\}]/,N=/^(?:!|!!|![a-z\-]+!)$/i,R=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,G=Array(256),O=Array(256);for(a=0;256>a;a++)G[a]=c(a)?1:0,O[a]=c(a);var S={YAML:function(a,b,c){null!==a.version&&m(a,"duplication of %YAML directive");1!==c.length&&m(a,"YAML directive accepts exactly one argument");var e=/^([0-9]+)\.([0-9]+)$/.exec(c[0]);null===e&&m(a,"ill-formed argument of the YAML directive");b=parseInt(e[1],10);e=parseInt(e[2],
|
|
10);1!==b&&m(a,"unacceptable YAML version of the document");a.version=c[0];a.checkLineBreaks=2>e;1!==e&&2!==e&&q(a,"unsupported YAML version of the document")},TAG:function(a,b,c){2!==c.length&&m(a,"TAG directive accepts exactly two arguments");b=c[0];c=c[1];N.test(b)||m(a,"ill-formed tag handle (first argument) of the TAG directive");z.call(a.tagMap,b)&&m(a,'there is a previously declared suffix for "'+b+'" tag handle');R.test(c)||m(a,"ill-formed tag prefix (second argument) of the TAG directive");
|
|
a.tagMap[b]=c}};l.exports.loadAll=M;l.exports.load=B;l.exports.safeLoadAll=function(a,b,c){if("function"===typeof b)M(a,b,I.extend({schema:P},c));else return M(a,I.extend({schema:P},c))};l.exports.safeLoad=function(a,b){return B(a,I.extend({schema:P},b))}},{"./common":133,"./exception":135,"./mark":137,"./schema/default_full":140,"./schema/default_safe":141}],137:[function(a,l,g){function k(a,d,c,b,h){this.name=a;this.buffer=d;this.position=c;this.line=b;this.column=h}var h=a("./common");k.prototype.getSnippet=
|
|
function(a,d){var c,b;if(!this.buffer)return null;a=a||4;d=d||75;var f="";for(c=this.position;0<c&&-1==="\x00\r\n\u0085\u2028\u2029".indexOf(this.buffer.charAt(c-1));)if(--c,this.position-c>d/2-1){f=" ... ";c+=5;break}var k="";for(b=this.position;b<this.buffer.length&&-1==="\x00\r\n\u0085\u2028\u2029".indexOf(this.buffer.charAt(b));)if(b+=1,b-this.position>d/2-1){k=" ... ";b-=5;break}b=this.buffer.slice(c,b);return h.repeat(" ",a)+f+b+k+"\n"+h.repeat(" ",a+this.position-c+f.length)+"^"};k.prototype.toString=
|
|
function(a){var d="";this.name&&(d+='in "'+this.name+'" ');d+="at line "+(this.line+1)+", column "+(this.column+1);a||(a=this.getSnippet())&&(d+=":\n"+a);return d};l.exports=k},{"./common":133}],138:[function(a,l,g){function k(a,b,c){var e=[];a.include.forEach(function(a){c=k(a,b,c)});a[b].forEach(function(a){c.forEach(function(b,c){b.tag===a.tag&&b.kind===a.kind&&e.push(c)});c.push(a)});return c.filter(function(a,b){return-1===e.indexOf(b)})}function h(){function a(a){b[a.kind][a.tag]=b.fallback[a.tag]=
|
|
a}var b={scalar:{},sequence:{},mapping:{},fallback:{}},c;var e=0;for(c=arguments.length;e<c;e+=1)arguments[e].forEach(a);return b}function f(a){this.include=a.include||[];this.implicit=a.implicit||[];this.explicit=a.explicit||[];this.implicit.forEach(function(a){if(a.loadKind&&"scalar"!==a.loadKind)throw new c("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");});this.compiledImplicit=k(this,"implicit",[]);this.compiledExplicit=k(this,
|
|
"explicit",[]);this.compiledTypeMap=h(this.compiledImplicit,this.compiledExplicit)}var d=a("./common"),c=a("./exception"),b=a("./type");f.DEFAULT=null;f.create=function(){switch(arguments.length){case 1:var a=f.DEFAULT;var h=arguments[0];break;case 2:a=arguments[0];h=arguments[1];break;default:throw new c("Wrong number of arguments for Schema.create function");}a=d.toArray(a);h=d.toArray(h);if(!a.every(function(a){return a instanceof f}))throw new c("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");
|
|
if(!h.every(function(a){return a instanceof b}))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new f({include:a,explicit:h})};l.exports=f},{"./common":133,"./exception":135,"./type":144}],139:[function(a,l,g){g=a("../schema");l.exports=new g({include:[a("./json")]})},{"../schema":138,"./json":143}],140:[function(a,l,g){g=a("../schema");l.exports=g.DEFAULT=new g({include:[a("./default_safe")],explicit:[a("../type/js/undefined"),a("../type/js/regexp"),
|
|
a("../type/js/function")]})},{"../schema":138,"../type/js/function":149,"../type/js/regexp":150,"../type/js/undefined":151,"./default_safe":141}],141:[function(a,l,g){g=a("../schema");l.exports=new g({include:[a("./core")],implicit:[a("../type/timestamp"),a("../type/merge")],explicit:[a("../type/binary"),a("../type/omap"),a("../type/pairs"),a("../type/set")]})},{"../schema":138,"../type/binary":145,"../type/merge":153,"../type/omap":155,"../type/pairs":156,"../type/set":158,"../type/timestamp":160,
|
|
"./core":139}],142:[function(a,l,g){g=a("../schema");l.exports=new g({explicit:[a("../type/str"),a("../type/seq"),a("../type/map")]})},{"../schema":138,"../type/map":152,"../type/seq":157,"../type/str":159}],143:[function(a,l,g){g=a("../schema");l.exports=new g({include:[a("./failsafe")],implicit:[a("../type/null"),a("../type/bool"),a("../type/int"),a("../type/float")]})},{"../schema":138,"../type/bool":146,"../type/float":147,"../type/int":148,"../type/null":154,"./failsafe":142}],144:[function(a,
|
|
l,g){function k(a){var b={};null!==a&&Object.keys(a).forEach(function(c){a[c].forEach(function(a){b[String(a)]=c})});return b}var h=a("./exception"),f="kind resolve construct instanceOf predicate represent defaultStyle styleAliases".split(" "),d=["scalar","sequence","mapping"];l.exports=function(a,b){b=b||{};Object.keys(b).forEach(function(b){if(-1===f.indexOf(b))throw new h('Unknown option "'+b+'" is met in definition of "'+a+'" YAML type.');});this.tag=a;this.kind=b.kind||null;this.resolve=b.resolve||
|
|
function(){return!0};this.construct=b.construct||function(a){return a};this.instanceOf=b.instanceOf||null;this.predicate=b.predicate||null;this.represent=b.represent||null;this.defaultStyle=b.defaultStyle||null;this.styleAliases=k(b.styleAliases||null);if(-1===d.indexOf(this.kind))throw new h('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.');}},{"./exception":135}],145:[function(a,l,g){try{var k=a("buffer").Buffer}catch(h){}a=a("../type");l.exports=new a("tag:yaml.org,2002:binary",
|
|
{kind:"scalar",resolve:function(a){if(null===a)return!1;var f,d=0,c=a.length;for(f=0;f<c;f++){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r".indexOf(a.charAt(f));if(!(64<b)){if(0>b)return!1;d+=6}}return 0===d%8},construct:function(a){var f,d=a.replace(/[\r\n=]/g,""),c=d.length;a=0;var b=[];for(f=0;f<c;f++)0===f%4&&f&&(b.push(a>>16&255),b.push(a>>8&255),b.push(a&255)),a=a<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r".indexOf(d.charAt(f));
|
|
f=c%4*6;0===f?(b.push(a>>16&255),b.push(a>>8&255),b.push(a&255)):18===f?(b.push(a>>10&255),b.push(a>>2&255)):12===f&&b.push(a>>4&255);return k?k.from?k.from(b):new k(b):b},predicate:function(a){return k&&k.isBuffer(a)},represent:function(a){var f="",d=0,c,b=a.length;for(c=0;c<b;c++)0===c%3&&c&&(f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>18&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>12&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>
|
|
6&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d&63]),d=(d<<8)+a[c];a=b%3;0===a?(f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>18&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>12&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>6&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d&63]):2===a?(f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>
|
|
10&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>4&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d<<2&63],f+="="):1===a&&(f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>2&63],f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d<<4&63],f+="==");return f}})},{"../type":144}],146:[function(a,l,g){a=a("../type");l.exports=new a("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(a){if(null===
|
|
a)return!1;var h=a.length;return 4===h&&("true"===a||"True"===a||"TRUE"===a)||5===h&&("false"===a||"False"===a||"FALSE"===a)},construct:function(a){return"true"===a||"True"===a||"TRUE"===a},predicate:function(a){return"[object Boolean]"===Object.prototype.toString.call(a)},represent:{lowercase:function(a){return a?"true":"false"},uppercase:function(a){return a?"TRUE":"FALSE"},camelcase:function(a){return a?"True":"False"}},defaultStyle:"lowercase"})},{"../type":144}],147:[function(a,l,g){var k=a("../common");
|
|
a=a("../type");var h=/^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*|[-+]?\.(?:inf|Inf|INF)|\.(?:nan|NaN|NAN))$/,f=/^[-+]?[0-9]+e/;l.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return null!==a&&h.test(a)&&"_"!==a[a.length-1]?!0:!1},construct:function(a){var c=a.replace(/_/g,"").toLowerCase();a="-"===c[0]?-1:1;var b=[];0<="+-".indexOf(c[0])&&(c=c.slice(1));if(".inf"===c)return 1===
|
|
a?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(".nan"===c)return NaN;if(0<=c.indexOf(":")){c.split(":").forEach(function(a){b.unshift(parseFloat(a,10))});c=0;var d=1;b.forEach(function(a){c+=a*d;d*=60});return a*c}return a*parseFloat(c,10)},predicate:function(a){return"[object Number]"===Object.prototype.toString.call(a)&&(0!==a%1||k.isNegativeZero(a))},represent:function(a,c){if(isNaN(a))switch(c){case "lowercase":return".nan";case "uppercase":return".NAN";case "camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===
|
|
a)switch(c){case "lowercase":return".inf";case "uppercase":return".INF";case "camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(c){case "lowercase":return"-.inf";case "uppercase":return"-.INF";case "camelcase":return"-.Inf"}else if(k.isNegativeZero(a))return"-0.0";var b=a.toString(10);return f.test(b)?b.replace("e",".e"):b},defaultStyle:"lowercase"})},{"../common":133,"../type":144}],148:[function(a,l,g){var k=a("../common");a=a("../type");l.exports=new a("tag:yaml.org,2002:int",
|
|
{kind:"scalar",resolve:function(a){if(null===a)return!1;var f=a.length,d=0,c=!1;if(!f)return!1;var b=a[d];if("-"===b||"+"===b)b=a[++d];if("0"===b){if(d+1===f)return!0;b=a[++d];if("b"===b){for(d++;d<f;d++)if(b=a[d],"_"!==b){if("0"!==b&&"1"!==b)return!1;c=!0}return c&&"_"!==b}if("x"===b){for(d++;d<f;d++)if(b=a[d],"_"!==b){c=a.charCodeAt(d);if(!(48<=c&&57>=c||65<=c&&70>=c||97<=c&&102>=c))return!1;c=!0}return c&&"_"!==b}for(;d<f;d++)if(b=a[d],"_"!==b){c=a.charCodeAt(d);if(!(48<=c&&55>=c))return!1;c=!0}return c&&
|
|
"_"!==b}if("_"===b)return!1;for(;d<f;d++)if(b=a[d],"_"!==b){if(":"===b)break;c=a.charCodeAt(d);if(!(48<=c&&57>=c))return!1;c=!0}return c&&"_"!==b?":"!==b?!0:/^(:[0-5]?[0-9])+$/.test(a.slice(d)):!1},construct:function(a){var f=a;a=1;var d=[];-1!==f.indexOf("_")&&(f=f.replace(/_/g,""));var c=f[0];if("-"===c||"+"===c)"-"===c&&(a=-1),f=f.slice(1),c=f[0];if("0"===f)return 0;if("0"===c)return"b"===f[1]?a*parseInt(f.slice(2),2):"x"===f[1]?a*parseInt(f,16):a*parseInt(f,8);if(-1!==f.indexOf(":")){f.split(":").forEach(function(a){d.unshift(parseInt(a,
|
|
10))});f=0;var b=1;d.forEach(function(a){f+=a*b;b*=60});return a*f}return a*parseInt(f,10)},predicate:function(a){return"[object Number]"===Object.prototype.toString.call(a)&&0===a%1&&!k.isNegativeZero(a)},represent:{binary:function(a){return"0b"+a.toString(2)},octal:function(a){return"0"+a.toString(8)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return"0x"+a.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],
|
|
hexadecimal:[16,"hex"]}})},{"../common":133,"../type":144}],149:[function(a,l,g){try{var k=a("esprima")}catch(h){"undefined"!==typeof window&&(k=window.esprima)}a=a("../../type");l.exports=new a("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(a){if(null===a)return!1;try{var f=k.parse("("+a+")",{range:!0});return"Program"!==f.type||1!==f.body.length||"ExpressionStatement"!==f.body[0].type||"FunctionExpression"!==f.body[0].expression.type?!1:!0}catch(d){return!1}},construct:function(a){a=
|
|
"("+a+")";var f=k.parse(a,{range:!0}),d=[];if("Program"!==f.type||1!==f.body.length||"ExpressionStatement"!==f.body[0].type||"FunctionExpression"!==f.body[0].expression.type)throw Error("Failed to resolve function");f.body[0].expression.params.forEach(function(a){d.push(a.name)});f=f.body[0].expression.body.range;return new Function(d,a.slice(f[0]+1,f[1]-1))},predicate:function(a){return"[object Function]"===Object.prototype.toString.call(a)},represent:function(a){return a.toString()}})},{"../../type":144}],
|
|
150:[function(a,l,g){a=a("../../type");l.exports=new a("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(a){if(null===a||0===a.length)return!1;var h=/\/([gim]*)$/.exec(a),f="";return"/"===a[0]&&(h&&(f=h[1]),3<f.length||"/"!==a[a.length-f.length-1])?!1:!0},construct:function(a){var h=a;a=/\/([gim]*)$/.exec(a);var f="";"/"===h[0]&&(a&&(f=a[1]),h=h.slice(1,h.length-f.length-1));return new RegExp(h,f)},predicate:function(a){return"[object RegExp]"===Object.prototype.toString.call(a)},represent:function(a){var h=
|
|
"/"+a.source+"/";a.global&&(h+="g");a.multiline&&(h+="m");a.ignoreCase&&(h+="i");return h}})},{"../../type":144}],151:[function(a,l,g){a=a("../../type");l.exports=new a("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(a){return"undefined"===typeof a},represent:function(){return""}})},{"../../type":144}],152:[function(a,l,g){a=a("../type");l.exports=new a("tag:yaml.org,2002:map",{kind:"mapping",construct:function(a){return null!==
|
|
a?a:{}}})},{"../type":144}],153:[function(a,l,g){a=a("../type");l.exports=new a("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(a){return"<<"===a||null===a}})},{"../type":144}],154:[function(a,l,g){a=a("../type");l.exports=new a("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(a){if(null===a)return!0;var h=a.length;return 1===h&&"~"===a||4===h&&("null"===a||"Null"===a||"NULL"===a)},construct:function(){return null},predicate:function(a){return null===a},represent:{canonical:function(){return"~"},
|
|
lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":144}],155:[function(a,l,g){a=a("../type");var k=Object.prototype.hasOwnProperty,h=Object.prototype.toString;l.exports=new a("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(a){if(null===a)return!0;var d=[],c,b;var f=0;for(c=a.length;f<c;f+=1){var m=a[f];var q=!1;if("[object Object]"!==h.call(m))return!1;for(b in m)if(k.call(m,b)){if(q)return!1;
|
|
q=!0}if(q&&-1===d.indexOf(b))d.push(b);else return!1}return!0},construct:function(a){return null!==a?a:[]}})},{"../type":144}],156:[function(a,l,g){a=a("../type");var k=Object.prototype.toString;l.exports=new a("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(a){if(null===a)return!0;var f;var d=Array(a.length);var c=0;for(f=a.length;c<f;c+=1){var b=a[c];if("[object Object]"!==k.call(b))return!1;var h=Object.keys(b);if(1!==h.length)return!1;d[c]=[h[0],b[h[0]]]}return!0},construct:function(a){if(null===
|
|
a)return[];var f;var d=Array(a.length);var c=0;for(f=a.length;c<f;c+=1){var b=a[c];var h=Object.keys(b);d[c]=[h[0],b[h[0]]]}return d}})},{"../type":144}],157:[function(a,l,g){a=a("../type");l.exports=new a("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(a){return null!==a?a:[]}})},{"../type":144}],158:[function(a,l,g){a=a("../type");var k=Object.prototype.hasOwnProperty;l.exports=new a("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(a){if(null===a)return!0;for(var f in a)if(k.call(a,
|
|
f)&&null!==a[f])return!1;return!0},construct:function(a){return null!==a?a:{}}})},{"../type":144}],159:[function(a,l,g){a=a("../type");l.exports=new a("tag:yaml.org,2002:str",{kind:"scalar",construct:function(a){return null!==a?a:""}})},{"../type":144}],160:[function(a,l,g){a=a("../type");var k=/^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$/,h=/^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\.([0-9]*))?(?:[ \t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$/;
|
|
l.exports=new a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(a){return null===a?!1:null!==k.exec(a)||null!==h.exec(a)?!0:!1},construct:function(a){var d=0,c=null;var b=k.exec(a);null===b&&(b=h.exec(a));if(null===b)throw Error("Date resolve error");a=+b[1];var f=+b[2]-1;var m=+b[3];if(!b[4])return new Date(Date.UTC(a,f,m));var q=+b[4];var e=+b[5];var n=+b[6];if(b[7]){for(d=b[7].slice(0,3);3>d.length;)d+="0";d=+d}if(b[9]){c=+b[10];var r=+(b[11]||0);c=6E4*(60*c+r);"-"===b[9]&&(c=-c)}b=
|
|
new Date(Date.UTC(a,f,m,q,e,n,d));c&&b.setTime(b.getTime()-c);return b},instanceOf:Date,represent:function(a){return a.toISOString()}})},{"../type":144}],161:[function(a,l,g){var k=a("is-buffer"),h=Object.prototype.toString;l.exports=function(a){if("undefined"===typeof a)return"undefined";if(null===a)return"null";if(!0===a||!1===a||a instanceof Boolean)return"boolean";if("string"===typeof a||a instanceof String)return"string";if("number"===typeof a||a instanceof Number)return"number";if("function"===
|
|
typeof a||a instanceof Function)return"function";if("undefined"!==typeof Array.isArray&&Array.isArray(a))return"array";if(a instanceof RegExp)return"regexp";if(a instanceof Date)return"date";var d=h.call(a);return"[object RegExp]"===d?"regexp":"[object Date]"===d?"date":"[object Arguments]"===d?"arguments":"[object Error]"===d?"error":k(a)?"buffer":"[object Set]"===d?"set":"[object WeakSet]"===d?"weakset":"[object Map]"===d?"map":"[object WeakMap]"===d?"weakmap":"[object Symbol]"===d?"symbol":"[object Int8Array]"===
|
|
d?"int8array":"[object Uint8Array]"===d?"uint8array":"[object Uint8ClampedArray]"===d?"uint8clampedarray":"[object Int16Array]"===d?"int16array":"[object Uint16Array]"===d?"uint16array":"[object Int32Array]"===d?"int32array":"[object Uint32Array]"===d?"uint32array":"[object Float32Array]"===d?"float32array":"[object Float64Array]"===d?"float64array":"object"}},{"is-buffer":113}],162:[function(a,l,g){l.exports={properties:"accelerator -wap-accesskey align-content -webkit-align-content align-items -webkit-align-items align-self -webkit-align-self alignment-baseline all alt -webkit-alt animation animation-delay -moz-animation-delay -ms-animation-delay -webkit-animation-delay animation-direction -moz-animation-direction -ms-animation-direction -webkit-animation-direction animation-duration -moz-animation-duration -ms-animation-duration -webkit-animation-duration animation-fill-mode -moz-animation-fill-mode -ms-animation-fill-mode -webkit-animation-fill-mode animation-iteration-count -moz-animation-iteration-count -ms-animation-iteration-count -webkit-animation-iteration-count -moz-animation -ms-animation animation-name -moz-animation-name -ms-animation-name -webkit-animation-name animation-play-state -moz-animation-play-state -ms-animation-play-state -webkit-animation-play-state animation-timing-function -moz-animation-timing-function -ms-animation-timing-function -webkit-animation-timing-function -webkit-animation -webkit-app-region appearance -moz-appearance -webkit-appearance -webkit-aspect-ratio audio-level azimuth backdrop-filter -webkit-backdrop-filter backface-visibility -moz-backface-visibility -ms-backface-visibility -webkit-backface-visibility background background-attachment -webkit-background-attachment background-blend-mode background-clip -moz-background-clip -webkit-background-clip background-color -webkit-background-color -webkit-background-composite background-image -webkit-background-image -moz-background-inline-policy background-origin -moz-background-origin -webkit-background-origin background-position -webkit-background-position background-position-x -webkit-background-position-x background-position-y -webkit-background-position-y background-repeat -webkit-background-repeat background-repeat-x background-repeat-y background-size -moz-background-size -webkit-background-size -webkit-background baseline-shift behavior -moz-binding -ms-block-progression block-size bookmark-label bookmark-level bookmark-state border -webkit-border-after-color -webkit-border-after-style -webkit-border-after -webkit-border-after-width -webkit-border-before-color -webkit-border-before-style -webkit-border-before -webkit-border-before-width border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start border-block-start-color border-block-start-style border-block-start-width border-bottom border-bottom-color -moz-border-bottom-colors border-bottom-left-radius -webkit-border-bottom-left-radius border-bottom-right-radius -webkit-border-bottom-right-radius border-bottom-style border-bottom-width border-boundary border-collapse border-color -moz-border-end-color -webkit-border-end-color -moz-border-end -moz-border-end-style -webkit-border-end-style -webkit-border-end -moz-border-end-width -webkit-border-end-width -webkit-border-fit -webkit-border-horizontal-spacing border-image -moz-border-image -o-border-image border-image-outset -webkit-border-image-outset border-image-repeat -webkit-border-image-repeat border-image-slice -webkit-border-image-slice border-image-source -webkit-border-image-source -webkit-border-image border-image-width -webkit-border-image-width border-inline-end border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start border-inline-start-color border-inline-start-style border-inline-start-width border-left border-left-color -moz-border-left-colors border-left-style border-left-width border-radius -moz-border-radius-bottomleft -moz-border-radius-bottomright -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -webkit-border-radius border-right border-right-color -moz-border-right-colors border-right-style border-right-width border-spacing -moz-border-start-color -webkit-border-start-color -moz-border-start -moz-border-start-style -webkit-border-start-style -webkit-border-start -moz-border-start-width -webkit-border-start-width border-style border-top border-top-color -moz-border-top-colors border-top-left-radius -webkit-border-top-left-radius border-top-right-radius -webkit-border-top-right-radius border-top-style border-top-width -webkit-border-vertical-spacing border-width bottom -moz-box-align -webkit-box-align box-decoration-break -webkit-box-decoration-break -moz-box-direction -webkit-box-direction -webkit-box-flex-group -moz-box-flex -webkit-box-flex -webkit-box-lines -moz-box-ordinal-group -webkit-box-ordinal-group -moz-box-orient -webkit-box-orient -moz-box-pack -webkit-box-pack -webkit-box-reflect box-shadow -moz-box-shadow -webkit-box-shadow box-sizing -moz-box-sizing -webkit-box-sizing box-snap box-suppress break-after break-before break-inside buffered-rendering caption-side caret caret-animation caret-color caret-shape clear clip clip-path -webkit-clip-path clip-rule color color-adjust -webkit-color-correction color-interpolation color-interpolation-filters color-profile color-rendering -webkit-column-axis -webkit-column-break-after -webkit-column-break-before -webkit-column-break-inside column-count -moz-column-count -webkit-column-count column-fill -moz-column-fill -webkit-column-fill column-gap -moz-column-gap -webkit-column-gap column-progression -webkit-column-progression column-rule column-rule-color -moz-column-rule-color -webkit-column-rule-color -moz-column-rule column-rule-style -moz-column-rule-style -webkit-column-rule-style -webkit-column-rule column-rule-width -moz-column-rule-width -webkit-column-rule-width column-span -webkit-column-span column-width -moz-column-width -webkit-column-width columns -moz-columns -webkit-columns -webkit-composition-fill-color -webkit-composition-frame-color contain content -ms-content-zoom-chaining -ms-content-zoom-limit-max -ms-content-zoom-limit-min -ms-content-zoom-limit -ms-content-zoom-snap -ms-content-zoom-snap-points -ms-content-zoom-snap-type -ms-content-zooming counter-increment counter-reset counter-set cue cue-after cue-before cursor -webkit-cursor-visibility cx cy d -apple-dashboard-region -webkit-dashboard-region direction display display-align dominant-baseline elevation empty-cells enable-background fill fill-opacity fill-rule filter -ms-filter -webkit-filter flex -ms-flex-align -webkit-flex-align flex-basis -webkit-flex-basis flex-direction -ms-flex-direction -webkit-flex-direction flex-flow -ms-flex-flow -webkit-flex-flow flex-grow -webkit-flex-grow -ms-flex-item-align -webkit-flex-item-align -ms-flex-line-pack -webkit-flex-line-pack -ms-flex -ms-flex-negative -ms-flex-order -webkit-flex-order -ms-flex-pack -webkit-flex-pack -ms-flex-positive -ms-flex-preferred-size flex-shrink -webkit-flex-shrink -webkit-flex flex-wrap -ms-flex-wrap -webkit-flex-wrap float float-defer -moz-float-edge float-offset float-reference flood-color flood-opacity flow-from -ms-flow-from -webkit-flow-from flow-into -ms-flow-into -webkit-flow-into font font-display font-family font-feature-settings -moz-font-feature-settings -ms-font-feature-settings -webkit-font-feature-settings font-kerning -webkit-font-kerning font-language-override -moz-font-language-override font-size font-size-adjust -webkit-font-size-delta -webkit-font-smoothing font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures -webkit-font-variant-ligatures font-variant-numeric font-variant-position font-variation-settings font-weight footnote-display footnote-policy -moz-force-broken-image-icon glyph-orientation-horizontal glyph-orientation-vertical grid -webkit-grid-after grid-area grid-auto-columns -webkit-grid-auto-columns grid-auto-flow -webkit-grid-auto-flow grid-auto-rows -webkit-grid-auto-rows -webkit-grid-before grid-column -ms-grid-column-align grid-column-end grid-column-gap -ms-grid-column -ms-grid-column-span grid-column-start -webkit-grid-column -ms-grid-columns -webkit-grid-columns -webkit-grid-end grid-gap grid-row -ms-grid-row-align grid-row-end grid-row-gap -ms-grid-row -ms-grid-row-span grid-row-start -webkit-grid-row -ms-grid-rows -webkit-grid-rows -webkit-grid-start grid-template grid-template-areas grid-template-columns grid-template-rows hanging-punctuation height -ms-high-contrast-adjust -webkit-highlight hyphenate-character -webkit-hyphenate-character -webkit-hyphenate-limit-after -webkit-hyphenate-limit-before hyphenate-limit-chars -ms-hyphenate-limit-chars hyphenate-limit-last hyphenate-limit-lines -ms-hyphenate-limit-lines -webkit-hyphenate-limit-lines hyphenate-limit-zone -ms-hyphenate-limit-zone hyphens -moz-hyphens -ms-hyphens -webkit-hyphens image-orientation -moz-image-region image-rendering image-resolution -ms-ime-align ime-mode initial-letter initial-letter-align -webkit-initial-letter initial-letter-wrap inline-size input-format -wap-input-format -wap-input-required -ms-interpolation-mode isolation justify-content -webkit-justify-content justify-items justify-self -webkit-justify-self kerning layout-flow layout-grid layout-grid-char layout-grid-line layout-grid-mode layout-grid-type left letter-spacing lighting-color -webkit-line-align -webkit-line-box-contain line-break -webkit-line-break -webkit-line-clamp line-grid -webkit-line-grid-snap -webkit-line-grid line-height line-height-step line-increment line-snap -webkit-line-snap -o-link -o-link-source list-style list-style-image list-style-position list-style-type -webkit-locale -webkit-logical-height -webkit-logical-width margin -webkit-margin-after-collapse -webkit-margin-after -webkit-margin-before-collapse -webkit-margin-before margin-block-end margin-block-start margin-bottom -webkit-margin-bottom-collapse -webkit-margin-collapse -moz-margin-end -webkit-margin-end margin-inline-end margin-inline-start margin-left margin-right -moz-margin-start -webkit-margin-start margin-top -webkit-margin-top-collapse marker marker-end marker-knockout-left marker-knockout-right marker-mid marker-offset marker-pattern marker-segment marker-side marker-start marks -wap-marquee-dir marquee-direction -webkit-marquee-direction -webkit-marquee-increment marquee-loop -wap-marquee-loop -webkit-marquee-repetition marquee-speed -wap-marquee-speed -webkit-marquee-speed marquee-style -wap-marquee-style -webkit-marquee-style -webkit-marquee mask -webkit-mask-attachment mask-border mask-border-mode mask-border-outset mask-border-repeat mask-border-slice mask-border-source mask-border-width -webkit-mask-box-image-outset -webkit-mask-box-image-repeat -webkit-mask-box-image-slice -webkit-mask-box-image-source -webkit-mask-box-image -webkit-mask-box-image-width mask-clip -webkit-mask-clip mask-composite -webkit-mask-composite mask-image -webkit-mask-image mask-mode mask-origin -webkit-mask-origin mask-position -webkit-mask-position mask-position-x -webkit-mask-position-x mask-position-y -webkit-mask-position-y mask-repeat -webkit-mask-repeat -webkit-mask-repeat-x -webkit-mask-repeat-y mask-size -webkit-mask-size mask-source-type -webkit-mask-source-type mask-type -webkit-mask -webkit-match-nearest-mail-blockquote-color max-block-size max-height max-inline-size max-lines -webkit-max-logical-height -webkit-max-logical-width max-width max-zoom min-block-size min-height min-inline-size -webkit-min-logical-height -webkit-min-logical-width min-width min-zoom mix-blend-mode motion motion-offset motion-path motion-rotation nav-down nav-index nav-left nav-right nav-up -webkit-nbsp-mode object-fit -o-object-fit object-position -o-object-position offset offset-after offset-anchor offset-before offset-block-end offset-block-start offset-distance offset-end offset-inline-end offset-inline-start offset-path offset-position offset-rotate offset-rotation offset-start opacity -moz-opacity order -webkit-order -moz-orient orientation orphans -moz-osx-font-smoothing outline outline-color -moz-outline-color -moz-outline outline-offset -moz-outline-offset -moz-outline-radius-bottomleft -moz-outline-radius-bottomright -moz-outline-radius -moz-outline-radius-topleft -moz-outline-radius-topright outline-style -moz-outline-style outline-width -moz-outline-width overflow overflow-anchor -webkit-overflow-scrolling overflow-style -ms-overflow-style overflow-wrap overflow-x overflow-y padding -webkit-padding-after -webkit-padding-before padding-block-end padding-block-start padding-bottom -moz-padding-end -webkit-padding-end padding-inline-end padding-inline-start padding-left padding-right -moz-padding-start -webkit-padding-start padding-top page page-break-after page-break-before page-break-inside paint-order pause pause-after pause-before perspective -moz-perspective -ms-perspective perspective-origin -moz-perspective-origin -ms-perspective-origin -webkit-perspective-origin perspective-origin-x -webkit-perspective-origin-x perspective-origin-y -webkit-perspective-origin-y -webkit-perspective pitch pitch-range place-content place-items place-self play-during pointer-events polar-anchor polar-angle polar-distance polar-origin position -webkit-print-color-adjust quotes r -webkit-region-break-after -webkit-region-break-before -webkit-region-break-inside region-fragment -webkit-region-fragment -webkit-region-overflow resize rest rest-after rest-before richness right rotate rotation rotation-point -webkit-rtl-ordering ruby-align ruby-merge ruby-overhang ruby-position -webkit-ruby-position running rx ry scale scroll-behavior -ms-scroll-chaining -ms-scroll-limit -ms-scroll-limit-x-max -ms-scroll-limit-x-min -ms-scroll-limit-y-max -ms-scroll-limit-y-min -ms-scroll-rails scroll-snap-align scroll-snap-coordinate -webkit-scroll-snap-coordinate scroll-snap-destination -webkit-scroll-snap-destination scroll-snap-margin scroll-snap-padding scroll-snap-points-x -ms-scroll-snap-points-x -webkit-scroll-snap-points-x scroll-snap-points-y -ms-scroll-snap-points-y -webkit-scroll-snap-points-y scroll-snap-type -ms-scroll-snap-type -webkit-scroll-snap-type scroll-snap-type-x scroll-snap-type-y -ms-scroll-snap-x -ms-scroll-snap-y -ms-scroll-translation scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-darkshadow-color scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-track-color scrollbar3d-light-color scrollbar3dlight-color shape-image-threshold -webkit-shape-image-threshold shape-inside -webkit-shape-inside shape-margin -webkit-shape-margin shape-outside -webkit-shape-outside -webkit-shape-padding shape-rendering size snap-height solid-color solid-opacity speak speak-as speak-header speak-numeral speak-punctuation speech-rate src -moz-stack-sizing stop-color stop-opacity stress string-set stroke stroke-alignment stroke-dashadjust stroke-dasharray stroke-dashcorner stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width -webkit-svg-shadow tab-size -moz-tab-size -o-tab-size -o-table-baseline table-layout -webkit-tap-highlight-color text-align text-align-last -moz-text-align-last text-anchor text-autospace -moz-text-blink -ms-text-combine-horizontal text-combine-upright -webkit-text-combine text-decoration text-decoration-blink text-decoration-color -moz-text-decoration-color -webkit-text-decoration-color text-decoration-line -moz-text-decoration-line text-decoration-line-through -webkit-text-decoration-line text-decoration-none text-decoration-overline text-decoration-skip -webkit-text-decoration-skip text-decoration-style -moz-text-decoration-style -webkit-text-decoration-style text-decoration-underline -webkit-text-decoration -webkit-text-decorations-in-effect text-emphasis text-emphasis-color -webkit-text-emphasis-color text-emphasis-position -webkit-text-emphasis-position text-emphasis-style -webkit-text-emphasis-style -webkit-text-emphasis -webkit-text-fill-color text-indent text-justify text-justify-trim text-kashida text-kashida-space text-line-through text-line-through-color text-line-through-mode text-line-through-style text-line-through-width text-orientation -webkit-text-orientation text-overflow text-overline text-overline-color text-overline-mode text-overline-style text-overline-width text-rendering -webkit-text-security text-shadow text-size-adjust -moz-text-size-adjust -ms-text-size-adjust -webkit-text-size-adjust text-space-collapse text-space-trim text-spacing -webkit-text-stroke-color -webkit-text-stroke -webkit-text-stroke-width text-transform text-underline text-underline-color text-underline-mode text-underline-position -webkit-text-underline-position text-underline-style text-underline-width text-wrap -webkit-text-zoom top touch-action touch-action-delay -ms-touch-action -webkit-touch-callout -ms-touch-select transform transform-box -moz-transform -ms-transform -o-transform transform-origin -moz-transform-origin -ms-transform-origin -o-transform-origin -webkit-transform-origin transform-origin-x -webkit-transform-origin-x transform-origin-y -webkit-transform-origin-y transform-origin-z -webkit-transform-origin-z transform-style -moz-transform-style -ms-transform-style -webkit-transform-style -webkit-transform transition transition-delay -moz-transition-delay -ms-transition-delay -o-transition-delay -webkit-transition-delay transition-duration -moz-transition-duration -ms-transition-duration -o-transition-duration -webkit-transition-duration -moz-transition -ms-transition -o-transition transition-property -moz-transition-property -ms-transition-property -o-transition-property -webkit-transition-property transition-timing-function -moz-transition-timing-function -ms-transition-timing-function -o-transition-timing-function -webkit-transition-timing-function -webkit-transition translate uc-alt-skin uc-skin unicode-bidi unicode-range -webkit-user-drag -moz-user-focus -moz-user-input -moz-user-modify -webkit-user-modify user-select -moz-user-select -ms-user-select -webkit-user-select user-zoom vector-effect vertical-align viewport-fill viewport-fill-opacity visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume white-space -webkit-widget-region widows width will-change -moz-window-dragging -moz-window-shadow word-break word-spacing word-wrap wrap-after wrap-before wrap-flow -ms-wrap-flow -webkit-wrap-flow wrap-inside -ms-wrap-margin -webkit-wrap-margin -webkit-wrap-padding -webkit-wrap-shape-inside -webkit-wrap-shape-outside wrap-through -ms-wrap-through -webkit-wrap-through -webkit-wrap writing-mode -webkit-writing-mode x y z-index zoom".split(" ")}},
|
|
{}],163:[function(a,l,g){l.exports.all=a("./data/all").properties},{"./data/all":162}],164:[function(a,l,g){(function(a){(function(){function h(a,b){a.set(b[0],b[1]);return a}function f(a,b){a.add(b);return a}function d(a,b,c){switch(c.length){case 0:return a.call(b);case 1:return a.call(b,c[0]);case 2:return a.call(b,c[0],c[1]);case 3:return a.call(b,c[0],c[1],c[2])}return a.apply(b,c)}function c(a,b,c,e){for(var d=-1,f=null==a?0:a.length;++d<f;){var n=a[d];b(e,n,c(n),a)}return e}function b(a,b){for(var c=
|
|
-1,e=null==a?0:a.length;++c<e&&!1!==b(a[c],c,a););return a}function p(a,b){for(var c=null==a?0:a.length;c--&&!1!==b(a[c],c,a););return a}function k(a,b){for(var c=-1,e=null==a?0:a.length;++c<e;)if(!b(a[c],c,a))return!1;return!0}function q(a,b){for(var c=-1,e=null==a?0:a.length,d=0,f=[];++c<e;){var n=a[c];b(n,c,a)&&(f[d++]=n)}return f}function e(a,b){return!(null==a||!a.length)&&-1<C(a,b,0)}function n(a,b,c){for(var e=-1,d=null==a?0:a.length;++e<d;)if(c(b,a[e]))return!0;return!1}function r(a,b){for(var c=
|
|
-1,e=null==a?0:a.length,d=Array(e);++c<e;)d[c]=b(a[c],c,a);return d}function t(a,b){for(var c=-1,e=b.length,d=a.length;++c<e;)a[d+c]=b[c];return a}function u(a,b,c,e){var d=-1,f=null==a?0:a.length;for(e&&f&&(c=a[++d]);++d<f;)c=b(c,a[d],d,a);return c}function w(a,b,c,e){var d=null==a?0:a.length;for(e&&d&&(c=a[--d]);d--;)c=b(c,a[d],d,a);return c}function x(a,b){for(var c=-1,e=null==a?0:a.length;++c<e;)if(b(a[c],c,a))return!0;return!1}function A(a,b,c){var e;c(a,function(a,c,d){if(b(a,c,d))return e=
|
|
c,!1});return e}function L(a,b,c,e){var d=a.length;for(c+=e?1:-1;e?c--:++c<d;)if(b(a[c],c,a))return c;return-1}function C(a,b,c){if(b===b)a:{--c;for(var e=a.length;++c<e;)if(a[c]===b){a=c;break a}a=-1}else a=L(a,K,c);return a}function F(a,b,c,e){--c;for(var d=a.length;++c<d;)if(e(a[c],b))return c;return-1}function K(a){return a!==a}function M(a,b){var c=null==a?0:a.length;return c?P(a,b)/c:T}function B(a){return function(b){return null==b?v:b[a]}}function I(a){return function(b){return null==a?v:
|
|
a[b]}}function D(a,b,c,e,d){d(a,function(a,d,f){c=e?(e=!1,a):b(c,a,d,f)});return c}function E(a,b){var c=a.length;for(a.sort(b);c--;)a[c]=a[c].value;return a}function P(a,b){for(var c,e=-1,d=a.length;++e<d;){var f=b(a[e]);f!==v&&(c=c===v?f:c+f)}return c}function y(a,b){for(var c=-1,e=Array(a);++c<a;)e[c]=b(c);return e}function z(a,b){return r(b,function(b){return[b,a[b]]})}function H(a){return function(b){return a(b)}}function Q(a,b){return r(b,function(b){return a[b]})}function J(a,b){return a.has(b)}
|
|
function N(a,b){for(var c=-1,e=a.length;++c<e&&-1<C(b,a[c],0););return c}function R(a,b){for(var c=a.length;c--&&-1<C(b,a[c],0););return c}function G(a){return"\\"+Nb[a]}function O(a){var b=-1,c=Array(a.size);a.forEach(function(a,e){c[++b]=[e,a]});return c}function S(a,b){return function(c){return a(b(c))}}function ca(a,b){for(var c=-1,e=a.length,d=0,f=[];++c<e;){var n=a[c];if(n===b||"__lodash_placeholder__"===n)a[c]="__lodash_placeholder__",f[d++]=c}return f}function ha(a){var b=-1,c=Array(a.size);
|
|
a.forEach(function(a){c[++b]=a});return c}function ra(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=[a,a]});return c}function ea(a){if(hb.test(a)){for(var b=ib.lastIndex=0;ib.test(a);)++b;a=b}else a=Ob(a);return a}function ta(a){return hb.test(a)?a.match(ib)||[]:a.split("")}var v,U=1/0,T=0/0,Sa=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],X=/\b__p \+= '';/g,Y=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,
|
|
gb=/&(?:amp|lt|gt|quot|#39);/g,Ya=/[&<>"']/g,cd=RegExp(gb.source),dd=RegExp(Ya.source),ed=/<%-([\s\S]+?)%>/g,fd=/<%([\s\S]+?)%>/g,ic=/<%=([\s\S]+?)%>/g,gd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hd=/^\w*$/,kd=/^\./,ld=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pb=/[\\^$.*+?()[\]{}|]/g,md=RegExp(Pb.source),jc=/^\s+|\s+$/g,kc=/^\s+/,nd=/\s+$/,od=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,pd=/\{\n\/\* \[wrapped with (.+)\] \*/,qd=/,? & /,
|
|
rd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,sd=/\\(\\)?/g,td=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,lc=/\w*$/,ud=/^[-+]0x[0-9a-f]+$/i,vd=/^0b[01]+$/i,wd=/^\[object .+?Constructor\]$/,xd=/^0o[0-7]+$/i,yd=/^(?:0|[1-9]\d*)$/,zd=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zb=/($^)/,Ad=/['\n\r\u2028\u2029\\]/g,qb="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",
|
|
Qb="(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])"+qb,Bd=RegExp("['\u2019]","g"),Cd=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),ib=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])"+qb,"g"),Dd=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)|\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)|\\d+",
|
|
Qb].join("|"),"g"),hb=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Ed=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fd="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Gd=-1,ja={};ja["[object Float32Array]"]=
|
|
ja["[object Float64Array]"]=ja["[object Int8Array]"]=ja["[object Int16Array]"]=ja["[object Int32Array]"]=ja["[object Uint8Array]"]=ja["[object Uint8ClampedArray]"]=ja["[object Uint16Array]"]=ja["[object Uint32Array]"]=!0;ja["[object Arguments]"]=ja["[object Array]"]=ja["[object ArrayBuffer]"]=ja["[object Boolean]"]=ja["[object DataView]"]=ja["[object Date]"]=ja["[object Error]"]=ja["[object Function]"]=ja["[object Map]"]=ja["[object Number]"]=ja["[object Object]"]=ja["[object RegExp]"]=ja["[object Set]"]=
|
|
ja["[object String]"]=ja["[object WeakMap]"]=!1;var ia={};ia["[object Arguments]"]=ia["[object Array]"]=ia["[object ArrayBuffer]"]=ia["[object DataView]"]=ia["[object Boolean]"]=ia["[object Date]"]=ia["[object Float32Array]"]=ia["[object Float64Array]"]=ia["[object Int8Array]"]=ia["[object Int16Array]"]=ia["[object Int32Array]"]=ia["[object Map]"]=ia["[object Number]"]=ia["[object Object]"]=ia["[object RegExp]"]=ia["[object Set]"]=ia["[object String]"]=ia["[object Symbol]"]=ia["[object Uint8Array]"]=
|
|
ia["[object Uint8ClampedArray]"]=ia["[object Uint16Array]"]=ia["[object Uint32Array]"]=!0;ia["[object Error]"]=ia["[object Function]"]=ia["[object WeakMap]"]=!1;var Nb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Hd=parseFloat,Id=parseInt,Ab="object"==typeof a&&a&&a.Object===Object&&a,Rb="object"==typeof self&&self&&self.Object===Object&&self,sa=Ab||Rb||Function("return this")(),rb="object"==typeof g&&g&&!g.nodeType&&g,Za=rb&&"object"==typeof l&&l&&!l.nodeType&&l,mc=Za&&
|
|
Za.exports===rb,sb=mc&&Ab.process;a:{try{var na=sb&&sb.binding&&sb.binding("util");break a}catch(De){}na=void 0}var nc=na&&na.isArrayBuffer,oc=na&&na.isDate,pc=na&&na.isMap,qc=na&&na.isRegExp,rc=na&&na.isSet,sc=na&&na.isTypedArray,Ob=B("length"),Jd=I({"\u00c0":"A","\u00c1":"A","\u00c2":"A","\u00c3":"A","\u00c4":"A","\u00c5":"A","\u00e0":"a","\u00e1":"a","\u00e2":"a","\u00e3":"a","\u00e4":"a","\u00e5":"a","\u00c7":"C","\u00e7":"c","\u00d0":"D","\u00f0":"d","\u00c8":"E","\u00c9":"E","\u00ca":"E","\u00cb":"E",
|
|
"\u00e8":"e","\u00e9":"e","\u00ea":"e","\u00eb":"e","\u00cc":"I","\u00cd":"I","\u00ce":"I","\u00cf":"I","\u00ec":"i","\u00ed":"i","\u00ee":"i","\u00ef":"i","\u00d1":"N","\u00f1":"n","\u00d2":"O","\u00d3":"O","\u00d4":"O","\u00d5":"O","\u00d6":"O","\u00d8":"O","\u00f2":"o","\u00f3":"o","\u00f4":"o","\u00f5":"o","\u00f6":"o","\u00f8":"o","\u00d9":"U","\u00da":"U","\u00db":"U","\u00dc":"U","\u00f9":"u","\u00fa":"u","\u00fb":"u","\u00fc":"u","\u00dd":"Y","\u00fd":"y","\u00ff":"y","\u00c6":"Ae","\u00e6":"ae",
|
|
"\u00de":"Th","\u00fe":"th","\u00df":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g",
|
|
"\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O",
|
|
"\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y",
|
|
"\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Kd=I({"&":"&","<":"<",">":">",'"':""","'":"'"}),Ld=I({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Xa=function id(a){function m(a){if(oa(a)&&!Z(a)&&!(a instanceof I)){if(a instanceof l)return a;if(ka.call(a,"__wrapped__"))return Ee(a)}return new l(a)}function g(){}function l(a,
|
|
b){this.__wrapped__=a;this.__actions__=[];this.__chain__=!!b;this.__index__=0;this.__values__=v}function I(a){this.__wrapped__=a;this.__actions__=[];this.__dir__=1;this.__filtered__=!1;this.__iteratees__=[];this.__takeCount__=4294967295;this.__views__=[]}function na(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var e=a[b];this.set(e[0],e[1])}}function Pa(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var e=a[b];this.set(e[0],e[1])}}function Qa(a){var b=-1,c=null==a?0:a.length;
|
|
for(this.clear();++b<c;){var e=a[b];this.set(e[0],e[1])}}function $a(a){var b=-1,c=null==a?0:a.length;for(this.__data__=new Qa;++b<c;)this.add(a[b])}function Fa(a){this.size=(this.__data__=new Pa(a)).size}function Za(a,b){var c=Z(a),e=!c&&tb(a),d=!c&&!e&&jb(a),f=!c&&!e&&!d&&Bb(a);e=(c=c||e||d||f)?y(a.length,pg):[];var n=e.length,h;for(h in a)!b&&!ka.call(a,h)||c&&("length"==h||d&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||ab(h,n))||e.push(h);return e}function ib(a){var b=
|
|
a.length;return b?a[Md(0,b-1)]:v}function rb(a,b){return tc(Ba(a),bb(b,0,a.length))}function sb(a){return tc(Ba(a))}function qb(a,b,c){(c===v||Ta(a[b],c))&&(c!==v||b in a)||Ra(a,b,c)}function ub(a,b,c){var e=a[b];ka.call(a,b)&&Ta(e,c)&&(c!==v||b in a)||Ra(a,b,c)}function Cb(a,b){for(var c=a.length;c--;)if(Ta(a[c][0],b))return c;return-1}function Ab(a,b,c,e){kb(a,function(a,d,f){b(e,a,c(a),f)});return e}function uc(a,b){return a&&Ua(b,xa(b),a)}function Nb(a,b){return a&&Ua(b,Ga(b),a)}function Ra(a,
|
|
b,c){"__proto__"==b&&vc?vc(a,b,{configurable:!0,enumerable:!0,value:c,writable:!0}):a[b]=c}function Tb(a,b){for(var c=-1,e=b.length,d=ua(e),f=null==a;++c<e;)d[c]=f?v:Nd(a,b[c]);return d}function bb(a,b,c){a===a&&(c!==v&&(a=a<=c?a:c),b!==v&&(a=a>=b?a:b));return a}function Ha(a,c,e,d,f,n){var h,m=c&1,p=c&2,q=c&4;e&&(h=f?e(a,d,f,n):e(a));if(h!==v)return h;if(!la(a))return a;if(d=Z(a)){if(h=wg(a),!m)return Ba(a,h)}else{var r=za(a),k="[object Function]"==r||"[object GeneratorFunction]"==r;if(jb(a))return Fe(a,
|
|
m);if("[object Object]"==r||"[object Arguments]"==r||k&&!f){if(h=p||k?{}:Ge(a),!m)return p?xg(a,Nb(h,a)):yg(a,uc(h,a))}else{if(!ia[r])return f?a:{};h=zg(a,r,Ha,m)}}n||(n=new Fa);if(f=n.get(a))return f;n.set(a,h);p=q?p?Od:Pd:p?Ga:xa;var da=d?v:p(a);b(da||a,function(b,d){da&&(d=b,b=a[d]);ub(h,d,Ha(b,c,e,d,a,n))});return h}function Ob(a){var b=xa(a);return function(c){return wc(c,a,b)}}function wc(a,b,c){var e=c.length;if(null==a)return!e;for(a=ma(a);e--;){var d=c[e],f=b[d],n=a[d];if(n===v&&!(d in a)||
|
|
!f(n))return!1}return!0}function xc(a,b,c){if("function"!=typeof a)throw new La("Expected a function");return Ub(function(){a.apply(v,c)},b)}function vb(a,b,c,d){var f=-1,h=e,m=!0,p=a.length,q=[],k=b.length;if(!p)return q;c&&(b=r(b,H(c)));d?(h=n,m=!1):200<=b.length&&(h=J,m=!1,b=new $a(b));a:for(;++f<p;){var da=a[f],g=null==c?da:c(da);da=d||0!==da?da:0;if(m&&g===g){for(var t=k;t--;)if(b[t]===g)continue a;q.push(da)}else h(b,g,d)||q.push(da)}return q}function Qb(a,b){var c=!0;kb(a,function(a,e,d){return c=
|
|
!!b(a,e,d)});return c}function Db(a,b,c){for(var e,d,f=-1,n=a.length;++f<n;){var h=a[f],m=b(h);null!=m&&(d===v?m===m&&!Ia(m):c(m,d))&&(d=m,e=h)}return e}function yc(a,b){var c=[];kb(a,function(a,e,d){b(a,e,d)&&c.push(a)});return c}function va(a,b,c,e,d){var f=-1,n=a.length;c||(c=Cg);for(d||(d=[]);++f<n;){var h=a[f];0<b&&c(h)?1<b?va(h,b-1,c,e,d):t(d,h):e||(d[d.length]=h)}return d}function Ma(a,b){return a&&Qd(a,b,xa)}function Vb(a,b){return a&&He(a,b,xa)}function Eb(a,b){return q(b,function(b){return cb(a[b])})}
|
|
function Va(a,b){b=lb(b,a);for(var c=0,e=b.length;null!=a&&c<e;)a=a[Wa(b[c++])];return c&&c==e?a:v}function zc(a,b,c){b=b(a);return Z(a)?b:t(b,c(a))}function ya(a){if(null==a)return a===v?"[object Undefined]":"[object Null]";if(wb&&wb in ma(a)){var b=ka.call(a,wb),c=a[wb];try{a[wb]=v;var e=!0}catch(Oi){}var d=Ie.call(a);e&&(b?a[wb]=c:delete a[wb]);a=d}else a=Ie.call(a);return a}function Wb(a,b){return a>b}function Rb(a,b){return null!=a&&ka.call(a,b)}function jd(a,b){return null!=a&&b in ma(a)}function Rd(a,
|
|
b,c){for(var d,f=c?n:e,h=a[0].length,m=a.length,p=m,q=ua(m),k=Infinity,da=[];p--;)d=a[p],p&&b&&(d=r(d,H(b))),k=Aa(d.length,k),q[p]=!c&&(b||120<=h&&120<=d.length)?new $a(p&&d):v;d=a[0];var g=-1,t=q[0];a:for(;++g<h&&da.length<k;){var l=d[g],u=b?b(l):l;l=c||0!==l?l:0;if(t?!t.has(u):!f(da,u,c)){for(p=m;--p;){var pa=q[p];if(pa?!pa.has(u):!f(a[p],u,c))continue a}t&&t.push(u);da.push(l)}}return da}function Eg(a,b,c,e){Ma(a,function(a,d,f){b(e,c(a),d,f)});return e}function Xb(a,b,c){b=lb(b,a);a=2>b.length?
|
|
a:Va(a,Ja(b,0,-1));b=null==a?a:a[Wa(Na(b))];return null==b?v:d(b,a,c)}function Je(a){return oa(a)&&"[object Arguments]"==ya(a)}function Fg(a){return oa(a)&&"[object ArrayBuffer]"==ya(a)}function Gg(a){return oa(a)&&"[object Date]"==ya(a)}function mb(a,b,c,e,d){if(a===b)return!0;if(null==a||null==b||!oa(a)&&!oa(b))return a!==a&&b!==b;a:{var f=Z(a),n=Z(b),h=f?"[object Array]":za(a),m=n?"[object Array]":za(b);h="[object Arguments]"==h?"[object Object]":h;m="[object Arguments]"==m?"[object Object]":m;
|
|
var p="[object Object]"==h;n="[object Object]"==m;if((m=h==m)&&jb(a)){if(!jb(b)){b=!1;break a}f=!0;p=!1}if(m&&!p)d||(d=new Fa),b=f||Bb(a)?Ke(a,b,c,e,mb,d):Hg(a,b,h,c,e,mb,d);else{if(!(c&1)&&(f=p&&ka.call(a,"__wrapped__"),h=n&&ka.call(b,"__wrapped__"),f||h)){a=f?a.value():a;b=h?b.value():b;d||(d=new Fa);b=mb(a,b,c,e,d);break a}if(m){d||(d=new Fa);b:{var q;f=c&1;h=Pd(a);n=h.length;m=Pd(b).length;if(n==m||f){for(p=n;p--;){var r=h[p];if(!(f?r in b:ka.call(b,r))){b=!1;break b}}if((m=d.get(a))&&d.get(b))b=
|
|
m==b;else{m=!0;d.set(a,b);d.set(b,a);for(var k=f;++p<n;){r=h[p];var g=a[r],da=b[r];e&&(q=f?e(da,g,r,b,a,d):e(g,da,r,a,b,d));if(q===v?g!==da&&!mb(g,da,c,e,d):!q){m=!1;break}k||(k="constructor"==r)}m&&!k&&(c=a.constructor,e=b.constructor,c!=e&&"constructor"in a&&"constructor"in b&&!("function"==typeof c&&c instanceof c&&"function"==typeof e&&e instanceof e)&&(m=!1));d["delete"](a);d["delete"](b);b=m}}else b=!1}}else b=!1}}return b}function Ig(a){return oa(a)&&"[object Map]"==za(a)}function Sd(a,b,c,
|
|
e){var d,f=c.length,n=f,h=!e;if(null==a)return!n;for(a=ma(a);f--;){var m=c[f];if(h&&m[2]?m[1]!==a[m[0]]:!(m[0]in a))return!1}for(;++f<n;){m=c[f];var p=m[0],q=a[p],r=m[1];if(h&&m[2]){if(q===v&&!(p in a))return!1}else if(m=new Fa,e&&(d=e(q,r,p,a,b,m)),d===v?!mb(r,q,3,e,m):!d)return!1}return!0}function Le(a){return!la(a)||Me&&Me in a?!1:(cb(a)?Jg:wd).test(xb(a))}function Kg(a){return oa(a)&&"[object RegExp]"==ya(a)}function Lg(a){return oa(a)&&"[object Set]"==za(a)}function Mg(a){return oa(a)&&Ac(a.length)&&
|
|
!!ja[ya(a)]}function Ne(a){return"function"==typeof a?a:null==a?Ca:"object"==typeof a?Z(a)?Oe(a[0],a[1]):Pe(a):Qe(a)}function Td(a){if(!Yb(a))return Ng(a);var b=[],c;for(c in ma(a))ka.call(a,c)&&"constructor"!=c&&b.push(c);return b}function Ud(a,b){return a<b}function Re(a,b){var c=-1,e=Da(a)?ua(a.length):[];kb(a,function(a,d,f){e[++c]=b(a,d,f)});return e}function Pe(a){var b=Vd(a);return 1==b.length&&b[0][2]?Se(b[0][0],b[0][1]):function(c){return c===a||Sd(c,a,b)}}function Oe(a,b){return Wd(a)&&
|
|
b===b&&!la(b)?Se(Wa(a),b):function(c){var e=Nd(c,a);return e===v&&e===b?Xd(c,a):mb(b,e,3)}}function Bc(a,b,c,e,d){a!==b&&Qd(b,function(f,n){if(la(f)){d||(d=new Fa);var h=d,m=a[n],p=b[n],q=h.get(p);if(!q){q=e?e(m,p,n+"",a,b,h):v;var r=q===v;if(r){var k=Z(p),g=!k&&jb(p),da=!k&&!g&&Bb(p);q=p;if(k||g||da)Z(m)?q=m:qa(m)?q=Ba(m):g?(r=!1,q=Fe(p,!0)):da?(r=!1,q=Te(p,!0)):q=[];else if(Zb(p)||tb(p))if(q=m,tb(m))q=Ue(m);else{if(!la(m)||c&&cb(m))q=Ge(p)}else r=!1}r&&(h.set(p,q),Bc(q,p,c,e,h),h["delete"](p))}qb(a,
|
|
n,q)}else h=e?e(a[n],f,n+"",a,b,d):v,h===v&&(h=f),qb(a,n,h)},Ga)}function Ve(a,b){var c=a.length;if(c)return b+=0>b?c:0,ab(b,c)?a[b]:v}function We(a,b,c){var e=-1;b=r(b.length?b:[Ca],H(W()));a=Re(a,function(a,c,d){return{criteria:r(b,function(b){return b(a)}),index:++e,value:a}});return E(a,function(a,b){a:{var e=-1;for(var d=a.criteria,f=b.criteria,n=d.length,h=c.length;++e<n;){var m=Xe(d[e],f[e]);if(m){if(e>=h){e=m;break a}e=m*("desc"==c[e]?-1:1);break a}}e=a.index-b.index}return e})}function Og(a,
|
|
b){return Ye(a,b,function(b,c){return Xd(a,c)})}function Ye(a,b,c){for(var e=-1,d=b.length,f={};++e<d;){var n=b[e],h=Va(a,n);c(h,n)&&Fb(f,lb(n,a),h)}return f}function Pg(a){return function(b){return Va(b,a)}}function Yd(a,b,c,e){var d=e?F:C,f=-1,n=b.length,h=a;a===b&&(b=Ba(b));for(c&&(h=r(a,H(c)));++f<n;){var m=0,p=b[f];for(p=c?c(p):p;-1<(m=d(h,p,m,e));)h!==a&&Cc.call(h,m,1),Cc.call(a,m,1)}return a}function Ze(a,b){for(var c,e=a?b.length:0,d=e-1;e--;){var f=b[e];if(e==d||f!==c)c=f,ab(f)?Cc.call(a,
|
|
f,1):Zd(a,f)}return a}function Md(a,b){return a+Dc($e()*(b-a+1))}function $d(a,b){var c="";if(!a||1>b||9007199254740991<b)return c;do b%2&&(c+=a),(b=Dc(b/2))&&(a+=a);while(b);return c}function ba(a,b){return ae(af(a,b,Ca),a+"")}function Qg(a){return ib(Gb(a))}function Rg(a,b){var c=Gb(a);return tc(c,bb(b,0,c.length))}function Fb(a,b,c,e){if(!la(a))return a;b=lb(b,a);for(var d=-1,f=b.length,n=f-1,h=a;null!=h&&++d<f;){var m=Wa(b[d]),p=c;if(d!=n){var q=h[m];p=e?e(q,m,h):v;p===v&&(p=la(q)?q:ab(b[d+1])?
|
|
[]:{})}ub(h,m,p);h=h[m]}return a}function Sg(a){return tc(Gb(a))}function Ja(a,b,c){var e=-1,d=a.length;0>b&&(b=-b>d?0:d+b);c=c>d?d:c;0>c&&(c+=d);d=b>c?0:c-b>>>0;b>>>=0;for(c=ua(d);++e<d;)c[e]=a[e+b];return c}function Tg(a,b){var c;kb(a,function(a,e,d){c=b(a,e,d);return!c});return!!c}function Ec(a,b,c){var e=0,d=null==a?e:a.length;if("number"==typeof b&&b===b&&2147483647>=d){for(;e<d;){var f=e+d>>>1,n=a[f];null!==n&&!Ia(n)&&(c?n<=b:n<b)?e=f+1:d=f}return d}return be(a,b,Ca,c)}function be(a,b,c,e){b=
|
|
c(b);for(var d=0,f=null==a?0:a.length,n=b!==b,h=null===b,m=Ia(b),p=b===v;d<f;){var q=Dc((d+f)/2);var r=c(a[q]);var k=r!==v,g=null===r,t=r===r,da=Ia(r);(r=n?e||t:p?t&&(e||k):h?t&&k&&(e||!g):m?t&&k&&!g&&(e||!da):g||da?!1:e?r<=b:r<b)?d=q+1:f=q}return Aa(f,4294967294)}function bf(a,b){for(var c,e=-1,d=a.length,f=0,n=[];++e<d;){var h=a[e],m=b?b(h):h;e&&Ta(m,c)||(c=m,n[f++]=0===h?0:h)}return n}function cf(a){return"number"==typeof a?a:Ia(a)?T:+a}function Ka(a){if("string"==typeof a)return a;if(Z(a))return r(a,
|
|
Ka)+"";if(Ia(a))return df?df.call(a):"";var b=a+"";return"0"==b&&1/a==-U?"-0":b}function nb(a,b,c){var d=-1,f=e,h=a.length,m=!0,p=[],q=p;if(c)m=!1,f=n;else if(200<=h){if(f=b?null:Ug(a))return ha(f);m=!1;f=J;q=new $a}else q=b?[]:p;a:for(;++d<h;){var r=a[d],k=b?b(r):r;r=c||0!==r?r:0;if(m&&k===k){for(var g=q.length;g--;)if(q[g]===k)continue a;b&&q.push(k);p.push(r)}else f(q,k,c)||(q!==p&&q.push(k),p.push(r))}return p}function Zd(a,b){b=lb(b,a);a=2>b.length?a:Va(a,Ja(b,0,-1));return null==a||delete a[Wa(Na(b))]}
|
|
function Fc(a,b,c,e){for(var d=a.length,f=e?d:-1;(e?f--:++f<d)&&b(a[f],f,a););return c?Ja(a,e?0:f,e?f+1:d):Ja(a,e?f+1:0,e?d:f)}function ef(a,b){var c=a;c instanceof I&&(c=c.value());return u(b,function(a,b){return b.func.apply(b.thisArg,t([a],b.args))},c)}function ce(a,b,c){var e=a.length;if(2>e)return e?nb(a[0]):[];for(var d=-1,f=ua(e);++d<e;)for(var n=a[d],h=-1;++h<e;)h!=d&&(f[d]=vb(f[d]||n,a[h],b,c));return nb(va(f,1),b,c)}function ff(a,b,c){for(var e=-1,d=a.length,f=b.length,n={};++e<d;)c(n,a[e],
|
|
e<f?b[e]:v);return n}function de(a){return qa(a)?a:[]}function ee(a){return"function"==typeof a?a:Ca}function lb(a,b){return Z(a)?a:Wd(a,b)?[a]:gf(fa(a))}function ob(a,b,c){var e=a.length;c=c===v?e:c;return!b&&c>=e?a:Ja(a,b,c)}function Fe(a,b){if(b)return a.slice();var c=a.length;c=hf?hf(c):new a.constructor(c);a.copy(c);return c}function fe(a){var b=new a.constructor(a.byteLength);(new Gc(b)).set(new Gc(a));return b}function Te(a,b){var c=b?fe(a.buffer):a.buffer;return new a.constructor(c,a.byteOffset,
|
|
a.length)}function Xe(a,b){if(a!==b){var c=a!==v,e=null===a,d=a===a,f=Ia(a),n=b!==v,h=null===b,m=b===b,p=Ia(b);if(!h&&!p&&!f&&a>b||f&&n&&m&&!h&&!p||e&&n&&m||!c&&m||!d)return 1;if(!e&&!f&&!p&&a<b||p&&c&&d&&!e&&!f||h&&c&&d||!n&&d||!m)return-1}return 0}function jf(a,b,c,e){var d=-1,f=a.length,n=c.length,h=-1,m=b.length,p=wa(f-n,0),q=ua(m+p);for(e=!e;++h<m;)q[h]=b[h];for(;++d<n;)if(e||d<f)q[c[d]]=a[d];for(;p--;)q[h++]=a[d++];return q}function kf(a,b,c,e){var d=-1,f=a.length,n=-1,h=c.length,m=-1,p=b.length,
|
|
q=wa(f-h,0),r=ua(q+p);for(e=!e;++d<q;)r[d]=a[d];for(q=d;++m<p;)r[q+m]=b[m];for(;++n<h;)if(e||d<f)r[q+c[n]]=a[d++];return r}function Ba(a,b){var c=-1,e=a.length;for(b||(b=ua(e));++c<e;)b[c]=a[c];return b}function Ua(a,b,c,e){var d=!c;c||(c={});for(var f=-1,n=b.length;++f<n;){var h=b[f],m=e?e(c[h],a[h],h,c,a):v;m===v&&(m=a[h]);d?Ra(c,h,m):ub(c,h,m)}return c}function yg(a,b){return Ua(a,ge(a),b)}function xg(a,b){return Ua(a,lf(a),b)}function Hc(a,b){return function(e,d){var f=Z(e)?c:Ab,n=b?b():{};return f(e,
|
|
a,W(d,2),n)}}function Hb(a){return ba(function(b,c){var e=-1,d=c.length,f=1<d?c[d-1]:v,n=2<d?c[2]:v;f=3<a.length&&"function"==typeof f?(d--,f):v;n&&Ea(c[0],c[1],n)&&(f=3>d?v:f,d=1);for(b=ma(b);++e<d;)(n=c[e])&&a(b,n,e,f);return b})}function mf(a,b){return function(c,e){if(null==c)return c;if(!Da(c))return a(c,e);for(var d=c.length,f=b?d:-1,n=ma(c);(b?f--:++f<d)&&!1!==e(n[f],f,n););return c}}function nf(a){return function(b,c,e){var d=-1,f=ma(b);e=e(b);for(var n=e.length;n--;){var h=e[a?n:++d];if(!1===
|
|
c(f[h],h,f))break}return b}}function Vg(a,b,c){function e(){return(this&&this!==sa&&this instanceof e?f:a).apply(d?c:this,arguments)}var d=b&1,f=$b(a);return e}function of(a){return function(b){b=fa(b);var c=hb.test(b)?ta(b):v,e=c?c[0]:b.charAt(0);b=c?ob(c,1).join(""):b.slice(1);return e[a]()+b}}function Ib(a){return function(b){return u(pf(qf(b).replace(Bd,"")),a,"")}}function $b(a){return function(){var b=arguments;switch(b.length){case 0:return new a;case 1:return new a(b[0]);case 2:return new a(b[0],
|
|
b[1]);case 3:return new a(b[0],b[1],b[2]);case 4:return new a(b[0],b[1],b[2],b[3]);case 5:return new a(b[0],b[1],b[2],b[3],b[4]);case 6:return new a(b[0],b[1],b[2],b[3],b[4],b[5]);case 7:return new a(b[0],b[1],b[2],b[3],b[4],b[5],b[6])}var c=Jb(a.prototype);b=a.apply(c,b);return la(b)?b:c}}function Wg(a,b,c){function e(){for(var n=arguments.length,h=ua(n),m=n,p=Kb(e);m--;)h[m]=arguments[m];m=3>n&&h[0]!==p&&h[n-1]!==p?[]:ca(h,p);n-=m.length;return n<c?rf(a,b,Ic,e.placeholder,v,h,m,v,v,c-n):d(this&&
|
|
this!==sa&&this instanceof e?f:a,this,h)}var f=$b(a);return e}function sf(a){return function(b,c,e){var d=ma(b);if(!Da(b)){var f=W(c,3);b=xa(b);c=function(a){return f(d[a],a,d)}}c=a(b,c,e);return-1<c?d[f?b[c]:c]:v}}function tf(a){return db(function(b){var c,e=b.length,d=e,f=l.prototype.thru;for(a&&b.reverse();d--;){var n=b[d];if("function"!=typeof n)throw new La("Expected a function");f&&!c&&"wrapper"==Jc(n)&&(c=new l([],!0))}for(d=c?d:e;++d<e;){n=b[d];f=Jc(n);var h="wrapper"==f?he(n):v;c=h&&ie(h[0])&&
|
|
424==h[1]&&!h[4].length&&1==h[9]?c[Jc(h[0])].apply(c,h[3]):1==n.length&&ie(n)?c[f]():c.thru(n)}return function(){var a=arguments,d=a[0];if(c&&1==a.length&&Z(d))return c.plant(d).value();var f=0;for(a=e?b[f].apply(this,a):d;++f<e;)a=b[f].call(this,a);return a}})}function Ic(a,b,c,e,d,f,n,h,m,p){function q(){for(var u,x,w=arguments.length,pa=ua(w),A=w;A--;)pa[A]=arguments[A];if(t){x=Kb(q);u=pa.length;for(A=0;u--;)pa[u]===x&&++A;u=A}e&&(pa=jf(pa,e,d,t));f&&(pa=kf(pa,f,n,t));w-=u;if(t&&w<p)return x=ca(pa,
|
|
x),rf(a,b,Ic,q.placeholder,c,pa,x,h,m,p-w);x=k?c:this;u=g?x[a]:a;w=pa.length;if(h){A=pa.length;for(var C=Aa(h.length,A),Sb=Ba(pa);C--;){var F=h[C];pa[C]=ab(F,A)?Sb[F]:v}}else da&&1<w&&pa.reverse();r&&m<w&&(pa.length=m);this&&this!==sa&&this instanceof q&&(u=l||$b(u));return u.apply(x,pa)}var r=b&128,k=b&1,g=b&2,t=b&24,da=b&512,l=g?v:$b(a);return q}function uf(a,b){return function(c,e){return Eg(c,a,b(e),{})}}function Kc(a,b){return function(c,e){var d;if(c===v&&e===v)return b;c!==v&&(d=c);if(e!==
|
|
v){if(d===v)return e;"string"==typeof c||"string"==typeof e?(c=Ka(c),e=Ka(e)):(c=cf(c),e=cf(e));d=a(c,e)}return d}}function je(a){return db(function(b){b=r(b,H(W()));return ba(function(c){var e=this;return a(b,function(a){return d(a,e,c)})})})}function Lc(a,b){b=b===v?" ":Ka(b);var c=b.length;if(2>c)return c?$d(b,a):b;c=$d(b,Mc(a/ea(b)));return hb.test(b)?ob(ta(c),0,a).join(""):c.slice(0,a)}function Xg(a,b,c,e){function f(){for(var b=-1,m=arguments.length,p=-1,q=e.length,r=ua(q+m),k=this&&this!==
|
|
sa&&this instanceof f?h:a;++p<q;)r[p]=e[p];for(;m--;)r[p++]=arguments[++b];return d(k,n?c:this,r)}var n=b&1,h=$b(a);return f}function vf(a){return function(b,c,e){e&&"number"!=typeof e&&Ea(b,c,e)&&(c=e=v);b=eb(b);c===v?(c=b,b=0):c=eb(c);e=e===v?b<c?1:-1:eb(e);var d=-1;c=wa(Mc((c-b)/(e||1)),0);for(var f=ua(c);c--;)f[a?c:++d]=b,b+=e;return f}}function Nc(a){return function(b,c){if("string"!=typeof b||"string"!=typeof c)b=Oa(b),c=Oa(c);return a(b,c)}}function rf(a,b,c,e,d,f,n,h,m,p){var q=b&8,r=q?n:
|
|
v;n=q?v:n;var k=q?f:v;f=q?v:f;b=(b|(q?32:64))&~(q?64:32);b&4||(b&=-4);d=[a,b,d,k,r,f,n,h,m,p];c=c.apply(v,d);ie(a)&&wf(c,d);c.placeholder=e;return xf(c,a,b)}function ke(a){var b=Lb[a];return function(a,c){a=Oa(a);if(c=null==c?0:Aa(aa(c),292)){var e=(fa(a)+"e").split("e");e=b(e[0]+"e"+(+e[1]+c));e=(fa(e)+"e").split("e");return+(e[0]+"e"+(+e[1]-c))}return b(a)}}function yf(a){return function(b){var c=za(b);return"[object Map]"==c?O(b):"[object Set]"==c?ra(b):z(b,a(b))}}function fb(a,b,c,e,d,f,n,h){var m=
|
|
b&2;if(!m&&"function"!=typeof a)throw new La("Expected a function");var p=e?e.length:0;p||(b&=-97,e=d=v);n=n===v?n:wa(aa(n),0);h=h===v?h:aa(h);p-=d?d.length:0;if(b&64){var q=e;var r=d;e=d=v}var k=m?v:he(a);f=[a,b,c,e,d,q,r,f,n,h];if(k&&(c=f[1],a=k[1],b=c|a,e=128==a&&8==c||128==a&&256==c&&f[7].length<=k[8]||384==a&&k[7].length<=k[8]&&8==c,131>b||e)){a&1&&(f[2]=k[2],b|=c&1?0:4);if(e=k[3])c=f[3],f[3]=c?jf(c,e,k[4]):e,f[4]=c?ca(f[3],"__lodash_placeholder__"):k[4];if(e=k[5])c=f[5],f[5]=c?kf(c,e,k[6]):
|
|
e,f[6]=c?ca(f[5],"__lodash_placeholder__"):k[6];(e=k[7])&&(f[7]=e);a&128&&(f[8]=null==f[8]?k[8]:Aa(f[8],k[8]));null==f[9]&&(f[9]=k[9]);f[0]=k[0];f[1]=b}a=f[0];b=f[1];c=f[2];e=f[3];d=f[4];h=f[9]=f[9]===v?m?0:a.length:wa(f[9]-p,0);!h&&b&24&&(b&=-25);m=b&&1!=b?8==b||16==b?Wg(a,b,h):32!=b&&33!=b||d.length?Ic.apply(v,f):Xg(a,b,c,e):Vg(a,b,c);return xf((k?zf:wf)(m,f),a,b)}function le(a,b,c,e){return a===v||Ta(a,ac[c])&&!ka.call(e,c)?b:a}function Af(a,b,c,e,d,f){la(a)&&la(b)&&(f.set(b,a),Bc(a,b,v,Af,f),
|
|
f["delete"](b));return a}function Yg(a){return Zb(a)?v:a}function Ke(a,b,c,e,d,f){var n,h=c&1,m=a.length,p=b.length;if(m!=p&&!(h&&p>m))return!1;if((p=f.get(a))&&f.get(b))return p==b;p=-1;var q=!0,r=c&2?new $a:v;f.set(a,b);for(f.set(b,a);++p<m;){var k=a[p],g=b[p];e&&(n=h?e(g,k,p,b,a,f):e(k,g,p,a,b,f));if(n!==v){if(n)continue;q=!1;break}if(r){if(!x(b,function(a,b){if(!r.has(b)&&(k===a||d(k,a,c,e,f)))return r.push(b)})){q=!1;break}}else if(k!==g&&!d(k,g,c,e,f)){q=!1;break}}f["delete"](a);f["delete"](b);
|
|
return q}function Hg(a,b,c,e,d,f,n){switch(c){case "[object DataView]":if(a.byteLength!=b.byteLength||a.byteOffset!=b.byteOffset)break;a=a.buffer;b=b.buffer;case "[object ArrayBuffer]":if(a.byteLength!=b.byteLength||!f(new Gc(a),new Gc(b)))break;return!0;case "[object Boolean]":case "[object Date]":case "[object Number]":return Ta(+a,+b);case "[object Error]":return a.name==b.name&&a.message==b.message;case "[object RegExp]":case "[object String]":return a==b+"";case "[object Map]":var h=O;case "[object Set]":h||
|
|
(h=ha);if(a.size!=b.size&&!(e&1))break;if(c=n.get(a))return c==b;e|=2;n.set(a,b);b=Ke(h(a),h(b),e,d,f,n);n["delete"](a);return b;case "[object Symbol]":if(bc)return bc.call(a)==bc.call(b)}return!1}function db(a){return ae(af(a,v,Bf),a+"")}function Pd(a){return zc(a,xa,ge)}function Od(a){return zc(a,Ga,lf)}function Jc(a){for(var b=a.name+"",c=cc[b],e=ka.call(cc,b)?c.length:0;e--;){var d=c[e],f=d.func;if(null==f||f==a)return d.name}return b}function Kb(a){return(ka.call(m,"placeholder")?m:a).placeholder}
|
|
function W(){var a=m.iteratee||me;a=a===me?Ne:a;return arguments.length?a(arguments[0],arguments[1]):a}function Oc(a,b){var c=a.__data__,e=typeof b;return("string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==b:null===b)?c["string"==typeof b?"string":"hash"]:c.map}function Vd(a){for(var b=xa(a),c=b.length;c--;){var e=b[c],d=a[e];b[c]=[e,d,d===d&&!la(d)]}return b}function yb(a,b){var c=null==a?v:a[b];return Le(c)?c:v}function Cf(a,b,c){b=lb(b,a);for(var e=-1,d=b.length,f=!1;++e<d;){var n=
|
|
Wa(b[e]);if(!(f=null!=a&&c(a,n)))break;a=a[n]}if(f||++e!=d)return f;d=null==a?0:a.length;return!!d&&Ac(d)&&ab(n,d)&&(Z(a)||tb(a))}function wg(a){var b=a.length,c=a.constructor(b);b&&"string"==typeof a[0]&&ka.call(a,"index")&&(c.index=a.index,c.input=a.input);return c}function Ge(a){return"function"!=typeof a.constructor||Yb(a)?{}:Jb(Pc(a))}function zg(a,b,c,e){var d=a.constructor;switch(b){case "[object ArrayBuffer]":return fe(a);case "[object Boolean]":case "[object Date]":return new d(+a);case "[object DataView]":return b=
|
|
e?fe(a.buffer):a.buffer,new a.constructor(b,a.byteOffset,a.byteLength);case "[object Float32Array]":case "[object Float64Array]":case "[object Int8Array]":case "[object Int16Array]":case "[object Int32Array]":case "[object Uint8Array]":case "[object Uint8ClampedArray]":case "[object Uint16Array]":case "[object Uint32Array]":return Te(a,e);case "[object Map]":return b=e?c(O(a),1):O(a),u(b,h,new a.constructor);case "[object Number]":case "[object String]":return new d(a);case "[object RegExp]":return b=
|
|
new a.constructor(a.source,lc.exec(a)),b.lastIndex=a.lastIndex,b;case "[object Set]":return b=e?c(ha(a),1):ha(a),u(b,f,new a.constructor);case "[object Symbol]":return bc?ma(bc.call(a)):{}}}function Cg(a){return Z(a)||tb(a)||!!(Df&&a&&a[Df])}function ab(a,b){b=null==b?9007199254740991:b;return!!b&&("number"==typeof a||yd.test(a))&&-1<a&&0==a%1&&a<b}function Ea(a,b,c){if(!la(c))return!1;var e=typeof b;return("number"==e?Da(c)&&ab(b,c.length):"string"==e&&b in c)?Ta(c[b],a):!1}function Wd(a,b){if(Z(a))return!1;
|
|
var c=typeof a;return"number"==c||"symbol"==c||"boolean"==c||null==a||Ia(a)?!0:hd.test(a)||!gd.test(a)||null!=b&&a in ma(b)}function ie(a){var b=Jc(a),c=m[b];if("function"!=typeof c||!(b in I.prototype))return!1;if(a===c)return!0;b=he(c);return!!b&&a===b[0]}function Yb(a){var b=a&&a.constructor;return a===("function"==typeof b&&b.prototype||ac)}function Se(a,b){return function(c){return null==c?!1:c[a]===b&&(b!==v||a in ma(c))}}function af(a,b,c){b=wa(b===v?a.length-1:b,0);return function(){for(var e=
|
|
arguments,f=-1,n=wa(e.length-b,0),h=ua(n);++f<n;)h[f]=e[b+f];f=-1;for(n=ua(b+1);++f<b;)n[f]=e[f];n[b]=c(h);return d(a,this,n)}}function xf(a,b,c){var e=b+"";b=ae;var d=Zg;var f=(f=e.match(pd))?f[1].split(qd):[];c=d(f,c);if(d=c.length)f=d-1,c[f]=(1<d?"& ":"")+c[f],c=c.join(2<d?", ":" "),e=e.replace(od,"{\n/* [wrapped with "+c+"] */\n");return b(a,e)}function Ef(a){var b=0,c=0;return function(){var e=$g(),d=16-(e-c);c=e;if(0<d){if(800<=++b)return arguments[0]}else b=0;return a.apply(v,arguments)}}function tc(a,
|
|
b){var c=-1,e=a.length,d=e-1;for(b=b===v?e:b;++c<b;){e=Md(c,d);var f=a[e];a[e]=a[c];a[c]=f}a.length=b;return a}function Wa(a){if("string"==typeof a||Ia(a))return a;var b=a+"";return"0"==b&&1/a==-U?"-0":b}function xb(a){if(null!=a){try{return Qc.call(a)}catch(pa){}return a+""}return""}function Zg(a,c){b(Sa,function(b){var d="_."+b[0];c&b[1]&&!e(a,d)&&a.push(d)});return a.sort()}function Ee(a){if(a instanceof I)return a.clone();var b=new l(a.__wrapped__,a.__chain__);b.__actions__=Ba(a.__actions__);
|
|
b.__index__=a.__index__;b.__values__=a.__values__;return b}function Ff(a,b,c){var e=null==a?0:a.length;if(!e)return-1;c=null==c?0:aa(c);0>c&&(c=wa(e+c,0));return L(a,W(b,3),c)}function Gf(a,b,c){var e=null==a?0:a.length;if(!e)return-1;var d=e-1;c!==v&&(d=aa(c),d=0>c?wa(e+d,0):Aa(d,e-1));return L(a,W(b,3),d,!0)}function Bf(a){return(null==a?0:a.length)?va(a,1):[]}function Hf(a){return a&&a.length?a[0]:v}function Na(a){var b=null==a?0:a.length;return b?a[b-1]:v}function If(a,b){return a&&a.length&&
|
|
b&&b.length?Yd(a,b):a}function ne(a){return null==a?a:ah.call(a)}function oe(a){if(!a||!a.length)return[];var b=0;a=q(a,function(a){if(qa(a))return b=wa(a.length,b),!0});return y(b,function(b){return r(a,B(b))})}function Jf(a,b){if(!a||!a.length)return[];var c=oe(a);return null==b?c:r(c,function(a){return d(b,v,a)})}function Kf(a){a=m(a);a.__chain__=!0;return a}function Rc(a,b){return b(a)}function bh(){return this}function Lf(a,c){return(Z(a)?b:kb)(a,W(c,3))}function Mf(a,b){return(Z(a)?p:Nf)(a,
|
|
W(b,3))}function Sc(a,b){return(Z(a)?r:Re)(a,W(b,3))}function Of(a,b,c){b=c?v:b;b=a&&null==b?a.length:b;return fb(a,128,v,v,v,v,b)}function Pf(a,b){var c;if("function"!=typeof b)throw new La("Expected a function");a=aa(a);return function(){0<--a&&(c=b.apply(this,arguments));1>=a&&(b=v);return c}}function Qf(a,b,c){b=c?v:b;a=fb(a,8,v,v,v,v,v,b);a.placeholder=Qf.placeholder;return a}function Rf(a,b,c){b=c?v:b;a=fb(a,16,v,v,v,v,v,b);a.placeholder=Rf.placeholder;return a}function Sf(a,b,c){function e(b){var c=
|
|
m,e=p;m=p=v;g=b;return q=a.apply(e,c)}function d(a){var c=a-k;a-=g;return k===v||c>=b||0>c||l&&a>=da}function f(){var a=Tc();if(d(a))return n(a);var c=Ub;var e=a-g;a=b-(a-k);e=l?Aa(a,da-e):a;r=c(f,e)}function n(a){r=v;if(u&&m)return e(a);m=p=v;return q}function h(){var a=Tc(),c=d(a);m=arguments;p=this;k=a;if(c){if(r===v)return g=a=k,r=Ub(f,b),t?e(a):q;if(l)return r=Ub(f,b),e(k)}r===v&&(r=Ub(f,b));return q}var m,p,q,r,k,g=0,t=!1,l=!1,u=!0;if("function"!=typeof a)throw new La("Expected a function");
|
|
b=Oa(b)||0;if(la(c)){t=!!c.leading;var da=(l="maxWait"in c)?wa(Oa(c.maxWait)||0,b):da;u="trailing"in c?!!c.trailing:u}h.cancel=function(){r!==v&&ch(r);g=0;m=k=p=r=v};h.flush=function(){return r===v?q:n(Tc())};return h}function Uc(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw new La("Expected a function");var c=function(){var e=arguments,d=b?b.apply(this,e):e[0],f=c.cache;if(f.has(d))return f.get(d);e=a.apply(this,e);c.cache=f.set(d,e)||f;return e};c.cache=new (Uc.Cache||Qa);return c}
|
|
function Vc(a){if("function"!=typeof a)throw new La("Expected a function");return function(){var b=arguments;switch(b.length){case 0:return!a.call(this);case 1:return!a.call(this,b[0]);case 2:return!a.call(this,b[0],b[1]);case 3:return!a.call(this,b[0],b[1],b[2])}return!a.apply(this,b)}}function Ta(a,b){return a===b||a!==a&&b!==b}function Da(a){return null!=a&&Ac(a.length)&&!cb(a)}function qa(a){return oa(a)&&Da(a)}function pe(a){if(!oa(a))return!1;var b=ya(a);return"[object Error]"==b||"[object DOMException]"==
|
|
b||"string"==typeof a.message&&"string"==typeof a.name&&!Zb(a)}function cb(a){if(!la(a))return!1;a=ya(a);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a}function Tf(a){return"number"==typeof a&&a==aa(a)}function Ac(a){return"number"==typeof a&&-1<a&&0==a%1&&9007199254740991>=a}function la(a){var b=typeof a;return null!=a&&("object"==b||"function"==b)}function oa(a){return null!=a&&"object"==typeof a}function Uf(a){return"number"==typeof a||
|
|
oa(a)&&"[object Number]"==ya(a)}function Zb(a){if(!oa(a)||"[object Object]"!=ya(a))return!1;a=Pc(a);if(null===a)return!0;a=ka.call(a,"constructor")&&a.constructor;return"function"==typeof a&&a instanceof a&&Qc.call(a)==dh}function Wc(a){return"string"==typeof a||!Z(a)&&oa(a)&&"[object String]"==ya(a)}function Ia(a){return"symbol"==typeof a||oa(a)&&"[object Symbol]"==ya(a)}function Vf(a){if(!a)return[];if(Da(a))return Wc(a)?ta(a):Ba(a);if(dc&&a[dc]){a=a[dc]();for(var b,c=[];!(b=a.next()).done;)c.push(b.value);
|
|
return c}b=za(a);return("[object Map]"==b?O:"[object Set]"==b?ha:Gb)(a)}function eb(a){if(!a)return 0===a?a:0;a=Oa(a);return a===U||a===-U?1.7976931348623157E308*(0>a?-1:1):a===a?a:0}function aa(a){a=eb(a);var b=a%1;return a===a?b?a-b:a:0}function Wf(a){return a?bb(aa(a),0,4294967295):0}function Oa(a){if("number"==typeof a)return a;if(Ia(a))return T;la(a)&&(a="function"==typeof a.valueOf?a.valueOf():a,a=la(a)?a+"":a);if("string"!=typeof a)return 0===a?a:+a;a=a.replace(jc,"");var b=vd.test(a);return b||
|
|
xd.test(a)?Id(a.slice(2),b?2:8):ud.test(a)?T:+a}function Ue(a){return Ua(a,Ga(a))}function fa(a){return null==a?"":Ka(a)}function Nd(a,b,c){a=null==a?v:Va(a,b);return a===v?c:a}function Xd(a,b){return null!=a&&Cf(a,b,jd)}function xa(a){return Da(a)?Za(a):Td(a)}function Ga(a){if(Da(a))a=Za(a,!0);else if(la(a)){var b=Yb(a),c=[];for(e in a)("constructor"!=e||!b&&ka.call(a,e))&&c.push(e);a=c}else{var e=[];if(null!=a)for(b in ma(a))e.push(b);a=e}return a}function Xf(a,b){if(null==a)return{};var c=r(Od(a),
|
|
function(a){return[a]});b=W(b);return Ye(a,c,function(a,c){return b(a,c[0])})}function Gb(a){return null==a?[]:Q(a,xa(a))}function Yf(a){return qe(fa(a).toLowerCase())}function qf(a){return(a=fa(a))&&a.replace(zd,Jd).replace(Cd,"")}function pf(a,b,c){a=fa(a);b=c?v:b;return b===v?Ed.test(a)?a.match(Dd)||[]:a.match(rd)||[]:a.match(b)||[]}function re(a){return function(){return a}}function Ca(a){return a}function me(a){return Ne("function"==typeof a?a:Ha(a,1))}function se(a,c,e){var d=xa(c),f=Eb(c,d);
|
|
null!=e||la(c)&&(f.length||!d.length)||(e=c,c=a,a=this,f=Eb(c,xa(c)));var n=!(la(e)&&"chain"in e)||!!e.chain,h=cb(a);b(f,function(b){var e=c[b];a[b]=e;h&&(a.prototype[b]=function(){var b=this.__chain__;if(n||b){var c=a(this.__wrapped__);(c.__actions__=Ba(this.__actions__)).push({func:e,args:arguments,thisArg:a});c.__chain__=b;return c}return e.apply(a,t([this.value()],arguments))})});return a}function te(){}function Qe(a){return Wd(a)?B(Wa(a)):Pg(a)}function ue(){return[]}function ve(){return!1}a=
|
|
null==a?sa:Xa.defaults(sa.Object(),a,Xa.pick(sa,Fd));var ua=a.Array,Xc=a.Date,Zf=a.Error,$f=a.Function,Lb=a.Math,ma=a.Object,we=a.RegExp,pg=a.String,La=a.TypeError,Yc=ua.prototype,ac=ma.prototype,Zc=a["__core-js_shared__"],Qc=$f.prototype.toString,ka=ac.hasOwnProperty,eh=0,Me=function(){var a=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Ie=ac.toString,dh=Qc.call(ma),fh=sa._,Jg=we("^"+Qc.call(ka).replace(Pb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
|
|
"$1.*?")+"$"),$c=mc?a.Buffer:v,pb=a.Symbol,Gc=a.Uint8Array,hf=$c?$c.allocUnsafe:v,Pc=S(ma.getPrototypeOf,ma),ag=ma.create,bg=ac.propertyIsEnumerable,Cc=Yc.splice,Df=pb?pb.isConcatSpreadable:v,dc=pb?pb.iterator:v,wb=pb?pb.toStringTag:v,vc=function(){try{var a=yb(ma,"defineProperty");a({},"",{});return a}catch(pa){}}(),gh=a.clearTimeout!==sa.clearTimeout&&a.clearTimeout,hh=Xc&&Xc.now!==sa.Date.now&&Xc.now,ih=a.setTimeout!==sa.setTimeout&&a.setTimeout,Mc=Lb.ceil,Dc=Lb.floor,xe=ma.getOwnPropertySymbols,
|
|
jh=$c?$c.isBuffer:v,kh=a.isFinite,lh=Yc.join,Ng=S(ma.keys,ma),wa=Lb.max,Aa=Lb.min,$g=Xc.now,mh=a.parseInt,$e=Lb.random,ah=Yc.reverse,ye=yb(a,"DataView"),ec=yb(a,"Map"),ze=yb(a,"Promise"),Mb=yb(a,"Set"),fc=yb(a,"WeakMap"),gc=yb(ma,"create"),ad=fc&&new fc,cc={},nh=xb(ye),oh=xb(ec),ph=xb(ze),qh=xb(Mb),rh=xb(fc),bd=pb?pb.prototype:v,bc=bd?bd.valueOf:v,df=bd?bd.toString:v,Jb=function(){function a(){}return function(b){if(!la(b))return{};if(ag)return ag(b);a.prototype=b;b=new a;a.prototype=v;return b}}();
|
|
m.templateSettings={escape:ed,evaluate:fd,interpolate:ic,variable:"",imports:{_:m}};m.prototype=g.prototype;m.prototype.constructor=m;l.prototype=Jb(g.prototype);l.prototype.constructor=l;I.prototype=Jb(g.prototype);I.prototype.constructor=I;na.prototype.clear=function(){this.__data__=gc?gc(null):{};this.size=0};na.prototype["delete"]=function(a){a=this.has(a)&&delete this.__data__[a];this.size-=a?1:0;return a};na.prototype.get=function(a){var b=this.__data__;return gc?(a=b[a],"__lodash_hash_undefined__"===
|
|
a?v:a):ka.call(b,a)?b[a]:v};na.prototype.has=function(a){var b=this.__data__;return gc?b[a]!==v:ka.call(b,a)};na.prototype.set=function(a,b){var c=this.__data__;this.size+=this.has(a)?0:1;c[a]=gc&&b===v?"__lodash_hash_undefined__":b;return this};Pa.prototype.clear=function(){this.__data__=[];this.size=0};Pa.prototype["delete"]=function(a){var b=this.__data__;a=Cb(b,a);if(0>a)return!1;a==b.length-1?b.pop():Cc.call(b,a,1);--this.size;return!0};Pa.prototype.get=function(a){var b=this.__data__;a=Cb(b,
|
|
a);return 0>a?v:b[a][1]};Pa.prototype.has=function(a){return-1<Cb(this.__data__,a)};Pa.prototype.set=function(a,b){var c=this.__data__,e=Cb(c,a);0>e?(++this.size,c.push([a,b])):c[e][1]=b;return this};Qa.prototype.clear=function(){this.size=0;this.__data__={hash:new na,map:new (ec||Pa),string:new na}};Qa.prototype["delete"]=function(a){a=Oc(this,a)["delete"](a);this.size-=a?1:0;return a};Qa.prototype.get=function(a){return Oc(this,a).get(a)};Qa.prototype.has=function(a){return Oc(this,a).has(a)};Qa.prototype.set=
|
|
function(a,b){var c=Oc(this,a),e=c.size;c.set(a,b);this.size+=c.size==e?0:1;return this};$a.prototype.add=$a.prototype.push=function(a){this.__data__.set(a,"__lodash_hash_undefined__");return this};$a.prototype.has=function(a){return this.__data__.has(a)};Fa.prototype.clear=function(){this.__data__=new Pa;this.size=0};Fa.prototype["delete"]=function(a){var b=this.__data__;a=b["delete"](a);this.size=b.size;return a};Fa.prototype.get=function(a){return this.__data__.get(a)};Fa.prototype.has=function(a){return this.__data__.has(a)};
|
|
Fa.prototype.set=function(a,b){var c=this.__data__;if(c instanceof Pa){var e=c.__data__;if(!ec||199>e.length)return e.push([a,b]),this.size=++c.size,this;c=this.__data__=new Qa(e)}c.set(a,b);this.size=c.size;return this};var kb=mf(Ma),Nf=mf(Vb,!0),Qd=nf(),He=nf(!0),zf=ad?function(a,b){ad.set(a,b);return a}:Ca,sh=vc?function(a,b){return vc(a,"toString",{configurable:!0,enumerable:!1,value:re(b),writable:!0})}:Ca,ch=gh||function(a){return sa.clearTimeout(a)},Ug=Mb&&1/ha(new Mb([,-0]))[1]==U?function(a){return new Mb(a)}:
|
|
te,he=ad?function(a){return ad.get(a)}:te,ge=xe?function(a){if(null==a)return[];a=ma(a);return q(xe(a),function(b){return bg.call(a,b)})}:ue,lf=xe?function(a){for(var b=[];a;)t(b,ge(a)),a=Pc(a);return b}:ue,za=ya;if(ye&&"[object DataView]"!=za(new ye(new ArrayBuffer(1)))||ec&&"[object Map]"!=za(new ec)||ze&&"[object Promise]"!=za(ze.resolve())||Mb&&"[object Set]"!=za(new Mb)||fc&&"[object WeakMap]"!=za(new fc))za=function(a){var b=ya(a);if(a=(a="[object Object]"==b?a.constructor:v)?xb(a):"")switch(a){case nh:return"[object DataView]";
|
|
case oh:return"[object Map]";case ph:return"[object Promise]";case qh:return"[object Set]";case rh:return"[object WeakMap]"}return b};var th=Zc?cb:ve,wf=Ef(zf),Ub=ih||function(a,b){return sa.setTimeout(a,b)},ae=Ef(sh),gf=function(a){a=Uc(a,function(a){500===b.size&&b.clear();return a});var b=a.cache;return a}(function(a){var b=[];kd.test(a)&&b.push("");a.replace(ld,function(a,c,e,d){b.push(e?d.replace(sd,"$1"):c||a)});return b}),uh=ba(function(a,b){return qa(a)?vb(a,va(b,1,qa,!0)):[]}),vh=ba(function(a,
|
|
b){var c=Na(b);qa(c)&&(c=v);return qa(a)?vb(a,va(b,1,qa,!0),W(c,2)):[]}),wh=ba(function(a,b){var c=Na(b);qa(c)&&(c=v);return qa(a)?vb(a,va(b,1,qa,!0),v,c):[]}),xh=ba(function(a){var b=r(a,de);return b.length&&b[0]===a[0]?Rd(b):[]}),yh=ba(function(a){var b=Na(a),c=r(a,de);b===Na(c)?b=v:c.pop();return c.length&&c[0]===a[0]?Rd(c,W(b,2)):[]}),zh=ba(function(a){var b=Na(a),c=r(a,de);(b="function"==typeof b?b:v)&&c.pop();return c.length&&c[0]===a[0]?Rd(c,v,b):[]}),Ah=ba(If),Bh=db(function(a,b){var c=null==
|
|
a?0:a.length,e=Tb(a,b);Ze(a,r(b,function(a){return ab(a,c)?+a:a}).sort(Xe));return e}),Ch=ba(function(a){return nb(va(a,1,qa,!0))}),Dh=ba(function(a){var b=Na(a);qa(b)&&(b=v);return nb(va(a,1,qa,!0),W(b,2))}),Eh=ba(function(a){var b=Na(a);b="function"==typeof b?b:v;return nb(va(a,1,qa,!0),v,b)}),Fh=ba(function(a,b){return qa(a)?vb(a,b):[]}),Gh=ba(function(a){return ce(q(a,qa))}),Hh=ba(function(a){var b=Na(a);qa(b)&&(b=v);return ce(q(a,qa),W(b,2))}),Ih=ba(function(a){var b=Na(a);b="function"==typeof b?
|
|
b:v;return ce(q(a,qa),v,b)}),Jh=ba(oe),Kh=ba(function(a){var b=a.length;b=1<b?a[b-1]:v;b="function"==typeof b?(a.pop(),b):v;return Jf(a,b)}),Lh=db(function(a){var b=a.length,c=b?a[0]:0,e=this.__wrapped__,d=function(b){return Tb(b,a)};if(1<b||this.__actions__.length||!(e instanceof I)||!ab(c))return this.thru(d);e=e.slice(c,+c+(b?1:0));e.__actions__.push({func:Rc,args:[d],thisArg:v});return(new l(e,this.__chain__)).thru(function(a){b&&!a.length&&a.push(v);return a})}),Mh=Hc(function(a,b,c){ka.call(a,
|
|
c)?++a[c]:Ra(a,c,1)}),Nh=sf(Ff),Oh=sf(Gf),Ph=Hc(function(a,b,c){ka.call(a,c)?a[c].push(b):Ra(a,c,[b])}),Qh=ba(function(a,b,c){var e=-1,f="function"==typeof b,n=Da(a)?ua(a.length):[];kb(a,function(a){n[++e]=f?d(b,a,c):Xb(a,b,c)});return n}),Rh=Hc(function(a,b,c){Ra(a,c,b)}),Sh=Hc(function(a,b,c){a[c?0:1].push(b)},function(){return[[],[]]}),Th=ba(function(a,b){if(null==a)return[];var c=b.length;1<c&&Ea(a,b[0],b[1])?b=[]:2<c&&Ea(b[0],b[1],b[2])&&(b=[b[0]]);return We(a,va(b,1),[])}),Tc=hh||function(){return sa.Date.now()},
|
|
Ae=ba(function(a,b,c){var e=1;if(c.length){var d=ca(c,Kb(Ae));e|=32}return fb(a,e,b,c,d)}),cg=ba(function(a,b,c){var e=3;if(c.length){var d=ca(c,Kb(cg));e|=32}return fb(b,e,a,c,d)}),Uh=ba(function(a,b){return xc(a,1,b)}),Vh=ba(function(a,b,c){return xc(a,Oa(b)||0,c)});Uc.Cache=Qa;var Wh=ba(function(a,b){b=1==b.length&&Z(b[0])?r(b[0],H(W())):r(va(b,1),H(W()));var c=b.length;return ba(function(e){for(var f=-1,n=Aa(e.length,c);++f<n;)e[f]=b[f].call(this,e[f]);return d(a,this,e)})}),Be=ba(function(a,
|
|
b){var c=ca(b,Kb(Be));return fb(a,32,v,b,c)}),dg=ba(function(a,b){var c=ca(b,Kb(dg));return fb(a,64,v,b,c)}),Xh=db(function(a,b){return fb(a,256,v,v,v,b)}),Yh=Nc(Wb),Zh=Nc(function(a,b){return a>=b}),tb=Je(function(){return arguments}())?Je:function(a){return oa(a)&&ka.call(a,"callee")&&!bg.call(a,"callee")},Z=ua.isArray,$h=nc?H(nc):Fg,jb=jh||ve,ai=oc?H(oc):Gg,bi=pc?H(pc):Ig,Ce=qc?H(qc):Kg,ci=rc?H(rc):Lg,Bb=sc?H(sc):Mg,di=Nc(Ud),ei=Nc(function(a,b){return a<=b}),fi=Hb(function(a,b){if(Yb(b)||Da(b))Ua(b,
|
|
xa(b),a);else for(var c in b)ka.call(b,c)&&ub(a,c,b[c])}),eg=Hb(function(a,b){Ua(b,Ga(b),a)}),hc=Hb(function(a,b,c,e){Ua(b,Ga(b),a,e)}),gi=Hb(function(a,b,c,e){Ua(b,xa(b),a,e)}),hi=db(Tb),ii=ba(function(a){a.push(v,le);return d(hc,v,a)}),ji=ba(function(a){a.push(v,Af);return d(fg,v,a)}),ki=uf(function(a,b,c){a[b]=c},re(Ca)),li=uf(function(a,b,c){ka.call(a,b)?a[b].push(c):a[b]=[c]},W),mi=ba(Xb),ni=Hb(function(a,b,c){Bc(a,b,c)}),fg=Hb(function(a,b,c,e){Bc(a,b,c,e)}),oi=db(function(a,b){var c={};if(null==
|
|
a)return c;var e=!1;b=r(b,function(b){b=lb(b,a);e||(e=1<b.length);return b});Ua(a,Od(a),c);e&&(c=Ha(c,7,Yg));for(var d=b.length;d--;)Zd(c,b[d]);return c}),pi=db(function(a,b){return null==a?{}:Og(a,b)}),gg=yf(xa),hg=yf(Ga),qi=Ib(function(a,b,c){b=b.toLowerCase();return a+(c?Yf(b):b)}),ri=Ib(function(a,b,c){return a+(c?"-":"")+b.toLowerCase()}),si=Ib(function(a,b,c){return a+(c?" ":"")+b.toLowerCase()}),ti=of("toLowerCase"),ui=Ib(function(a,b,c){return a+(c?"_":"")+b.toLowerCase()}),vi=Ib(function(a,
|
|
b,c){return a+(c?" ":"")+qe(b)}),wi=Ib(function(a,b,c){return a+(c?" ":"")+b.toUpperCase()}),qe=of("toUpperCase"),ig=ba(function(a,b){try{return d(a,v,b)}catch(Sb){return pe(Sb)?Sb:new Zf(Sb)}}),xi=db(function(a,c){b(c,function(b){b=Wa(b);Ra(a,b,Ae(a[b],a))});return a}),yi=tf(),zi=tf(!0),Ai=ba(function(a,b){return function(c){return Xb(c,a,b)}}),Bi=ba(function(a,b){return function(c){return Xb(a,c,b)}}),Ci=je(r),Di=je(k),Ei=je(x),Fi=vf(),Gi=vf(!0),Hi=Kc(function(a,b){return a+b},0),Ii=ke("ceil"),
|
|
Ji=Kc(function(a,b){return a/b},1),Ki=ke("floor"),Li=Kc(function(a,b){return a*b},1),Mi=ke("round"),Ni=Kc(function(a,b){return a-b},0);m.after=function(a,b){if("function"!=typeof b)throw new La("Expected a function");a=aa(a);return function(){if(1>--a)return b.apply(this,arguments)}};m.ary=Of;m.assign=fi;m.assignIn=eg;m.assignInWith=hc;m.assignWith=gi;m.at=hi;m.before=Pf;m.bind=Ae;m.bindAll=xi;m.bindKey=cg;m.castArray=function(){if(!arguments.length)return[];var a=arguments[0];return Z(a)?a:[a]};
|
|
m.chain=Kf;m.chunk=function(a,b,c){b=(c?Ea(a,b,c):b===v)?1:wa(aa(b),0);c=null==a?0:a.length;if(!c||1>b)return[];for(var e=0,d=0,f=ua(Mc(c/b));e<c;)f[d++]=Ja(a,e,e+=b);return f};m.compact=function(a){for(var b=-1,c=null==a?0:a.length,e=0,d=[];++b<c;){var f=a[b];f&&(d[e++]=f)}return d};m.concat=function(){var a=arguments.length;if(!a)return[];for(var b=ua(a-1),c=arguments[0];a--;)b[a-1]=arguments[a];return t(Z(c)?Ba(c):[c],va(b,1))};m.cond=function(a){var b=null==a?0:a.length,c=W();a=b?r(a,function(a){if("function"!=
|
|
typeof a[1])throw new La("Expected a function");return[c(a[0]),a[1]]}):[];return ba(function(c){for(var e=-1;++e<b;){var f=a[e];if(d(f[0],this,c))return d(f[1],this,c)}})};m.conforms=function(a){return Ob(Ha(a,1))};m.constant=re;m.countBy=Mh;m.create=function(a,b){var c=Jb(a);return null==b?c:uc(c,b)};m.curry=Qf;m.curryRight=Rf;m.debounce=Sf;m.defaults=ii;m.defaultsDeep=ji;m.defer=Uh;m.delay=Vh;m.difference=uh;m.differenceBy=vh;m.differenceWith=wh;m.drop=function(a,b,c){var e=null==a?0:a.length;if(!e)return[];
|
|
b=c||b===v?1:aa(b);return Ja(a,0>b?0:b,e)};m.dropRight=function(a,b,c){var e=null==a?0:a.length;if(!e)return[];b=c||b===v?1:aa(b);b=e-b;return Ja(a,0,0>b?0:b)};m.dropRightWhile=function(a,b){return a&&a.length?Fc(a,W(b,3),!0,!0):[]};m.dropWhile=function(a,b){return a&&a.length?Fc(a,W(b,3),!0):[]};m.fill=function(a,b,c,e){var d=null==a?0:a.length;if(!d)return[];c&&"number"!=typeof c&&Ea(a,b,c)&&(c=0,e=d);d=a.length;c=aa(c);0>c&&(c=-c>d?0:d+c);e=e===v||e>d?d:aa(e);0>e&&(e+=d);for(e=c>e?0:Wf(e);c<e;)a[c++]=
|
|
b;return a};m.filter=function(a,b){return(Z(a)?q:yc)(a,W(b,3))};m.flatMap=function(a,b){return va(Sc(a,b),1)};m.flatMapDeep=function(a,b){return va(Sc(a,b),U)};m.flatMapDepth=function(a,b,c){c=c===v?1:aa(c);return va(Sc(a,b),c)};m.flatten=Bf;m.flattenDeep=function(a){return(null==a?0:a.length)?va(a,U):[]};m.flattenDepth=function(a,b){if(null==a||!a.length)return[];b=b===v?1:aa(b);return va(a,b)};m.flip=function(a){return fb(a,512)};m.flow=yi;m.flowRight=zi;m.fromPairs=function(a){for(var b=-1,c=null==
|
|
a?0:a.length,e={};++b<c;){var d=a[b];e[d[0]]=d[1]}return e};m.functions=function(a){return null==a?[]:Eb(a,xa(a))};m.functionsIn=function(a){return null==a?[]:Eb(a,Ga(a))};m.groupBy=Ph;m.initial=function(a){return(null==a?0:a.length)?Ja(a,0,-1):[]};m.intersection=xh;m.intersectionBy=yh;m.intersectionWith=zh;m.invert=ki;m.invertBy=li;m.invokeMap=Qh;m.iteratee=me;m.keyBy=Rh;m.keys=xa;m.keysIn=Ga;m.map=Sc;m.mapKeys=function(a,b){var c={};b=W(b,3);Ma(a,function(a,e,d){Ra(c,b(a,e,d),a)});return c};m.mapValues=
|
|
function(a,b){var c={};b=W(b,3);Ma(a,function(a,e,d){Ra(c,e,b(a,e,d))});return c};m.matches=function(a){return Pe(Ha(a,1))};m.matchesProperty=function(a,b){return Oe(a,Ha(b,1))};m.memoize=Uc;m.merge=ni;m.mergeWith=fg;m.method=Ai;m.methodOf=Bi;m.mixin=se;m.negate=Vc;m.nthArg=function(a){a=aa(a);return ba(function(b){return Ve(b,a)})};m.omit=oi;m.omitBy=function(a,b){return Xf(a,Vc(W(b)))};m.once=function(a){return Pf(2,a)};m.orderBy=function(a,b,c,e){if(null==a)return[];Z(b)||(b=null==b?[]:[b]);c=
|
|
e?v:c;Z(c)||(c=null==c?[]:[c]);return We(a,b,c)};m.over=Ci;m.overArgs=Wh;m.overEvery=Di;m.overSome=Ei;m.partial=Be;m.partialRight=dg;m.partition=Sh;m.pick=pi;m.pickBy=Xf;m.property=Qe;m.propertyOf=function(a){return function(b){return null==a?v:Va(a,b)}};m.pull=Ah;m.pullAll=If;m.pullAllBy=function(a,b,c){return a&&a.length&&b&&b.length?Yd(a,b,W(c,2)):a};m.pullAllWith=function(a,b,c){return a&&a.length&&b&&b.length?Yd(a,b,v,c):a};m.pullAt=Bh;m.range=Fi;m.rangeRight=Gi;m.rearg=Xh;m.reject=function(a,
|
|
b){return(Z(a)?q:yc)(a,Vc(W(b,3)))};m.remove=function(a,b){var c=[];if(!a||!a.length)return c;var e=-1,d=[],f=a.length;for(b=W(b,3);++e<f;){var n=a[e];b(n,e,a)&&(c.push(n),d.push(e))}Ze(a,d);return c};m.rest=function(a,b){if("function"!=typeof a)throw new La("Expected a function");b=b===v?b:aa(b);return ba(a,b)};m.reverse=ne;m.sampleSize=function(a,b,c){b=(c?Ea(a,b,c):b===v)?1:aa(b);return(Z(a)?rb:Rg)(a,b)};m.set=function(a,b,c){return null==a?a:Fb(a,b,c)};m.setWith=function(a,b,c,e){e="function"==
|
|
typeof e?e:v;return null==a?a:Fb(a,b,c,e)};m.shuffle=function(a){return(Z(a)?sb:Sg)(a)};m.slice=function(a,b,c){var e=null==a?0:a.length;if(!e)return[];c&&"number"!=typeof c&&Ea(a,b,c)?(b=0,c=e):(b=null==b?0:aa(b),c=c===v?e:aa(c));return Ja(a,b,c)};m.sortBy=Th;m.sortedUniq=function(a){return a&&a.length?bf(a):[]};m.sortedUniqBy=function(a,b){return a&&a.length?bf(a,W(b,2)):[]};m.split=function(a,b,c){c&&"number"!=typeof c&&Ea(a,b,c)&&(b=c=v);c=c===v?4294967295:c>>>0;return c?(a=fa(a))&&("string"==
|
|
typeof b||null!=b&&!Ce(b))&&(b=Ka(b),!b&&hb.test(a))?ob(ta(a),0,c):a.split(b,c):[]};m.spread=function(a,b){if("function"!=typeof a)throw new La("Expected a function");b=null==b?0:wa(aa(b),0);return ba(function(c){var e=c[b];c=ob(c,0,b);e&&t(c,e);return d(a,this,c)})};m.tail=function(a){var b=null==a?0:a.length;return b?Ja(a,1,b):[]};m.take=function(a,b,c){if(!a||!a.length)return[];b=c||b===v?1:aa(b);return Ja(a,0,0>b?0:b)};m.takeRight=function(a,b,c){var e=null==a?0:a.length;if(!e)return[];b=c||b===
|
|
v?1:aa(b);b=e-b;return Ja(a,0>b?0:b,e)};m.takeRightWhile=function(a,b){return a&&a.length?Fc(a,W(b,3),!1,!0):[]};m.takeWhile=function(a,b){return a&&a.length?Fc(a,W(b,3)):[]};m.tap=function(a,b){b(a);return a};m.throttle=function(a,b,c){var e=!0,d=!0;if("function"!=typeof a)throw new La("Expected a function");la(c)&&(e="leading"in c?!!c.leading:e,d="trailing"in c?!!c.trailing:d);return Sf(a,b,{leading:e,maxWait:b,trailing:d})};m.thru=Rc;m.toArray=Vf;m.toPairs=gg;m.toPairsIn=hg;m.toPath=function(a){return Z(a)?
|
|
r(a,Wa):Ia(a)?[a]:Ba(gf(fa(a)))};m.toPlainObject=Ue;m.transform=function(a,c,e){var d=Z(a),f=d||jb(a)||Bb(a);c=W(c,4);if(null==e){var n=a&&a.constructor;e=f?d?new n:[]:la(a)?cb(n)?Jb(Pc(a)):{}:{}}(f?b:Ma)(a,function(a,b,d){return c(e,a,b,d)});return e};m.unary=function(a){return Of(a,1)};m.union=Ch;m.unionBy=Dh;m.unionWith=Eh;m.uniq=function(a){return a&&a.length?nb(a):[]};m.uniqBy=function(a,b){return a&&a.length?nb(a,W(b,2)):[]};m.uniqWith=function(a,b){b="function"==typeof b?b:v;return a&&a.length?
|
|
nb(a,v,b):[]};m.unset=function(a,b){return null==a?!0:Zd(a,b)};m.unzip=oe;m.unzipWith=Jf;m.update=function(a,b,c){null!=a&&(c=ee(c),a=Fb(a,b,c(Va(a,b)),void 0));return a};m.updateWith=function(a,b,c,e){e="function"==typeof e?e:v;null!=a&&(c=ee(c),a=Fb(a,b,c(Va(a,b)),e));return a};m.values=Gb;m.valuesIn=function(a){return null==a?[]:Q(a,Ga(a))};m.without=Fh;m.words=pf;m.wrap=function(a,b){return Be(ee(b),a)};m.xor=Gh;m.xorBy=Hh;m.xorWith=Ih;m.zip=Jh;m.zipObject=function(a,b){return ff(a||[],b||[],
|
|
ub)};m.zipObjectDeep=function(a,b){return ff(a||[],b||[],Fb)};m.zipWith=Kh;m.entries=gg;m.entriesIn=hg;m.extend=eg;m.extendWith=hc;se(m,m);m.add=Hi;m.attempt=ig;m.camelCase=qi;m.capitalize=Yf;m.ceil=Ii;m.clamp=function(a,b,c){c===v&&(c=b,b=v);c!==v&&(c=Oa(c),c=c===c?c:0);b!==v&&(b=Oa(b),b=b===b?b:0);return bb(Oa(a),b,c)};m.clone=function(a){return Ha(a,4)};m.cloneDeep=function(a){return Ha(a,5)};m.cloneDeepWith=function(a,b){b="function"==typeof b?b:v;return Ha(a,5,b)};m.cloneWith=function(a,b){b=
|
|
"function"==typeof b?b:v;return Ha(a,4,b)};m.conformsTo=function(a,b){return null==b||wc(a,b,xa(b))};m.deburr=qf;m.defaultTo=function(a,b){return null==a||a!==a?b:a};m.divide=Ji;m.endsWith=function(a,b,c){a=fa(a);b=Ka(b);var e=a.length;e=c=c===v?e:bb(aa(c),0,e);c-=b.length;return 0<=c&&a.slice(c,e)==b};m.eq=Ta;m.escape=function(a){return(a=fa(a))&&dd.test(a)?a.replace(Ya,Kd):a};m.escapeRegExp=function(a){return(a=fa(a))&&md.test(a)?a.replace(Pb,"\\$&"):a};m.every=function(a,b,c){var e=Z(a)?k:Qb;c&&
|
|
Ea(a,b,c)&&(b=v);return e(a,W(b,3))};m.find=Nh;m.findIndex=Ff;m.findKey=function(a,b){return A(a,W(b,3),Ma)};m.findLast=Oh;m.findLastIndex=Gf;m.findLastKey=function(a,b){return A(a,W(b,3),Vb)};m.floor=Ki;m.forEach=Lf;m.forEachRight=Mf;m.forIn=function(a,b){return null==a?a:Qd(a,W(b,3),Ga)};m.forInRight=function(a,b){return null==a?a:He(a,W(b,3),Ga)};m.forOwn=function(a,b){return a&&Ma(a,W(b,3))};m.forOwnRight=function(a,b){return a&&Vb(a,W(b,3))};m.get=Nd;m.gt=Yh;m.gte=Zh;m.has=function(a,b){return null!=
|
|
a&&Cf(a,b,Rb)};m.hasIn=Xd;m.head=Hf;m.identity=Ca;m.includes=function(a,b,c,e){a=Da(a)?a:Gb(a);c=c&&!e?aa(c):0;e=a.length;0>c&&(c=wa(e+c,0));return Wc(a)?c<=e&&-1<a.indexOf(b,c):!!e&&-1<C(a,b,c)};m.indexOf=function(a,b,c){var e=null==a?0:a.length;if(!e)return-1;c=null==c?0:aa(c);0>c&&(c=wa(e+c,0));return C(a,b,c)};m.inRange=function(a,b,c){b=eb(b);c===v?(c=b,b=0):c=eb(c);a=Oa(a);return a>=Aa(b,c)&&a<wa(b,c)};m.invoke=mi;m.isArguments=tb;m.isArray=Z;m.isArrayBuffer=$h;m.isArrayLike=Da;m.isArrayLikeObject=
|
|
qa;m.isBoolean=function(a){return!0===a||!1===a||oa(a)&&"[object Boolean]"==ya(a)};m.isBuffer=jb;m.isDate=ai;m.isElement=function(a){return oa(a)&&1===a.nodeType&&!Zb(a)};m.isEmpty=function(a){if(null==a)return!0;if(Da(a)&&(Z(a)||"string"==typeof a||"function"==typeof a.splice||jb(a)||Bb(a)||tb(a)))return!a.length;var b=za(a);if("[object Map]"==b||"[object Set]"==b)return!a.size;if(Yb(a))return!Td(a).length;for(var c in a)if(ka.call(a,c))return!1;return!0};m.isEqual=function(a,b){return mb(a,b)};
|
|
m.isEqualWith=function(a,b,c){var e=(c="function"==typeof c?c:v)?c(a,b):v;return e===v?mb(a,b,v,c):!!e};m.isError=pe;m.isFinite=function(a){return"number"==typeof a&&kh(a)};m.isFunction=cb;m.isInteger=Tf;m.isLength=Ac;m.isMap=bi;m.isMatch=function(a,b){return a===b||Sd(a,b,Vd(b))};m.isMatchWith=function(a,b,c){c="function"==typeof c?c:v;return Sd(a,b,Vd(b),c)};m.isNaN=function(a){return Uf(a)&&a!=+a};m.isNative=function(a){if(th(a))throw new Zf("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");
|
|
return Le(a)};m.isNil=function(a){return null==a};m.isNull=function(a){return null===a};m.isNumber=Uf;m.isObject=la;m.isObjectLike=oa;m.isPlainObject=Zb;m.isRegExp=Ce;m.isSafeInteger=function(a){return Tf(a)&&-9007199254740991<=a&&9007199254740991>=a};m.isSet=ci;m.isString=Wc;m.isSymbol=Ia;m.isTypedArray=Bb;m.isUndefined=function(a){return a===v};m.isWeakMap=function(a){return oa(a)&&"[object WeakMap]"==za(a)};m.isWeakSet=function(a){return oa(a)&&"[object WeakSet]"==ya(a)};m.join=function(a,b){return null==
|
|
a?"":lh.call(a,b)};m.kebabCase=ri;m.last=Na;m.lastIndexOf=function(a,b,c){var e=null==a?0:a.length;if(!e)return-1;var d=e;c!==v&&(d=aa(c),d=0>d?wa(e+d,0):Aa(d,e-1));if(b===b)a:{for(c=d+1;c--;)if(a[c]===b){a=c;break a}a=c}else a=L(a,K,d,!0);return a};m.lowerCase=si;m.lowerFirst=ti;m.lt=di;m.lte=ei;m.max=function(a){return a&&a.length?Db(a,Ca,Wb):v};m.maxBy=function(a,b){return a&&a.length?Db(a,W(b,2),Wb):v};m.mean=function(a){return M(a,Ca)};m.meanBy=function(a,b){return M(a,W(b,2))};m.min=function(a){return a&&
|
|
a.length?Db(a,Ca,Ud):v};m.minBy=function(a,b){return a&&a.length?Db(a,W(b,2),Ud):v};m.stubArray=ue;m.stubFalse=ve;m.stubObject=function(){return{}};m.stubString=function(){return""};m.stubTrue=function(){return!0};m.multiply=Li;m.nth=function(a,b){return a&&a.length?Ve(a,aa(b)):v};m.noConflict=function(){sa._===this&&(sa._=fh);return this};m.noop=te;m.now=Tc;m.pad=function(a,b,c){a=fa(a);var e=(b=aa(b))?ea(a):0;if(!b||e>=b)return a;b=(b-e)/2;return Lc(Dc(b),c)+a+Lc(Mc(b),c)};m.padEnd=function(a,b,
|
|
c){a=fa(a);var e=(b=aa(b))?ea(a):0;return b&&e<b?a+Lc(b-e,c):a};m.padStart=function(a,b,c){a=fa(a);var e=(b=aa(b))?ea(a):0;return b&&e<b?Lc(b-e,c)+a:a};m.parseInt=function(a,b,c){c||null==b?b=0:b&&(b=+b);return mh(fa(a).replace(kc,""),b||0)};m.random=function(a,b,c){c&&"boolean"!=typeof c&&Ea(a,b,c)&&(b=c=v);c===v&&("boolean"==typeof b?(c=b,b=v):"boolean"==typeof a&&(c=a,a=v));a===v&&b===v?(a=0,b=1):(a=eb(a),b===v?(b=a,a=0):b=eb(b));if(a>b){var e=a;a=b;b=e}return c||a%1||b%1?(c=$e(),Aa(a+c*(b-a+Hd("1e-"+
|
|
((c+"").length-1))),b)):Md(a,b)};m.reduce=function(a,b,c){var e=Z(a)?u:D,d=3>arguments.length;return e(a,W(b,4),c,d,kb)};m.reduceRight=function(a,b,c){var e=Z(a)?w:D,d=3>arguments.length;return e(a,W(b,4),c,d,Nf)};m.repeat=function(a,b,c){b=(c?Ea(a,b,c):b===v)?1:aa(b);return $d(fa(a),b)};m.replace=function(){var a=arguments,b=fa(a[0]);return 3>a.length?b:b.replace(a[1],a[2])};m.result=function(a,b,c){b=lb(b,a);var e=-1,d=b.length;d||(d=1,a=v);for(;++e<d;){var f=null==a?v:a[Wa(b[e])];f===v&&(e=d,f=
|
|
c);a=cb(f)?f.call(a):f}return a};m.round=Mi;m.runInContext=id;m.sample=function(a){return(Z(a)?ib:Qg)(a)};m.size=function(a){if(null==a)return 0;if(Da(a))return Wc(a)?ea(a):a.length;var b=za(a);return"[object Map]"==b||"[object Set]"==b?a.size:Td(a).length};m.snakeCase=ui;m.some=function(a,b,c){var e=Z(a)?x:Tg;c&&Ea(a,b,c)&&(b=v);return e(a,W(b,3))};m.sortedIndex=function(a,b){return Ec(a,b)};m.sortedIndexBy=function(a,b,c){return be(a,b,W(c,2))};m.sortedIndexOf=function(a,b){var c=null==a?0:a.length;
|
|
if(c){var e=Ec(a,b);if(e<c&&Ta(a[e],b))return e}return-1};m.sortedLastIndex=function(a,b){return Ec(a,b,!0)};m.sortedLastIndexBy=function(a,b,c){return be(a,b,W(c,2),!0)};m.sortedLastIndexOf=function(a,b){if(null==a?0:a.length){var c=Ec(a,b,!0)-1;if(Ta(a[c],b))return c}return-1};m.startCase=vi;m.startsWith=function(a,b,c){a=fa(a);c=null==c?0:bb(aa(c),0,a.length);b=Ka(b);return a.slice(c,c+b.length)==b};m.subtract=Ni;m.sum=function(a){return a&&a.length?P(a,Ca):0};m.sumBy=function(a,b){return a&&a.length?
|
|
P(a,W(b,2)):0};m.template=function(a,b,c){var e=m.templateSettings;c&&Ea(a,b,c)&&(b=v);a=fa(a);b=hc({},b,e,le);c=hc({},b.imports,e.imports,le);var d=xa(c),f=Q(c,d),n,h,p=0;c=b.interpolate||zb;var q="__p += '";c=we((b.escape||zb).source+"|"+c.source+"|"+(c===ic?td:zb).source+"|"+(b.evaluate||zb).source+"|$","g");var r="//# sourceURL="+("sourceURL"in b?b.sourceURL:"lodash.templateSources["+ ++Gd+"]")+"\n";a.replace(c,function(b,c,e,d,f,m){e||(e=d);q+=a.slice(p,m).replace(Ad,G);c&&(n=!0,q+="' +\n__e("+
|
|
c+") +\n'");f&&(h=!0,q+="';\n"+f+";\n__p += '");e&&(q+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'");p=m+b.length;return b});q+="';\n";(b=b.variable)||(q="with (obj) {\n"+q+"\n}\n");q=(h?q.replace(X,""):q).replace(Y,"$1").replace(V,"$1;");q="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(n?", __e = _.escape":"")+(h?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+q+"return __p\n}";b=ig(function(){return $f(d,r+"return "+
|
|
q).apply(v,f)});b.source=q;if(pe(b))throw b;return b};m.times=function(a,b){a=aa(a);if(1>a||9007199254740991<a)return[];var c=4294967295,e=Aa(a,4294967295);b=W(b);a-=4294967295;for(e=y(e,b);++c<a;)b(c);return e};m.toFinite=eb;m.toInteger=aa;m.toLength=Wf;m.toLower=function(a){return fa(a).toLowerCase()};m.toNumber=Oa;m.toSafeInteger=function(a){return a?bb(aa(a),-9007199254740991,9007199254740991):0===a?a:0};m.toString=fa;m.toUpper=function(a){return fa(a).toUpperCase()};m.trim=function(a,b,c){if((a=
|
|
fa(a))&&(c||b===v))return a.replace(jc,"");if(!a||!(b=Ka(b)))return a;a=ta(a);c=ta(b);b=N(a,c);c=R(a,c)+1;return ob(a,b,c).join("")};m.trimEnd=function(a,b,c){if((a=fa(a))&&(c||b===v))return a.replace(nd,"");if(!a||!(b=Ka(b)))return a;a=ta(a);b=R(a,ta(b))+1;return ob(a,0,b).join("")};m.trimStart=function(a,b,c){if((a=fa(a))&&(c||b===v))return a.replace(kc,"");if(!a||!(b=Ka(b)))return a;a=ta(a);b=N(a,ta(b));return ob(a,b).join("")};m.truncate=function(a,b){var c=30,e="...";if(la(b)){var d="separator"in
|
|
b?b.separator:d;c="length"in b?aa(b.length):c;e="omission"in b?Ka(b.omission):e}a=fa(a);var f=a.length;if(hb.test(a)){var n=ta(a);f=n.length}if(c>=f)return a;f=c-ea(e);if(1>f)return e;c=n?ob(n,0,f).join(""):a.slice(0,f);if(d===v)return c+e;n&&(f+=c.length-f);if(Ce(d)){if(a.slice(f).search(d)){var h=c;d.global||(d=we(d.source,fa(lc.exec(d))+"g"));for(d.lastIndex=0;n=d.exec(h);)var m=n.index;c=c.slice(0,m===v?f:m)}}else a.indexOf(Ka(d),f)!=f&&(m=c.lastIndexOf(d),-1<m&&(c=c.slice(0,m)));return c+e};
|
|
m.unescape=function(a){return(a=fa(a))&&cd.test(a)?a.replace(gb,Ld):a};m.uniqueId=function(a){var b=++eh;return fa(a)+b};m.upperCase=wi;m.upperFirst=qe;m.each=Lf;m.eachRight=Mf;m.first=Hf;se(m,function(){var a={};Ma(m,function(b,c){ka.call(m.prototype,c)||(a[c]=b)});return a}(),{chain:!1});m.VERSION="4.17.4";b("bind bindKey curry curryRight partial partialRight".split(" "),function(a){m[a].placeholder=m});b(["drop","take"],function(a,b){I.prototype[a]=function(c){c=c===v?1:wa(aa(c),0);var e=this.__filtered__&&
|
|
!b?new I(this):this.clone();e.__filtered__?e.__takeCount__=Aa(c,e.__takeCount__):e.__views__.push({size:Aa(c,4294967295),type:a+(0>e.__dir__?"Right":"")});return e};I.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}});b(["filter","map","takeWhile"],function(a,b){var c=b+1,e=1==c||3==c;I.prototype[a]=function(a){var b=this.clone();b.__iteratees__.push({iteratee:W(a,3),type:c});b.__filtered__=b.__filtered__||e;return b}});b(["head","last"],function(a,b){var c="take"+(b?"Right":
|
|
"");I.prototype[a]=function(){return this[c](1).value()[0]}});b(["initial","tail"],function(a,b){var c="drop"+(b?"":"Right");I.prototype[a]=function(){return this.__filtered__?new I(this):this[c](1)}});I.prototype.compact=function(){return this.filter(Ca)};I.prototype.find=function(a){return this.filter(a).head()};I.prototype.findLast=function(a){return this.reverse().find(a)};I.prototype.invokeMap=ba(function(a,b){return"function"==typeof a?new I(this):this.map(function(c){return Xb(c,a,b)})});I.prototype.reject=
|
|
function(a){return this.filter(Vc(W(a)))};I.prototype.slice=function(a,b){a=aa(a);var c=this;if(c.__filtered__&&(0<a||0>b))return new I(c);0>a?c=c.takeRight(-a):a&&(c=c.drop(a));b!==v&&(b=aa(b),c=0>b?c.dropRight(-b):c.take(b-a));return c};I.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()};I.prototype.toArray=function(){return this.take(4294967295)};Ma(I.prototype,function(a,b){var c=/^(?:filter|find|map|reject)|While$/.test(b),e=/^(?:head|last)$/.test(b),d=m[e?"take"+
|
|
("last"==b?"Right":""):b],f=e||/^find/.test(b);d&&(m.prototype[b]=function(){var b=this.__wrapped__;var n=e?[1]:arguments,h=b instanceof I,p=n[0],q=h||Z(b),r=function(a){a=d.apply(m,t([a],n));return e&&k?a[0]:a};q&&c&&"function"==typeof p&&1!=p.length&&(h=q=!1);var k=this.__chain__,g=!!this.__actions__.length;p=f&&!k;h=h&&!g;if(!f&&q)return b=h?b:new I(this),b=a.apply(b,n),b.__actions__.push({func:Rc,args:[r],thisArg:v}),new l(b,k);if(p&&h)return a.apply(this,n);b=this.thru(r);return p?e?b.value()[0]:
|
|
b.value():b})});b("pop push shift sort splice unshift".split(" "),function(a){var b=Yc[a],c=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",e=/^(?:pop|shift)$/.test(a);m.prototype[a]=function(){var a=arguments;if(e&&!this.__chain__){var d=this.value();return b.apply(Z(d)?d:[],a)}return this[c](function(c){return b.apply(Z(c)?c:[],a)})}});Ma(I.prototype,function(a,b){var c=m[b];if(c){var e=c.name+"";(cc[e]||(cc[e]=[])).push({name:b,func:c})}});cc[Ic(v,2).name]=[{name:"wrapper",func:v}];I.prototype.clone=
|
|
function(){var a=new I(this.__wrapped__);a.__actions__=Ba(this.__actions__);a.__dir__=this.__dir__;a.__filtered__=this.__filtered__;a.__iteratees__=Ba(this.__iteratees__);a.__takeCount__=this.__takeCount__;a.__views__=Ba(this.__views__);return a};I.prototype.reverse=function(){if(this.__filtered__){var a=new I(this);a.__dir__=-1;a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a};I.prototype.value=function(){var a=this.__wrapped__.value(),b=this.__dir__,c=Z(a),e=0>b,d=c?a.length:0;var f=
|
|
0;for(var n=d,h=this.__views__,m=-1,p=h.length;++m<p;){var q=h[m],r=q.size;switch(q.type){case "drop":f+=r;break;case "dropRight":n-=r;break;case "take":n=Aa(n,f+r);break;case "takeRight":f=wa(f,n-r)}}h=n;n=h-f;f=e?h:f-1;h=this.__iteratees__;m=h.length;p=0;q=Aa(n,this.__takeCount__);if(!c||!e&&d==n&&q==n)return ef(a,this.__actions__);c=[];a:for(;n--&&p<q;){f+=b;e=-1;for(d=a[f];++e<m;){var k=h[e];r=k.iteratee;k=k.type;r=r(d);if(2==k)d=r;else if(!r)if(1==k)continue a;else break a}c[p++]=d}return c};
|
|
m.prototype.at=Lh;m.prototype.chain=function(){return Kf(this)};m.prototype.commit=function(){return new l(this.value(),this.__chain__)};m.prototype.next=function(){this.__values__===v&&(this.__values__=Vf(this.value()));var a=this.__index__>=this.__values__.length,b=a?v:this.__values__[this.__index__++];return{done:a,value:b}};m.prototype.plant=function(a){for(var b,c,e=this;e instanceof g;){var d=Ee(e);d.__index__=0;d.__values__=v;c?b.__wrapped__=d:c=d;b=d;e=e.__wrapped__}b.__wrapped__=a;return c};
|
|
m.prototype.reverse=function(){var a=this.__wrapped__;return a instanceof I?(this.__actions__.length&&(a=new I(this)),a=a.reverse(),a.__actions__.push({func:Rc,args:[ne],thisArg:v}),new l(a,this.__chain__)):this.thru(ne)};m.prototype.toJSON=m.prototype.valueOf=m.prototype.value=function(){return ef(this.__wrapped__,this.__actions__)};m.prototype.first=m.prototype.head;dc&&(m.prototype[dc]=bh);return m}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(sa._=Xa,define(function(){return Xa})):
|
|
Za?((Za.exports=Xa)._=Xa,rb._=Xa):sa._=Xa}).call(this)}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],165:[function(a,l,g){l.exports='abs and annotation annotation-xml apply approx arccos arccosh arccot arccoth arccsc arccsch arcsec arcsech arcsin arcsinh arctan arctanh arg bind bvar card cartesianproduct cbytes ceiling cerror ci cn codomain complexes compose condition conjugate cos cosh cot coth cs csc csch csymbol curl declare degree determinant diff divergence divide domain domainofapplication emptyset encoding eq equivalent eulergamma exists exp exponentiale factorial factorof false floor fn forall function gcd geq grad gt ident image imaginary imaginaryi implies in infinity int integers intersect interval inverse lambda laplacian lcm leq limit list ln log logbase lowlimit lt m:apply m:mrow maction malign maligngroup malignmark malignscope math matrix matrixrow max mean median menclose merror mfenced mfrac mfraction mglyph mi mi" min minus mlabeledtr mlongdiv mmultiscripts mn mo mode moment momentabout mover mpadded mphantom mprescripts mroot mrow ms mscarries mscarry msgroup msline mspace msqrt msrow mstack mstyle msub msubsup msup mtable mtd mtext mtr munder munderover naturalnumbers neq none not notanumber notin notprsubset notsubset or otherwise outerproduct partialdiff pi piece piecewice piecewise plus power primes product prsubset quotient rationals real reals reln rem root scalarproduct sdev sec sech select selector semantics sep set setdiff share sin sinh span subset sum tan tanh tendsto times transpose true union uplimit var variance vector vectorproduct xor'.split(" ")},
|
|
{}],166:[function(a,l,g){function k(a,b,c){if(!a||!b)return[];c=c||{};"undefined"===typeof c.cache&&(c.cache=!0);if(!Array.isArray(b))return h(a,b,c);for(var e=b.length,d=0,f=[],n=[];e--;){var p=b[d++];"string"===typeof p&&33===p.charCodeAt(0)?f.push.apply(f,h(a,p.slice(1),c)):n.push.apply(n,h(a,p,c))}return m.diff(n,f)}function h(a,c,d){if("string"!==m.typeOf(a)&&!Array.isArray(a))throw Error(b("match","files","a string or array"));a=m.arrayify(a);d=d||{};var e=d.negate||!1,n=c;"string"===typeof c&&
|
|
((e="!"===c.charAt(0))&&(c=c.slice(1)),!0===d.nonegate&&(e=!1));c=f(c,d);for(var h=a.length,p=0,q=[];p<h;){var g=a[p++];g=m.unixify(g,d);c(g)&&q.push(g)}if(0===q.length){if(!0===d.failglob)throw Error('micromatch.match() found no matches for: "'+n+'".');(d.nonull||d.nullglob)&&q.push(m.unescapeGlob(n))}e&&(q=m.diff(a,q));d.ignore&&d.ignore.length&&(c=d.ignore,d=m.omit(d,["ignore"]),q=m.diff(q,k(q,c,d)));return d.nodupes?m.unique(q):q}function f(a,e){if("function"===typeof a)return a;if(a instanceof
|
|
RegExp)return function(b){return a.test(b)};if("string"!==typeof a)throw new TypeError(b("matcher","pattern","a string, regex, or function"));a=m.unixify(a,e);if(!m.isGlob(a))return m.matchPath(a,e);var d=c(a,e);return e&&e.matchBase?m.hasFilename(d,e):function(a){a=m.unixify(a,e);return d.test(a)}}function d(a,b){var c=Object.create(b||{}),e=c.flags||"";c.nocase&&-1===e.indexOf("i")&&(e+="i");var d=p(a,c);c.negated=c.negated||d.negated;c.negate=c.negated;d=d.pattern;var f=c&&!c.contains?"^":"";d=
|
|
"(?:"+d+")"+(c&&!c.contains?"$":"");a=c&&c.negate?f+("(?!^"+d+").*$"):f+d;var h;try{return h=new RegExp(a,e)}catch(x){if(x.reason="micromatch invalid regex: ("+h+")",c.strict)throw new SyntaxError(x);}return/$^/}function c(a,c){if("string"!==m.typeOf(a))throw Error(b("makeRe","glob","a string"));return m.cache(d,a,c)}function b(a,b,c){return"micromatch."+a+"(): "+b+" should be "+c+"."}var p=a("./lib/expand"),m=a("./lib/utils");k.any=function(a,c,d){if(!Array.isArray(c)&&"string"!==typeof c)throw new TypeError(b("any",
|
|
"patterns","a string or array"));c=m.arrayify(c);var e=c.length;for(a=m.unixify(a,d);e--;)if(f(c[e],d)(a))return!0;return!1};k.braces=k.braceExpand=m.braces;k.contains=function(a,c,d){if("string"!==typeof a)throw new TypeError(b("contains","pattern","a string"));d=d||{};d.contains=""!==c;a=m.unixify(a,d);return d.contains&&!m.isGlob(c)?-1!==a.indexOf(c):f(c,d)(a)};k.expand=p;k.filter=function(a,c){if(!Array.isArray(a)&&"string"!==typeof a)throw new TypeError(b("filter","patterns","a string or array"));
|
|
a=m.arrayify(a);for(var e=a.length,d=0,h=Array(e);d<e;)h[d]=f(a[d++],c);return function(a){if(null==a)return[];var b=h.length,e=0,d=!0;for(a=m.unixify(a,c);e<b;)if(!(0,h[e++])(a)){d=!1;break}return d}};k.isMatch=function(a,c,d){if("string"!==typeof a)throw new TypeError(b("isMatch","filepath","a string"));a=m.unixify(a,d);return"object"===m.typeOf(c)?f(a,c):f(c,d)(a)};k.makeRe=c;k.match=h;k.matcher=f;k.matchKeys=function(a,c,d){if("object"!==m.typeOf(a))throw new TypeError(b("matchKeys","first argument",
|
|
"an object"));c=f(c,d);d={};for(var e in a)a.hasOwnProperty(e)&&c(e)&&(d[e]=a[e]);return d};l.exports=k},{"./lib/expand":168,"./lib/utils":170}],167:[function(a,l,g){function k(a,c){return Object.keys(a).reduce(function(b,d){b[a[d]]=c?c+d:d;return b},{})}a={};var h,f;a.escapeRegex={"?":/\?/g,"@":/\@/g,"!":/\!/g,"+":/\+/g,"*":/\*/g,"(":/\(/g,")":/\)/g,"[":/\[/g,"]":/\]/g};a.ESC={"?":"__UNESC_QMRK__","@":"__UNESC_AMPE__","!":"__UNESC_EXCL__","+":"__UNESC_PLUS__","*":"__UNESC_STAR__",",":"__UNESC_COMMA__",
|
|
"(":"__UNESC_LTPAREN__",")":"__UNESC_RTPAREN__","[":"__UNESC_LTBRACK__","]":"__UNESC_RTBRACK__"};a.UNESC=h||(h=k(a.ESC,"\\"));a.ESC_TEMP={"?":"__TEMP_QMRK__","@":"__TEMP_AMPE__","!":"__TEMP_EXCL__","*":"__TEMP_STAR__","+":"__TEMP_PLUS__",",":"__TEMP_COMMA__","(":"__TEMP_LTPAREN__",")":"__TEMP_RTPAREN__","[":"__TEMP_LTBRACK__","]":"__TEMP_RTBRACK__"};a.TEMP=f||(f=k(a.ESC_TEMP));l.exports=a},{}],168:[function(a,l,g){function k(a,b){var c=a.split(b),e=""===c[0],d=""===c[c.length-1];c=c.filter(Boolean);
|
|
e&&c.unshift("");d&&c.push("");return c.join(b)}function h(a){return a.replace(/\[\^([^\]]*?)\]/g,function(a,b){-1===b.indexOf("/")&&(b="\\/"+b);return"[^"+b+"]"})}function f(a,b,c){var e=a.split(b),d=e.join("").length,f=a.split(c).join("").length;return d!==f?(a=e.join("\\"+b),a.split(c).join("\\"+c)):a}function d(a){return a?"(?!"+n+")(?=.)"+q:e+q}function c(a){return a?t:"(?:(?!(?:\\/|^)\\.).)*?"}var b=a("./utils"),p=a("./glob");l.exports=function(a,n){if("string"!==typeof a)throw new TypeError("micromatch.expand(): argument should be a string.");
|
|
var g=new p(a,n||{}),t=g.options;if(!b.isGlob(a))return g.pattern=g.pattern.replace(/([\/.])/g,"\\$1"),g;g.pattern=g.pattern.replace(/(\+)(?!\()/g,"\\$1");g.pattern=g.pattern.split("$").join("\\$");"boolean"!==typeof t.braces&&"boolean"!==typeof t.nobraces&&(t.braces=!0);if(".*"===g.pattern)return{pattern:"\\."+q,tokens:l,options:t};if("*"===g.pattern)return{pattern:d(t.dot),tokens:l,options:t};g.parse();var l=g.tokens;l.is.negated=t.negated;!0!==t.dotfiles&&!l.is.dotfile||!1===t.dot||(t.dotfiles=
|
|
!0,t.dot=!0);!0!==t.dotdirs&&!l.is.dotdir||!1===t.dot||(t.dotdirs=!0,t.dot=!0);/[{,]\./.test(g.pattern)&&(t.makeRe=!1,t.dot=!0);!0!==t.nonegate&&(t.negated=g.negated);"."===g.pattern.charAt(0)&&"/"!==g.pattern.charAt(1)&&(g.pattern="\\"+g.pattern);g.track("before braces");l.is.braces&&g.braces();g.track("after braces");g.track("before extglob");l.is.extglob&&g.extglob();g.track("after extglob");g.track("before brackets");l.is.brackets&&g.brackets();g.track("after brackets");g._replace("[!","[^");
|
|
g._replace("(?","(%~");g._replace(/\[\]/,"\\[\\]");g._replace("/[","/"+(t.dot?r:e)+"[",!0);g._replace("/?","/"+(t.dot?r:e)+"[^/]",!0);g._replace("/.","/(?=.)\\.",!0);g._replace(/^(\w):([\\\/]+?)/gi,"(?=.)$1:$2",!0);-1!==g.pattern.indexOf("[^")&&(g.pattern=h(g.pattern));!1!==t.globstar&&"**"===g.pattern?g.pattern=c(t.dot):(g.pattern=f(g.pattern,"[","]"),g.escape(g.pattern),l.is.globstar&&(g.pattern=k(g.pattern,"/**"),g.pattern=k(g.pattern,"**/"),g._replace("/**/","(?:/"+c(t.dot)+"/|/)",!0),g._replace(/\*{2,}/g,
|
|
"**"),g._replace(/(\w+)\*(?!\/)/g,"$1[^/]*?",!0),g._replace(/\*\*\/\*(\w)/g,c(t.dot)+"\\/"+(t.dot?r:e)+"[^/]*?$1",!0),!0!==t.dot&&g._replace(/\*\*\/(.)/g,"(?:**\\/|)$1"),(""!==l.path.dirname||/,\*\*|\*\*,/.test(g.orig))&&g._replace("**",c(t.dot),!0)),g._replace(/\/\*$/,"\\/"+d(t.dot),!0),g._replace(/(?!\/)\*$/,q,!0),g._replace(/([^\/]+)\*/,"$1"+d(!0),!0),g._replace("*",d(t.dot),!0),g._replace("?.","?\\.",!0),g._replace("?:","?:",!0),g._replace(/\?+/g,function(a){a=a.length;return 1===a?m:m+"{"+a+
|
|
"}"}),g._replace(/\.([*\w]+)/g,"\\.$1"),g._replace(/\[\^[\\\/]+\]/g,m),g._replace(/\/+/g,"\\/"),g._replace(/\\{2,}/g,"\\"));g.unescape(g.pattern);g._replace("__UNESC_STAR__","*");g._replace("?.","?\\.");g._replace("[^\\/]",m);1<g.pattern.length&&/^[\[?*]/.test(g.pattern)&&(g.pattern=(t.dot?r:e)+g.pattern);return g};var m="[^/]",q=m+"*?",e="(?!\\.)(?=.)",n="(?:\\/|^)\\.{1,2}($|\\/)",r="(?!"+n+")(?=.)",t="(?:(?!"+n+").)*?"},{"./glob":169,"./utils":170}],169:[function(a,l,g){function k(a){a=a.split("%~").join("?");
|
|
return a=a.split("%%").join("*")}var h=a("./chars"),f=a("./utils");a=l.exports=function c(a,f){if(!(this instanceof c))return new c(a,f);this.options=f||{};this.pattern=a;this.history=[];this.tokens={};this.init(a)};a.prototype.init=function(a){this.orig=a;this.negated=this.isNegated();this.options.track=this.options.track||!1;this.options.makeRe=!0};a.prototype.track=function(a){this.options.track&&this.history.push({msg:a,pattern:this.pattern})};a.prototype.isNegated=function(){return 33===this.pattern.charCodeAt(0)?
|
|
(this.pattern=this.pattern.slice(1),!0):!1};a.prototype.braces=function(){if(!0!==this.options.nobraces&&!0!==this.options.nobrace){var a=this.pattern.match(/[\{\(\[]/g),b=this.pattern.match(/[\}\)\]]/g);a&&b&&a.length!==b.length&&(this.options.makeRe=!1);this.pattern=f.braces(this.pattern,this.options).join("|")}};a.prototype.brackets=function(){!0!==this.options.nobrackets&&(this.pattern=f.brackets(this.pattern))};a.prototype.extglob=function(){!0!==this.options.noextglob&&f.isExtglob(this.pattern)&&
|
|
(this.pattern=f.extglob(this.pattern,{escape:!0}))};a.prototype.parse=function(a){return this.tokens=f.parseGlob(a||this.pattern,!0)};a.prototype._replace=function(a,b,f){this.track('before (find): "'+a+'" (replace with): "'+b+'"');f&&(b=b.split("?").join("%~"),b=b.split("*").join("%%"));this.pattern=a&&b&&"string"===typeof a?this.pattern.split(a).join(b):this.pattern.replace(a,b);this.track("after")};a.prototype.escape=function(a){this.track("before escape: ");this.pattern=a.replace(/["\\](['"]?[^"'\\]['"]?)/g,
|
|
function(a,c){var b=h.ESC;return(b=b&&b[c])?b:/[a-z]/i.test(a)?a.split("\\").join(""):a});this.track("after escape: ")};a.prototype.unescape=function(a){this.pattern=a.replace(/__([A-Z]+)_([A-Z]+)__/g,function(a,c){return h[c][a]});this.pattern=k(this.pattern)}},{"./chars":167,"./utils":170}],170:[function(a,l,g){(function(k){var h=k&&"win32"===k.platform,f=a("path"),d=a("filename-regex"),c=l.exports;c.diff=a("arr-diff");c.unique=a("array-unique");c.braces=a("braces");c.brackets=a("expand-brackets");
|
|
c.extglob=a("extglob");c.isExtglob=a("is-extglob");c.isGlob=a("is-glob");c.typeOf=a("kind-of");c.normalize=a("normalize-path");c.omit=a("object.omit");c.parseGlob=a("parse-glob");c.cache=a("regex-cache");c.filename=function(a){return(a=a.match(d()))&&a[0]};c.isPath=function(a,d){d=d||{};return function(b){b=c.unixify(b,d);return d.nocase?a.toLowerCase()===b.toLowerCase():a===b}};c.hasPath=function(a,d){return function(b){return-1!==c.unixify(a,d).indexOf(b)}};c.matchPath=function(a,d){return d&&d.contains?
|
|
c.hasPath(a,d):c.isPath(a,d)};c.hasFilename=function(a){return function(b){return(b=c.filename(b))&&a.test(b)}};c.arrayify=function(a){return Array.isArray(a)?a:[a]};c.unixify=function(a,d){return d&&!1===d.unixify?a:d&&!0===d.unixify||h||"\\"===f.sep?c.normalize(a,!1):d&&!0===d.unescape?a?a.toString().replace(/\\(\w)/g,"$1"):"":a};c.escapePath=function(a){return a.replace(/[\\.]/g,"\\$&")};c.unescapeGlob=function(a){return a.replace(/[\\"']/g,"")};c.escapeRe=function(a){return a.replace(/[-[\\$*+?.#^\s{}(|)\]]/g,
|
|
"\\$&")};l.exports=c}).call(this,a("_process"))},{_process:16,"arr-diff":45,"array-unique":49,braces:53,"expand-brackets":79,extglob:81,"filename-regex":83,"is-extglob":118,"is-glob":119,"kind-of":161,"normalize-path":175,"object.omit":178,"parse-glob":181,path:14,"regex-cache":311}],171:[function(a,l,g){function k(a,b){a=a||{};b=b||{};var c={};Object.keys(b).forEach(function(a){c[a]=b[a]});Object.keys(a).forEach(function(b){c[b]=a[b]});return c}function h(a,b,c){if("string"!==typeof b)throw new TypeError("glob pattern string required");
|
|
c||(c={});return c.nocomment||"#"!==b.charAt(0)?""===b.trim()?""===a:(new f(b,c)).match(a):!1}function f(a,b){if(!(this instanceof f))return new f(a,b);if("string"!==typeof a)throw new TypeError("glob pattern string required");b||(b={});a=a.trim();"/"!==c.sep&&(a=a.split(c.sep).join("/"));this.options=b;this.set=[];this.pattern=a;this.regexp=null;this.empty=this.comment=this.negate=!1;this.make()}function d(a,b){b||(b=this instanceof f?this.options:{});a="undefined"===typeof a?this.pattern:a;if("undefined"===
|
|
typeof a)throw new TypeError("undefined pattern");return b.nobrace||!a.match(/\{.*\}/)?[a]:p(a)}l.exports=h;h.Minimatch=f;var c={sep:"/"};try{c=a("path")}catch(r){}var b=h.GLOBSTAR=f.GLOBSTAR={},p=a("brace-expansion"),m={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},q=function(a){return a.split("").reduce(function(a,b){a[b]=!0;return a},{})}("().*{}+?[]^$\\!"),e=/\/+/;h.filter=function(a,b){b=
|
|
b||{};return function(c,e,d){return h(c,a,b)}};h.defaults=function(a){if(!a||!Object.keys(a).length)return h;var b=function(b,c,e){return h.minimatch(b,c,k(a,e))};b.Minimatch=function(b,c){return new h.Minimatch(b,k(a,c))};return b};f.defaults=function(a){return a&&Object.keys(a).length?h.defaults(a).Minimatch:f};f.prototype.debug=function(){};f.prototype.make=function(){if(!this._made){var a=this.pattern,b=this.options;b.nocomment||"#"!==a.charAt(0)?a?(this.parseNegate(),a=this.globSet=this.braceExpand(),
|
|
b.debug&&(this.debug=console.error),this.debug(this.pattern,a),a=this.globParts=a.map(function(a){return a.split(e)}),this.debug(this.pattern,a),a=a.map(function(a,b,c){return a.map(this.parse,this)},this),this.debug(this.pattern,a),a=a.filter(function(a){return-1===a.indexOf(!1)}),this.debug(this.pattern,a),this.set=a):this.empty=!0:this.comment=!0}};f.prototype.parseNegate=function(){var a=this.pattern,b=!1,c=0;if(!this.options.nonegate){for(var e=0,d=a.length;e<d&&"!"===a.charAt(e);e++)b=!b,c++;
|
|
c&&(this.pattern=a.substr(c));this.negate=b}};h.braceExpand=function(a,b){return d(a,b)};f.prototype.braceExpand=d;f.prototype.parse=function(a,c){function e(){if(g){switch(g){case "*":f+="[^/]*?";h=!0;break;case "?":f+="[^/]";h=!0;break;default:f+="\\"+g}E.debug("clearStateChar %j %j",g,f);g=!1}}if(65536<a.length)throw new TypeError("pattern is too long");var d=this.options;if(!d.noglobstar&&"**"===a)return b;if(""===a)return"";for(var f="",h=!!d.nocase,p=!1,k=[],r=[],g,t=!1,l=-1,I=-1,D="."===a.charAt(0)?
|
|
"":d.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=this,P=0,y=a.length,z;P<y&&(z=a.charAt(P));P++)if(this.debug("%s\t%s %s %j",a,P,f,z),p&&q[z])f+="\\"+z,p=!1;else switch(z){case "/":return!1;case "\\":e();p=!0;continue;case "?":case "*":case "+":case "@":case "!":this.debug("%s\t%s %s %j <-- stateChar",a,P,f,z);if(t){this.debug(" in class");"!"===z&&P===I+1&&(z="^");f+=z;continue}E.debug("call clearStateChar %j",g);e();g=z;d.noext&&e();continue;case "(":if(t){f+="(";continue}if(!g){f+="\\(";
|
|
continue}k.push({type:g,start:P-1,reStart:f.length,open:m[g].open,close:m[g].close});f+="!"===g?"(?:(?!(?:":"(?:";this.debug("plType %j %j",g,f);g=!1;continue;case ")":if(t||!k.length){f+="\\)";continue}e();h=!0;var H=k.pop();f+=H.close;"!"===H.type&&r.push(H);H.reEnd=f.length;continue;case "|":if(t||!k.length||p){f+="\\|";p=!1;continue}e();f+="|";continue;case "[":e();if(t){f+="\\"+z;continue}t=!0;I=P;l=f.length;f+=z;continue;case "]":if(P===I+1||!t){f+="\\"+z;p=!1;continue}if(t){H=a.substring(I+
|
|
1,P);try{RegExp("["+H+"]")}catch(J){H=this.parse(H,n);f=f.substr(0,l)+"\\["+H[0]+"\\]";h=h||H[1];t=!1;continue}}h=!0;t=!1;f+=z;continue;default:e(),p?p=!1:!q[z]||"^"===z&&t||(f+="\\"),f+=z}t&&(H=a.substr(I+1),H=this.parse(H,n),f=f.substr(0,l)+"\\["+H[0],h=h||H[1]);for(H=k.pop();H;H=k.pop())P=f.slice(H.reStart+H.open.length),this.debug("setting tail",f,H),P=P.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(a,b,c){c||(c="\\");return b+b+c+"|"}),this.debug("tail=%j\n %s",P,P,H,f),l="*"===H.type?"[^/]*?":
|
|
"?"===H.type?"[^/]":"\\"+H.type,h=!0,f=f.slice(0,H.reStart)+l+"\\("+P;e();p&&(f+="\\\\");p=!1;switch(f.charAt(0)){case ".":case "[":case "(":p=!0}for(k=r.length-1;-1<k;k--){P=r[k];H=f.slice(0,P.reStart);l=f.slice(P.reStart,P.reEnd-8);I=f.slice(P.reEnd-8,P.reEnd);P=f.slice(P.reEnd);I+=P;y=H.split("(").length-1;z=P;for(P=0;P<y;P++)z=z.replace(/\)[+*?]?/,"");P=z;y="";""===P&&c!==n&&(y="$");f=H+l+P+y+I}""!==f&&h&&(f="(?=.)"+f);p&&(f=D+f);if(c===n)return[f,h];if(!h)return a.replace(/\\(.)/g,"$1");d=d.nocase?
|
|
"i":"";try{var Q=new RegExp("^"+f+"$",d)}catch(J){return/$./}Q._glob=a;Q._src=f;return Q};var n={};h.makeRe=function(a,b){return(new f(a,b||{})).makeRe()};f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var a=this.set;if(!a.length)return this.regexp=!1;var c=this.options,e=c.noglobstar?"[^/]*?":c.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?";c=c.nocase?"i":"";a=a.map(function(a){return a.map(function(a){return a===b?e:"string"===typeof a?
|
|
a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):a._src}).join("\\/")}).join("|");a="^(?:"+a+")$";this.negate&&(a="^(?!"+a+").*$");try{this.regexp=new RegExp(a,c)}catch(w){this.regexp=!1}return this.regexp};h.match=function(a,b,c){c=c||{};var e=new f(b,c);a=a.filter(function(a){return e.match(a)});e.options.nonull&&!a.length&&a.push(b);return a};f.prototype.match=function(a,b){this.debug("match",a,this.pattern);if(this.comment)return!1;if(this.empty)return""===a;if("/"===a&&b)return!0;var d=this.options;
|
|
"/"!==c.sep&&(a=a.split(c.sep).join("/"));a=a.split(e);this.debug(this.pattern,"split",a);var f=this.set;this.debug(this.pattern,"set",f);var n,h;for(h=a.length-1;0<=h&&!(n=a[h]);h--);for(h=0;h<f.length;h++){var m=f[h],p=a;d.matchBase&&1===m.length&&(p=[n]);if(this.matchOne(p,m,b))return d.flipNegate?!0:!this.negate}return d.flipNegate?!1:this.negate};f.prototype.matchOne=function(a,c,e){var d=this.options;this.debug("matchOne",{"this":this,file:a,pattern:c});this.debug("matchOne",a.length,c.length);
|
|
for(var f=0,n=0,h=a.length,m=c.length;f<h&&n<m;f++,n++){this.debug("matchOne loop");var p=c[n],q=a[f];this.debug(c,p,q);if(!1===p)return!1;if(p===b){this.debug("GLOBSTAR",[c,p,q]);p=f;n+=1;if(n===m){for(this.debug("** at the end");f<h;f++)if("."===a[f]||".."===a[f]||!d.dot&&"."===a[f].charAt(0))return!1;return!0}for(;p<h;){f=a[p];this.debug("\nglobstar while",a,p,c,n,f);if(this.matchOne(a.slice(p),c.slice(n),e))return this.debug("globstar found match!",p,h,f),!0;if("."===f||".."===f||!d.dot&&"."===
|
|
f.charAt(0)){this.debug("dot detected!",a,p,c,n);break}this.debug("globstar swallow a segment, and continue");p++}return e&&(this.debug("\n>>> no match, partial?",a,p,c,n),p===h)?!0:!1}if("string"===typeof p){var k=d.nocase?q.toLowerCase()===p.toLowerCase():q===p;this.debug("string match",p,q,k)}else k=q.match(p),this.debug("pattern match",p,q,k);if(!k)return!1}if(f===h&&n===m)return!0;if(f===h)return e;if(n===m)return f===h-1&&""===a[f];throw Error("wtf?");}},{"brace-expansion":52,path:14}],172:[function(a,
|
|
l,g){function k(a,d){var c=a;d.slice(0,-1).forEach(function(a){c=c[a]||{}});return d[d.length-1]in c}function h(a){return"number"===typeof a||/^0x[0-9a-f]+$/i.test(a)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(a)}l.exports=function(a,d){function c(a,b){return q.allBools&&/^--[^=]+$/.test(b)||q.strings[a]||q.bools[a]||e[a]}function b(a,b,d){if(!d||!q.unknownFn||c(a,d)||!1!==q.unknownFn(d)){var n=!q.strings[a]&&h(b)?Number(b):b;f(r,a.split("."),n);(e[a]||[]).forEach(function(a){f(r,a.split("."),
|
|
n)})}}function f(a,b,c){var e=a;b.slice(0,-1).forEach(function(a){void 0===e[a]&&(e[a]={});e=e[a]});a=b[b.length-1];void 0===e[a]||q.bools[a]||"boolean"===typeof e[a]?e[a]=c:Array.isArray(e[a])?e[a].push(c):e[a]=[e[a],c]}function m(a){return e[a].some(function(a){return q.bools[a]})}d||(d={});var q={bools:{},strings:{},unknownFn:null};"function"===typeof d.unknown&&(q.unknownFn=d.unknown);"boolean"===typeof d["boolean"]&&d["boolean"]?q.allBools=!0:[].concat(d["boolean"]).filter(Boolean).forEach(function(a){q.bools[a]=
|
|
!0});var e={};Object.keys(d.alias||{}).forEach(function(a){e[a]=[].concat(d.alias[a]);e[a].forEach(function(b){e[b]=[a].concat(e[a].filter(function(a){return b!==a}))})});[].concat(d.string).filter(Boolean).forEach(function(a){q.strings[a]=!0;e[a]&&(q.strings[e[a]]=!0)});var n=d["default"]||{},r={_:[]};Object.keys(q.bools).forEach(function(a){b(a,void 0===n[a]?!1:n[a])});var g=[];-1!==a.indexOf("--")&&(g=a.slice(a.indexOf("--")+1),a=a.slice(0,a.indexOf("--")));for(var l=0;l<a.length;l++){var w=a[l];
|
|
if(/^--.+=/.test(w)){var x=w.match(/^--([^=]+)=([\s\S]*)$/);var A=x[1];x=x[2];q.bools[A]&&(x="false"!==x);b(A,x,w)}else if(/^--no-.+/.test(w))A=w.match(/^--no-(.+)/)[1],b(A,!1,w);else if(/^--.+/.test(w))A=w.match(/^--(.+)/)[1],x=a[l+1],void 0===x||/^-/.test(x)||q.bools[A]||q.allBools||e[A]&&m(A)?/^(true|false)$/.test(x)?(b(A,"true"===x,w),l++):b(A,q.strings[A]?"":!0,w):(b(A,x,w),l++);else if(/^-[^-]+/.test(w)){A=w.slice(1,-1).split("");for(var L=!1,C=0;C<A.length;C++)if(x=w.slice(C+2),"-"===x)b(A[C],
|
|
x,w);else{if(/[A-Za-z]/.test(A[C])&&/=/.test(x)){b(A[C],x.split("=")[1],w);L=!0;break}if(/[A-Za-z]/.test(A[C])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(x)){b(A[C],x,w);L=!0;break}if(A[C+1]&&A[C+1].match(/\W/)){b(A[C],w.slice(C+2),w);L=!0;break}else b(A[C],q.strings[A[C]]?"":!0,w)}A=w.slice(-1)[0];L||"-"===A||(!a[l+1]||/^(-|--)[^-]/.test(a[l+1])||q.bools[A]||e[A]&&m(A)?a[l+1]&&/true|false/.test(a[l+1])?(b(A,"true"===a[l+1],w),l++):b(A,q.strings[A]?"":!0,w):(b(A,a[l+1],w),l++))}else if(q.unknownFn&&!1===q.unknownFn(w)||
|
|
r._.push(q.strings._||!h(w)?w:Number(w)),d.stopEarly){r._.push.apply(r._,a.slice(l+1));break}}Object.keys(n).forEach(function(a){k(r,a.split("."))||(f(r,a.split("."),n[a]),(e[a]||[]).forEach(function(b){f(r,b.split("."),n[a])}))});d["--"]?(r["--"]=[],g.forEach(function(a){r["--"].push(a)})):g.forEach(function(a){r._.push(a)});return r}},{}],173:[function(a,l,g){(function(k){function h(a,b,p,m){"function"===typeof b?(p=b,b={}):b&&"object"===typeof b||(b={mode:b});var c=b.mode,e=b.fs||d;void 0===c&&
|
|
(c=511&~k.umask());m||(m=null);var n=p||function(){};a=f.resolve(a);e.mkdir(a,c,function(c){if(!c)return m=m||a,n(null,m);switch(c.code){case "ENOENT":h(f.dirname(a),b,function(c,e){c?n(c,e):h(a,b,n,e)});break;default:e.stat(a,function(a,b){a||!b.isDirectory()?n(c,m):n(null,m)})}})}var f=a("path"),d=a("fs");l.exports=h.mkdirp=h.mkdirP=h;h.sync=function b(a,h,q){h&&"object"===typeof h||(h={mode:h});var e=h.mode,n=h.fs||d;void 0===e&&(e=511&~k.umask());q||(q=null);a=f.resolve(a);try{n.mkdirSync(a,e),
|
|
q=q||a}catch(t){switch(t.code){case "ENOENT":q=b(f.dirname(a),h,q);b(a,h,q);break;default:try{var m=n.statSync(a)}catch(u){throw t;}if(!m.isDirectory())throw t;}}return q}}).call(this,a("_process"))},{_process:16,fs:1,path:14}],174:[function(a,l,g){function k(a){a=String(a);if(!(100<a.length)&&(a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a))){var b=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case "years":case "year":case "yrs":case "yr":case "y":return b*
|
|
d;case "days":case "day":case "d":return b*f;case "hours":case "hour":case "hrs":case "hr":case "h":return 36E5*b;case "minutes":case "minute":case "mins":case "min":case "m":return 6E4*b;case "seconds":case "second":case "secs":case "sec":case "s":return 1E3*b;case "milliseconds":case "millisecond":case "msecs":case "msec":case "ms":return b}}}function h(a,b,d){if(!(a<b))return a<1.5*b?Math.floor(a/b)+" "+d:Math.ceil(a/b)+" "+d+"s"}var f=864E5,d=365.25*f;l.exports=function(a,b){b=b||{};var c=typeof a;
|
|
if("string"===c&&0<a.length)return k(a);if("number"===c&&!1===isNaN(a))return b["long"]?h(a,f,"day")||h(a,36E5,"hour")||h(a,6E4,"minute")||h(a,1E3,"second")||a+" ms":a>=f?Math.round(a/f)+"d":36E5<=a?Math.round(a/36E5)+"h":6E4<=a?Math.round(a/6E4)+"m":1E3<=a?Math.round(a/1E3)+"s":a+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a));}},{}],175:[function(a,l,g){var k=a("remove-trailing-separator");l.exports=function(a,f){if("string"!==typeof a)throw new TypeError("expected a string");
|
|
a=a.replace(/[\\\/]+/g,"/");!1!==f&&(a=k(a));return a}},{"remove-trailing-separator":312}],176:[function(a,l,g){(function(a,h,f){"undefined"!==typeof l&&l.exports?l.exports=f():"function"===typeof define&&define.amd?define(f):h[a]=f(a,h)})("normalizeSelector",this,function(a,h){return function(a){function d(){g&&(0<c.length&&/^[~+>]$/.test(c[c.length-1])&&c.push(" "),c.push(g))}var c=[],b,f=[0],h=0,q=/(?:[^\\]|(?:^|[^\\])(?:\\\\)+)$/,e=/^\s+$/,n=/[^\s=~!^|$*\[\]\(\)]{2}/,k=[/\s+|\/\*|["'>~+\[\(]/g,
|
|
/\s+|\/\*|["'\[\]\(\)]/g,/\s+|\/\*|["'\[\]\(\)]/g,null,/\*\//g];for(a=a.trim();;){var g="";var l=k[f[f.length-1]];l.lastIndex=h;if(b=l.exec(a)){var w=h;h=l.lastIndex;w<h-b[0].length&&(g=a.substring(w,h-b[0].length));1===f[f.length-1]&&n.test(c[c.length-1].substr(-1)+g.charAt(0))&&c.push(" ");if(3>f[f.length-1]){d();if("["===b[0])f.push(1);else if("("===b[0])f.push(2);else if(/^["']$/.test(b[0]))f.push(3),k[3]=new RegExp(b[0],"g");else if("/*"===b[0])f.push(4);else if(/^[\]\)]$/.test(b[0])&&0<f.length)f.pop();
|
|
else if(/^(?:\s+|[~+>])$/.test(b[0])&&(0<c.length&&!e.test(c[c.length-1])&&0===f[f.length-1]&&c.push(" "),e.test(b[0])))continue;c.push(b[0])}else c[c.length-1]+=g,q.test(c[c.length-1])&&(4===f[f.length-1]&&(2>c.length||e.test(c[c.length-2])?c.pop():c[c.length-1]=" ",b[0]=""),f.pop()),c[c.length-1]+=b[0]}else{g=a.substr(h);d();break}}return c.join("").trim()}})},{}],177:[function(a,l,g){var k=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;l.exports=
|
|
function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var c={};for(a=0;10>a;a++)c["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(c).map(function(a){return c[a]}).join(""))return!1;var b={};"abcdefghijklmnopqrst".split("").forEach(function(a){b[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},b)).join("")?!1:!0}catch(p){return!1}}()?Object.assign:function(a,c){if(null===a||void 0===
|
|
a)throw new TypeError("Object.assign cannot be called with null or undefined");var b=Object(a);for(var d,m=1;m<arguments.length;m++){var q=Object(arguments[m]);for(var e in q)h.call(q,e)&&(b[e]=q[e]);if(k){d=k(q);for(var n=0;n<d.length;n++)f.call(q,d[n])&&(b[d[n]]=q[d[n]])}}return b}},{}],178:[function(a,l,g){var k=a("is-extendable"),h=a("for-own");l.exports=function(a,d){if(!k(a))return{};d=[].concat.apply([],[].slice.call(arguments,1));var c={},b;"function"===typeof d[d.length-1]&&(b=d.pop());var f=
|
|
"function"===typeof b;if(!d.length&&!f)return a;h(a,function(h,p){-1===d.indexOf(p)&&(f?b(h,p,a)&&(c[p]=h):c[p]=h)});return c}},{"for-own":89,"is-extendable":117}],179:[function(a,l,g){function k(a){var d=function(){if(d.called)return d.value;d.called=!0;return d.value=a.apply(this,arguments)};d.called=!1;return d}function h(a){var d=function(){if(d.called)throw Error(d.onceError);d.called=!0;return d.value=a.apply(this,arguments)};d.onceError=(a.name||"Function wrapped with `once`")+" shouldn't be called more than once";
|
|
d.called=!1;return d}a=a("wrappy");l.exports=a(k);l.exports.strict=a(h);k.proto=k(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return k(this)},configurable:!0});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return h(this)},configurable:!0})})},{wrappy:610}],180:[function(a,l,g){(function(k){function h(){var a=k.env,c=a.HOME,b=a.LOGNAME||a.USER||a.LNAME||a.USERNAME;return"win32"===k.platform?a.USERPROFILE||a.HOMEDRIVE+a.HOMEPATH||c||null:"darwin"===
|
|
k.platform?c||(b?"/Users/"+b:null):"linux"===k.platform?c||(0===k.getuid()?"/root":b?"/home/"+b:null):c||null}var f=a("os");l.exports="function"===typeof f.homedir?f.homedir:h}).call(this,a("_process"))},{_process:16,os:13}],181:[function(a,l,g){function k(a){return a.replace(/\{([^{}]*?)}|\(([^()]*?)\)|\[([^\[\]]*?)\]/g,function(a,b,c,d){return(b=b||c||d)?a.split(b).join(h(b)):a})}function h(a){a=a.split("/").join("__SLASH__");return a=a.split(".").join("__DOT__")}function f(a){a=a.split("__SLASH__").join("/");
|
|
return a=a.split("__DOT__").join(".")}var d=a("is-glob"),c=a("glob-base"),b=a("is-extglob"),p=a("is-dotfile"),m=l.exports.cache={};l.exports=function(a){if(m.hasOwnProperty(a))return m[a];var e={};e.orig=a;e.is={};a=k(a);var n=c(a);e.is.glob=n.isGlob;e.glob=n.glob;e.base=n.base;n=/([^\/]*)$/.exec(a);e.path={};e.path.dirname="";e.path.basename=n[1]||"";e.path.dirname=a.split(e.path.basename).join("")||"";n=(e.path.basename||"").split(".")||"";e.path.filename=n[0]||"";e.path.extname=n.slice(1).join(".")||
|
|
"";e.path.ext="";d(e.path.dirname)&&!e.path.basename&&(/\/$/.test(e.glob)||(e.path.basename=e.glob),e.path.dirname=e.base);-1!==a.indexOf("/")||e.is.globstar||(e.path.dirname="",e.path.basename=e.orig);n=e.path.basename.indexOf(".");-1!==n&&(e.path.filename=e.path.basename.slice(0,n),e.path.extname=e.path.basename.slice(n));"."===e.path.extname.charAt(0)&&(n=e.path.extname.split("."),e.path.ext=n[n.length-1]);e.glob=f(e.glob);e.path.dirname=f(e.path.dirname);e.path.basename=f(e.path.basename);e.path.filename=
|
|
f(e.path.filename);e.path.extname=f(e.path.extname);n=a&&e.is.glob;e.is.negated=a&&"!"===a.charAt(0);e.is.extglob=a&&b(a);e.is.braces=n&&-1!==a.indexOf("{");e.is.brackets=n&&-1!==a.indexOf("[:");e.is.globstar=n&&-1!==a.indexOf("**");e.is.dotfile=p(e.path.basename)||p(e.path.filename);n=e.is;var h=e.path.dirname;h=-1!==h.indexOf("/.")?!0:"."===h.charAt(0)&&"/"!==h.charAt(1)?!0:!1;n.dotdir=h;return m[a]=e}},{"glob-base":92,"is-dotfile":115,"is-extglob":118,"is-glob":119}],182:[function(a,l,g){g=a("error-ex");
|
|
var k=a("./vendor/parse"),h=g("JSONError",{fileName:g.append("in %s")});l.exports=function(a,d,c){"string"===typeof d&&(c=d,d=null);try{try{return JSON.parse(a,d)}catch(b){throw k.parse(a,{mode:"json",reviver:d}),b;}}catch(b){throw a=new h(b),c&&(a.fileName=c),a;}}},{"./vendor/parse":183,"error-ex":76}],183:[function(a,l,g){function k(a){return"0"<=a&&"9">=a||"A"<=a&&"F">=a||"a"<=a&&"f">=a}function h(a){return"0"<=a&&"7">=a}function f(a){return"0"<=a&&"9">=a}function d(a,d){function m(b){var e=D-
|
|
I;if(!b)if(D<M){var d="'"+JSON.stringify(a[D]).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";b||(b="Unexpected token "+d)}else b||(b="Unexpected end of input");d=SyntaxError;var f=D;b=b+" at "+(B+1)+":"+(e+1);var n=f-e-1,h="",m="",p=C?c.isLineTerminator:c.isLineTerminatorJSON;for(n<f-70&&(n=f-70);;){var k=a[++n];if(p(k)||n===a.length){f>=n&&(m+="^");break}h+=k;f===n?m+="^":f>n&&(m+="\t"===a[n]?"\t":" ");if(78<h.length)break}d=d(b+"\n"+h+"\n"+m);d.row=B+1;d.column=e+1;throw d;}function e(b){"\r"===
|
|
b&&"\n"===a[D]&&D++;I=D;B++}function n(){for(;D<M;){P();var b=a[D++];if('"'===b||"'"===b&&C)return y(L(b),"literal");if("{"===b)return y(void 0,"separator"),w();if("["===b)return y(void 0,"separator"),x();if("-"===b||"."===b||f(b)||C&&("+"===b||"I"===b||"N"===b))return y(A(),"literal");if("n"===b)return l("null"),y(null,"literal");if("t"===b)return l("true"),y(!0,"literal");if("f"===b)return l("false"),y(!1,"literal");D--;return y(void 0)}}function p(){for(var b;D<M;){P();var e=a[D++];if('"'===e||
|
|
"'"===e&&C)return y(L(e),"key");if("{"===e)return y(void 0,"separator"),w();if("["===e)return y(void 0,"separator"),x();if("."===e||f(e))return y(A(!0),"key");if(C&&c.isIdentifierStart(e)||"\\"===e&&"u"===a[D]){e=D-1;a:{D--;for(b="";D<M;){var d=a[D++];"\\"===d&&"u"===a[D]&&k(a[D+1])&&k(a[D+2])&&k(a[D+3])&&k(a[D+4])&&(d=String.fromCharCode(parseInt(a.substr(D+1,4),16)),D+=5);if(b.length)if(c.isIdentifierPart(d))b+=d;else{D--;break a}else if(c.isIdentifierStart(d))b+=d;else{b=void 0;break a}}m();b=
|
|
void 0}return void 0===b?(D=e,y(void 0)):y(b,"key")}D--;return y(void 0)}}function g(){for(P();D<M;){var b=a[D++];if(F(b))D--,y(void 0,"whitespace"),P(),D++,e(b),y(void 0,"newline"),P();else if(!K(b))if("/"!==b||!C||"/"!==a[D]&&"*"!==a[D]){D--;break}else{D--;y(void 0,"whitespace");P();D++;a:{for(b="*"===a[D++];D<M;){var c=a[D++];if(F(c)){if(!b){D--;break a}e(c)}else if("*"===c&&b&&"/"===a[D]){D++;break a}}b&&m("Unclosed multiline comment")}y(void 0,"comment");P()}}return y(void 0,"whitespace")}function l(b){for(var c=
|
|
D,e=b.length,d=1;d<e;d++){if(D>=M||b[d]!=a[D])D=c-1,m();D++}}function w(){for(var b,c=d.null_prototype?Object.create(null):{},e={},f=!1;D<M;){g();var h=p();g();P();b=a[D++];y(void 0,"separator");if("}"===b&&void 0===h)return!C&&f&&(D--,m("Trailing comma in object")),c;if(":"===b&&void 0!==h){if(g(),E.push(h),b=n(),E.pop(),void 0===b&&m("No value found for key "+h),"string"!==typeof h&&(C&&"number"===typeof h||m("Wrong key type: "+h)),(h in e||null!=e[h])&&"replace"!==d.reserved_keys?"throw"===d.reserved_keys&&
|
|
m("Reserved key: "+h):("function"===typeof d.reviver&&(b=d.reviver.call(null,h,b)),void 0!==b&&(f=!0,Object.defineProperty(c,h,{value:b,enumerable:!0,configurable:!0,writable:!0}))),g(),P(),b=a[D++],y(void 0,"separator"),","!==b){if("}"===b)return c;m()}}else D--,m()}m()}function x(){for(var b=[];D<M;){g();E.push(b.length);var c=n();E.pop();g();P();var e=a[D++];y(void 0,"separator");void 0!==c&&("function"===typeof d.reviver&&(c=d.reviver.call(null,String(b.length),c)),void 0===c?(b.length++,c=!0):
|
|
b.push(c));if(","===e)void 0===c&&m("Elisions are not supported");else{if("]"===e)return!C&&void 0===c&&b.length&&(D--,m("Trailing comma in array")),b;D--;m()}}}function A(){D--;var b=D,c=a[D++],e=function(c){var e=a.substr(b,D-b);c=c?parseInt(e.replace(/^0o?/,""),8):Number(e);if(Number.isNaN(c))D--,m('Bad numeric literal - "'+a.substr(b,D-b+1)+'"');else{if(C||e.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i))return c;D--;m('Non-json numeric literal - "'+a.substr(b,D-b+1)+'"')}};if("-"===
|
|
c||"+"===c&&C)c=a[D++];if("N"===c&&C)return l("NaN"),NaN;if("I"===c&&C)return l("Infinity"),e();if("1"<=c&&"9">=c){for(;D<M&&f(a[D]);)D++;c=a[D++]}if("0"===c){c=a[D++];var d="o"===c||"O"===c||h(c),n="x"===c||"X"===c;if(C&&(d||n)){for(;D<M&&(n?k:h)(a[D]);)D++;c=1;"-"===a[b]?(c=-1,b++):"+"===a[b]&&b++;return c*e(d)}}if("."===c){for(;D<M&&f(a[D]);)D++;c=a[D++]}if("e"===c||"E"===c){c=a[D++];for("-"!==c&&"+"!==c||D++;D<M&&f(a[D]);)D++;c=a[D++]}D--;return e()}function L(c){for(var d,f="";D<M;){d=a[D++];
|
|
if(d===c)return f;if("\\"===d)if(D>=M&&m(),d=a[D++],b[d]&&(C||"v"!=d&&"'"!=d))f+=b[d];else if(C&&F(d))e(d);else if("u"===d||"x"===d&&C){d="u"===d?4:2;for(var n=0;n<d;n++)D>=M&&m(),k(a[D])||m("Bad escape sequence"),D++;f+=String.fromCharCode(parseInt(a.substr(D-d,d),16))}else C&&h(d)?(d="4">d&&h(a[D])&&h(a[D+1])?3:h(a[D])?2:1,D+=d-1,f+=String.fromCharCode(parseInt(a.substr(D-d,d),8))):C?f+=d:(D--,m());else F(d)?m():(!C&&32>d.charCodeAt(0)&&(D--,m("Unexpected control character")),f+=d)}m()}var C=!("json"===
|
|
d.mode||d.legacy),F=C?c.isLineTerminator:c.isLineTerminatorJSON,K=C?c.isWhiteSpace:c.isWhiteSpaceJSON,M=a.length,B=0,I=0,D=0,E=[],P=function(){},y=function(a){return a};d._tokenize&&function(){var b=null;P=function(){if(null!==b)throw Error("internal error, token overlap");b=D};y=function(c,e){if(b!=D){var f={raw:a.substr(b,D-b),type:e,stack:E.slice(0)};void 0!==c&&(f.value=c);d._tokenize.call(null,f)}b=null;return c}}();g();var z=n();if(void 0!==z||D<M){g();if(D>=M)return"function"===typeof d.reviver&&
|
|
(z=d.reviver.call(null,"",z)),z;m()}else D?m("No data, only a whitespace"):m("No data, empty input")}var c=a("./unicode"),b={"'":"'",'"':'"',"\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v","/":"/"};l.exports.parse=function(a,b){"function"===typeof b&&(b={reviver:b});if(void 0!==a){"string"!==typeof a&&(a=String(a));null==b&&(b={});null==b.reserved_keys&&(b.reserved_keys="ignore");"throw"!==b.reserved_keys&&"ignore"!==b.reserved_keys||null!=b.null_prototype||(b.null_prototype=!0);try{return d(a,
|
|
b)}catch(e){if(e instanceof SyntaxError&&null!=e.row&&null!=e.column){var c=e;e=SyntaxError(c.message);e.column=c.column;e.row=c.row}throw e;}}};l.exports.tokenize=function(a,b){null==b&&(b={});b._tokenize=function(a){b._addstack&&a.stack.unshift.apply(a.stack,b._addstack);c.push(a)};var c=[];c.data=l.exports.parse(a,b);return c}},{"./unicode":184}],184:[function(a,l,g){var k=l.exports;l.exports.isWhiteSpace=function(a){return" "===a||"\u00a0"===a||"\ufeff"===a||"\t"<=a&&"\r">=a||"\u1680"===a||"\u180e"===
|
|
a||"\u2000"<=a&&"\u200a">=a||"\u2028"===a||"\u2029"===a||"\u202f"===a||"\u205f"===a||"\u3000"===a};l.exports.isWhiteSpaceJSON=function(a){return" "===a||"\t"===a||"\n"===a||"\r"===a};l.exports.isLineTerminator=function(a){return"\n"===a||"\r"===a||"\u2028"===a||"\u2029"===a};l.exports.isLineTerminatorJSON=function(a){return"\n"===a||"\r"===a};l.exports.isIdentifierStart=function(a){return"$"===a||"_"===a||"A"<=a&&"Z">=a||"a"<=a&&"z">=a||"\u0080"<=a&&k.NonAsciiIdentifierStart.test(a)};l.exports.isIdentifierPart=
|
|
function(a){return"$"===a||"_"===a||"A"<=a&&"Z">=a||"a"<=a&&"z">=a||"0"<=a&&"9">=a||"\u0080"<=a&&k.NonAsciiIdentifierPart.test(a)};l.exports.NonAsciiIdentifierStart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/;
|
|
l.exports.NonAsciiIdentifierPart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},
|
|
{}],185:[function(a,l,g){(function(a){function h(a){return"/"===a.charAt(0)}function f(a){a=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(a);var c=a[1]||"";c=!(!c||":"===c.charAt(1));return!(!a[2]&&!c)}l.exports="win32"===a.platform?f:h;l.exports.posix=h;l.exports.win32=f}).call(this,a("_process"))},{_process:16}],186:[function(a,l,g){(function(k){function h(a){return a[a.length-1]===f.sep?a.slice(0,-1):a}var f=a("path");l.exports=function(a,c){a=h(a);c=h(c);"win32"===
|
|
k.platform&&(a=a.toLowerCase(),c=c.toLowerCase());return 0===a.lastIndexOf(c,0)&&(a[c.length]===f.sep||void 0===a[c.length])}}).call(this,a("_process"))},{_process:16,path:14}],187:[function(a,l,g){var k=function(a,f){return function(){for(var d=this,c=f.promiseModule,b=Array(arguments.length),h=0;h<arguments.length;h++)b[h]=arguments[h];return new c(function(c,h){f.errorFirst?b.push(function(a,b){if(f.multiArgs){for(var e=Array(arguments.length-1),d=1;d<arguments.length;d++)e[d-1]=arguments[d];a?
|
|
(e.unshift(a),h(e)):c(e)}else a?h(a):c(b)}):b.push(function(a){if(f.multiArgs){for(var b=Array(arguments.length-1),e=0;e<arguments.length;e++)b[e]=arguments[e];c(b)}else c(a)});a.apply(d,b)})}};l.exports=function(a,f){f=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},f);var d=function(a){var b=function(b){return"string"===typeof b?a===b:b.test(a)};return f.include?f.include.some(b):!f.exclude.some(b)};var c="function"===typeof a?function(){return f.excludeMain?a.apply(this,
|
|
arguments):k(a,f).apply(this,arguments)}:Object.create(Object.getPrototypeOf(a));for(var b in a){var h=a[b];c[b]="function"===typeof h&&d(b)?k(h,f):h}return c}},{}],188:[function(a,l,g){l.exports="function"===typeof Promise?Promise:a("pinkie")},{pinkie:189}],189:[function(a,l,g){(function(a){function h(){for(var a=0;a<A.length;a++)A[a][0](A[a][1]);A=[];L=!1}function f(a,b){A.push([a,b]);L||(L=!0,x(h,0))}function d(a,b){function c(a){p(b,a)}function e(a){k(b,a)}try{a(c,e)}catch(B){e(B)}}function c(a){var c=
|
|
a.owner,e=c._state;c=c._data;var d=a[e];a=a.then;if("function"===typeof d){e="fulfilled";try{c=d(c)}catch(B){k(a,B)}}b(a,c)||("fulfilled"===e&&p(a,c),"rejected"===e&&k(a,c))}function b(a,b){var c;try{if(a===b)throw new TypeError("A promises callback cannot return that same promise.");if(b&&("function"===typeof b||"object"===typeof b)){var e=b.then;if("function"===typeof e)return e.call(b,function(e){c||(c=!0,b===e?m(a,e):p(a,e))},function(b){c||(c=!0,k(a,b))}),!0}}catch(B){return c||k(a,B),!0}return!1}
|
|
function p(a,c){a!==c&&b(a,c)||m(a,c)}function m(a,b){"pending"===a._state&&(a._state="settled",a._data=b,f(e,a))}function k(a,b){"pending"===a._state&&(a._state="settled",a._data=b,f(n,a))}function e(a){a._state="fulfilled";a._then=a._then.forEach(c)}function n(b){b._state="rejected";b._then=b._then.forEach(c);!b._handled&&w&&a.process.emit("unhandledRejection",b._data,b)}function r(b){a.process.emit("rejectionHandled",b)}function g(a){if("function"!==typeof a)throw new TypeError("Promise resolver "+
|
|
a+" is not a function");if(!1===this instanceof g)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[];d(a,this)}var u=function(){},w="undefined"!==typeof a&&"undefined"!==typeof a.process&&"function"===typeof a.process.emit,x="undefined"===typeof setImmediate?setTimeout:setImmediate,A=[],L;g.prototype={constructor:g,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(a,b){var e={owner:this,
|
|
then:new this.constructor(u),fulfilled:a,rejected:b};!b&&!a||this._handled||(this._handled=!0,"rejected"===this._state&&w&&f(r,this));"fulfilled"===this._state||"rejected"===this._state?f(c,e):this._then.push(e);return e.then},"catch":function(a){return this.then(null,a)}};g.all=function(a){if(!Array.isArray(a))throw new TypeError("You must pass an array to Promise.all().");return new g(function(b,c){function e(a){f++;return function(c){d[a]=c;--f||b(d)}}for(var d=[],f=0,n=0,h;n<a.length;n++)(h=a[n])&&
|
|
"function"===typeof h.then?h.then(e(n),c):d[n]=h;f||b(d)})};g.race=function(a){if(!Array.isArray(a))throw new TypeError("You must pass an array to Promise.race().");return new g(function(b,c){for(var e=0,d;e<a.length;e++)(d=a[e])&&"function"===typeof d.then?d.then(b,c):b(d)})};g.resolve=function(a){return a&&"object"===typeof a&&a.constructor===g?a:new g(function(b){b(a)})};g.reject=function(a){return new g(function(b,c){c(a)})};l.exports=g}).call(this,"undefined"!==typeof global?global:"undefined"!==
|
|
typeof self?self:"undefined"!==typeof window?window:{})},{}],190:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){for(var d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,c=[],b=a.length,f=d;f<b;){var m=a[f];if(0<=k.indexOf(m[1]))c.push(m[1]);else if("space"!==m[0])break;f++}for(b=0;b<h;b++)if(c[b]!==k[b])return null;return a.slice(d,f)};var k=["&",":","extend"],h=k.length;l.exports=g["default"]},{}],191:[function(a,l,g){function k(a,c){if("function"!==
|
|
typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}Object.defineProperty(g,"__esModule",{value:!0});var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,
|
|
e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=function p(a,c,e){null===a&&(a=Function.prototype);var d=Object.getOwnPropertyDescriptor(a,c);if(void 0===d){if(a=Object.getPrototypeOf(a),null!==a)return p(a,c,e)}else{if("value"in d)return d.value;c=d.get;return void 0===c?void 0:c.call(e)}},d=a("postcss/lib/rule");d=d&&d.__esModule?d:{"default":d};var c=(a=a("./less-stringify"))&&a.__esModule?a:{"default":a};a=function(a){function d(a){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");
|
|
a=(d.__proto__||Object.getPrototypeOf(d)).call(this,a);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");a=!a||"object"!==typeof a&&"function"!==typeof a?this:a;a.type="import";return a}k(d,a);h(d,[{key:"toString",value:function(a){a||(a={stringify:c["default"]});return f(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"toString",this).call(this,a)}}]);return d}(d["default"]);g["default"]=a;l.exports=g["default"]},{"./less-stringify":196,"postcss/lib/rule":235}],
|
|
192:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){var d=(a=a[1])?a[0].charCodeAt(0):null;return(d===k.dot||d===k.hash)&&!1===k.hashColorPattern.test(a)&&!1===h.test(a)};var k=a("./tokenizer/globals"),h=/\.[0-9]/;l.exports=g["default"]},{"./tokenizer/globals":202}],193:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a,c){var b=new h["default"](a,c);b=new f["default"](b,c);b.tokenize();b.loop();return b.root};var k=
|
|
a("postcss/lib/input"),h=k&&k.__esModule?k:{"default":k},f=(a=a("./less-parser"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./less-parser":194,"postcss/lib/input":224}],194:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});
|
|
b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(g,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,e){c&&a(b.prototype,c);e&&a(b,e);return b}}(),d=function x(a,b,c){null===a&&(a=Function.prototype);var e=Object.getOwnPropertyDescriptor(a,b);if(void 0===e){if(a=Object.getPrototypeOf(a),
|
|
null!==a)return x(a,b,c)}else{if("value"in e)return e.value;b=e.get;return void 0===b?void 0:b.call(c)}},c=a("postcss/lib/comment"),b=k(c);c=a("./import");var p=k(c);c=a("postcss/lib/parser");c=k(c);var m=a("./rule"),q=k(m);m=a("./root");var e=k(m);m=a("./find-extend-rule");var n=k(m);m=a("./is-mixin-token");var r=k(m);a=a("./less-tokenize");var t=k(a),u=/\*\/$/;a=function(a){function c(a){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");var b=(c.__proto__||Object.getPrototypeOf(c)).call(this,
|
|
a);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.root=new e["default"];b.current=b.root;b.root.source={input:a,start:{line:1,column:1}};return b}h(c,a);f(c,[{key:"atrule",value:function(a){"@import"===a[1]?this["import"](a):d(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"atrule",this).call(this,a)}},{key:"comment",value:function(a){var c=new b["default"],e=a[1],d=e.slice(2).replace(u,
|
|
"");this.init(c,a[2],a[3]);c.source.end={line:a[4],column:a[5]};c.raws.content=e;c.raws.begin=e[0]+e[1];c.inline="inline"===a[6];c.block=!c.inline;/^\s*$/.test(d)?(c.text="",c.raws.left=d,c.raws.right=""):(a=d.match(/^(\s*)([^]*[^\s])(\s*)$/),c.text=a[2],c.raws.left=a[1]||" ",c.raws.right=a[3]||" ")}},{key:"createDeclaration",value:function(a){this.decl(this.tokens.slice(a.start,this.pos+1))}},{key:"createRule",value:function(a){var b=";"===this.tokens[this.pos][0],c=this.tokens.slice(a.start,this.pos+
|
|
(a.empty&&b?2:1));c=this.rule(c);a.params[0]&&(a.mixin||a.extend)&&this.raw(c,"params",a.params);a.empty&&(b&&(c.raws.semicolon=this.semicolon=!0,c.selector=c.selector.replace(/;$/,"")),a.extend&&(c.extend=!0),a.mixin&&(c.mixin=!0),c.empty=!0,delete this.current.nodes,0<=c.selector.indexOf("!important")&&(c.important=!0,c.selector=c.selector.replace(/\s!important/,"")),b||this.pos--,this.end(this.tokens[this.pos]))}},{key:"end",value:function(a){var b=this.current;b.nodes&&b.nodes.length&&b.last.raws.semicolon&&
|
|
!b.last.nodes&&(this.semicolon=!0);d(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"end",this).call(this,a)}},{key:"import",value:function(a){var b=!1,c=!1,e={line:0,column:0},d=[],f=new p["default"];f.name=a[1].slice(1);this.init(f,a[2],a[3]);for(this.pos+=1;this.pos<this.tokens.length;){a=this.tokens[this.pos];if(";"===a[0]){e={line:a[2],column:a[3]};f.raws.semicolon=!0;break}else if("{"===a[0]){c=!0;break}else if("}"===a[0]){this.end(a);break}else"brackets"===a[0]?f.urlFunc?f.importPath=
|
|
a[1].replace(/[()]/g,""):d.push(a):"space"===a[0]?d.length?f.raws.between=a[1]:f.urlFunc?f.raws.beforeUrl=a[1]:f.importPath?f.urlFunc?f.raws.afterUrl=a[1]:f.raws.after=a[1]:f.raws.afterName=a[1]:"word"===a[0]&&"url"===a[1]?f.urlFunc=!0:"("!==a[0]&&")"!==a[0]&&(f.importPath=a[1]);if(this.pos===this.tokens.length){b=!0;break}this.pos+=1}f.raws.between&&!f.raws.afterName&&(f.raws.afterName=f.raws.between,f.raws.between="");f.source.end=e;d.length?(this.raw(f,"directives",d),b&&(a=d[d.length-1],f.source.end=
|
|
{line:a[4],column:a[5]},this.spaces=f.raws.between,f.raws.between="")):f.directives="";c&&(f.nodes=[],this.current=f)}},{key:"other",value:function(){var a=[],b=[],c=this.pos,e=!1,d=!1,f=null;if("brackets"===this.tokens[c][0])this.spaces+=this.tokens[c][1];else{for(var h=(0,r["default"])(this.tokens[c]),m=!!(0,n["default"])(this.tokens,c);this.pos<this.tokens.length;){var p=this.tokens[this.pos],k=p[0];if("("===k||"["===k)f||(f=p),a.push("("===k?")":"]");else if(0===a.length)if(";"===k){if(this.ruleEnd({start:c,
|
|
params:b,colon:d,mixin:h,extend:m}))return;break}else{if("{"===k){this.createRule({start:c,params:b,mixin:h});return}if("}"===k){--this.pos;e=!0;break}else":"===k&&(d=!0)}else k===a[a.length-1]&&(a.pop(),0===a.length&&(f=null));!m&&d||!(0<a.length||"brackets"===k||b[0])||b.push(p);this.pos+=1}this.pos===this.tokens.length&&(--this.pos,e=!0);0<a.length&&this.unclosedBracket(f);if(e&&1<this.tokens.length&&(c===this.pos&&(this.pos+=1),this.ruleEnd({start:c,params:b,colon:d,mixin:h,extend:m,isEndOfBlock:!0})))return;
|
|
this.unknownWord(c)}}},{key:"rule",value:function(a){a.pop();var b=new q["default"];this.init(b,a[0][2],a[0][3]);b.raws.between=this.spacesAndCommentsFromEnd(a);this.raw(b,"selector",a);return this.current=b}},{key:"ruleEnd",value:function(a){var b=a.start;if(a.extend||a.mixin)return this.createRule(Object.assign(a,{empty:!0})),!0;if(a.colon){if(a.isEndOfBlock)for(;this.pos>b;){a=this.tokens[this.pos][0];if("space"!==a&&"comment"!==a)break;--this.pos}this.createDeclaration({start:b});return!0}return!1}},
|
|
{key:"tokenize",value:function(){this.tokens=(0,t["default"])(this.input)}}]);return c}(c["default"]);g["default"]=a;l.exports=g["default"]},{"./find-extend-rule":190,"./import":191,"./is-mixin-token":192,"./less-tokenize":198,"./root":199,"./rule":200,"postcss/lib/comment":220,"postcss/lib/parser":230}],195:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,
|
|
{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}Object.defineProperty(g,"__esModule",{value:!0});var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(c,b,d){b&&a(c.prototype,b);d&&a(c,d);return c}}(),f=function c(a,f,h){null===a&&(a=Function.prototype);var b=Object.getOwnPropertyDescriptor(a,
|
|
f);if(void 0===b){if(a=Object.getPrototypeOf(a),null!==a)return c(a,f,h)}else{if("value"in b)return b.value;f=b.get;return void 0===f?void 0:f.call(h)}};a=a("postcss/lib/stringifier");a=function(a){function b(){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var a=(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!==typeof a&&"function"!==typeof a?
|
|
this:a}k(b,a);h(b,[{key:"comment",value:function(a){this.builder(a.raws.content,a)}},{key:"import",value:function(a){this.builder("@"+a.name);this.builder((a.raws.afterName||"")+(a.directives||"")+(a.raws.between||"")+(a.urlFunc?"url(":"")+(a.raws.beforeUrl||"")+(a.importPath||"")+(a.raws.afterUrl||"")+(a.urlFunc?")":"")+(a.raws.after||""));a.raws.semicolon&&this.builder(";")}},{key:"rule",value:function(a){f(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rule",this).call(this,a);a.empty&&
|
|
a.raws.semicolon&&(a.important&&this.builder(" !important"),a.raws.semicolon&&this.builder(";"))}},{key:"block",value:function(a,b){var c=a.empty,e=this.raw(a,"between","beforeOpen");c?this.builder(b+e,a,"start"):this.builder(b+e+"{",a,"start");a.nodes&&a.nodes.length?(this.body(a),e=this.raw(a,"after")):e=this.raw(a,"after","emptyBody");e&&this.builder(e);c||this.builder("}",a,"end")}}]);return b}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"postcss/lib/stringifier":236}],
|
|
196:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a,f){(new k["default"](f)).stringify(a)};var k=(a=a("./less-stringifier"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./less-stringifier":195}],197:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});var k=a("./less-parse");k=k&&k.__esModule?k:{"default":k};a=a("./less-stringify");g["default"]={parse:k["default"],stringify:(a&&a.__esModule?a:{"default":a})["default"]};l.exports=g["default"]},
|
|
{"./less-parse":193,"./less-stringify":196}],198:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a={input:a,tokens:[],css:a.css.valueOf(),offset:-1,line:1,pos:0};for(a.length=a.css.length;a.pos<a.length;)a.symbolCode=a.css.charCodeAt(a.pos),a.symbol=a.css[a.pos],a.nextPos=null,a.escaped=null,a.lines=null,a.lastLine=null,a.cssPart=null,a.escape=null,a.nextLine=null,a.nextOffset=null,a.escapePos=null,a.token=null,a.symbolCode===k.newline&&(a.offset=a.pos,a.line+=
|
|
1),(0,h["default"])(a),a.pos++;return a.tokens};var k=a("./tokenizer/globals"),h=(a=a("./tokenizer/tokenize-symbol"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./tokenizer/globals":202,"./tokenizer/tokenize-symbol":213}],199:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});
|
|
c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}Object.defineProperty(g,"__esModule",{value:!0});var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=function p(a,c,e){null===a&&(a=Function.prototype);var d=Object.getOwnPropertyDescriptor(a,c);if(void 0===d){if(a=Object.getPrototypeOf(a),
|
|
null!==a)return p(a,c,e)}else{if("value"in d)return d.value;c=d.get;return void 0===c?void 0:c.call(e)}},d=a("postcss/lib/root");d=d&&d.__esModule?d:{"default":d};var c=(a=a("./less-stringify"))&&a.__esModule?a:{"default":a};a=function(a){function d(){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");var a=(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||
|
|
"object"!==typeof a&&"function"!==typeof a?this:a}k(d,a);h(d,[{key:"toString",value:function(a){a||(a={stringify:c["default"]});return f(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"toString",this).call(this,a)}}]);return d}(d["default"]);g["default"]=a;l.exports=g["default"]},{"./less-stringify":196,"postcss/lib/root":234}],200:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);
|
|
a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}Object.defineProperty(g,"__esModule",{value:!0});var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=function p(a,c,e){null===
|
|
a&&(a=Function.prototype);var d=Object.getOwnPropertyDescriptor(a,c);if(void 0===d){if(a=Object.getPrototypeOf(a),null!==a)return p(a,c,e)}else{if("value"in d)return d.value;c=d.get;return void 0===c?void 0:c.call(e)}},d=a("postcss/lib/rule");d=d&&d.__esModule?d:{"default":d};var c=(a=a("./less-stringify"))&&a.__esModule?a:{"default":a};a=function(a){function d(){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");var a=(d.__proto__||Object.getPrototypeOf(d)).apply(this,
|
|
arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!==typeof a&&"function"!==typeof a?this:a}k(d,a);h(d,[{key:"toString",value:function(a){a||(a={stringify:c["default"]});return f(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"toString",this).call(this,a)}}]);return d}(d["default"]);g["default"]=a;l.exports=g["default"]},{"./less-stringify":196,"postcss/lib/rule":235}],201:[function(a,l,g){Object.defineProperty(g,
|
|
"__esModule",{value:!0});g["default"]=function(a){for(var f=0,d=-1,c=a.pos+1;c<a.length;c++){var b=a.css.charCodeAt(c);if(a.css.charCodeAt(c-1)!==k.backslash&&(b===k.singleQuote||b===k.doubleQuote||b===k.backTick))if(-1===d)d=b,f++;else if(b===d&&(f--,!f))return c}return-1};var k=a("./globals");l.exports=g["default"]},{"./globals":202}],202:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g.singleQuote=39;g.doubleQuote=34;g.backslash=92;g.backTick=96;g.slash=47;g.newline=10;g.space=
|
|
32;g.feed=12;g.tab=9;g.carriageReturn=13;g.openedParenthesis=40;g.closedParenthesis=41;g.openedCurlyBracket=123;g.closedCurlyBracket=125;g.openSquareBracket=91;g.closeSquareBracket=93;g.semicolon=59;g.asterisk=42;g.colon=58;g.comma=44;g.dot=46;g.atRule=64;g.tilde=126;g.hash=35;g.atEndPattern=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g;g.wordEndPattern=/[ \n\t\r\f\(\)\{\}:,;@!'"\\\]\[#]|\/(?=\*)/g;g.badBracketPattern=/.[\\\/\("'\n]/;g.variablePattern=/^@[^:\(\{]+:/;g.hashColorPattern=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/},
|
|
{}],203:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){var d=a.css.charCodeAt(a.pos+1);return a.symbolCode===k.tilde&&0<=h.indexOf(d)};var k=a("./globals"),h=[k.backTick,k.doubleQuote,k.singleQuote];l.exports=g["default"]},{"./globals":202}],204:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.css.charCodeAt(a.pos+1)===k.openedCurlyBracket?(a.nextPos=a.css.indexOf("}",a.pos+2),-1===a.nextPos&&(0,h["default"])(a,
|
|
"interpolation"),a.cssPart=a.css.slice(a.pos,a.nextPos+1),a.lines=a.cssPart.split("\n"),a.lastLine=a.lines.length-1,0<a.lastLine?(a.nextLine=a.line+a.lastLine,a.nextOffset=a.nextPos-a.lines[a.lastLine].length):(a.nextLine=a.line,a.nextOffset=a.offset),a.tokens.push(["word",a.cssPart,a.line,a.pos-a.offset,a.nextLine,a.nextPos-a.nextOffset]),a.offset=a.nextOffset,a.line=a.nextLine):(k.atEndPattern.lastIndex=a.pos+1,k.atEndPattern.test(a.css),a.nextPos=0===k.atEndPattern.lastIndex?a.css.length-1:k.atEndPattern.lastIndex-
|
|
2,a.cssPart=a.css.slice(a.pos,a.nextPos+1),a.token="at-word",k.variablePattern.test(a.cssPart)&&(k.wordEndPattern.lastIndex=a.pos+1,k.wordEndPattern.test(a.css),a.nextPos=0===k.wordEndPattern.lastIndex?a.css.length-1:k.wordEndPattern.lastIndex-2,a.cssPart=a.css.slice(a.pos,a.nextPos+1),a.token="word"),a.tokens.push([a.token,a.cssPart,a.line,a.pos-a.offset,a.line,a.nextPos-a.offset]));a.pos=a.nextPos};var k=a("./globals"),h=(a=a("./unclosed"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},
|
|
{"./globals":202,"./unclosed":215}],205:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.nextPos=a.pos;for(a.escape=!0;a.css.charCodeAt(a.nextPos+1)===k.backslash;)a.nextPos+=1,a.escape=!a.escape;a.symbolCode=a.css.charCodeAt(a.nextPos+1);a.escape&&a.symbolCode!==k.slash&&a.symbolCode!==k.space&&a.symbolCode!==k.newline&&a.symbolCode!==k.tab&&a.symbolCode!==k.carriageReturn&&a.symbolCode!==k.feed&&(a.nextPos+=1);a.tokens.push(["word",a.css.slice(a.pos,a.nextPos+
|
|
1),a.line,a.pos-a.offset,a.line,a.nextPos-a.offset]);a.pos=a.nextPos};var k=a("./globals");l.exports=g["default"]},{"./globals":202}],206:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.tokens.push([a.symbol,a.symbol,a.line,a.pos-a.offset])};l.exports=g["default"]},{}],207:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.tokens.push(["word",a.symbol,a.line,a.pos-a.offset,a.line,a.pos-a.offset+1])};l.exports=g["default"]},
|
|
{}],208:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){var e=a.css.charCodeAt(a.pos+1);a.symbolCode===h.slash&&e===h.asterisk?(0,p["default"])(a):a.symbolCode===h.slash&&e===h.slash?(0,b["default"])(a):((0,c["default"])(a)?(e=(0,d["default"])(a),0>e?(0,m["default"])(a,"escaping"):a.nextPos=e):(h.wordEndPattern.lastIndex=a.pos+1,h.wordEndPattern.test(a.css),a.nextPos=0===h.wordEndPattern.lastIndex?a.css.length-
|
|
1:h.wordEndPattern.lastIndex-2),a.cssPart=a.css.slice(a.pos,a.nextPos+1),a.tokens.push(["word",a.cssPart,a.line,a.pos-a.offset,a.line,a.nextPos-a.offset]),a.pos=a.nextPos)};var h=a("./globals"),f=a("./find-end-of-escaping"),d=k(f);f=a("./is-escaping");var c=k(f);f=a("./tokenize-inline-comment");var b=k(f);f=a("./tokenize-multiline-comment");var p=k(f);a=a("./unclosed");var m=k(a);l.exports=g["default"]},{"./find-end-of-escaping":201,"./globals":202,"./is-escaping":203,"./tokenize-inline-comment":209,
|
|
"./tokenize-multiline-comment":210,"./unclosed":215}],209:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.nextPos=a.css.indexOf("\n",a.pos+2)-1;-2===a.nextPos&&(a.nextPos=a.css.length-1);a.tokens.push(["comment",a.css.slice(a.pos,a.nextPos+1),a.line,a.pos-a.offset,a.line,a.nextPos-a.offset,"inline"]);a.pos=a.nextPos};l.exports=g["default"]},{}],210:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.nextPos=a.css.indexOf("*/",
|
|
a.pos+2)+1;0===a.nextPos&&(0,k["default"])(a,"comment");a.cssPart=a.css.slice(a.pos,a.nextPos+1);a.lines=a.cssPart.split("\n");a.lastLine=a.lines.length-1;0<a.lastLine?(a.nextLine=a.line+a.lastLine,a.nextOffset=a.nextPos-a.lines[a.lastLine].length):(a.nextLine=a.line,a.nextOffset=a.offset);a.tokens.push(["comment",a.cssPart,a.line,a.pos-a.offset,a.nextLine,a.nextPos-a.nextOffset]);a.offset=a.nextOffset;a.line=a.nextLine;a.pos=a.nextPos};var k=(a=a("./unclosed"))&&a.__esModule?a:{"default":a};l.exports=
|
|
g["default"]},{"./unclosed":215}],211:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){var d=a.css.charCodeAt(a.pos+1),c=a.tokens.length;if("url"===(c?a.tokens[c-1][1]:"")&&d!==k.singleQuote&&d!==k.doubleQuote&&d!==k.space&&d!==k.newline&&d!==k.tab&&d!==k.feed&&d!==k.carriageReturn){a.nextPos=a.pos;do for(a.escaped=!1,a.nextPos=a.css.indexOf(")",a.nextPos+1),-1===a.nextPos&&(0,h["default"])(a,"bracket"),a.escapePos=a.nextPos;a.css.charCodeAt(a.escapePos-1)===
|
|
k.backslash;)--a.escapePos,a.escaped=!a.escaped;while(a.escaped);a.tokens.push(["brackets",a.css.slice(a.pos,a.nextPos+1),a.line,a.pos-a.offset,a.line,a.nextPos-a.offset]);a.pos=a.nextPos}else{a:{d=0;for(c=a.pos;c<a.length;c++){var b=a.css[c];if("("===b)d++;else if(")"===b&&(d--,!d)){d=c;break a}}d=-1}a.nextPos=d;a.cssPart=a.css.slice(a.pos,a.nextPos+1);d=0<=a.cssPart.indexOf("@");c=/['"]/.test(a.cssPart);0===a.cssPart.length||"..."===a.cssPart||d&&!c?(-1===a.nextPos&&(0,h["default"])(a,"bracket"),
|
|
a.tokens.push([a.symbol,a.symbol,a.line,a.pos-a.offset])):(d=k.badBracketPattern.test(a.cssPart),-1===a.nextPos||d?a.tokens.push([a.symbol,a.symbol,a.line,a.pos-a.offset]):(a.tokens.push(["brackets",a.cssPart,a.line,a.pos-a.offset,a.line,a.nextPos-a.offset]),a.pos=a.nextPos))}};var k=a("./globals"),h=(a=a("./unclosed"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./globals":202,"./unclosed":215}],212:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.nextPos=
|
|
a.pos;do for(a.escaped=!1,a.nextPos=a.css.indexOf(a.symbol,a.nextPos+1),-1===a.nextPos&&(0,h["default"])(a,"quote"),a.escapePos=a.nextPos;a.css.charCodeAt(a.escapePos-1)===k.backslash;)--a.escapePos,a.escaped=!a.escaped;while(a.escaped);a.tokens.push(["string",a.css.slice(a.pos,a.nextPos+1),a.line,a.pos-a.offset,a.line,a.nextPos-a.offset]);a.pos=a.nextPos};var k=a("./globals"),h=(a=a("./unclosed"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./globals":202,"./unclosed":215}],213:[function(a,
|
|
l,g){function k(a){return a&&a.__esModule?a:{"default":a}}Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){switch(a.symbolCode){case h.newline:case h.space:case h.tab:case h.carriageReturn:case h.feed:(0,n["default"])(a);break;case h.comma:(0,p["default"])(a);break;case h.colon:case h.semicolon:case h.openedCurlyBracket:case h.closedCurlyBracket:case h.closedParenthesis:case h.openSquareBracket:case h.closeSquareBracket:(0,b["default"])(a);break;case h.openedParenthesis:(0,
|
|
q["default"])(a);break;case h.singleQuote:case h.doubleQuote:(0,e["default"])(a);break;case h.atRule:(0,d["default"])(a);break;case h.backslash:(0,c["default"])(a);break;default:(0,m["default"])(a)}};var h=a("./globals"),f=a("./tokenize-at-rule"),d=k(f);f=a("./tokenize-backslash");var c=k(f);f=a("./tokenize-basic-symbol");var b=k(f);f=a("./tokenize-comma");var p=k(f);f=a("./tokenize-default");var m=k(f);f=a("./tokenize-opened-parenthesis");var q=k(f);f=a("./tokenize-quotes");var e=k(f);a=a("./tokenize-whitespace");
|
|
var n=k(a);l.exports=g["default"]},{"./globals":202,"./tokenize-at-rule":204,"./tokenize-backslash":205,"./tokenize-basic-symbol":206,"./tokenize-comma":207,"./tokenize-default":208,"./tokenize-opened-parenthesis":211,"./tokenize-quotes":212,"./tokenize-whitespace":214}],214:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){a.nextPos=a.pos;do a.nextPos+=1,a.symbolCode=a.css.charCodeAt(a.nextPos),a.symbolCode===k.newline&&(a.offset=a.nextPos,a.line+=1);while(a.symbolCode===
|
|
k.space||a.symbolCode===k.newline||a.symbolCode===k.tab||a.symbolCode===k.carriageReturn||a.symbolCode===k.feed);a.tokens.push(["space",a.css.slice(a.pos,a.nextPos)]);a.pos=a.nextPos-1};var k=a("./globals");l.exports=g["default"]},{"./globals":202}],215:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a,h){throw a.input.error("Unclosed "+h,a.line,a.pos-a.offset);};l.exports=g["default"]},{}],216:[function(a,l,g){Object.defineProperty(l,"exports",{enumerable:!0,
|
|
get:function(){var a={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};a.colors.grey=a.colors.gray;Object.keys(a).forEach(function(h){var f=a[h];Object.keys(f).forEach(function(d){var c=
|
|
f[d];a[d]=f[d]={open:"\u001b["+c[0]+"m",close:"\u001b["+c[1]+"m"}});Object.defineProperty(a,h,{value:f,enumerable:!1})});return a}})},{}],217:[function(a,l,g){(function(k){function h(a){this.enabled=a&&void 0!==a.enabled?a.enabled:q}function f(a){var b=function(){return d.apply(b,arguments)};b._styles=a;b.enabled=this.enabled;b.__proto__=g;return b}function d(){var a=arguments,c=a.length,e=0!==c&&String(arguments[0]);if(1<c)for(var d=1;d<c;d++)e+=" "+a[d];if(!this.enabled||!e)return e;a=this._styles;
|
|
c=a.length;d=b.dim.open;!n||-1===a.indexOf("gray")&&-1===a.indexOf("grey")||(b.dim.open="");for(;c--;){var f=b[a[c]];e=f.open+e.replace(f.closeRe,f.open)+f.close}b.dim.open=d;return e}var c=a("escape-string-regexp"),b=a("ansi-styles"),p=a("strip-ansi"),m=a("has-ansi"),q=a("supports-color"),e=Object.defineProperties,n="win32"===k.platform&&!/^xterm/i.test(k.env.TERM);n&&(b.blue.open="\u001b[94m");var r=function(){var a={};Object.keys(b).forEach(function(e){b[e].closeRe=new RegExp(c(b[e].close),"g");
|
|
a[e]={get:function(){return f.call(this,this._styles.concat(e))}}});return a}(),g=e(function(){},r);e(h.prototype,function(){var a={};Object.keys(r).forEach(function(b){a[b]={get:function(){return f.call(this,[b])}}});return a}());l.exports=new h;l.exports.styles=b;l.exports.hasColor=m;l.exports.stripColor=p;l.exports.supportsColor=q}).call(this,a("_process"))},{_process:16,"ansi-styles":216,"escape-string-regexp":77,"has-ansi":104,"strip-ansi":330,"supports-color":218}],218:[function(a,l,g){(function(a){var h=
|
|
a.argv,f=h.indexOf("--"),d=function(a){a=h.indexOf("--"+a);return-1!==a&&(-1!==f?a<f:!0)};l.exports="FORCE_COLOR"in a.env?!0:d("no-color")||d("no-colors")||d("color=false")?!1:d("color")||d("colors")||d("color=true")||d("color=always")?!0:a.stdout&&!a.stdout.isTTY?!1:"win32"===a.platform||"COLORTERM"in a.env?!0:"dumb"===a.env.TERM?!1:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(a.env.TERM)?!0:!1}).call(this,a("_process"))},{_process:16}],219:[function(a,l,g){function k(a,b){if("function"!==
|
|
typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var h=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,
|
|
c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=a("./container");f=f&&f.__esModule?f:{"default":f};var d=(a=a("./warn-once"))&&a.__esModule?a:{"default":a};a=function(a){function b(c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");c=a.call(this,c);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");c=!c||"object"!==typeof c&&"function"!==typeof c?this:c;c.type="atrule";return c}k(b,a);b.prototype.append=function(){var b;
|
|
this.nodes||(this.nodes=[]);for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];return(b=a.prototype.append).call.apply(b,[this].concat(d))};b.prototype.prepend=function(){var b;this.nodes||(this.nodes=[]);for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];return(b=a.prototype.prepend).call.apply(b,[this].concat(d))};h(b,[{key:"afterName",get:function(){(0,d["default"])("AtRule#afterName was deprecated. Use AtRule#raws.afterName");return this.raws.afterName},set:function(a){(0,
|
|
d["default"])("AtRule#afterName was deprecated. Use AtRule#raws.afterName");this.raws.afterName=a}},{key:"_params",get:function(){(0,d["default"])("AtRule#_params was deprecated. Use AtRule#raws.params");return this.raws.params},set:function(a){(0,d["default"])("AtRule#_params was deprecated. Use AtRule#raws.params");this.raws.params=a}}]);return b}(f["default"]);g["default"]=a;l.exports=g["default"]},{"./container":221,"./warn-once":240}],220:[function(a,l,g){function k(a,b){if("function"!==typeof b&&
|
|
null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var h=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,c,d){c&&a(b.prototype,
|
|
c);d&&a(b,d);return b}}(),f=a("./warn-once"),d=f&&f.__esModule?f:{"default":f};a=a("./node");a=function(a){function b(c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");c=a.call(this,c);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");c=!c||"object"!==typeof c&&"function"!==typeof c?this:c;c.type="comment";return c}k(b,a);h(b,[{key:"left",get:function(){(0,d["default"])("Comment#left was deprecated. Use Comment#raws.left");
|
|
return this.raws.left},set:function(a){(0,d["default"])("Comment#left was deprecated. Use Comment#raws.left");this.raws.left=a}},{key:"right",get:function(){(0,d["default"])("Comment#right was deprecated. Use Comment#raws.right");return this.raws.right},set:function(a){(0,d["default"])("Comment#right was deprecated. Use Comment#raws.right");this.raws.right=a}}]);return b}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"./node":228,"./warn-once":240}],221:[function(a,
|
|
l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function f(a){return a.map(function(a){a.nodes&&(a.nodes=f(a.nodes));delete a.source;return a})}g.__esModule=!0;var d=function(){function a(a,
|
|
b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),c=a("./declaration"),b=k(c);c=a("./warn-once");var p=k(c);c=a("./comment");var m=k(c);c=a("./node");c=function(c){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");var a=c.apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
return!a||"object"!==typeof a&&"function"!==typeof a?this:a}h(e,c);e.prototype.push=function(a){a.parent=this;this.nodes.push(a);return this};e.prototype.each=function(a){this.lastEach||(this.lastEach=0);this.indexes||(this.indexes={});var b=this.lastEach+=1;this.indexes[b]=0;if(this.nodes){var c;for(c=void 0;this.indexes[b]<this.nodes.length;){c=this.indexes[b];c=a(this.nodes[c],c);if(!1===c)break;this.indexes[b]+=1}delete this.indexes[b];return c}};e.prototype.walk=function(a){return this.each(function(b,
|
|
c){var e=a(b,c);!1!==e&&b.walk&&(e=b.walk(a));return e})};e.prototype.walkDecls=function(a,b){if(b)return a instanceof RegExp?this.walk(function(c,e){if("decl"===c.type&&a.test(c.prop))return b(c,e)}):this.walk(function(c,e){if("decl"===c.type&&c.prop===a)return b(c,e)});b=a;return this.walk(function(a,c){if("decl"===a.type)return b(a,c)})};e.prototype.walkRules=function(a,b){if(b)return a instanceof RegExp?this.walk(function(c,e){if("rule"===c.type&&a.test(c.selector))return b(c,e)}):this.walk(function(c,
|
|
e){if("rule"===c.type&&c.selector===a)return b(c,e)});b=a;return this.walk(function(a,c){if("rule"===a.type)return b(a,c)})};e.prototype.walkAtRules=function(a,b){if(b)return a instanceof RegExp?this.walk(function(c,e){if("atrule"===c.type&&a.test(c.name))return b(c,e)}):this.walk(function(c,e){if("atrule"===c.type&&c.name===a)return b(c,e)});b=a;return this.walk(function(a,c){if("atrule"===a.type)return b(a,c)})};e.prototype.walkComments=function(a){return this.walk(function(b,c){if("comment"===
|
|
b.type)return a(b,c)})};e.prototype.append=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];$jscomp.initSymbol();$jscomp.initSymbolIterator();a=b;b=Array.isArray(a);c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var e=a[c++]}else{c=a.next();if(c.done)break;e=c.value}e=this.normalize(e,this.last);$jscomp.initSymbol();$jscomp.initSymbolIterator();var d=Array.isArray(e),f=0;for(e=d?e:e[Symbol.iterator]();;){if(d){if(f>=e.length)break;var h=e[f++]}else{f=
|
|
e.next();if(f.done)break;h=f.value}this.nodes.push(h)}}return this};e.prototype.prepend=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];b=b.reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();a=b;b=Array.isArray(a);c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var e=a[c++]}else{c=a.next();if(c.done)break;e=c.value}e=this.normalize(e,this.first,"prepend").reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();var d=e,f=Array.isArray(d),
|
|
h=0;for(d=f?d:d[Symbol.iterator]();;){if(f){if(h>=d.length)break;var m=d[h++]}else{h=d.next();if(h.done)break;m=h.value}this.nodes.unshift(m)}for(var k in this.indexes)this.indexes[k]+=e.length}return this};e.prototype.cleanRaws=function(a){c.prototype.cleanRaws.call(this,a);if(this.nodes){$jscomp.initSymbol();$jscomp.initSymbolIterator();var b=this.nodes,e=Array.isArray(b),d=0;for(b=e?b:b[Symbol.iterator]();;){if(e){if(d>=b.length)break;var f=b[d++]}else{d=b.next();if(d.done)break;f=d.value}f.cleanRaws(a)}}};
|
|
e.prototype.insertBefore=function(a,b){a=this.index(a);var c=this.normalize(b,this.nodes[a],0===a?"prepend":!1).reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();var e=c,d=Array.isArray(e),f=0;for(e=d?e:e[Symbol.iterator]();;){if(d){if(f>=e.length)break;var n=e[f++]}else{f=e.next();if(f.done)break;n=f.value}this.nodes.splice(a,0,n)}for(var h in this.indexes)e=this.indexes[h],a<=e&&(this.indexes[h]=e+c.length);return this};e.prototype.insertAfter=function(a,b){a=this.index(a);var c=this.normalize(b,
|
|
this.nodes[a]).reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();var e=c,d=Array.isArray(e),f=0;for(e=d?e:e[Symbol.iterator]();;){if(d){if(f>=e.length)break;var n=e[f++]}else{f=e.next();if(f.done)break;n=f.value}this.nodes.splice(a+1,0,n)}for(var h in this.indexes)e=this.indexes[h],a<e&&(this.indexes[h]=e+c.length);return this};e.prototype.remove=function(a){"undefined"!==typeof a?((0,p["default"])("Container#remove is deprecated. Use Container#removeChild"),this.removeChild(a)):c.prototype.remove.call(this);
|
|
return this};e.prototype.removeChild=function(a){a=this.index(a);this.nodes[a].parent=void 0;this.nodes.splice(a,1);var b;for(b in this.indexes){var c=this.indexes[b];c>=a&&(this.indexes[b]=c-1)}return this};e.prototype.removeAll=function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();var a=this.nodes,b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var e=a[c++]}else{c=a.next();if(c.done)break;e=c.value}e.parent=void 0}this.nodes=[];return this};e.prototype.replaceValues=
|
|
function(a,b,c){c||(c=b,b={});this.walkDecls(function(e){b.props&&-1===b.props.indexOf(e.prop)||b.fast&&-1===e.value.indexOf(b.fast)||(e.value=e.value.replace(a,c))});return this};e.prototype.every=function(a){return this.nodes.every(a)};e.prototype.some=function(a){return this.nodes.some(a)};e.prototype.index=function(a){return"number"===typeof a?a:this.nodes.indexOf(a)};e.prototype.normalize=function(c,e){var d=this;if("string"===typeof c){var n=a("./parse");c=f(n(c).nodes)}else if(!Array.isArray(c))if("root"===
|
|
c.type)c=c.nodes;else if(c.type)c=[c];else if(c.prop){if("undefined"===typeof c.value)throw Error("Value field is missed in node creation");"string"!==typeof c.value&&(c.value=String(c.value));c=[new b["default"](c)]}else if(c.selector)c=[new (a("./rule"))(c)];else if(c.name)c=[new (a("./at-rule"))(c)];else if(c.text)c=[new m["default"](c)];else throw Error("Unknown node type in node creation");return c.map(function(a){"undefined"===typeof a.raws&&(a=d.rebuild(a));a.parent&&(a=a.clone());"undefined"===
|
|
typeof a.raws.before&&e&&"undefined"!==typeof e.raws.before&&(a.raws.before=e.raws.before.replace(/[^\s]/g,""));a.parent=d;return a})};e.prototype.rebuild=function(c,e){var d=this,f=void 0;"root"===c.type?f=new (a("./root")):"atrule"===c.type?f=new (a("./at-rule")):"rule"===c.type?f=new (a("./rule")):"decl"===c.type?f=new b["default"]:"comment"===c.type&&(f=new m["default"]);for(var n in c)"nodes"===n?f.nodes=c.nodes.map(function(a){return d.rebuild(a,f)}):"parent"===n&&e?f.parent=e:c.hasOwnProperty(n)&&
|
|
(f[n]=c[n]);return f};e.prototype.eachInside=function(a){(0,p["default"])("Container#eachInside is deprecated. Use Container#walk instead.");return this.walk(a)};e.prototype.eachDecl=function(a,b){(0,p["default"])("Container#eachDecl is deprecated. Use Container#walkDecls instead.");return this.walkDecls(a,b)};e.prototype.eachRule=function(a,b){(0,p["default"])("Container#eachRule is deprecated. Use Container#walkRules instead.");return this.walkRules(a,b)};e.prototype.eachAtRule=function(a,b){(0,
|
|
p["default"])("Container#eachAtRule is deprecated. Use Container#walkAtRules instead.");return this.walkAtRules(a,b)};e.prototype.eachComment=function(a){(0,p["default"])("Container#eachComment is deprecated. Use Container#walkComments instead.");return this.walkComments(a)};d(e,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}},{key:"semicolon",get:function(){(0,p["default"])("Node#semicolon is deprecated. Use Node#raws.semicolon");
|
|
return this.raws.semicolon},set:function(a){(0,p["default"])("Node#semicolon is deprecated. Use Node#raws.semicolon");this.raws.semicolon=a}},{key:"after",get:function(){(0,p["default"])("Node#after is deprecated. Use Node#raws.after");return this.raws.after},set:function(a){(0,p["default"])("Node#after is deprecated. Use Node#raws.after");this.raws.after=a}}]);return e}(k(c)["default"]);g["default"]=c;l.exports=g["default"]},{"./at-rule":219,"./comment":220,"./declaration":223,"./node":228,"./parse":229,
|
|
"./root":234,"./rule":235,"./warn-once":240}],222:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=a("supports-color"),d=k(f);f=a("chalk");var c=k(f);f=a("./terminal-highlight");var b=k(f);a=a("./warn-once");var p=
|
|
k(a);a=function(){function a(b,c,d,f,h,m){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.name="CssSyntaxError";this.reason=b;h&&(this.file=h);f&&(this.source=f);m&&(this.plugin=m);"undefined"!==typeof c&&"undefined"!==typeof d&&(this.line=c,this.column=d);this.setMessage();Error.captureStackTrace&&Error.captureStackTrace(this,a)}a.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";"undefined"!==
|
|
typeof this.line&&(this.message+=":"+this.line+":"+this.column);this.message+=": "+this.reason};a.prototype.showSourceCode=function(a){function e(b){return a?g.gray(b):b}var f=this;if(!this.source)return"";var h=this.source;"undefined"===typeof a&&(a=d["default"]);a&&(h=(0,b["default"])(h));h=h.split(/\r?\n/);var m=Math.max(this.line-3,0),k=Math.min(this.line+2,h.length),p=String(k).length,g=new c["default"].constructor({enabled:!0});return h.slice(m,k).map(function(b,c){var d=m+1+c,h=" "+(" "+d).slice(-p)+
|
|
" | ";return d===f.line?(d=e(h.replace(/\d/g," "))+b.slice(0,f.column-1).replace(/[^\t]/g," "),(a?g.red.bold(">"):">")+e(h)+b+"\n "+d+(a?g.red.bold("^"):"^")):" "+e(h)+b}).join("\n")};a.prototype.toString=function(){var a=this.showSourceCode();a&&(a="\n\n"+a+"\n");return this.name+": "+this.message+a};h(a,[{key:"generated",get:function(){(0,p["default"])("CssSyntaxError#generated is deprecated. Use input instead.");return this.input}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./terminal-highlight":238,
|
|
"./warn-once":240,chalk:217,"supports-color":242}],223:[function(a,l,g){function k(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var h=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||
|
|
!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=a("./warn-once"),d=f&&f.__esModule?f:{"default":f};a=a("./node");a=function(a){function b(c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");c=a.call(this,c);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");c=!c||"object"!==typeof c&&"function"!==typeof c?this:c;c.type=
|
|
"decl";return c}k(b,a);h(b,[{key:"_value",get:function(){(0,d["default"])("Node#_value was deprecated. Use Node#raws.value");return this.raws.value},set:function(a){(0,d["default"])("Node#_value was deprecated. Use Node#raws.value");this.raws.value=a}},{key:"_important",get:function(){(0,d["default"])("Node#_important was deprecated. Use Node#raws.important");return this.raws.important},set:function(a){(0,d["default"])("Node#_important was deprecated. Use Node#raws.important");this.raws.important=
|
|
a}}]);return b}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"./node":228,"./warn-once":240}],224:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=a("./css-syntax-error"),d=
|
|
k(f);f=a("./previous-map");var c=k(f);a=a("path");var b=k(a),p=0;a=function(){function a(d){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.css=d.toString();if("\ufeff"===this.css[0]||"\ufffe"===this.css[0])this.css=this.css.slice(1);e.from&&(/^\w+:\/\//.test(e.from)?this.file=e.from:this.file=b["default"].resolve(e.from));e=new c["default"](this.css,e);e.text&&(this.map=e,e=e.consumer().file,!this.file&&
|
|
e&&(this.file=this.mapResolve(e)));this.file||(p+=1,this.id="<input css "+p+">");this.map&&(this.map.file=this.from)}a.prototype.error=function(a,b,c){var e=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},f=this.origin(b,c);e=f?new d["default"](a,f.line,f.column,f.source,f.file,e.plugin):new d["default"](a,b,c,this.css,this.file,e.plugin);e.input={line:b,column:c,source:this.css};this.file&&(e.input.file=this.file);return e};a.prototype.origin=function(a,b){if(!this.map)return!1;var c=this.map.consumer(),
|
|
e=c.originalPositionFor({line:a,column:b});if(!e.source)return!1;var d={file:this.mapResolve(e.source),line:e.line,column:e.column};if(c=c.sourceContentFor(e.source))d.source=c;return d};a.prototype.mapResolve=function(a){return/^\w+:\/\//.test(a)?a:b["default"].resolve(this.map.consumer().sourceRoot||".",a)};h(a,[{key:"from",get:function(){return this.file||this.id}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./css-syntax-error":222,"./previous-map":231,path:14}],225:[function(a,l,g){function k(a){return a&&
|
|
a.__esModule?a:{"default":a}}function h(a){return"object"===("undefined"===typeof a?"undefined":d(a))&&"function"===typeof a.then}g.__esModule=!0;var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,e){c&&a(b.prototype,c);e&&a(b,e);return b}}();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var d="function"===typeof Symbol&&"symbol"===
|
|
typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},c=a("./map-generator"),b=k(c);c=a("./stringify");var p=k(c);c=a("./warn-once");var m=k(c);c=a("./result");var q=k(c);a=a("./parse");var e=k(a);a=function(){function a(b,c,f){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.processed=this.stringified=
|
|
!1;var h=void 0;if("object"===("undefined"===typeof c?"undefined":d(c))&&"root"===c.type)h=c;else if(c instanceof a||c instanceof q["default"])h=c.root,c.map&&("undefined"===typeof f.map&&(f.map={}),f.map.inline||(f.map.inline=!1),f.map.prev=c.map);else{var n=e["default"];f.syntax&&(n=f.syntax.parse);f.parser&&(n=f.parser);n.parse&&(n=n.parse);try{h=n(c,f)}catch(A){this.error=A}}this.result=new q["default"](b,h,f)}a.prototype.warnings=function(){return this.sync().warnings()};a.prototype.toString=
|
|
function(){return this.css};a.prototype.then=function(a,b){return this.async().then(a,b)};a.prototype["catch"]=function(a){return this.async()["catch"](a)};a.prototype.handleError=function(a,b){try{if(this.error=a,"CssSyntaxError"===a.name&&!a.plugin)a.plugin=b.postcssPlugin,a.setMessage();else if(b.postcssVersion){var c=b.postcssPlugin,e=b.postcssVersion,d=this.result.processor.version,f=e.split("."),h=d.split(".");(f[0]!==h[0]||parseInt(f[1])>parseInt(h[1]))&&(0,m["default"])("Your current PostCSS version is "+
|
|
d+", but "+c+" uses "+e+". Perhaps this is the source of the error below.")}}catch(C){console&&console.error&&console.error(C)}};a.prototype.asyncTick=function(a,b){var c=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,a();try{var e=this.processor.plugins[this.plugin],d=this.run(e);this.plugin+=1;h(d)?d.then(function(){c.asyncTick(a,b)})["catch"](function(a){c.handleError(a,e);c.processed=!0;b(a)}):this.asyncTick(a,b)}catch(A){this.processed=!0,b(A)}};a.prototype.async=
|
|
function(){var a=this;return this.processed?new Promise(function(b,c){a.error?c(a.error):b(a.stringify())}):this.processing?this.processing:this.processing=(new Promise(function(b,c){if(a.error)return c(a.error);a.plugin=0;a.asyncTick(b,c)})).then(function(){a.processed=!0;return a.stringify()})};a.prototype.sync=function(){if(this.processed)return this.result;this.processed=!0;if(this.processing)throw Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;$jscomp.initSymbol();
|
|
$jscomp.initSymbolIterator();var a=this.result.processor.plugins,b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var e=a[c++]}else{c=a.next();if(c.done)break;e=c.value}e=this.run(e);if(h(e))throw Error("Use process(css).then(cb) to work with async plugins");}return this.result};a.prototype.run=function(a){this.result.lastPlugin=a;try{return a(this.result.root,this.result)}catch(t){throw this.handleError(t,a),t;}};a.prototype.stringify=function(){if(this.stringified)return this.result;
|
|
this.stringified=!0;this.sync();var a=this.result.opts,c=p["default"];a.syntax&&(c=a.syntax.stringify);a.stringifier&&(c=a.stringifier);c.stringify&&(c=c.stringify);a=(new b["default"](c,this.result.root,this.result.opts)).generate();this.result.css=a[0];this.result.map=a[1];return this.result};f(a,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},
|
|
{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./map-generator":227,"./parse":229,"./result":233,"./stringify":237,"./warn-once":240}],226:[function(a,l,g){g.__esModule=!0;var k={split:function(a,f,d){for(var c=[],b="",h=!1,m=0,k=!1,e=!1,n=0;n<a.length;n++){var g=a[n];k?e?e=!1:"\\"===g?e=!0:g===k&&(k=!1):'"'===g||"'"===g?
|
|
k=g:"("===g?m+=1:")"===g?0<m&&--m:0===m&&-1!==f.indexOf(g)&&(h=!0);h?(""!==b&&c.push(b.trim()),b="",h=!1):b+=g}(d||""!==b)&&c.push(b.trim());return c},space:function(a){return k.split(a,[" ","\n","\t"])},comma:function(a){return k.split(a,[","],!0)}};g["default"]=k;l.exports=g["default"]},{}],227:[function(a,l,g){g.__esModule=!0;var k=a("js-base64"),h=a("source-map"),f=h&&h.__esModule?h:{"default":h},d=(a=a("path"))&&a.__esModule?a:{"default":a};a=function(){function a(b,c,d){if(!(this instanceof
|
|
a))throw new TypeError("Cannot call a class as a function");this.stringify=b;this.mapOpts=d.map||{};this.root=c;this.opts=d}a.prototype.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:0<this.previous().length};a.prototype.previous=function(){var a=this;this.previousMaps||(this.previousMaps=[],this.root.walk(function(b){b.source&&b.source.input.map&&(b=b.source.input.map,-1===a.previousMaps.indexOf(b)&&a.previousMaps.push(b))}));return this.previousMaps};a.prototype.isInline=
|
|
function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var a=this.mapOpts.annotation;return"undefined"!==typeof a&&!0!==a?!1:this.previous().length?this.previous().some(function(a){return a.inline}):!0};a.prototype.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(a){return a.withContent()}):!0};a.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var a,
|
|
c=this.root.nodes.length-1;0<=c;c--)a=this.root.nodes[c],"comment"===a.type&&0===a.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(c)};a.prototype.setSourcesContent=function(){var a=this,c={};this.root.walk(function(b){if(b.source){var d=b.source.input.from;d&&!c[d]&&(c[d]=!0,d=a.relative(d),a.map.setSourceContent(d,b.source.input.css))}})};a.prototype.applyPrevMaps=function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();var a=this.previous(),c=Array.isArray(a),h=0;for(a=c?a:a[Symbol.iterator]();;){if(c){if(h>=
|
|
a.length)break;var k=a[h++]}else{h=a.next();if(h.done)break;k=h.value}var e=this.relative(k.file),n=k.root||d["default"].dirname(k.file),g=void 0;!1===this.mapOpts.sourcesContent?(g=new f["default"].SourceMapConsumer(k.text),g.sourcesContent&&(g.sourcesContent=g.sourcesContent.map(function(){return null}))):g=k.consumer();this.map.applySourceMap(g,e,this.relative(n))}};a.prototype.isAnnotation=function(){return this.isInline()?!0:"undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:
|
|
this.previous().length?this.previous().some(function(a){return a.annotation}):!0};a.prototype.addAnnotation=function(){var a=this.isInline()?"data:application/json;base64,"+k.Base64.encode(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var c="\n";-1!==this.css.indexOf("\r\n")&&(c="\r\n");this.css+=c+"/*# sourceMappingURL="+a+" */"};a.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):
|
|
"to.css"};a.prototype.generateMap=function(){this.generateString();this.isSourcesContent()&&this.setSourcesContent();0<this.previous().length&&this.applyPrevMaps();this.isAnnotation()&&this.addAnnotation();return this.isInline()?[this.css]:[this.css,this.map]};a.prototype.relative=function(a){if(0===a.indexOf("<")||/^\w+:\/\//.test(a))return a;var b=this.opts.to?d["default"].dirname(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(b=d["default"].dirname(d["default"].resolve(b,this.mapOpts.annotation)));
|
|
a=d["default"].relative(b,a);return"\\"===d["default"].sep?a.replace(/\\/g,"/"):a};a.prototype.sourcePath=function(a){return this.mapOpts.from?this.mapOpts.from:this.relative(a.source.input.from)};a.prototype.generateString=function(){var a=this;this.css="";this.map=new f["default"].SourceMapGenerator({file:this.outputFile()});var c=1,d=1,h=void 0,e=void 0;this.stringify(this.root,function(b,f,m){a.css+=b;f&&"end"!==m&&(f.source&&f.source.start?a.map.addMapping({source:a.sourcePath(f),generated:{line:c,
|
|
column:d-1},original:{line:f.source.start.line,column:f.source.start.column-1}}):a.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:c,column:d-1}}));(h=b.match(/\n/g))?(c+=h.length,e=b.lastIndexOf("\n"),d=b.length-e):d+=b.length;f&&"start"!==m&&(f.source&&f.source.end?a.map.addMapping({source:a.sourcePath(f),generated:{line:c,column:d-1},original:{line:f.source.end.line,column:f.source.end.column}}):a.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:c,
|
|
column:d-1}}))})};a.prototype.generate=function(){this.clearAnnotation();if(this.isMap())return this.generateMap();var a="";this.stringify(this.root,function(b){a+=b});return[a]};return a}();g["default"]=a;l.exports=g["default"]},{"js-base64":130,path:14,"source-map":328}],228:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=
|
|
!0);Object.defineProperty(a,e.key,e)}}return function(b,c,e){c&&a(b.prototype,c);e&&a(b,e);return b}}();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},d=a("./css-syntax-error"),c=k(d);d=a("./stringifier");
|
|
var b=k(d);d=a("./stringify");var p=k(d);a=a("./warn-once");var m=k(a),q=function n(a,b){var c=new a.constructor,d;for(d in a)if(a.hasOwnProperty(d)){var h=a[d],m="undefined"===typeof h?"undefined":f(h);"parent"===d&&"object"===m?b&&(c[d]=b):"source"===d?c[d]=h:h instanceof Array?c[d]=h.map(function(a){return n(a,c)}):"before"!==d&&"after"!==d&&"between"!==d&&"semicolon"!==d&&("object"===m&&null!==h&&(h=n(h)),c[d]=h)}return c};a=function(){function a(){var b=0<arguments.length&&void 0!==arguments[0]?
|
|
arguments[0]:{};if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.raws={};if("object"!==("undefined"===typeof b?"undefined":f(b))&&"undefined"!==typeof b)throw Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(b));for(var c in b)this[c]=b[c]}a.prototype.error=function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var d=this.positionBy(b);return this.source.input.error(a,d.line,d.column,b)}return new c["default"](a)};
|
|
a.prototype.warn=function(a,b,c){var d={node:this},f;for(f in c)d[f]=c[f];return a.warn(b,d)};a.prototype.remove=function(){this.parent&&this.parent.removeChild(this);this.parent=void 0;return this};a.prototype.toString=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:p["default"];a.stringify&&(a=a.stringify);var b="";a(this,function(a){b+=a});return b};a.prototype.clone=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=q(this),c;for(c in a)b[c]=a[c];
|
|
return b};a.prototype.cloneBefore=function(){var a=this.clone(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{});this.parent.insertBefore(this,a);return a};a.prototype.cloneAfter=function(){var a=this.clone(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{});this.parent.insertAfter(this,a);return a};a.prototype.replaceWith=function(){if(this.parent){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];$jscomp.initSymbol();$jscomp.initSymbolIterator();a=b;b=Array.isArray(a);
|
|
c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}this.parent.insertBefore(this,d)}this.remove()}return this};a.prototype.moveTo=function(a){this.cleanRaws(this.root()===a.root());this.remove();a.append(this);return this};a.prototype.moveBefore=function(a){this.cleanRaws(this.root()===a.root());this.remove();a.parent.insertBefore(a,this);return this};a.prototype.moveAfter=function(a){this.cleanRaws(this.root()===a.root());this.remove();
|
|
a.parent.insertAfter(a,this);return this};a.prototype.next=function(){var a=this.parent.index(this);return this.parent.nodes[a+1]};a.prototype.prev=function(){var a=this.parent.index(this);return this.parent.nodes[a-1]};a.prototype.toJSON=function(){var a={},b;for(b in this)if(this.hasOwnProperty(b)&&"parent"!==b){var c=this[b];c instanceof Array?a[b]=c.map(function(a){return"object"===("undefined"===typeof a?"undefined":f(a))&&a.toJSON?a.toJSON():a}):"object"===("undefined"===typeof c?"undefined":
|
|
f(c))&&c.toJSON?a[b]=c.toJSON():a[b]=c}return a};a.prototype.raw=function(a,c){return(new b["default"]).raw(this,a,c)};a.prototype.root=function(){for(var a=this;a.parent;)a=a.parent;return a};a.prototype.cleanRaws=function(a){delete this.raws.before;delete this.raws.after;a||delete this.raws.between};a.prototype.positionInside=function(a){for(var b=this.toString(),c=this.source.start.column,d=this.source.start.line,f=0;f<a;f++)"\n"===b[f]?(c=1,d+=1):c+=1;return{line:d,column:c}};a.prototype.positionBy=
|
|
function(a){var b=this.source.start;a.index?b=this.positionInside(a.index):a.word&&(a=this.toString().indexOf(a.word),-1!==a&&(b=this.positionInside(a)));return b};a.prototype.removeSelf=function(){(0,m["default"])("Node#removeSelf is deprecated. Use Node#remove.");return this.remove()};a.prototype.replace=function(a){(0,m["default"])("Node#replace is deprecated. Use Node#replaceWith");return this.replaceWith(a)};a.prototype.style=function(a,b){(0,m["default"])("Node#style() is deprecated. Use Node#raw()");
|
|
return this.raw(a,b)};a.prototype.cleanStyles=function(a){(0,m["default"])("Node#cleanStyles() is deprecated. Use Node#cleanRaws()");return this.cleanRaws(a)};h(a,[{key:"before",get:function(){(0,m["default"])("Node#before is deprecated. Use Node#raws.before");return this.raws.before},set:function(a){(0,m["default"])("Node#before is deprecated. Use Node#raws.before");this.raws.before=a}},{key:"between",get:function(){(0,m["default"])("Node#between is deprecated. Use Node#raws.between");return this.raws.between},
|
|
set:function(a){(0,m["default"])("Node#between is deprecated. Use Node#raws.between");this.raws.between=a}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./css-syntax-error":222,"./stringifier":236,"./stringify":237,"./warn-once":240}],229:[function(a,l,g){g.__esModule=!0;g["default"]=function(a,c){if(c&&c.safe)throw Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var b=new f["default"](a,c);b=new h["default"](b);try{b.tokenize(),b.loop()}catch(p){throw"CssSyntaxError"===
|
|
p.name&&c&&c.from&&(/\.scss$/i.test(c.from)?p.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(c.from)?p.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(c.from)&&(p.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),p;}return b.root};var k=a("./parser"),h=k&&k.__esModule?k:{"default":k},f=(a=a("./input"))&&
|
|
a.__esModule?a:{"default":a};l.exports=g["default"]},{"./input":224,"./parser":230}],230:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=a("./declaration"),f=k(h);h=a("./tokenize");var d=k(h);h=a("./comment");var c=k(h);h=a("./at-rule");var b=k(h);h=a("./root");var p=k(h);a=a("./rule");var m=k(a);a=function(){function a(b){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.input=b;this.pos=0;this.current=this.root=new p["default"];
|
|
this.spaces="";this.semicolon=!1;this.root.source={input:b,start:{line:1,column:1}}}a.prototype.tokenize=function(){this.tokens=(0,d["default"])(this.input)};a.prototype.loop=function(){for(var a;this.pos<this.tokens.length;){a=this.tokens[this.pos];switch(a[0]){case "space":case ";":this.spaces+=a[1];break;case "}":this.end(a);break;case "comment":this.comment(a);break;case "at-word":this.atrule(a);break;case "{":this.emptyRule(a);break;default:this.other()}this.pos+=1}this.endFile()};a.prototype.comment=
|
|
function(a){var b=new c["default"];this.init(b,a[2],a[3]);b.source.end={line:a[4],column:a[5]};a=a[1].slice(2,-2);/^\s*$/.test(a)?(b.text="",b.raws.left=a,b.raws.right=""):(a=a.match(/^(\s*)([^]*[^\s])(\s*)$/),b.text=a[2],b.raws.left=a[1],b.raws.right=a[3])};a.prototype.emptyRule=function(a){var b=new m["default"];this.init(b,a[2],a[3]);b.selector="";b.raws.between="";this.current=b};a.prototype.other=function(){for(var a,b=!1,c,d=!1,f=null,h=[],m=this.pos;this.pos<this.tokens.length;){a=this.tokens[this.pos];
|
|
c=a[0];if("("===c||"["===c)f||(f=a),h.push("("===c?")":"]");else if(0===h.length)if(";"===c){if(d){this.decl(this.tokens.slice(m,this.pos+1));return}break}else{if("{"===c){this.rule(this.tokens.slice(m,this.pos+1));return}if("}"===c){--this.pos;b=!0;break}else":"===c&&(d=!0)}else c===h[h.length-1]&&(h.pop(),0===h.length&&(f=null));this.pos+=1}this.pos===this.tokens.length&&(--this.pos,b=!0);0<h.length&&this.unclosedBracket(f);if(b&&d){for(;this.pos>m;){a=this.tokens[this.pos][0];if("space"!==a&&"comment"!==
|
|
a)break;--this.pos}this.decl(this.tokens.slice(m,this.pos+1))}else this.unknownWord(m)};a.prototype.rule=function(a){a.pop();var b=new m["default"];this.init(b,a[0][2],a[0][3]);b.raws.between=this.spacesAndCommentsFromEnd(a);this.raw(b,"selector",a);this.current=b};a.prototype.decl=function(a){var b=new f["default"];this.init(b);var c=a[a.length-1];";"===c[0]&&(this.semicolon=!0,a.pop());for(b.source.end=c[4]?{line:c[4],column:c[5]}:{line:c[2],column:c[3]};"word"!==a[0][0];)b.raws.before+=a.shift()[1];
|
|
b.source.start={line:a[0][2],column:a[0][3]};for(b.prop="";a.length;){c=a[0][0];if(":"===c||"space"===c||"comment"===c)break;b.prop+=a.shift()[1]}for(b.raws.between="";a.length;)if(c=a.shift(),":"===c[0]){b.raws.between+=c[1];break}else b.raws.between+=c[1];if("_"===b.prop[0]||"*"===b.prop[0])b.raws.before+=b.prop[0],b.prop=b.prop.slice(1);b.raws.between+=this.spacesAndCommentsFromStart(a);this.precheckMissedSemicolon(a);for(var e=a.length-1;0<e;e--){c=a[e];if("!important"===c[1]){b.important=!0;
|
|
c=this.stringFrom(a,e);c=this.spacesFromEnd(a)+c;" !important"!==c&&(b.raws.important=c);break}else if("important"===c[1]){for(var d=a.slice(0),h="",m=e;0<m;m--){var k=d[m][0];if(0===h.trim().indexOf("!")&&"space"!==k)break;h=d.pop()[1]+h}0===h.trim().indexOf("!")&&(b.important=!0,b.raws.important=h,a=d)}if("space"!==c[0]&&"comment"!==c[0])break}this.raw(b,"value",a);-1!==b.value.indexOf(":")&&this.checkMissedSemicolon(a)};a.prototype.atrule=function(a){var c=new b["default"];c.name=a[1].slice(1);
|
|
""===c.name&&this.unnamedAtrule(c,a);this.init(c,a[2],a[3]);var e=!1,d=!1,f=[];for(this.pos+=1;this.pos<this.tokens.length;){a=this.tokens[this.pos];if(";"===a[0]){c.source.end={line:a[2],column:a[3]};this.semicolon=!0;break}else if("{"===a[0]){d=!0;break}else if("}"===a[0]){this.end(a);break}else f.push(a);this.pos+=1}this.pos===this.tokens.length&&(e=!0);c.raws.between=this.spacesAndCommentsFromEnd(f);f.length?(c.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(c,"params",f),e&&(a=f[f.length-
|
|
1],c.source.end={line:a[4],column:a[5]},this.spaces=c.raws.between,c.raws.between="")):(c.raws.afterName="",c.params="");d&&(c.nodes=[],this.current=c)};a.prototype.end=function(a){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon);this.semicolon=!1;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";this.current.parent?(this.current.source.end={line:a[2],column:a[3]},this.current=this.current.parent):this.unexpectedClose(a)};a.prototype.endFile=
|
|
function(){this.current.parent&&this.unclosedBlock();this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon);this.current.raws.after=(this.current.raws.after||"")+this.spaces};a.prototype.init=function(a,b,c){this.current.push(a);a.source={start:{line:b,column:c},input:this.input};a.raws.before=this.spaces;this.spaces="";"comment"!==a.type&&(this.semicolon=!1)};a.prototype.raw=function(a,b,c){for(var e=void 0,d=void 0,f=c.length,h="",n=!0,m=0;m<f;m+=1)e=c[m],d=
|
|
e[0],"comment"===d||"space"===d&&m===f-1?n=!1:h+=e[1];n||(c=c.reduce(function(a,b){return a+b[1]},""),a.raws[b]={value:h,raw:c});a[b]=h};a.prototype.spacesAndCommentsFromEnd=function(a){for(var b,c="";a.length;){b=a[a.length-1][0];if("space"!==b&&"comment"!==b)break;c=a.pop()[1]+c}return c};a.prototype.spacesAndCommentsFromStart=function(a){for(var b,c="";a.length;){b=a[0][0];if("space"!==b&&"comment"!==b)break;c+=a.shift()[1]}return c};a.prototype.spacesFromEnd=function(a){for(var b,c="";a.length;){b=
|
|
a[a.length-1][0];if("space"!==b)break;c=a.pop()[1]+c}return c};a.prototype.stringFrom=function(a,b){for(var c="",e=b;e<a.length;e++)c+=a[e][1];a.splice(b,a.length-b);return c};a.prototype.colon=function(a){for(var b=0,c,e,d=void 0,f=0;f<a.length;f++){c=a[f];e=c[0];if("("===e)b+=1;else if(")"===e)--b;else if(0===b&&":"===e)if(d)if("word"===d[0]&&"progid"===d[1])continue;else return f;else this.doubleColon(c);d=c}return!1};a.prototype.unclosedBracket=function(a){throw this.input.error("Unclosed bracket",
|
|
a[2],a[3]);};a.prototype.unknownWord=function(a){a=this.tokens[a];throw this.input.error("Unknown word",a[2],a[3]);};a.prototype.unexpectedClose=function(a){throw this.input.error("Unexpected }",a[2],a[3]);};a.prototype.unclosedBlock=function(){var a=this.current.source.start;throw this.input.error("Unclosed block",a.line,a.column);};a.prototype.doubleColon=function(a){throw this.input.error("Double colon",a[2],a[3]);};a.prototype.unnamedAtrule=function(a,b){throw this.input.error("At-rule without name",
|
|
b[2],b[3]);};a.prototype.precheckMissedSemicolon=function(a){a};a.prototype.checkMissedSemicolon=function(a){var b=this.colon(a);if(!1!==b){var c=0,e=void 0;for(--b;0<=b&&(e=a[b],"space"===e[0]||(c+=1,2!==c));b--);throw this.input.error("Missed semicolon",e[2],e[3]);}};return a}();g["default"]=a;l.exports=g["default"]},{"./at-rule":219,"./comment":220,"./declaration":223,"./root":234,"./rule":235,"./tokenize":239}],231:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=
|
|
!0;$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},f=a("js-base64"),d=a("source-map"),c=k(d);d=a("path");var b=k(d);a=a("fs");var p=k(a);a=function(){function a(b,c){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");
|
|
this.loadAnnotation(b);this.inline=this.startWith(this.annotation,"data:");var e=this.loadMap(c.from,c.map?c.map.prev:void 0);e&&(this.text=e)}a.prototype.consumer=function(){this.consumerCache||(this.consumerCache=new c["default"].SourceMapConsumer(this.text));return this.consumerCache};a.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&0<this.consumer().sourcesContent.length)};a.prototype.startWith=function(a,b){return a?a.substr(0,b.length)===b:!1};a.prototype.loadAnnotation=
|
|
function(a){if(a=a.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//))this.annotation=a[1].trim()};a.prototype.decodeInline=function(a){if(this.startWith(a,"data:application/json,"))return decodeURIComponent(a.substr(22));if(this.startWith(a,"data:application/json;base64,"))return f.Base64.decode(a.substr(29));if(this.startWith(a,"data:application/json;charset=utf8;base64,"))return f.Base64.decode(a.substr(42));if(this.startWith(a,"data:application/json;charset=utf-8;base64,"))return f.Base64.decode(a.substr(43));
|
|
a=a.match(/data:application\/json;([^,]+),/)[1];throw Error("Unsupported source map encoding "+a);};a.prototype.loadMap=function(a,e){if(!1===e)return!1;if(e){if("string"===typeof e)return e;if("function"===typeof e){var d=e(a);if(d&&p["default"].existsSync&&p["default"].existsSync(d))return p["default"].readFileSync(d,"utf-8").toString().trim();throw Error("Unable to load previous source map: "+d.toString());}if(e instanceof c["default"].SourceMapConsumer)return c["default"].SourceMapGenerator.fromSourceMap(e).toString();
|
|
if(e instanceof c["default"].SourceMapGenerator)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw Error("Unsupported previous source map format: "+e.toString());}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation)return d=this.annotation,a&&(d=b["default"].join(b["default"].dirname(a),d)),this.root=b["default"].dirname(d),p["default"].existsSync&&p["default"].existsSync(d)?p["default"].readFileSync(d,"utf-8").toString().trim():!1};a.prototype.isMap=function(a){return"object"!==
|
|
("undefined"===typeof a?"undefined":h(a))?!1:"string"===typeof a.mappings||"string"===typeof a._mappings};return a}();g["default"]=a;l.exports=g["default"]},{fs:4,"js-base64":130,path:14,"source-map":328}],232:[function(a,l,g){g.__esModule=!0;$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===
|
|
typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h=(a=a("./lazy-result"))&&a.__esModule?a:{"default":a};a=function(){function a(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.version="5.2.17";this.plugins=this.normalize(d)}a.prototype.use=function(a){this.plugins=this.plugins.concat(this.normalize([a]));return this};a.prototype.process=function(a){return new h["default"](this,
|
|
a,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})};a.prototype.normalize=function(a){var c=[];$jscomp.initSymbol();$jscomp.initSymbolIterator();var b=Array.isArray(a),d=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(d>=a.length)break;var f=a[d++]}else{d=a.next();if(d.done)break;f=d.value}f.postcss&&(f=f.postcss);if("object"===("undefined"===typeof f?"undefined":k(f))&&Array.isArray(f.plugins))c=c.concat(f.plugins);else if("function"===typeof f)c.push(f);else{if("object"===("undefined"===
|
|
typeof f?"undefined":k(f))&&(f.parse||f.stringify))throw Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.");throw Error(f+" is not a PostCSS plugin");}}return c};return a}();g["default"]=a;l.exports=g["default"]},{"./lazy-result":225}],233:[function(a,l,g){g.__esModule=!0;var k=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=
|
|
!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(d,c,b){c&&a(d.prototype,c);b&&a(d,b);return d}}(),h=(a=a("./warning"))&&a.__esModule?a:{"default":a};a=function(){function a(d,c,b){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.processor=d;this.messages=[];this.root=c;this.opts=b;this.map=this.css=void 0}a.prototype.toString=function(){return this.css};a.prototype.warn=function(a){var c=1<arguments.length&&void 0!==arguments[1]?
|
|
arguments[1]:{};!c.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(c.plugin=this.lastPlugin.postcssPlugin);c=new h["default"](a,c);this.messages.push(c);return c};a.prototype.warnings=function(){return this.messages.filter(function(a){return"warning"===a.type})};k(a,[{key:"content",get:function(){return this.css}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./warning":241}],234:[function(a,l,g){function k(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
|
|
typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var h=a("./container");h=h&&h.__esModule?h:{"default":h};var f=a("./warn-once"),d=f&&f.__esModule?f:{"default":f};h=function(c){function b(a){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");a=c.call(this,a);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
a=!a||"object"!==typeof a&&"function"!==typeof a?this:a;a.type="root";a.nodes||(a.nodes=[]);return a}k(b,c);b.prototype.removeChild=function(a){a=this.index(a);0===a&&1<this.nodes.length&&(this.nodes[1].raws.before=this.nodes[a].raws.before);return c.prototype.removeChild.call(this,a)};b.prototype.normalize=function(a,b,d){a=c.prototype.normalize.call(this,a);if(b)if("prepend"===d)1<this.nodes.length?b.raws.before=this.nodes[1].raws.before:delete b.raws.before;else if(this.first!==b){$jscomp.initSymbol();
|
|
$jscomp.initSymbolIterator();d=a;var e=Array.isArray(d),f=0;for(d=e?d:d[Symbol.iterator]();;){if(e){if(f>=d.length)break;var h=d[f++]}else{f=d.next();if(f.done)break;h=f.value}h.raws.before=b.raws.before}}return a};b.prototype.toResult=function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},c=a("./lazy-result"),d=a("./processor");return(new c(new d,this,b)).stringify()};b.prototype.remove=function(a){(0,d["default"])("Root#remove is deprecated. Use Root#removeChild");this.removeChild(a)};
|
|
b.prototype.prevMap=function(){(0,d["default"])("Root#prevMap is deprecated. Use Root#source.input.map");return this.source.input.map};return b}(h["default"]);g["default"]=h;l.exports=g["default"]},{"./container":221,"./lazy-result":225,"./processor":232,"./warn-once":240}],235:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=
|
|
Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),d=a("./container");d=k(d);var c=a("./warn-once"),b=k(c);a=a("./list");var p=
|
|
k(a);a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type="rule";b.nodes||(b.nodes=[]);return b}h(c,a);f(c,[{key:"selectors",get:function(){return p["default"].comma(this.selector)},set:function(a){var b=this.selector?this.selector.match(/,\s*/):null;b=b?b[0]:","+this.raw("between",
|
|
"beforeOpen");this.selector=a.join(b)}},{key:"_selector",get:function(){(0,b["default"])("Rule#_selector is deprecated. Use Rule#raws.selector");return this.raws.selector},set:function(a){(0,b["default"])("Rule#_selector is deprecated. Use Rule#raws.selector");this.raws.selector=a}}]);return c}(d["default"]);g["default"]=a;l.exports=g["default"]},{"./container":221,"./list":226,"./warn-once":240}],236:[function(a,l,g){function k(a){return a[0].toUpperCase()+a.slice(1)}g.__esModule=!0;var h={colon:": ",
|
|
indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};a=function(){function a(d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.builder=d}a.prototype.stringify=function(a,c){this[a.type](a,c)};a.prototype.root=function(a){this.body(a);a.raws.after&&this.builder(a.raws.after)};a.prototype.comment=function(a){var c=this.raw(a,"left","commentLeft"),b=this.raw(a,
|
|
"right","commentRight");this.builder("/*"+c+a.text+b+"*/",a)};a.prototype.decl=function(a,c){var b=this.raw(a,"between","colon");b=a.prop+b+this.rawValue(a,"value");a.important&&(b+=a.raws.important||" !important");c&&(b+=";");this.builder(b,a)};a.prototype.rule=function(a){this.block(a,this.rawValue(a,"selector"))};a.prototype.atrule=function(a,c){var b="@"+a.name,d=a.params?this.rawValue(a,"params"):"";"undefined"!==typeof a.raws.afterName?b+=a.raws.afterName:d&&(b+=" ");a.nodes?this.block(a,b+
|
|
d):this.builder(b+d+((a.raws.between||"")+(c?";":"")),a)};a.prototype.body=function(a){for(var c=a.nodes.length-1;0<c&&"comment"===a.nodes[c].type;)--c;for(var b=this.raw(a,"semicolon"),d=0;d<a.nodes.length;d++){var f=a.nodes[d],h=this.raw(f,"before");h&&this.builder(h);this.stringify(f,c!==d||b)}};a.prototype.block=function(a,c){var b=this.raw(a,"between","beforeOpen");this.builder(c+b+"{",a,"start");a.nodes&&a.nodes.length?(this.body(a),b=this.raw(a,"after")):b=this.raw(a,"after","emptyBody");b&&
|
|
this.builder(b);this.builder("}",a,"end")};a.prototype.raw=function(a,c,b){var d=void 0;b||(b=c);if(c&&(d=a.raws[c],"undefined"!==typeof d))return d;var f=a.parent;if("before"===b&&(!f||"root"===f.type&&f.first===a))return"";if(!f)return h[b];f=a.root();f.rawCache||(f.rawCache={});if("undefined"!==typeof f.rawCache[b])return f.rawCache[b];if("before"===b||"after"===b)return this.beforeAfter(a,b);var g="raw"+k(b);this[g]?d=this[g](f,a):f.walk(function(a){d=a.raws[c];if("undefined"!==typeof d)return!1});
|
|
"undefined"===typeof d&&(d=h[b]);return f.rawCache[b]=d};a.prototype.rawSemicolon=function(a){var c=void 0;a.walk(function(a){if(a.nodes&&a.nodes.length&&"decl"===a.last.type&&(c=a.raws.semicolon,"undefined"!==typeof c))return!1});return c};a.prototype.rawEmptyBody=function(a){var c=void 0;a.walk(function(a){if(a.nodes&&0===a.nodes.length&&(c=a.raws.after,"undefined"!==typeof c))return!1});return c};a.prototype.rawIndent=function(a){if(a.raws.indent)return a.raws.indent;var c=void 0;a.walk(function(b){var d=
|
|
b.parent;if(d&&d!==a&&d.parent&&d.parent===a&&"undefined"!==typeof b.raws.before)return b=b.raws.before.split("\n"),c=b[b.length-1],c=c.replace(/[^\s]/g,""),!1});return c};a.prototype.rawBeforeComment=function(a,c){var b=void 0;a.walkComments(function(a){if("undefined"!==typeof a.raws.before)return b=a.raws.before,-1!==b.indexOf("\n")&&(b=b.replace(/[^\n]+$/,"")),!1});"undefined"===typeof b&&(b=this.raw(c,null,"beforeDecl"));return b};a.prototype.rawBeforeDecl=function(a,c){var b=void 0;a.walkDecls(function(a){if("undefined"!==
|
|
typeof a.raws.before)return b=a.raws.before,-1!==b.indexOf("\n")&&(b=b.replace(/[^\n]+$/,"")),!1});"undefined"===typeof b&&(b=this.raw(c,null,"beforeRule"));return b};a.prototype.rawBeforeRule=function(a){var c=void 0;a.walk(function(b){if(b.nodes&&(b.parent!==a||a.first!==b)&&"undefined"!==typeof b.raws.before)return c=b.raws.before,-1!==c.indexOf("\n")&&(c=c.replace(/[^\n]+$/,"")),!1});return c};a.prototype.rawBeforeClose=function(a){var c=void 0;a.walk(function(a){if(a.nodes&&0<a.nodes.length&&
|
|
"undefined"!==typeof a.raws.after)return c=a.raws.after,-1!==c.indexOf("\n")&&(c=c.replace(/[^\n]+$/,"")),!1});return c};a.prototype.rawBeforeOpen=function(a){var c=void 0;a.walk(function(a){if("decl"!==a.type&&(c=a.raws.between,"undefined"!==typeof c))return!1});return c};a.prototype.rawColon=function(a){var c=void 0;a.walkDecls(function(a){if("undefined"!==typeof a.raws.between)return c=a.raws.between.replace(/[^\s:]/g,""),!1});return c};a.prototype.beforeAfter=function(a,c){var b="decl"===a.type?
|
|
this.raw(a,null,"beforeDecl"):"comment"===a.type?this.raw(a,null,"beforeComment"):"before"===c?this.raw(a,null,"beforeRule"):this.raw(a,null,"beforeClose");for(var d=a.parent,f=0;d&&"root"!==d.type;)f+=1,d=d.parent;if(-1!==b.indexOf("\n")&&(d=this.raw(a,null,"indent"),d.length))for(var h=0;h<f;h++)b+=d;return b};a.prototype.rawValue=function(a,c){var b=a[c],d=a.raws[c];return d&&d.value===b?d.raw:b};return a}();g["default"]=a;l.exports=g["default"]},{}],237:[function(a,l,g){g.__esModule=!0;g["default"]=
|
|
function(a,f){(new k["default"](f)).stringify(a)};var k=(a=a("./stringifier"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./stringifier":236}],238:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b,c){var e=a[0];a=a[1];if("word"===e){if("."===a[0])return"class";if("#"===a[0])return"hash"}b=c[b+1];return!b||"brackets"!==b[0]&&"("!==b[0]?e:"call"}g.__esModule=!0;var f=a("chalk");f=k(f);var d=a("./tokenize"),c=k(d);a=a("./input");var b=k(a);a=new f["default"].constructor({enabled:!0});
|
|
var p={brackets:a.cyan,"at-word":a.cyan,call:a.cyan,comment:a.gray,string:a.green,"class":a.yellow,hash:a.magenta,"(":a.cyan,")":a.cyan,"{":a.yellow,"}":a.yellow,"[":a.yellow,"]":a.yellow,":":a.yellow,";":a.yellow};g["default"]=function(a){var d=(0,c["default"])(new b["default"](a),{ignoreErrors:!0});return d.map(function(a,b){var c=p[h(a,b,d)];return c?a[1].split(/\r?\n/).map(function(a){return c(a)}).join("\n"):a[1]}).join("")};l.exports=g["default"]},{"./input":224,"./tokenize":239,chalk:217}],
|
|
239:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){function g(b){throw a.error("Unclosed "+b,G,O-R);}var l=[],B=a.css.valueOf(),P=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).ignoreErrors,y=void 0,z=void 0,H=y=void 0,Q=void 0,J=y=void 0;y=z=H=J=H=J=void 0;for(var N=B.length,R=-1,G=1,O=0;O<N;){y=B.charCodeAt(O);if(y===c||y===p||y===q&&B.charCodeAt(O+1)!==c)R=O,G+=1;switch(y){case c:case b:case m:case q:case p:z=O;do z+=1,y=B.charCodeAt(z),y===c&&(R=z,G+=1);while(y===b||y===
|
|
c||y===m||y===q||y===p);l.push(["space",B.slice(O,z)]);O=z-1;break;case e:l.push(["[","[",G,O-R]);break;case n:l.push(["]","]",G,O-R]);break;case u:l.push(["{","{",G,O-R]);break;case w:l.push(["}","}",G,O-R]);break;case L:l.push([":",":",G,O-R]);break;case x:l.push([";",";",G,O-R]);break;case r:z=l.length?l[l.length-1][1]:"";y=B.charCodeAt(O+1);if("url"===z&&y!==k&&y!==h&&y!==b&&y!==c&&y!==m&&y!==p&&y!==q){z=O;do{J=!1;z=B.indexOf(")",z+1);if(-1===z)if(P){z=O;break}else g("bracket");for(H=z;B.charCodeAt(H-
|
|
1)===f;)--H,J=!J}while(J);l.push(["brackets",B.slice(O,z+1),G,O-R,G,z-R]);O=z}else z=B.indexOf(")",O+1),y=B.slice(O,z+1),-1===z||M.test(y)?l.push(["(","(",G,O-R]):(l.push(["brackets",y,G,O-R,G,z-R]),O=z);break;case t:l.push([")",")",G,O-R]);break;case k:case h:y=y===k?"'":'"';z=O;do{J=!1;z=B.indexOf(y,z+1);if(-1===z)if(P){z=O+1;break}else g("string");for(H=z;B.charCodeAt(H-1)===f;)--H,J=!J}while(J);y=B.slice(O,z+1);H=y.split("\n");Q=H.length-1;0<Q?(J=G+Q,H=z-H[Q].length):(J=G,H=R);l.push(["string",
|
|
B.slice(O,z+1),G,O-R,J,z-H]);R=H;G=J;O=z;break;case C:F.lastIndex=O+1;F.test(B);z=0===F.lastIndex?B.length-1:F.lastIndex-2;l.push(["at-word",B.slice(O,z+1),G,O-R,G,z-R]);O=z;break;case f:z=O;for(J=!0;B.charCodeAt(z+1)===f;)z+=1,J=!J;y=B.charCodeAt(z+1);J&&y!==d&&y!==b&&y!==c&&y!==m&&y!==q&&y!==p&&(z+=1);l.push(["word",B.slice(O,z+1),G,O-R,G,z-R]);O=z;break;default:y===d&&B.charCodeAt(O+1)===A?(z=B.indexOf("*/",O+2)+1,0===z&&(P?z=B.length:g("comment")),y=B.slice(O,z+1),H=y.split("\n"),Q=H.length-1,
|
|
0<Q?(J=G+Q,H=z-H[Q].length):(J=G,H=R),l.push(["comment",y,G,O-R,J,z-H]),R=H,G=J):(K.lastIndex=O+1,K.test(B),z=0===K.lastIndex?B.length-1:K.lastIndex-2,l.push(["word",B.slice(O,z+1),G,O-R,G,z-R])),O=z}O++}return l};var k=39,h=34,f=92,d=47,c=10,b=32,p=12,m=9,q=13,e=91,n=93,r=40,t=41,u=123,w=125,x=59,A=42,L=58,C=64,F=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,K=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,M=/.[\\\/\("'\n]/;l.exports=g["default"]},{}],240:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){k[a]||
|
|
(k[a]=!0,"undefined"!==typeof console&&console.warn&&console.warn(a))};var k={};l.exports=g["default"]},{}],241:[function(a,l,g){g.__esModule=!0;a=function(){function a(h){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.type="warning";this.text=h;if(f.node&&f.node.source){var d=f.node.positionBy(f);this.line=d.line;this.column=d.column}for(var c in f)this[c]=f[c]}a.prototype.toString=function(){return this.node?
|
|
this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text};return a}();g["default"]=a;l.exports=g["default"]},{}],242:[function(a,l,g){l.exports=!1},{}],243:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){return new k["default"]({nodes:(0,h.parseMediaList)(a),type:"media-query-list",value:a.trim()})};var k=(l=a("./nodes/Container"))&&l.__esModule?l:{"default":l},h=a("./parsers")},
|
|
{"./nodes/Container":244,"./parsers":246}],244:[function(a,l,g){function k(a){var f=this;this.constructor(a);this.nodes=a.nodes;void 0===this.after&&(this.after=0<this.nodes.length?this.nodes[this.nodes.length-1].after:"");void 0===this.before&&(this.before=0<this.nodes.length?this.nodes[0].before:"");void 0===this.sourceIndex&&(this.sourceIndex=this.before.length);this.nodes.forEach(function(a){a.parent=f})}Object.defineProperty(g,"__esModule",{value:!0});a=(a=a("./Node"))&&a.__esModule?a:{"default":a};
|
|
k.prototype=Object.create(a["default"].prototype);k.constructor=a["default"];k.prototype.walk=function(a,f){for(var d="string"===typeof a||a instanceof RegExp,c=d?f:a,b="string"===typeof a?new RegExp(a):a,h=0;h<this.nodes.length;h++){var m=this.nodes[h];if((d?b.test(m.type):1)&&c&&!1===c(m,h,this.nodes)||m.nodes&&!1===m.walk(a,f))return!1}return!0};k.prototype.each=function(){for(var a=0>=arguments.length||void 0===arguments[0]?function(){}:arguments[0],f=0;f<this.nodes.length;f++)if(!1===a(this.nodes[f],
|
|
f,this.nodes))return!1;return!0};g["default"]=k},{"./Node":245}],245:[function(a,l,g){Object.defineProperty(g,"__esModule",{value:!0});g["default"]=function(a){this.after=a.after;this.before=a.before;this.type=a.type;this.value=a.value;this.sourceIndex=a.sourceIndex}},{}],246:[function(a,l,g){function k(a){var b=[{mode:"normal",character:null}],c=[],d=0,f="",e=null,h=null,k=1>=arguments.length||void 0===arguments[1]?0:arguments[1],g=a;"("===a[0]&&")"===a[a.length-1]&&(g=a.substring(1,a.length-1),
|
|
k++);for(var l=0;l<g.length;l++){var w=g[l];if("'"===w||'"'===w)!0===b[d].isCalculationEnabled?(b.push({mode:"string",isCalculationEnabled:!1,character:w}),d++):"string"===b[d].mode&&b[d].character===w&&"\\"!==g[l-1]&&(b.pop(),d--);"{"===w?(b.push({mode:"interpolation",isCalculationEnabled:!0}),d++):"}"===w&&(b.pop(),d--);if("normal"===b[d].mode&&":"===w){b=g.substring(l+1);h={type:"value",before:/^(\s*)/.exec(b)[1],after:/(\s*)$/.exec(b)[1],value:b.trim()};h.sourceIndex=h.before.length+l+1+k;e={type:"colon",
|
|
sourceIndex:l+k,after:h.before,value:":"};break}f+=w}f={type:"media-feature",before:/^(\s*)/.exec(f)[1],after:/(\s*)$/.exec(f)[1],value:f.trim()};f.sourceIndex=f.before.length+k;c.push(f);null!==e&&(e.before=f.after,c.push(e));null!==h&&c.push(h);return c}function h(a){var b=1>=arguments.length||void 0===arguments[1]?0:arguments[1],c=[],h=0,g=!1;var e={before:"",after:"",value:""};for(var n=0;n<a.length;n++){var l=a[n];g?(e.value+=l,"{"!==l&&"("!==l||h++,")"!==l&&"}"!==l||h--):-1!==l.search(/\s/)?
|
|
e.before+=l:("("===l&&(e.type="media-feature-expression",h++),e.value=l,e.sourceIndex=b+n,g=!0);!g||0!==h||")"!==l&&n!==a.length-1&&-1===a[n+1].search(/\s/)||(-1!==["not","only","and"].indexOf(e.value)&&(e.type="keyword"),"media-feature-expression"===e.type&&(e.nodes=k(e.value,e.sourceIndex)),c.push(Array.isArray(e.nodes)?new d["default"](e):new f["default"](e)),e={before:"",after:"",value:""},g=!1)}for(b=0;b<c.length;b++)if(e=c[b],0<b&&(c[b-1].after=e.before),void 0===e.type){if(0<b){if("media-feature-expression"===
|
|
c[b-1].type){e.type="keyword";continue}if("not"===c[b-1].value||"only"===c[b-1].value){e.type="media-type";continue}if("and"===c[b-1].value){e.type="media-feature-expression";continue}"media-type"===c[b-1].type&&(e.type=c[b+1]?"media-feature-expression"===c[b+1].type?"keyword":"media-feature-expression":"media-feature-expression")}if(0===b)if(c[b+1])if(!c[b+1]||"media-feature-expression"!==c[b+1].type&&"keyword"!==c[b+1].type){if(c[b+2]){if("media-feature-expression"===c[b+2].type){e.type="media-type";
|
|
c[b+1].type="keyword";continue}if("keyword"===c[b+2].type){e.type="keyword";c[b+1].type="media-type";continue}}c[b+3]&&"media-feature-expression"===c[b+3].type&&(e.type="keyword",c[b+1].type="media-type",c[b+2].type="keyword")}else e.type="media-type";else e.type="media-type"}return c}Object.defineProperty(g,"__esModule",{value:!0});g.parseMediaFeature=k;g.parseMediaQuery=h;g.parseMediaList=function(a){var b=[],c=0,m=0,k=/^(\s*)url\s*\(/.exec(a);if(null!==k){c=k[0].length;for(var e=1;0<e;){var n=
|
|
a[c];"("===n&&e++;")"===n&&e--;c++}b.unshift(new f["default"]({type:"url",value:a.substring(0,c).trim(),sourceIndex:k[1].length,before:k[1],after:/^(\s*)/.exec(a.substring(c))[1]}))}for(k=c;k<a.length;k++)e=a[k],"("===e&&m++,")"===e&&m--,0===m&&","===e&&(e=a.substring(c,k),n=/^(\s*)/.exec(e)[1],b.push(new d["default"]({type:"media-query",value:e.trim(),sourceIndex:c+n.length,nodes:h(e,c),before:n,after:/(\s*)$/.exec(e)[1]})),c=k+1);a=a.substring(c);m=/^(\s*)/.exec(a)[1];b.push(new d["default"]({type:"media-query",
|
|
value:a.trim(),sourceIndex:c+m.length,nodes:h(a,c),before:m,after:/(\s*)$/.exec(a)[1]}));return b};var f=(l=a("./nodes/Node"))&&l.__esModule?l:{"default":l},d=(a=a("./nodes/Container"))&&a.__esModule?a:{"default":a}},{"./nodes/Container":244,"./nodes/Node":245}],247:[function(a,l,g){l.exports=function h(a,d){var c=d.parent,b="atrule"===c.type&&"nest"===c.name;return"root"===c.type?[a]:"rule"===c.type||b?(b?c.params.split(",").map(function(a){return a.trim()}):c.selectors).reduce(function(b,d){if(-1!==
|
|
a.indexOf("&")){var f=h(d,c).map(function(b){return a.replace(/&/g,b)});return b.concat(f)}f=[d,a].join(" ");return b.concat(h(f,c))},[]):h(a,c)}},{}],248:[function(a,l,g){function k(a,f){if("function"!==typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+typeof f);a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)}g.__esModule=
|
|
!0;a=a("postcss/lib/container");a=function(a){function f(d){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");d=a.call(this,d);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");d=!d||"object"!==typeof d&&"function"!==typeof d?this:d;d.type="decl";d.isNested=!0;d.nodes||(d.nodes=[]);return d}k(f,a);return f}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"postcss/lib/container":283}],
|
|
249:[function(a,l,g){g.__esModule=!0;g["default"]=function(a,c){var b=new h["default"](a,c);b=new f["default"](b);b.parse();return b.root};var k=a("postcss/lib/input"),h=k&&k.__esModule?k:{"default":k},f=(a=a("./scss-parser"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./scss-parser":250,"postcss/lib/input":286}],250:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+
|
|
typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var f=a("postcss/lib/comment"),d=k(f);f=a("postcss/lib/parser");f=k(f);var c=a("./nested-declaration"),b=k(c);a=a("./scss-tokenize");var p=k(a);a=function(a){function c(){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");var b=a.apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
return!b||"object"!==typeof b&&"function"!==typeof b?this:b}h(c,a);c.prototype.createTokenizer=function(){this.tokenizer=(0,p["default"])(this.input)};c.prototype.rule=function(c){var e=!1,d=0,f="";$jscomp.initSymbol();$jscomp.initSymbolIterator();var h=c,k=Array.isArray(h),m=0;for(h=k?h:h[Symbol.iterator]();;){if(k){if(m>=h.length)break;var g=h[m++]}else{m=h.next();if(m.done)break;g=m.value}if(e)"comment"!==g[0]&&"{"!==g[0]&&(f+=g[1]);else if("space"===g[0]&&-1!==g[1].indexOf("\n"))break;else"("===
|
|
g[0]?d+=1:")"===g[0]?--d:0===d&&":"===g[0]&&(e=!0)}if(!e||""===f.trim()||/^[a-zA-Z-:#]/.test(f))a.prototype.rule.call(this,c);else{c.pop();e=new b["default"];this.init(e);d=c[c.length-1];for(e.source.end=d[4]?{line:d[4],column:d[5]}:{line:d[2],column:d[3]};"word"!==c[0][0];)e.raws.before+=c.shift()[1];e.source.start={line:c[0][2],column:c[0][3]};for(e.prop="";c.length;){d=c[0][0];if(":"===d||"space"===d||"comment"===d)break;e.prop+=c.shift()[1]}for(e.raws.between="";c.length;)if(d=c.shift(),":"===
|
|
d[0]){e.raws.between+=d[1];break}else e.raws.between+=d[1];if("_"===e.prop[0]||"*"===e.prop[0])e.raws.before+=e.prop[0],e.prop=e.prop.slice(1);e.raws.between+=this.spacesAndCommentsFromStart(c);this.precheckMissedSemicolon(c);for(f=c.length-1;0<f;f--){d=c[f];if("!important"===d[1]){e.important=!0;d=this.stringFrom(c,f);d=this.spacesFromEnd(c)+d;" !important"!==d&&(e.raws.important=d);break}else if("important"===d[1]){h=c.slice(0);k="";for(m=f;0<m;m--){g=h[m][0];if(0===k.trim().indexOf("!")&&"space"!==
|
|
g)break;k=h.pop()[1]+k}0===k.trim().indexOf("!")&&(e.important=!0,e.raws.important=k,c=h)}if("space"!==d[0]&&"comment"!==d[0])break}this.raw(e,"value",c);-1!==e.value.indexOf(":")&&this.checkMissedSemicolon(c);this.current=e}};c.prototype.comment=function(b){if("inline"===b[6]){var c=new d["default"];this.init(c,b[2],b[3]);c.raws.inline=!0;c.source.end={line:b[4],column:b[5]};b=b[1].slice(2);if(/^\s*$/.test(b))c.text="",c.raws.left=b,c.raws.right="";else{b=b.match(/^(\s*)([^]*[^\s])(\s*)$/);var e=
|
|
b[2].replace(/(\*\/|\/\*)/g,"*//*");c.text=e;c.raws.left=b[1];c.raws.right=b[3];c.raws.text=b[2]}}else a.prototype.comment.call(this,b)};return c}(f["default"]);g["default"]=a;l.exports=g["default"]},{"./nested-declaration":248,"./scss-tokenize":254,"postcss/lib/comment":282,"postcss/lib/parser":292}],251:[function(a,l,g){function k(a,f){if("function"!==typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+typeof f);a.prototype=Object.create(f&&f.prototype,
|
|
{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)}g.__esModule=!0;a=a("postcss/lib/stringifier");a=function(a){function f(){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");var d=a.apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!d||"object"!==typeof d&&"function"!==typeof d?this:d}k(f,a);f.prototype.comment=
|
|
function(a){var c=this.raw(a,"left","commentLeft"),b=this.raw(a,"right","commentRight");a.raws.inline?this.builder("//"+c+(a.raws.text||a.text)+b,a):this.builder("/*"+c+a.text+b+"*/",a)};f.prototype.decl=function(d,c){if(d.isNested){var b=this.raw(d,"between","colon");b=d.prop+b+this.rawValue(d,"value");d.important&&(b+=d.raws.important||" !important");this.builder(b+"{",d,"start");d.nodes&&d.nodes.length?(this.body(d),b=this.raw(d,"after")):b=this.raw(d,"after","emptyBody");b&&this.builder(b);this.builder("}",
|
|
d,"end")}else a.prototype.decl.call(this,d,c)};return f}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"postcss/lib/stringifier":299}],252:[function(a,l,g){g.__esModule=!0;g["default"]=function(a,f){(new k["default"](f)).stringify(a)};var k=(a=a("./scss-stringifier"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./scss-stringifier":251}],253:[function(a,l,g){g.__esModule=!0;var k=a("./scss-stringify");k=k&&k.__esModule?k:{"default":k};a=a("./scss-parse");
|
|
g["default"]={parse:(a&&a.__esModule?a:{"default":a})["default"],stringify:k["default"]};l.exports=g["default"]},{"./scss-parse":249,"./scss-stringify":252}],254:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){function g(b){throw a.error("Unclosed "+b,Y,V-X);}var l=a.css.valueOf(),P=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).ignoreErrors,Q=void 0,J=void 0,N=void 0,R=void 0,G=void 0,O=void 0,S=void 0,ca=void 0,ha=void 0,ra=void 0,ea=void 0,ta=void 0,v=void 0,U=void 0,T=void 0,
|
|
Sa=l.length,X=-1,Y=1,V=0,gb=[],Ya=[];return{back:function(a){Ya.push(a)},nextToken:function(){if(Ya.length)return Ya.pop();if(!(V>=Sa)){Q=l.charCodeAt(V);if(Q===c||Q===p||Q===q&&l.charCodeAt(V+1)!==c)X=V,Y+=1;switch(Q){case c:case b:case m:case q:case p:J=V;do J+=1,Q=l.charCodeAt(J),Q===c&&(X=J,Y+=1);while(Q===b||Q===c||Q===m||Q===q||Q===p);U=["space",l.slice(V,J)];V=J-1;break;case e:U=["[","[",Y,V-X];break;case n:U=["]","]",Y,V-X];break;case u:U=["{","{",Y,V-X];break;case w:U=["}","}",Y,V-X];break;
|
|
case F:U=["word",",",Y,V-X,Y,V-X+1];break;case L:U=[":",":",Y,V-X];break;case x:U=[";",";",Y,V-X];break;case r:ta=gb.length?gb.pop()[1]:"";v=l.charCodeAt(V+1);if("url"===ta&&v!==k&&v!==h&&v!==b&&v!==c&&v!==m&&v!==p&&v!==q){T=1;ra=!1;for(J=V+1;J<=l.length-1;){v=l.charCodeAt(J);if(v===f)ra=!ra;else if(v===r)T+=1;else if(v===t&&(--T,0===T))break;J+=1}O=l.slice(V,J+1);R=O.split("\n");G=R.length-1;0<G?(ca=Y+G,ha=J-R[G].length):(ca=Y,ha=X);U=["brackets",O,Y,V-X,ca,J-ha];X=ha;Y=ca;V=J}else J=l.indexOf(")",
|
|
V+1),O=l.slice(V,J+1),-1===J||I.test(O)?U=["(","(",Y,V-X]:(U=["brackets",O,Y,V-X,Y,J-X],V=J);break;case t:U=[")",")",Y,V-X];break;case k:case h:N=Q===k?"'":'"';J=V;do{ra=!1;J=l.indexOf(N,J+1);if(-1===J)if(P){J=V+1;break}else g("string");for(ea=J;l.charCodeAt(ea-1)===f;)--ea,ra=!ra}while(ra);O=l.slice(V,J+1);R=O.split("\n");G=R.length-1;0<G?(ca=Y+G,ha=J-R[G].length):(ca=Y,ha=X);U=["string",l.slice(V,J+1),Y,V-X,ca,J-ha];X=ha;Y=ca;V=J;break;case C:M.lastIndex=V+1;M.test(l);J=0===M.lastIndex?l.length-
|
|
1:M.lastIndex-2;U=["at-word",l.slice(V,J+1),Y,V-X,Y,J-X];V=J;break;case f:J=V;for(S=!0;l.charCodeAt(J+1)===f;)J+=1,S=!S;Q=l.charCodeAt(J+1);if(S&&Q!==d&&Q!==b&&Q!==c&&Q!==m&&Q!==q&&Q!==p&&(J+=1,D.test(l.charAt(J)))){for(;D.test(l.charAt(J+1));)J+=1;l.charCodeAt(J+1)===b&&(J+=1)}U=["word",l.slice(V,J+1),Y,V-X,Y,J-X];V=J;break;default:v=l.charCodeAt(V+1);if(Q===K&&v===u){var a=1;for(J=V;0<a;)J+=1,l.length<=J&&g("interpolation"),Q=l.charCodeAt(J),v=l.charCodeAt(J+1),Q===w?--a:Q===K&&v===u&&(a+=1);O=
|
|
l.slice(V,J+1);R=O.split("\n");G=R.length-1;0<G?(ca=Y+G,ha=J-R[G].length):(ca=Y,ha=X);U=["word",O,Y,V-X,ca,J-ha];X=ha;Y=ca}else Q===d&&v===A?(J=l.indexOf("*/",V+2)+1,0===J&&(P?J=l.length:g("comment")),O=l.slice(V,J+1),R=O.split("\n"),G=R.length-1,0<G?(ca=Y+G,ha=J-R[G].length):(ca=Y,ha=X),U=["comment",O,Y,V-X,ca,J-ha],X=ha,Y=ca):Q===d&&v===d?(E.lastIndex=V+1,E.test(l),J=0===E.lastIndex?l.length-1:E.lastIndex-2,O=l.slice(V,J+1),U=["comment",O,Y,V-X,Y,J-X,"inline"]):(B.lastIndex=V+1,B.test(l),J=0===
|
|
B.lastIndex?l.length-1:B.lastIndex-2,U=["word",l.slice(V,J+1),Y,V-X,Y,J-X],gb.push(U));V=J}V++;return U}},endOfFile:function(){return 0===Ya.length&&V>=Sa}}};var k=39,h=34,f=92,d=47,c=10,b=32,p=12,m=9,q=13,e=91,n=93,r=40,t=41,u=123,w=125,x=59,A=42,L=58,C=64,F=44,K=35,M=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,B=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,I=/.[\\\/\("'\n]/,D=/[a-f0-9]/i,E=/[\r\f\n]/g;l.exports=g["default"]},{}],255:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=
|
|
!0;var h=a("./processor"),f=k(h);h=a("./selectors/attribute");var d=k(h);h=a("./selectors/className");var c=k(h);h=a("./selectors/combinator");var b=k(h);h=a("./selectors/comment");var p=k(h);h=a("./selectors/id");var m=k(h);h=a("./selectors/nesting");var q=k(h);h=a("./selectors/pseudo");var e=k(h);h=a("./selectors/root");var n=k(h);h=a("./selectors/selector");var r=k(h);h=a("./selectors/string");var t=k(h);h=a("./selectors/tag");var u=k(h);h=a("./selectors/universal");var w=k(h),x=function(a){if(a&&
|
|
a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("./selectors/types")),A=function(a){return new f["default"](a)};A.attribute=function(a){return new d["default"](a)};A.className=function(a){return new c["default"](a)};A.combinator=function(a){return new b["default"](a)};A.comment=function(a){return new p["default"](a)};A.id=function(a){return new m["default"](a)};A.nesting=function(a){return new q["default"](a)};
|
|
A.pseudo=function(a){return new e["default"](a)};A.root=function(a){return new n["default"](a)};A.selector=function(a){return new r["default"](a)};A.string=function(a){return new t["default"](a)};A.tag=function(a){return new u["default"](a)};A.universal=function(a){return new w["default"](a)};Object.keys(x).forEach(function(a){"__esModule"!==a&&(A[a]=x[a])});g["default"]=A;l.exports=g["default"]},{"./processor":257,"./selectors/attribute":258,"./selectors/className":259,"./selectors/combinator":260,
|
|
"./selectors/comment":261,"./selectors/id":263,"./selectors/nesting":265,"./selectors/pseudo":267,"./selectors/root":268,"./selectors/selector":269,"./selectors/string":270,"./selectors/tag":271,"./selectors/types":272,"./selectors/universal":273}],256:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,
|
|
e.key,e)}}return function(b,c,e){c&&a(b.prototype,c);e&&a(b,e);return b}}(),f=a("flatten"),d=k(f);f=a("indexes-of");var c=k(f);f=a("uniq");var b=k(f);f=a("./selectors/root");var p=k(f);f=a("./selectors/selector");var m=k(f);f=a("./selectors/className");var q=k(f);f=a("./selectors/comment");var e=k(f);f=a("./selectors/id");var n=k(f);f=a("./selectors/tag");var r=k(f);f=a("./selectors/string");var t=k(f);f=a("./selectors/pseudo");var u=k(f);f=a("./selectors/attribute");var w=k(f);f=a("./selectors/universal");
|
|
var x=k(f);f=a("./selectors/combinator");var A=k(f);f=a("./selectors/nesting");var L=k(f);f=a("./sortAscending");var C=k(f);f=a("./tokenize");var F=k(f),K=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("./selectors/types"));a=function(){function a(b){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.input=b;this.lossy=!1===b.options.lossless;this.position=
|
|
0;this.root=new p["default"];var c=new m["default"];this.root.append(c);this.current=c;this.tokens=this.lossy?(0,F["default"])({safe:b.safe,css:b.css.trim()}):(0,F["default"])(b);return this.loop()}a.prototype.attribute=function(){var a="";var b=this.currToken;for(this.position++;this.position<this.tokens.length&&"]"!==this.currToken[0];)a+=this.tokens[this.position][1],this.position++;this.position!==this.tokens.length||~a.indexOf("]")||this.error("Expected a closing square bracket.");a=a.split(/((?:[*~^$|]?=))([^]*)/);
|
|
var c=a[0].split(/(\|)/g);b={operator:a[1],value:a[2],source:{start:{line:b[2],column:b[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:b[4]};1<c.length?(""===c[0]&&(c[0]=!0),b.attribute=this.parseValue(c[2]),b.namespace=this.parseNamespace(c[0])):b.attribute=this.parseValue(a[0]);b=new w["default"](b);a[2]&&(a=a[2].split(/(\s+i\s*?)$/),c=a[0].trim(),b.value=this.lossy?c:a[0],a[1]&&(b.insensitive=!0,this.lossy||(b.raws.insensitive=a[1])),b.quoted="'"===c[0]||'"'===c[0],b.raws.unquoted=
|
|
b.quoted?c.slice(1,-1):c);this.newNode(b);this.position++};a.prototype.combinator=function(){if("|"===this.currToken[1])return this.namespace();for(var a=new A["default"]({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&("space"===this.currToken[0]||"combinator"===this.currToken[0]);)this.nextToken&&"combinator"===this.nextToken[0]?(a.spaces.before=
|
|
this.parseSpace(this.currToken[1]),a.source.start.line=this.nextToken[2],a.source.start.column=this.nextToken[3],a.source.end.column=this.nextToken[3],a.source.end.line=this.nextToken[2],a.sourceIndex=this.nextToken[4]):this.prevToken&&"combinator"===this.prevToken[0]?a.spaces.after=this.parseSpace(this.currToken[1]):"combinator"===this.currToken[0]?a.value=this.currToken[1]:"space"===this.currToken[0]&&(a.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(a)};a.prototype.comma=
|
|
function(){if(this.position===this.tokens.length-1)this.root.trailingComma=!0;else{var a=new m["default"];this.current.parent.append(a);this.current=a}this.position++};a.prototype.comment=function(){var a=new e["default"]({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(a);this.position++};a.prototype.error=function(a){throw new this.input.error(a);};a.prototype.missingBackslash=
|
|
function(){return this.error("Expected a backslash preceding the semicolon.")};a.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")};a.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")};a.prototype.namespace=function(){var a=this.prevToken&&this.prevToken[1]||!0;if("word"===this.nextToken[0])return this.position++,this.word(a);if("*"===this.nextToken[0])return this.position++,this.universal(a)};a.prototype.nesting=
|
|
function(){this.newNode(new L["default"]({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}));this.position++};a.prototype.parentheses=function(){var a=this.current.last;if(a&&a.type===K.PSEUDO){var b=new m["default"],c=this.current;a.append(b);this.current=b;a=1;for(this.position++;this.position<this.tokens.length&&a;)"("===this.currToken[0]&&a++,")"===this.currToken[0]&&a--,
|
|
a?this.parse():(b.parent.source.end.line=this.currToken[2],b.parent.source.end.column=this.currToken[3],this.position++);a&&this.error("Expected closing parenthesis.");this.current=c}else{b=1;this.position++;for(a.value+="(";this.position<this.tokens.length&&b;)"("===this.currToken[0]&&b++,")"===this.currToken[0]&&b--,a.value+=this.parseParenthesisToken(this.currToken),this.position++;b&&this.error("Expected closing parenthesis.")}};a.prototype.pseudo=function(){for(var a=this,b="",c=this.currToken;this.currToken&&
|
|
":"===this.currToken[0];)b+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if("word"===this.currToken[0]){var e=void 0;this.splitWord(!1,function(d,f){b+=d;e=new u["default"]({value:b,source:{start:{line:c[2],column:c[3]},end:{line:a.currToken[4],column:a.currToken[5]}},sourceIndex:c[4]});a.newNode(e);1<f&&a.nextToken&&"("===a.nextToken[0]&&a.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')};
|
|
a.prototype.space=function(){var a=this.currToken;0===this.position||","===this.prevToken[0]||"("===this.prevToken[0]?(this.spaces=this.parseSpace(a[1]),this.position++):this.position===this.tokens.length-1||","===this.nextToken[0]||")"===this.nextToken[0]?(this.current.last.spaces.after=this.parseSpace(a[1]),this.position++):this.combinator()};a.prototype.string=function(){var a=this.currToken;this.newNode(new t["default"]({value:this.currToken[1],source:{start:{line:a[2],column:a[3]},end:{line:a[4],
|
|
column:a[5]}},sourceIndex:a[6]}));this.position++};a.prototype.universal=function(a){var b=this.nextToken;if(b&&"|"===b[1])return this.position++,this.namespace();this.newNode(new x["default"]({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),a);this.position++};a.prototype.splitWord=function(a,e){for(var f=this,h=this.nextToken,k=this.currToken[1];h&&"word"===h[0];)this.position++,
|
|
h=this.currToken[1],k+=h,h.lastIndexOf("\\")===h.length-1&&(h=this.nextToken)&&"space"===h[0]&&(k+=this.parseSpace(h[1]," "),this.position++),h=this.nextToken;var m=(0,c["default"])(k,"."),g=(0,c["default"])(k,"#"),p=(0,c["default"])(k,"#{");p.length&&(g=g.filter(function(a){return!~p.indexOf(a)}));var l=(0,C["default"])((0,b["default"])((0,d["default"])([[0],m,g])));l.forEach(function(b,c){var d=l[c+1]||k.length,h=k.slice(b,d);if(0===c&&e)return e.call(f,h,l.length);d=~m.indexOf(b)?new q["default"]({value:h.slice(1),
|
|
source:{start:{line:f.currToken[2],column:f.currToken[3]+b},end:{line:f.currToken[4],column:f.currToken[3]+(d-1)}},sourceIndex:f.currToken[6]+l[c]}):~g.indexOf(b)?new n["default"]({value:h.slice(1),source:{start:{line:f.currToken[2],column:f.currToken[3]+b},end:{line:f.currToken[4],column:f.currToken[3]+(d-1)}},sourceIndex:f.currToken[6]+l[c]}):new r["default"]({value:h,source:{start:{line:f.currToken[2],column:f.currToken[3]+b},end:{line:f.currToken[4],column:f.currToken[3]+(d-1)}},sourceIndex:f.currToken[6]+
|
|
l[c]});f.newNode(d,a)});this.position++};a.prototype.word=function(a){var b=this.nextToken;return b&&"|"===b[1]?(this.position++,this.namespace()):this.splitWord(a)};a.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root};a.prototype.parse=function(a){switch(this.currToken[0]){case "space":this.space();break;case "comment":this.comment();break;case "(":this.parentheses();break;case ")":a&&this.missingParenthesis();break;case "[":this.attribute();break;case "]":this.missingSquareBracket();
|
|
break;case "at-word":case "word":this.word();break;case ":":this.pseudo();break;case ";":this.missingBackslash();break;case ",":this.comma();break;case "*":this.universal();break;case "&":this.nesting();break;case "combinator":this.combinator();break;case "string":this.string()}};a.prototype.parseNamespace=function(a){return this.lossy&&"string"===typeof a?(a=a.trim(),a.length?a:!0):a};a.prototype.parseSpace=function(a,b){return this.lossy?b||"":a};a.prototype.parseValue=function(a){return this.lossy&&
|
|
a&&"string"===typeof a?a.trim():a};a.prototype.parseParenthesisToken=function(a){return this.lossy?"space"===a[0]?this.parseSpace(a[1]," "):this.parseValue(a[1]):a[1]};a.prototype.newNode=function(a,b){b&&(a.namespace=this.parseNamespace(b));this.spaces&&(a.spaces.before=this.spaces,this.spaces="");return this.current.append(a)};h(a,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-
|
|
1]}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./selectors/attribute":258,"./selectors/className":259,"./selectors/combinator":260,"./selectors/comment":261,"./selectors/id":263,"./selectors/nesting":265,"./selectors/pseudo":267,"./selectors/root":268,"./selectors/selector":269,"./selectors/string":270,"./selectors/tag":271,"./selectors/types":272,"./selectors/universal":273,"./sortAscending":274,"./tokenize":275,flatten:87,"indexes-of":109,uniq:609}],257:[function(a,l,g){g.__esModule=
|
|
!0;var k=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(d,c,b){c&&a(d.prototype,c);b&&a(d,b);return d}}(),h=(a=a("./parser"))&&a.__esModule?a:{"default":a};a=function(){function a(d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.func=d||function(){};return this}a.prototype.process=function(a){var c=new h["default"]({css:a,
|
|
error:function(a){throw Error(a);},options:1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}});this.res=c;this.func(c);return this};k(a,[{key:"result",get:function(){return String(this.res)}}]);return a}();g["default"]=a;l.exports=g["default"]},{"./parser":256}],258:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,
|
|
writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./namespace");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.ATTRIBUTE;b.raws={};return b}
|
|
k(c,a);c.prototype.toString=function(){var a=[this.spaces.before,"[",this.ns,this.attribute];this.operator&&a.push(this.operator);this.value&&a.push(this.value);this.raws.insensitive?a.push(this.raws.insensitive):this.insensitive&&a.push(" i");a.push("]");return a.concat(this.spaces.after).join("")};return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./namespace":264,"./types":272}],259:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+
|
|
typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./namespace");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=
|
|
!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.CLASS;return b}k(c,a);c.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")};return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./namespace":264,"./types":272}],260:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,
|
|
{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./node");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=
|
|
f.COMBINATOR;return b}k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./node":266,"./types":272}],261:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./node");h=h&&h.__esModule?
|
|
h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.COMMENT;return b}k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./node":266,"./types":272}],262:[function(a,l,g){function k(a,b){if("function"!==typeof b&&
|
|
null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}g.__esModule=!0;var h=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,c,d){c&&a(b.prototype,
|
|
c);d&&a(b,d);return b}}(),f=a("./node");f=f&&f.__esModule?f:{"default":f};var d=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);b["default"]=a;return b}(a("./types"));a=function(a){function b(c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");c=a.call(this,c);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");c=!c||"object"!==typeof c&&"function"!==
|
|
typeof c?this:c;c.nodes||(c.nodes=[]);return c}k(b,a);b.prototype.append=function(a){a.parent=this;this.nodes.push(a);return this};b.prototype.prepend=function(a){a.parent=this;this.nodes.unshift(a);return this};b.prototype.at=function(a){return this.nodes[a]};b.prototype.index=function(a){return"number"===typeof a?a:this.nodes.indexOf(a)};b.prototype.removeChild=function(a){a=this.index(a);this.at(a).parent=void 0;this.nodes.splice(a,1);var b;for(b in this.indexes){var c=this.indexes[b];c>=a&&(this.indexes[b]=
|
|
c-1)}return this};b.prototype.removeAll=function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();var a=this.nodes,b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var e=a[c++]}else{c=a.next();if(c.done)break;e=c.value}e.parent=void 0}this.nodes=[];return this};b.prototype.empty=function(){return this.removeAll()};b.prototype.insertAfter=function(a,b){var c=this.index(a);this.nodes.splice(c+1,0,b);var e;for(e in this.indexes){var d=this.indexes[e];c<=d&&(this.indexes[e]=
|
|
d+this.nodes.length)}return this};b.prototype.insertBefore=function(a,b){var c=this.index(a);this.nodes.splice(c,0,b);var e;for(e in this.indexes){var d=this.indexes[e];c<=d&&(this.indexes[e]=d+this.nodes.length)}return this};b.prototype.each=function(a){this.lastEach||(this.lastEach=0);this.indexes||(this.indexes={});this.lastEach++;var b=this.lastEach;this.indexes[b]=0;if(this.length){var c;for(c=void 0;this.indexes[b]<this.length;){c=this.indexes[b];c=a(this.at(c),c);if(!1===c)break;this.indexes[b]+=
|
|
1}delete this.indexes[b];if(!1===c)return!1}};b.prototype.walk=function(a){return this.each(function(b,c){var e=a(b,c);!1!==e&&b.length&&(e=b.walk(a));if(!1===e)return!1})};b.prototype.walkAttributes=function(a){var b=this;return this.walk(function(c){if(c.type===d.ATTRIBUTE)return a.call(b,c)})};b.prototype.walkClasses=function(a){var b=this;return this.walk(function(c){if(c.type===d.CLASS)return a.call(b,c)})};b.prototype.walkCombinators=function(a){var b=this;return this.walk(function(c){if(c.type===
|
|
d.COMBINATOR)return a.call(b,c)})};b.prototype.walkComments=function(a){var b=this;return this.walk(function(c){if(c.type===d.COMMENT)return a.call(b,c)})};b.prototype.walkIds=function(a){var b=this;return this.walk(function(c){if(c.type===d.ID)return a.call(b,c)})};b.prototype.walkNesting=function(a){var b=this;return this.walk(function(c){if(c.type===d.NESTING)return a.call(b,c)})};b.prototype.walkPseudos=function(a){var b=this;return this.walk(function(c){if(c.type===d.PSEUDO)return a.call(b,c)})};
|
|
b.prototype.walkTags=function(a){var b=this;return this.walk(function(c){if(c.type===d.TAG)return a.call(b,c)})};b.prototype.walkUniversals=function(a){var b=this;return this.walk(function(c){if(c.type===d.UNIVERSAL)return a.call(b,c)})};b.prototype.split=function(a){var b=this,c=[];return this.reduce(function(e,d,f){var h=a.call(b,d);c.push(d);h?(e.push(c),c=[]):f===b.length-1&&e.push(c);return e},[])};b.prototype.map=function(a){return this.nodes.map(a)};b.prototype.reduce=function(a,b){return this.nodes.reduce(a,
|
|
b)};b.prototype.every=function(a){return this.nodes.every(a)};b.prototype.some=function(a){return this.nodes.some(a)};b.prototype.filter=function(a){return this.nodes.filter(a)};b.prototype.sort=function(a){return this.nodes.sort(a)};b.prototype.toString=function(){return this.map(String).join("")};h(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]);return b}(f["default"]);g["default"]=
|
|
a;l.exports=g["default"]},{"./node":266,"./types":272}],263:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./namespace");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof
|
|
c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.ID;return b}k(c,a);c.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")};return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./namespace":264,"./types":272}],264:[function(a,l,g){function k(a,
|
|
d){if("function"!==typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function, not "+typeof d);a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});d&&(Object.setPrototypeOf?Object.setPrototypeOf(a,d):a.__proto__=d)}g.__esModule=!0;var h=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}
|
|
return function(d,c,b){c&&a(d.prototype,c);b&&a(d,b);return d}}();a=a("./node");a=function(a){function d(){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");var c=a.apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!==typeof c&&"function"!==typeof c?this:c}k(d,a);d.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")};h(d,[{key:"ns",
|
|
get:function(){var a=this.namespace;return a?("string"===typeof a?a:"")+"|":""}}]);return d}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"./node":266}],265:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,
|
|
c):a.__proto__=c)}g.__esModule=!0;var h=a("./node");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.NESTING;b.value="&";return b}k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./node":266,
|
|
"./types":272}],266:[function(a,l,g){g.__esModule=!0;$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h=function d(a,b){if("object"!==("undefined"===typeof a?"undefined":k(a)))return a;var c=new a.constructor,
|
|
h;for(h in a)if(a.hasOwnProperty(h)){var g=a[h],e="undefined"===typeof g?"undefined":k(g);"parent"===h&&"object"===e?b&&(c[h]=b):c[h]=g instanceof Array?g.map(function(a){return d(a,c)}):d(g,c)}return c};a=function(){function a(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");for(var b in c)this[b]=c[b];b=c.spaces;b=void 0===b?{}:b;c=b.before;b=b.after;this.spaces={before:void 0===c?"":c,after:void 0===
|
|
b?"":b}}a.prototype.remove=function(){this.parent&&this.parent.removeChild(this);this.parent=void 0;return this};a.prototype.replaceWith=function(){if(this.parent){for(var a in arguments)this.parent.insertBefore(this,arguments[a]);this.remove()}return this};a.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)};a.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)};a.prototype.clone=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
|
|
{},b=h(this),d;for(d in a)b[d]=a[d];return b};a.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")};return a}();g["default"]=a;l.exports=g["default"]},{}],267:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?
|
|
Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./container");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.PSEUDO;return b}k(c,a);c.prototype.toString=function(){var a=this.length?"("+this.map(String).join(",")+
|
|
")":"";return[this.spaces.before,String(this.value),a,this.spaces.after].join("")};return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./container":262,"./types":272}],268:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):
|
|
a.__proto__=c)}g.__esModule=!0;var h=a("./container");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.ROOT;return b}k(c,a);c.prototype.toString=function(){var a=this.reduce(function(a,b){var c=String(b);return c?
|
|
a+c+",":""},"").slice(0,-1);return this.trailingComma?a+",":a};return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./container":262,"./types":272}],269:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=
|
|
!0;var h=a("./container");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.SELECTOR;return b}k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./container":262,"./types":272}],270:[function(a,
|
|
l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./node");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");
|
|
b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.STRING;return b}k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./node":266,"./types":272}],271:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,
|
|
enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./namespace");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.TAG;return b}
|
|
k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./namespace":264,"./types":272}],272:[function(a,l,g){g.__esModule=!0;g.TAG="tag";g.STRING="string";g.SELECTOR="selector";g.ROOT="root";g.PSEUDO="pseudo";g.NESTING="nesting";g.ID="id";g.COMMENT="comment";g.COMBINATOR="combinator";g.CLASS="class";g.ATTRIBUTE="attribute";g.UNIVERSAL="universal"},{}],273:[function(a,l,g){function k(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+
|
|
typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}g.__esModule=!0;var h=a("./namespace");h=h&&h.__esModule?h:{"default":h};var f=a("./types");a=function(a){function c(b){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");b=a.call(this,b);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");b=
|
|
!b||"object"!==typeof b&&"function"!==typeof b?this:b;b.type=f.UNIVERSAL;b.value="*";return b}k(c,a);return c}(h["default"]);g["default"]=a;l.exports=g["default"]},{"./namespace":264,"./types":272}],274:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){return a.sort(function(a,f){return a-f})};l.exports=g["default"]},{}],275:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){var g=[],l=a.css.valueOf(),z=void 0,E=void 0,Q=z=void 0,J=void 0,N=z=void 0;Q=N=Q=N=void 0;for(var R=l.length,
|
|
G=-1,O=1,S=0,ca=function(b,c){if(a.safe)l+=c,E=l.length-1;else throw a.error("Unclosed "+b,O,S-G,S);};S<R;){z=l.charCodeAt(S);z===c&&(G=S,O+=1);switch(z){case c:case b:case m:case q:case p:E=S;do E+=1,z=l.charCodeAt(E),z===c&&(G=E,O+=1);while(z===b||z===c||z===m||z===q||z===p);g.push(["space",l.slice(S,E),O,S-G,S]);S=E-1;break;case e:case n:case r:case t:E=S;do E+=1,z=l.charCodeAt(E);while(z===e||z===n||z===r||z===t);g.push(["combinator",l.slice(S,E),O,S-G,S]);S=E-1;break;case F:g.push(["*","*",O,
|
|
S-G,S]);break;case M:g.push(["&","&",O,S-G,S]);break;case u:g.push([",",",",O,S-G,S]);break;case A:g.push(["[","[",O,S-G,S]);break;case L:g.push(["]","]",O,S-G,S]);break;case K:g.push([":",":",O,S-G,S]);break;case C:g.push([";",";",O,S-G,S]);break;case w:g.push(["(","(",O,S-G,S]);break;case x:g.push([")",")",O,S-G,S]);break;case k:case h:z=z===k?"'":'"';E=S;do for(N=!1,E=l.indexOf(z,E+1),-1===E&&ca("quote",z),Q=E;l.charCodeAt(Q-1)===f;)--Q,N=!N;while(N);g.push(["string",l.slice(S,E+1),O,S-G,O,E-G,
|
|
S]);S=E;break;case B:I.lastIndex=S+1;I.test(l);E=0===I.lastIndex?l.length-1:I.lastIndex-2;g.push(["at-word",l.slice(S,E+1),O,S-G,O,E-G,S]);S=E;break;case f:E=S;for(N=!0;l.charCodeAt(E+1)===f;)E+=1,N=!N;z=l.charCodeAt(E+1);N&&z!==d&&z!==b&&z!==c&&z!==m&&z!==q&&z!==p&&(E+=1);g.push(["word",l.slice(S,E+1),O,S-G,O,E-G,S]);S=E;break;default:z===d&&l.charCodeAt(S+1)===F?(E=l.indexOf("*/",S+2)+1,0===E&&ca("comment","*/"),z=l.slice(S,E+1),Q=z.split("\n"),J=Q.length-1,0<J?(N=O+J,Q=E-Q[J].length):(N=O,Q=G),
|
|
g.push(["comment",z,O,S-G,N,E-Q,S]),G=Q,O=N):(D.lastIndex=S+1,D.test(l),E=0===D.lastIndex?l.length-1:D.lastIndex-2,g.push(["word",l.slice(S,E+1),O,S-G,O,E-G,S])),S=E}S++}return g};var k=39,h=34,f=92,d=47,c=10,b=32,p=12,m=9,q=13,e=43,n=62,r=126,t=124,u=44,w=40,x=41,A=91,L=93,C=59,F=42,K=58,M=38,B=64,I=/[ \n\t\r\{\(\)'"\\;/]/g,D=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;l.exports=g["default"]},{}],276:[function(a,l,g){function k(a){return this instanceof k?(this.nodes=h(a),this):new k(a)}var h=
|
|
a("./parse"),f=a("./walk"),d=a("./stringify");k.prototype.toString=function(){return Array.isArray(this.nodes)?d(this.nodes):""};k.prototype.walk=function(a,b){f(this.nodes,a,b);return this};k.unit=a("./unit");k.walk=f;k.stringify=d;l.exports=k},{"./parse":277,"./stringify":278,"./unit":279,"./walk":280}],277:[function(a,l,g){l.exports=function(a){var h=[],f,d,c=0;var b=a.charCodeAt(c);for(var k=a.length,g=[{nodes:h}],l=0,e,n=d="",r="";c<k;)if(32>=b){var t=c;do t+=1,b=a.charCodeAt(t);while(32>=b);
|
|
var u=a.slice(c,t);var w=h[h.length-1];41===b&&l?r=u:w&&"div"===w.type?w.after=u:44===b||58===b||47===b&&42!==a.charCodeAt(t+1)?n=u:h.push({type:"space",sourceIndex:c,value:u});c=t}else if(39===b||34===b){t=c;b=39===b?"'":'"';u={type:"string",sourceIndex:c,quote:b};do if(w=!1,t=a.indexOf(b,t+1),~t)for(f=t;92===a.charCodeAt(f-1);)--f,w=!w;else a+=b,t=a.length-1,u.unclosed=!0;while(w);u.value=a.slice(c+1,t);h.push(u);c=t+1;b=a.charCodeAt(c)}else if(47===b&&42===a.charCodeAt(c+1))u={type:"comment",sourceIndex:c},
|
|
t=a.indexOf("*/",c),-1===t&&(u.unclosed=!0,t=a.length),u.value=a.slice(c+2,t),h.push(u),c=t+2,b=a.charCodeAt(c);else if(47===b||44===b||58===b)u=a[c],h.push({type:"div",sourceIndex:c-n.length,value:u,before:n,after:""}),n="",c+=1,b=a.charCodeAt(c);else if(40===b){t=c;do t+=1,b=a.charCodeAt(t);while(32>=b);u={type:"function",sourceIndex:c-d.length,value:d,before:a.slice(c+1,t)};c=t;if("url"===d&&39!==b&&34!==b){--t;do if(w=!1,t=a.indexOf(")",t+1),~t)for(f=t;92===a.charCodeAt(f-1);)--f,w=!w;else a+=
|
|
")",t=a.length-1,u.unclosed=!0;while(w);d=t;do--d,b=a.charCodeAt(d);while(32>=b);u.nodes=c!==d+1?[{type:"word",sourceIndex:c,value:a.slice(c,d+1)}]:[];u.unclosed&&d+1!==t?(u.after="",u.nodes.push({type:"space",sourceIndex:d+1,value:a.slice(d+1,t)})):u.after=a.slice(d+1,t);c=t+1;b=a.charCodeAt(c);h.push(u)}else l+=1,u.after="",h.push(u),g.push(u),h=u.nodes=[],e=u;d=""}else if(41===b&&l)c+=1,b=a.charCodeAt(c),e.after=r,r="",--l,g.pop(),e=g[l],h=e.nodes;else{t=c;do 92===b&&(t+=1),t+=1,b=a.charCodeAt(t);
|
|
while(t<k&&!(32>=b||39===b||34===b||44===b||58===b||47===b||40===b||41===b&&l));u=a.slice(c,t);40===b?d=u:h.push({type:"word",sourceIndex:c,value:u});c=t}for(c=g.length-1;c;--c)g[c].unclosed=!0;return g[0].nodes}},{}],278:[function(a,l,g){function k(a,d){var c=a.type,b=a.value,f;if(d&&void 0!==(f=d(a)))return f;if("word"!==c&&"space"!==c){if("string"===c)return f=a.quote||"",f+b+(a.unclosed?"":f);if("comment"===c)return"/*"+b+(a.unclosed?"":"*/");if("div"===c)return(a.before||"")+b+(a.after||"");
|
|
if(Array.isArray(a.nodes))return f=h(a.nodes),"function"!==c?f:b+"("+(a.before||"")+f+(a.after||"")+(a.unclosed?"":")")}return b}function h(a,d){var c;if(Array.isArray(a)){var b="";for(c=a.length-1;~c;--c)b=k(a[c],d)+b;return b}return k(a,d)}l.exports=h},{}],279:[function(a,l,g){l.exports=function(a){for(var h=0,f=a.length,d=!1,c=!1,b,k="";h<f;){b=a.charCodeAt(h);if(48<=b&&57>=b)k+=a[h],c=!0;else if(46===b){if(d)break;d=!0;k+=a[h]}else if(43===b||45===b){if(0!==h)break;k+=a[h]}else break;h+=1}return c?
|
|
{number:k,unit:a.slice(h)}:!1}},{}],280:[function(a,l,g){l.exports=function h(a,d,c){var b,f;var g=0;for(b=a.length;g<b;g+=1){var l=a[g];c||(f=d(l,g,a));!1!==f&&"function"===l.type&&Array.isArray(l.nodes)&&h(l.nodes,d,c);c&&d(l,g,a)}}},{}],281:[function(a,l,g){function k(a,f){if("function"!==typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+typeof f);a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});
|
|
f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)}g.__esModule=!0;a=a("./container");a=function(a){function f(d){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");d=a.call(this,d);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");d=!d||"object"!==typeof d&&"function"!==typeof d?this:d;d.type="atrule";return d}k(f,a);f.prototype.append=function(){var d;this.nodes||(this.nodes=[]);for(var c=arguments.length,
|
|
b=Array(c),f=0;f<c;f++)b[f]=arguments[f];return(d=a.prototype.append).call.apply(d,[this].concat(b))};f.prototype.prepend=function(){var d;this.nodes||(this.nodes=[]);for(var c=arguments.length,b=Array(c),f=0;f<c;f++)b[f]=arguments[f];return(d=a.prototype.prepend).call.apply(d,[this].concat(b))};return f}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"./container":283}],282:[function(a,l,g){function k(a,f){if("function"!==typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+
|
|
typeof f);a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)}g.__esModule=!0;a=a("./node");a=function(a){function f(d){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");d=a.call(this,d);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");d=!d||"object"!==typeof d&&"function"!==typeof d?this:d;d.type="comment";
|
|
return d}k(f,a);return f}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"./node":290}],283:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):
|
|
a.__proto__=b)}function f(a){return a.map(function(a){a.nodes&&(a.nodes=f(a.nodes));delete a.source;return a})}g.__esModule=!0;var d=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),c=a("./declaration"),b=k(c);c=a("./comment");var p=k(c);c=a("./node");c=function(c){function k(){if(!(this instanceof k))throw new TypeError("Cannot call a class as a function");
|
|
var a=c.apply(this,arguments);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!==typeof a&&"function"!==typeof a?this:a}h(k,c);k.prototype.push=function(a){a.parent=this;this.nodes.push(a);return this};k.prototype.each=function(a){this.lastEach||(this.lastEach=0);this.indexes||(this.indexes={});var b=this.lastEach+=1;this.indexes[b]=0;if(this.nodes){var c;for(c=void 0;this.indexes[b]<this.nodes.length;){c=this.indexes[b];c=a(this.nodes[c],
|
|
c);if(!1===c)break;this.indexes[b]+=1}delete this.indexes[b];return c}};k.prototype.walk=function(a){return this.each(function(b,c){var e=a(b,c);!1!==e&&b.walk&&(e=b.walk(a));return e})};k.prototype.walkDecls=function(a,b){if(b)return a instanceof RegExp?this.walk(function(c,e){if("decl"===c.type&&a.test(c.prop))return b(c,e)}):this.walk(function(c,e){if("decl"===c.type&&c.prop===a)return b(c,e)});b=a;return this.walk(function(a,c){if("decl"===a.type)return b(a,c)})};k.prototype.walkRules=function(a,
|
|
b){if(b)return a instanceof RegExp?this.walk(function(c,e){if("rule"===c.type&&a.test(c.selector))return b(c,e)}):this.walk(function(c,e){if("rule"===c.type&&c.selector===a)return b(c,e)});b=a;return this.walk(function(a,c){if("rule"===a.type)return b(a,c)})};k.prototype.walkAtRules=function(a,b){if(b)return a instanceof RegExp?this.walk(function(c,e){if("atrule"===c.type&&a.test(c.name))return b(c,e)}):this.walk(function(c,e){if("atrule"===c.type&&c.name===a)return b(c,e)});b=a;return this.walk(function(a,
|
|
c){if("atrule"===a.type)return b(a,c)})};k.prototype.walkComments=function(a){return this.walk(function(b,c){if("comment"===b.type)return a(b,c)})};k.prototype.append=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];$jscomp.initSymbol();$jscomp.initSymbolIterator();a=b;b=Array.isArray(a);c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=this.normalize(d,this.last);$jscomp.initSymbol();$jscomp.initSymbolIterator();
|
|
var f=Array.isArray(d),h=0;for(d=f?d:d[Symbol.iterator]();;){if(f){if(h>=d.length)break;var k=d[h++]}else{h=d.next();if(h.done)break;k=h.value}this.nodes.push(k)}}return this};k.prototype.prepend=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];b=b.reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();a=b;b=Array.isArray(a);c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=this.normalize(d,
|
|
this.first,"prepend").reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();var f=d,h=Array.isArray(f),k=0;for(f=h?f:f[Symbol.iterator]();;){if(h){if(k>=f.length)break;var g=f[k++]}else{k=f.next();if(k.done)break;g=k.value}this.nodes.unshift(g)}for(var m in this.indexes)this.indexes[m]+=d.length}return this};k.prototype.cleanRaws=function(a){c.prototype.cleanRaws.call(this,a);if(this.nodes){$jscomp.initSymbol();$jscomp.initSymbolIterator();var b=this.nodes,e=Array.isArray(b),d=0;for(b=e?b:b[Symbol.iterator]();;){if(e){if(d>=
|
|
b.length)break;var f=b[d++]}else{d=b.next();if(d.done)break;f=d.value}f.cleanRaws(a)}}};k.prototype.insertBefore=function(a,b){a=this.index(a);var c=this.normalize(b,this.nodes[a],0===a?"prepend":!1).reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();var e=c,d=Array.isArray(e),f=0;for(e=d?e:e[Symbol.iterator]();;){if(d){if(f>=e.length)break;var h=e[f++]}else{f=e.next();if(f.done)break;h=f.value}this.nodes.splice(a,0,h)}for(var n in this.indexes)e=this.indexes[n],a<=e&&(this.indexes[n]=e+
|
|
c.length);return this};k.prototype.insertAfter=function(a,b){a=this.index(a);var c=this.normalize(b,this.nodes[a]).reverse();$jscomp.initSymbol();$jscomp.initSymbolIterator();var e=c,d=Array.isArray(e),f=0;for(e=d?e:e[Symbol.iterator]();;){if(d){if(f>=e.length)break;var h=e[f++]}else{f=e.next();if(f.done)break;h=f.value}this.nodes.splice(a+1,0,h)}for(var n in this.indexes)e=this.indexes[n],a<e&&(this.indexes[n]=e+c.length);return this};k.prototype.removeChild=function(a){a=this.index(a);this.nodes[a].parent=
|
|
void 0;this.nodes.splice(a,1);var b;for(b in this.indexes){var c=this.indexes[b];c>=a&&(this.indexes[b]=c-1)}return this};k.prototype.removeAll=function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();var a=this.nodes,b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d.parent=void 0}this.nodes=[];return this};k.prototype.replaceValues=function(a,b,c){c||(c=b,b={});this.walkDecls(function(e){b.props&&-1===
|
|
b.props.indexOf(e.prop)||b.fast&&-1===e.value.indexOf(b.fast)||(e.value=e.value.replace(a,c))});return this};k.prototype.every=function(a){return this.nodes.every(a)};k.prototype.some=function(a){return this.nodes.some(a)};k.prototype.index=function(a){return"number"===typeof a?a:this.nodes.indexOf(a)};k.prototype.normalize=function(c,d){var e=this;if("string"===typeof c){var h=a("./parse");c=f(h(c).nodes)}else if(Array.isArray(c)){c=c.slice(0);$jscomp.initSymbol();$jscomp.initSymbolIterator();h=
|
|
c;var k=Array.isArray(h),n=0;for(h=k?h:h[Symbol.iterator]();;){if(k){if(n>=h.length)break;var g=h[n++]}else{n=h.next();if(n.done)break;g=n.value}g.parent&&g.parent.removeChild(g,"ignore")}}else if("root"===c.type)for(c=c.nodes.slice(0),$jscomp.initSymbol(),$jscomp.initSymbolIterator(),h=c,k=Array.isArray(h),n=0,h=k?h:h[Symbol.iterator]();;){if(k){if(n>=h.length)break;g=h[n++]}else{n=h.next();if(n.done)break;g=n.value}g.parent&&g.parent.removeChild(g,"ignore")}else if(c.type)c=[c];else if(c.prop){if("undefined"===
|
|
typeof c.value)throw Error("Value field is missed in node creation");"string"!==typeof c.value&&(c.value=String(c.value));c=[new b["default"](c)]}else if(c.selector)c=[new (a("./rule"))(c)];else if(c.name)c=[new (a("./at-rule"))(c)];else if(c.text)c=[new p["default"](c)];else throw Error("Unknown node type in node creation");return c.map(function(a){"function"!==typeof a.before&&(a=e.rebuild(a));a.parent&&a.parent.removeChild(a);"undefined"===typeof a.raws.before&&d&&"undefined"!==typeof d.raws.before&&
|
|
(a.raws.before=d.raws.before.replace(/[^\s]/g,""));a.parent=e;return a})};k.prototype.rebuild=function(c,d){var e=this,f=void 0;"root"===c.type?f=new (a("./root")):"atrule"===c.type?f=new (a("./at-rule")):"rule"===c.type?f=new (a("./rule")):"decl"===c.type?f=new b["default"]:"comment"===c.type&&(f=new p["default"]);for(var h in c)"nodes"===h?f.nodes=c.nodes.map(function(a){return e.rebuild(a,f)}):"parent"===h&&d?f.parent=d:c.hasOwnProperty(h)&&(f[h]=c[h]);return f};d(k,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},
|
|
{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]);return k}(k(c)["default"]);g["default"]=c;l.exports=g["default"]},{"./at-rule":281,"./comment":282,"./declaration":285,"./node":290,"./parse":291,"./root":297,"./rule":298}],284:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=a("supports-color"),f=k(h);h=a("chalk");var d=k(h);a=a("./terminal-highlight");var c=k(a);a=function(){function a(b,c,d,e,f,h){if(!(this instanceof
|
|
a))throw new TypeError("Cannot call a class as a function");this.name="CssSyntaxError";this.reason=b;f&&(this.file=f);e&&(this.source=e);h&&(this.plugin=h);"undefined"!==typeof c&&"undefined"!==typeof d&&(this.line=c,this.column=d);this.setMessage();Error.captureStackTrace&&Error.captureStackTrace(this,a)}a.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";"undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column);
|
|
this.message+=": "+this.reason};a.prototype.showSourceCode=function(a){function b(b){return a?d["default"].gray(b):b}var h=this;if(!this.source)return"";var e=this.source;"undefined"===typeof a&&(a=f["default"]);a&&(e=(0,c["default"])(e));e=e.split(/\r?\n/);var k=Math.max(this.line-3,0),g=Math.min(this.line+2,e.length),p=String(g).length;return e.slice(k,g).map(function(c,e){var f=k+1+e,n=" "+(" "+f).slice(-p)+" | ";return f===h.line?(f=b(n.replace(/\d/g," "))+c.slice(0,h.column-1).replace(/[^\t]/g,
|
|
" "),(a?d["default"].red.bold(">"):">")+b(n)+c+"\n "+f+(a?d["default"].red.bold("^"):"^")):" "+b(n)+c}).join("\n")};a.prototype.toString=function(){var a=this.showSourceCode();a&&(a="\n\n"+a+"\n");return this.name+": "+this.message+a};return a}();g["default"]=a;l.exports=g["default"]},{"./terminal-highlight":301,chalk:54,"supports-color":606}],285:[function(a,l,g){function k(a,f){if("function"!==typeof f&&null!==f)throw new TypeError("Super expression must either be null or a function, not "+typeof f);
|
|
a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)}g.__esModule=!0;a=a("./node");a=function(a){function f(d){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");d=a.call(this,d);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");d=!d||"object"!==typeof d&&"function"!==typeof d?this:d;d.type="decl";return d}
|
|
k(f,a);return f}((a&&a.__esModule?a:{"default":a})["default"]);g["default"]=a;l.exports=g["default"]},{"./node":290}],286:[function(a,l,g){arguments[4][224][0].apply(g,arguments)},{"./css-syntax-error":284,"./previous-map":294,dup:224,path:14}],287:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a){return"object"===("undefined"===typeof a?"undefined":d(a))&&"function"===typeof a.then}g.__esModule=!0;var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=
|
|
b[c];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}();$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?
|
|
"symbol":typeof a},c=a("./map-generator"),b=k(c);c=a("./stringify");var p=k(c);c=a("./result");var m=k(c);a=a("./parse");var q=k(a);a=function(){function a(b,c,e){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.processed=this.stringified=!1;var f=void 0;if("object"===("undefined"===typeof c?"undefined":d(c))&&"root"===c.type)f=c;else if(c instanceof a||c instanceof m["default"])f=c.root,c.map&&("undefined"===typeof e.map&&(e.map={}),e.map.inline||(e.map.inline=
|
|
!1),e.map.prev=c.map);else{var h=q["default"];e.syntax&&(h=e.syntax.parse);e.parser&&(h=e.parser);h.parse&&(h=h.parse);try{f=h(c,e)}catch(x){this.error=x}}this.result=new m["default"](b,f,e)}a.prototype.warnings=function(){return this.sync().warnings()};a.prototype.toString=function(){return this.css};a.prototype.then=function(a,b){return this.async().then(a,b)};a.prototype["catch"]=function(a){return this.async()["catch"](a)};a.prototype.handleError=function(a,b){try{if(this.error=a,"CssSyntaxError"===
|
|
a.name&&!a.plugin)a.plugin=b.postcssPlugin,a.setMessage();else if(b.postcssVersion){var c=b.postcssPlugin,d=b.postcssVersion,e=this.result.processor.version,f=d.split("."),h=e.split(".");(f[0]!==h[0]||parseInt(f[1])>parseInt(h[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+e+", but "+c+" uses "+d+". Perhaps this is the source of the error below.")}}catch(L){console&&console.error&&console.error(L)}};a.prototype.asyncTick=function(a,b){var c=this;if(this.plugin>=
|
|
this.processor.plugins.length)return this.processed=!0,a();try{var d=this.processor.plugins[this.plugin],e=this.run(d);this.plugin+=1;h(e)?e.then(function(){c.asyncTick(a,b)})["catch"](function(a){c.handleError(a,d);c.processed=!0;b(a)}):this.asyncTick(a,b)}catch(x){this.processed=!0,b(x)}};a.prototype.async=function(){var a=this;return this.processed?new Promise(function(b,c){a.error?c(a.error):b(a.stringify())}):this.processing?this.processing:this.processing=(new Promise(function(b,c){if(a.error)return c(a.error);
|
|
a.plugin=0;a.asyncTick(b,c)})).then(function(){a.processed=!0;return a.stringify()})};a.prototype.sync=function(){if(this.processed)return this.result;this.processed=!0;if(this.processing)throw Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;$jscomp.initSymbol();$jscomp.initSymbolIterator();var a=this.result.processor.plugins,b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;
|
|
d=c.value}d=this.run(d);if(h(d))throw Error("Use process(css).then(cb) to work with async plugins");}return this.result};a.prototype.run=function(a){this.result.lastPlugin=a;try{return a(this.result.root,this.result)}catch(r){throw this.handleError(r,a),r;}};a.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0;this.sync();var a=this.result.opts,c=p["default"];a.syntax&&(c=a.syntax.stringify);a.stringifier&&(c=a.stringifier);c.stringify&&(c=c.stringify);a=(new b["default"](c,
|
|
this.result.root,this.result.opts)).generate();this.result.css=a[0];this.result.map=a[1];return this.result};f(a,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]);
|
|
return a}();g["default"]=a;l.exports=g["default"]},{"./map-generator":289,"./parse":291,"./result":296,"./stringify":300}],288:[function(a,l,g){arguments[4][226][0].apply(g,arguments)},{dup:226}],289:[function(a,l,g){(function(k){g.__esModule=!0;var h=a("source-map"),f=h&&h.__esModule?h:{"default":h},d=(h=a("path"))&&h.__esModule?h:{"default":h};h=function(){function a(b,c,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.stringify=b;this.mapOpts=d.map||{};this.root=
|
|
c;this.opts=d}a.prototype.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:0<this.previous().length};a.prototype.previous=function(){var a=this;this.previousMaps||(this.previousMaps=[],this.root.walk(function(b){b.source&&b.source.input.map&&(b=b.source.input.map,-1===a.previousMaps.indexOf(b)&&a.previousMaps.push(b))}));return this.previousMaps};a.prototype.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var a=this.mapOpts.annotation;
|
|
return"undefined"!==typeof a&&!0!==a?!1:this.previous().length?this.previous().some(function(a){return a.inline}):!0};a.prototype.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(a){return a.withContent()}):!0};a.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var a,c=this.root.nodes.length-1;0<=c;c--)a=this.root.nodes[c],"comment"===a.type&&0===a.text.indexOf("# sourceMappingURL=")&&
|
|
this.root.removeChild(c)};a.prototype.setSourcesContent=function(){var a=this,c={};this.root.walk(function(b){if(b.source){var d=b.source.input.from;d&&!c[d]&&(c[d]=!0,d=a.relative(d),a.map.setSourceContent(d,b.source.input.css))}})};a.prototype.applyPrevMaps=function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();var a=this.previous(),c=Array.isArray(a),h=0;for(a=c?a:a[Symbol.iterator]();;){if(c){if(h>=a.length)break;var k=a[h++]}else{h=a.next();if(h.done)break;k=h.value}var e=this.relative(k.file),
|
|
g=k.root||d["default"].dirname(k.file),l=void 0;!1===this.mapOpts.sourcesContent?(l=new f["default"].SourceMapConsumer(k.text),l.sourcesContent&&(l.sourcesContent=l.sourcesContent.map(function(){return null}))):l=k.consumer();this.map.applySourceMap(l,e,this.relative(g))}};a.prototype.isAnnotation=function(){return this.isInline()?!0:"undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.previous().length?this.previous().some(function(a){return a.annotation}):!0};a.prototype.toBase64=
|
|
function(a){return k?k.from&&k.from!==Uint8Array.from?k.from(a).toString("base64"):(new k(a)).toString("base64"):window.btoa(unescape(encodeURIComponent(a)))};a.prototype.addAnnotation=function(){var a=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var c="\n";-1!==this.css.indexOf("\r\n")&&(c="\r\n");this.css+=c+"/*# sourceMappingURL="+a+" */"};a.prototype.outputFile=function(){return this.opts.to?
|
|
this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"};a.prototype.generateMap=function(){this.generateString();this.isSourcesContent()&&this.setSourcesContent();0<this.previous().length&&this.applyPrevMaps();this.isAnnotation()&&this.addAnnotation();return this.isInline()?[this.css]:[this.css,this.map]};a.prototype.relative=function(a){if(0===a.indexOf("<")||/^\w+:\/\//.test(a))return a;var b=this.opts.to?d["default"].dirname(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&
|
|
(b=d["default"].dirname(d["default"].resolve(b,this.mapOpts.annotation)));a=d["default"].relative(b,a);return"\\"===d["default"].sep?a.replace(/\\/g,"/"):a};a.prototype.sourcePath=function(a){return this.mapOpts.from?this.mapOpts.from:this.relative(a.source.input.from)};a.prototype.generateString=function(){var a=this;this.css="";this.map=new f["default"].SourceMapGenerator({file:this.outputFile()});var c=1,d=1,h=void 0,e=void 0;this.stringify(this.root,function(b,f,k){a.css+=b;f&&"end"!==k&&(f.source&&
|
|
f.source.start?a.map.addMapping({source:a.sourcePath(f),generated:{line:c,column:d-1},original:{line:f.source.start.line,column:f.source.start.column-1}}):a.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:c,column:d-1}}));(h=b.match(/\n/g))?(c+=h.length,e=b.lastIndexOf("\n"),d=b.length-e):d+=b.length;f&&"start"!==k&&(f.source&&f.source.end?a.map.addMapping({source:a.sourcePath(f),generated:{line:c,column:d-1},original:{line:f.source.end.line,column:f.source.end.column}}):
|
|
a.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:c,column:d-1}}))})};a.prototype.generate=function(){this.clearAnnotation();if(this.isMap())return this.generateMap();var a="";this.stringify(this.root,function(b){a+=b});return[a]};return a}();g["default"]=h;l.exports=g["default"]}).call(this,a("buffer").Buffer)},{buffer:5,path:14,"source-map":328}],290:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;$jscomp.initSymbol();$jscomp.initSymbol();
|
|
$jscomp.initSymbolIterator();var h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},f=a("./css-syntax-error"),d=k(f);f=a("./stringifier");var c=k(f);f=a("./stringify");var b=k(f);a=a("./warn-once");var p=k(a),m=function e(a,b){var c=new a.constructor,d;for(d in a)if(a.hasOwnProperty(d)){var f=
|
|
a[d],k="undefined"===typeof f?"undefined":h(f);"parent"===d&&"object"===k?b&&(c[d]=b):"source"===d?c[d]=f:f instanceof Array?c[d]=f.map(function(a){return e(a,c)}):("object"===k&&null!==f&&(f=e(f)),c[d]=f)}return c};a=function(){function a(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.raws={};if("object"!==("undefined"===typeof b?"undefined":h(b))&&"undefined"!==typeof b)throw Error("PostCSS nodes constructor accepts object, not "+
|
|
JSON.stringify(b));for(var c in b)this[c]=b[c]}a.prototype.error=function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var c=this.positionBy(b);return this.source.input.error(a,c.line,c.column,b)}return new d["default"](a)};a.prototype.warn=function(a,b,c){var d={node:this},e;for(e in c)d[e]=c[e];return a.warn(b,d)};a.prototype.remove=function(){this.parent&&this.parent.removeChild(this);this.parent=void 0;return this};a.prototype.toString=function(){var a=0<
|
|
arguments.length&&void 0!==arguments[0]?arguments[0]:b["default"];a.stringify&&(a=a.stringify);var c="";a(this,function(a){c+=a});return c};a.prototype.clone=function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=m(this),c;for(c in a)b[c]=a[c];return b};a.prototype.cloneBefore=function(){var a=this.clone(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{});this.parent.insertBefore(this,a);return a};a.prototype.cloneAfter=function(){var a=this.clone(0<arguments.length&&
|
|
void 0!==arguments[0]?arguments[0]:{});this.parent.insertAfter(this,a);return a};a.prototype.replaceWith=function(){if(this.parent){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];$jscomp.initSymbol();$jscomp.initSymbolIterator();a=b;b=Array.isArray(a);c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}this.parent.insertBefore(this,d)}this.remove()}return this};a.prototype.moveTo=function(a){(0,p["default"])("Node#moveTo was deprecated. Use Container#append.");
|
|
this.cleanRaws(this.root()===a.root());this.remove();a.append(this);return this};a.prototype.moveBefore=function(a){(0,p["default"])("Node#moveBefore was deprecated. Use Node#before.");this.cleanRaws(this.root()===a.root());this.remove();a.parent.insertBefore(a,this);return this};a.prototype.moveAfter=function(a){(0,p["default"])("Node#moveAfter was deprecated. Use Node#after.");this.cleanRaws(this.root()===a.root());this.remove();a.parent.insertAfter(a,this);return this};a.prototype.next=function(){var a=
|
|
this.parent.index(this);return this.parent.nodes[a+1]};a.prototype.prev=function(){var a=this.parent.index(this);return this.parent.nodes[a-1]};a.prototype.before=function(a){this.parent.insertBefore(this,a);return this};a.prototype.after=function(a){this.parent.insertAfter(this,a);return this};a.prototype.toJSON=function(){var a={},b;for(b in this)if(this.hasOwnProperty(b)&&"parent"!==b){var c=this[b];c instanceof Array?a[b]=c.map(function(a){return"object"===("undefined"===typeof a?"undefined":
|
|
h(a))&&a.toJSON?a.toJSON():a}):"object"===("undefined"===typeof c?"undefined":h(c))&&c.toJSON?a[b]=c.toJSON():a[b]=c}return a};a.prototype.raw=function(a,b){return(new c["default"]).raw(this,a,b)};a.prototype.root=function(){for(var a=this;a.parent;)a=a.parent;return a};a.prototype.cleanRaws=function(a){delete this.raws.before;delete this.raws.after;a||delete this.raws.between};a.prototype.positionInside=function(a){for(var b=this.toString(),c=this.source.start.column,d=this.source.start.line,e=0;e<
|
|
a;e++)"\n"===b[e]?(c=1,d+=1):c+=1;return{line:d,column:c}};a.prototype.positionBy=function(a){var b=this.source.start;a.index?b=this.positionInside(a.index):a.word&&(a=this.toString().indexOf(a.word),-1!==a&&(b=this.positionInside(a)));return b};return a}();g["default"]=a;l.exports=g["default"]},{"./css-syntax-error":284,"./stringifier":299,"./stringify":300,"./warn-once":304}],291:[function(a,l,g){g.__esModule=!0;g["default"]=function(a,c){if(c&&c.safe)throw Error('Option safe was removed. Use parser: require("postcss-safe-parser")');
|
|
var b=new f["default"](a,c);b=new h["default"](b);try{b.parse()}catch(p){throw"CssSyntaxError"===p.name&&c&&c.from&&(/\.scss$/i.test(c.from)?p.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(c.from)?p.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(c.from)&&(p.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),
|
|
p;}return b.root};var k=a("./parser"),h=k&&k.__esModule?k:{"default":k},f=(a=a("./input"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./input":286,"./parser":292}],292:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=a("./declaration"),f=k(h);h=a("./tokenize");var d=k(h);h=a("./comment");var c=k(h);h=a("./at-rule");var b=k(h);h=a("./root");var p=k(h);a=a("./rule");var m=k(a);a=function(){function a(b){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");
|
|
this.input=b;this.current=this.root=new p["default"];this.spaces="";this.semicolon=!1;this.createTokenizer();this.root.source={input:b,start:{line:1,column:1}}}a.prototype.createTokenizer=function(){this.tokenizer=(0,d["default"])(this.input)};a.prototype.parse=function(){for(var a;!this.tokenizer.endOfFile();)switch(a=this.tokenizer.nextToken(),a[0]){case "space":this.spaces+=a[1];break;case ";":this.freeSemicolon(a);break;case "}":this.end(a);break;case "comment":this.comment(a);break;case "at-word":this.atrule(a);
|
|
break;case "{":this.emptyRule(a);break;default:this.other(a)}this.endFile()};a.prototype.comment=function(a){var b=new c["default"];this.init(b,a[2],a[3]);b.source.end={line:a[4],column:a[5]};a=a[1].slice(2,-2);/^\s*$/.test(a)?(b.text="",b.raws.left=a,b.raws.right=""):(a=a.match(/^(\s*)([^]*[^\s])(\s*)$/),b.text=a[2],b.raws.left=a[1],b.raws.right=a[3])};a.prototype.emptyRule=function(a){var b=new m["default"];this.init(b,a[2],a[3]);b.selector="";b.raws.between="";this.current=b};a.prototype.other=
|
|
function(a){for(var b=!1,c=!1,d=null,e=[],f=[],h=a;h;){a=h[0];f.push(h);if("("===a||"["===a)d||(d=h),e.push("("===a?")":"]");else if(0===e.length)if(";"===a){if(c){this.decl(f);return}break}else{if("{"===a){this.rule(f);return}if("}"===a){this.tokenizer.back(f.pop());b=!0;break}else":"===a&&(c=!0)}else a===e[e.length-1]&&(e.pop(),0===e.length&&(d=null));h=this.tokenizer.nextToken()}this.tokenizer.endOfFile()&&(b=!0);0<e.length&&this.unclosedBracket(d);if(b&&c){for(;f.length;){h=f[f.length-1][0];if("space"!==
|
|
h&&"comment"!==h)break;this.tokenizer.back(f.pop())}this.decl(f)}else this.unknownWord(f)};a.prototype.rule=function(a){a.pop();var b=new m["default"];this.init(b,a[0][2],a[0][3]);b.raws.between=this.spacesAndCommentsFromEnd(a);this.raw(b,"selector",a);this.current=b};a.prototype.decl=function(a){var b=new f["default"];this.init(b);var c=a[a.length-1];";"===c[0]&&(this.semicolon=!0,a.pop());for(b.source.end=c[4]?{line:c[4],column:c[5]}:{line:c[2],column:c[3]};"word"!==a[0][0];)1===a.length&&this.unknownWord(a),
|
|
b.raws.before+=a.shift()[1];b.source.start={line:a[0][2],column:a[0][3]};for(b.prop="";a.length;){c=a[0][0];if(":"===c||"space"===c||"comment"===c)break;b.prop+=a.shift()[1]}for(b.raws.between="";a.length;)if(c=a.shift(),":"===c[0]){b.raws.between+=c[1];break}else b.raws.between+=c[1];if("_"===b.prop[0]||"*"===b.prop[0])b.raws.before+=b.prop[0],b.prop=b.prop.slice(1);b.raws.between+=this.spacesAndCommentsFromStart(a);this.precheckMissedSemicolon(a);for(var d=a.length-1;0<d;d--){c=a[d];if("!important"===
|
|
c[1]){b.important=!0;c=this.stringFrom(a,d);c=this.spacesFromEnd(a)+c;" !important"!==c&&(b.raws.important=c);break}else if("important"===c[1]){for(var e=a.slice(0),h="",k=d;0<k;k--){var g=e[k][0];if(0===h.trim().indexOf("!")&&"space"!==g)break;h=e.pop()[1]+h}0===h.trim().indexOf("!")&&(b.important=!0,b.raws.important=h,a=e)}if("space"!==c[0]&&"comment"!==c[0])break}this.raw(b,"value",a);-1!==b.value.indexOf(":")&&this.checkMissedSemicolon(a)};a.prototype.atrule=function(a){var c=new b["default"];
|
|
c.name=a[1].slice(1);""===c.name&&this.unnamedAtrule(c,a);this.init(c,a[2],a[3]);for(var d,e,f=!1,h=!1,k=[];!this.tokenizer.endOfFile();){a=this.tokenizer.nextToken();if(";"===a[0]){c.source.end={line:a[2],column:a[3]};this.semicolon=!0;break}else if("{"===a[0]){h=!0;break}else if("}"===a[0]){if(0<k.length){e=k.length-1;for(d=k[e];d&&"space"===d[0];)d=k[--e];d&&(c.source.end={line:d[4],column:d[5]})}this.end(a);break}else k.push(a);if(this.tokenizer.endOfFile()){f=!0;break}}c.raws.between=this.spacesAndCommentsFromEnd(k);
|
|
k.length?(c.raws.afterName=this.spacesAndCommentsFromStart(k),this.raw(c,"params",k),f&&(a=k[k.length-1],c.source.end={line:a[4],column:a[5]},this.spaces=c.raws.between,c.raws.between="")):(c.raws.afterName="",c.params="");h&&(c.nodes=[],this.current=c)};a.prototype.end=function(a){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon);this.semicolon=!1;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";this.current.parent?(this.current.source.end=
|
|
{line:a[2],column:a[3]},this.current=this.current.parent):this.unexpectedClose(a)};a.prototype.endFile=function(){this.current.parent&&this.unclosedBlock();this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon);this.current.raws.after=(this.current.raws.after||"")+this.spaces};a.prototype.freeSemicolon=function(a){this.spaces+=a[1];this.current.nodes&&(a=this.current.nodes[this.current.nodes.length-1])&&"rule"===a.type&&!a.raws.ownSemicolon&&(a.raws.ownSemicolon=
|
|
this.spaces,this.spaces="")};a.prototype.init=function(a,b,c){this.current.push(a);a.source={start:{line:b,column:c},input:this.input};a.raws.before=this.spaces;this.spaces="";"comment"!==a.type&&(this.semicolon=!1)};a.prototype.raw=function(a,b,c){for(var d=void 0,e=void 0,f=c.length,h="",k=!0,g=0;g<f;g+=1)d=c[g],e=d[0],"comment"===e||"space"===e&&g===f-1?k=!1:h+=d[1];k||(c=c.reduce(function(a,b){return a+b[1]},""),a.raws[b]={value:h,raw:c});a[b]=h};a.prototype.spacesAndCommentsFromEnd=function(a){for(var b,
|
|
c="";a.length;){b=a[a.length-1][0];if("space"!==b&&"comment"!==b)break;c=a.pop()[1]+c}return c};a.prototype.spacesAndCommentsFromStart=function(a){for(var b,c="";a.length;){b=a[0][0];if("space"!==b&&"comment"!==b)break;c+=a.shift()[1]}return c};a.prototype.spacesFromEnd=function(a){for(var b,c="";a.length;){b=a[a.length-1][0];if("space"!==b)break;c=a.pop()[1]+c}return c};a.prototype.stringFrom=function(a,b){for(var c="",d=b;d<a.length;d++)c+=a[d][1];a.splice(b,a.length-b);return c};a.prototype.colon=
|
|
function(a){for(var b=0,c,d,e=void 0,f=0;f<a.length;f++){c=a[f];d=c[0];if("("===d)b+=1;else if(")"===d)--b;else if(0===b&&":"===d)if(e)if("word"===e[0]&&"progid"===e[1])continue;else return f;else this.doubleColon(c);e=c}return!1};a.prototype.unclosedBracket=function(a){throw this.input.error("Unclosed bracket",a[2],a[3]);};a.prototype.unknownWord=function(a){throw this.input.error("Unknown word",a[0][2],a[0][3]);};a.prototype.unexpectedClose=function(a){throw this.input.error("Unexpected }",a[2],
|
|
a[3]);};a.prototype.unclosedBlock=function(){var a=this.current.source.start;throw this.input.error("Unclosed block",a.line,a.column);};a.prototype.doubleColon=function(a){throw this.input.error("Double colon",a[2],a[3]);};a.prototype.unnamedAtrule=function(a,b){throw this.input.error("At-rule without name",b[2],b[3]);};a.prototype.precheckMissedSemicolon=function(a){a};a.prototype.checkMissedSemicolon=function(a){var b=this.colon(a);if(!1!==b){var c=0,d=void 0;for(--b;0<=b&&(d=a[b],"space"===d[0]||
|
|
(c+=1,2!==c));b--);throw this.input.error("Missed semicolon",d[2],d[3]);}};return a}();g["default"]=a;l.exports=g["default"]},{"./at-rule":281,"./comment":282,"./declaration":285,"./root":297,"./rule":298,"./tokenize":302}],293:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(){for(var a=arguments.length,b=Array(a),d=0;d<a;d++)b[d]=arguments[d];1===b.length&&Array.isArray(b[0])&&(b=b[0]);return new c["default"](b)}g.__esModule=!0;var f=a("./declaration"),d=k(f);f=a("./processor");
|
|
var c=k(f);f=a("./stringify");f=k(f);var b=a("./comment"),p=k(b);b=a("./at-rule");var m=k(b);b=a("./vendor");b=k(b);var q=a("./parse");q=k(q);var e=a("./list");e=k(e);var n=a("./rule"),r=k(n);a=a("./root");var t=k(a);h.plugin=function(a,b){var d=function(){var d=b.apply(void 0,arguments);d.postcssPlugin=a;d.postcssVersion=(new c["default"]).version;return d},e=void 0;Object.defineProperty(d,"postcss",{get:function(){e||(e=d());return e}});d.process=function(a,b,c){return h([d(c)]).process(a,b)};return d};
|
|
h.stringify=f["default"];h.parse=q["default"];h.vendor=b["default"];h.list=e["default"];h.comment=function(a){return new p["default"](a)};h.atRule=function(a){return new m["default"](a)};h.decl=function(a){return new d["default"](a)};h.rule=function(a){return new r["default"](a)};h.root=function(a){return new t["default"](a)};g["default"]=h;l.exports=g["default"]},{"./at-rule":281,"./comment":282,"./declaration":285,"./list":288,"./parse":291,"./processor":295,"./root":297,"./rule":298,"./stringify":300,
|
|
"./vendor":303}],294:[function(a,l,g){(function(k){function h(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},d=a("source-map"),c=h(d);d=a("path");
|
|
var b=h(d);d=a("fs");var p=h(d);d=function(){function a(b,c){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.loadAnnotation(b);this.inline=this.startWith(this.annotation,"data:");var d=this.loadMap(c.from,c.map?c.map.prev:void 0);d&&(this.text=d)}a.prototype.consumer=function(){this.consumerCache||(this.consumerCache=new c["default"].SourceMapConsumer(this.text));return this.consumerCache};a.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&
|
|
0<this.consumer().sourcesContent.length)};a.prototype.startWith=function(a,b){return a?a.substr(0,b.length)===b:!1};a.prototype.loadAnnotation=function(a){if(a=a.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//))this.annotation=a[1].trim()};a.prototype.decodeInline=function(a){if(this.startWith(a,"data:application/json,"))return decodeURIComponent(a.substr(22));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(a))return a=a.substr(RegExp.lastMatch.length),a=k?k.from&&k.from!==Uint8Array.from?
|
|
k.from(a,"base64").toString():(new k(a,"base64")).toString():window.atob(a),a;a=a.match(/data:application\/json;([^,]+),/)[1];throw Error("Unsupported source map encoding "+a);};a.prototype.loadMap=function(a,d){if(!1===d)return!1;if(d){if("string"===typeof d)return d;if("function"===typeof d){var e=d(a);if(e&&p["default"].existsSync&&p["default"].existsSync(e))return p["default"].readFileSync(e,"utf-8").toString().trim();throw Error("Unable to load previous source map: "+e.toString());}if(d instanceof
|
|
c["default"].SourceMapConsumer)return c["default"].SourceMapGenerator.fromSourceMap(d).toString();if(d instanceof c["default"].SourceMapGenerator)return d.toString();if(this.isMap(d))return JSON.stringify(d);throw Error("Unsupported previous source map format: "+d.toString());}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation)return e=this.annotation,a&&(e=b["default"].join(b["default"].dirname(a),e)),this.root=b["default"].dirname(e),p["default"].existsSync&&p["default"].existsSync(e)?
|
|
p["default"].readFileSync(e,"utf-8").toString().trim():!1};a.prototype.isMap=function(a){return"object"!==("undefined"===typeof a?"undefined":f(a))?!1:"string"===typeof a.mappings||"string"===typeof a._mappings};return a}();g["default"]=d;l.exports=g["default"]}).call(this,a("buffer").Buffer)},{buffer:5,fs:4,path:14,"source-map":328}],295:[function(a,l,g){g.__esModule=!0;$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?
|
|
function(a){return typeof a}:function(a){$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h=(a=a("./lazy-result"))&&a.__esModule?a:{"default":a};a=function(){function a(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.version="6.0.9";this.plugins=this.normalize(d)}a.prototype.use=function(a){this.plugins=
|
|
this.plugins.concat(this.normalize([a]));return this};a.prototype.process=function(a){return new h["default"](this,a,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})};a.prototype.normalize=function(a){var c=[];$jscomp.initSymbol();$jscomp.initSymbolIterator();var b=Array.isArray(a),d=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(d>=a.length)break;var f=a[d++]}else{d=a.next();if(d.done)break;f=d.value}f.postcss&&(f=f.postcss);if("object"===("undefined"===typeof f?"undefined":k(f))&&Array.isArray(f.plugins))c=
|
|
c.concat(f.plugins);else if("function"===typeof f)c.push(f);else{if("object"===("undefined"===typeof f?"undefined":k(f))&&(f.parse||f.stringify))throw Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.");throw Error(f+" is not a PostCSS plugin");}}return c};return a}();g["default"]=a;l.exports=g["default"]},{"./lazy-result":287}],296:[function(a,l,g){arguments[4][233][0].apply(g,arguments)},
|
|
{"./warning":305,dup:233}],297:[function(a,l,g){function k(a,d){if("function"!==typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function, not "+typeof d);a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});d&&(Object.setPrototypeOf?Object.setPrototypeOf(a,d):a.__proto__=d)}g.__esModule=!0;var h=a("./container");h=function(f){function d(a){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");
|
|
a=f.call(this,a);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");a=!a||"object"!==typeof a&&"function"!==typeof a?this:a;a.type="root";a.nodes||(a.nodes=[]);return a}k(d,f);d.prototype.removeChild=function(a,b){var c=this.index(a);!b&&0===c&&1<this.nodes.length&&(this.nodes[1].raws.before=this.nodes[c].raws.before);return f.prototype.removeChild.call(this,a)};d.prototype.normalize=function(a,b,d){a=f.prototype.normalize.call(this,a);if(b)if("prepend"===
|
|
d)1<this.nodes.length?b.raws.before=this.nodes[1].raws.before:delete b.raws.before;else if(this.first!==b){$jscomp.initSymbol();$jscomp.initSymbolIterator();d=a;var c=Array.isArray(d),h=0;for(d=c?d:d[Symbol.iterator]();;){if(c){if(h>=d.length)break;var e=d[h++]}else{h=d.next();if(h.done)break;e=h.value}e.raws.before=b.raws.before}}return a};d.prototype.toResult=function(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=a("./lazy-result"),d=a("./processor");return(new b(new d,this,
|
|
c)).stringify()};return d}((h&&h.__esModule?h:{"default":h})["default"]);g["default"]=h;l.exports=g["default"]},{"./container":283,"./lazy-result":287,"./processor":295}],298:[function(a,l,g){function k(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=
|
|
b)}g.__esModule=!0;var h=function(){function a(a,c){for(var b=0;b<c.length;b++){var d=c[b];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),f=a("./container");f=f&&f.__esModule?f:{"default":f};var d=(a=a("./list"))&&a.__esModule?a:{"default":a};a=function(a){function b(c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");c=a.call(this,c);if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
c=!c||"object"!==typeof c&&"function"!==typeof c?this:c;c.type="rule";c.nodes||(c.nodes=[]);return c}k(b,a);h(b,[{key:"selectors",get:function(){return d["default"].comma(this.selector)},set:function(a){var b=this.selector?this.selector.match(/,\s*/):null;b=b?b[0]:","+this.raw("between","beforeOpen");this.selector=a.join(b)}}]);return b}(f["default"]);g["default"]=a;l.exports=g["default"]},{"./container":283,"./list":288}],299:[function(a,l,g){function k(a){return a[0].toUpperCase()+a.slice(1)}g.__esModule=
|
|
!0;var h={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};a=function(){function a(d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.builder=d}a.prototype.stringify=function(a,c){this[a.type](a,c)};a.prototype.root=function(a){this.body(a);a.raws.after&&this.builder(a.raws.after)};a.prototype.comment=function(a){var c=this.raw(a,"left","commentLeft"),
|
|
b=this.raw(a,"right","commentRight");this.builder("/*"+c+a.text+b+"*/",a)};a.prototype.decl=function(a,c){var b=this.raw(a,"between","colon");b=a.prop+b+this.rawValue(a,"value");a.important&&(b+=a.raws.important||" !important");c&&(b+=";");this.builder(b,a)};a.prototype.rule=function(a){this.block(a,this.rawValue(a,"selector"));a.raws.ownSemicolon&&this.builder(a.raws.ownSemicolon,a,"end")};a.prototype.atrule=function(a,c){var b="@"+a.name,d=a.params?this.rawValue(a,"params"):"";"undefined"!==typeof a.raws.afterName?
|
|
b+=a.raws.afterName:d&&(b+=" ");a.nodes?this.block(a,b+d):this.builder(b+d+((a.raws.between||"")+(c?";":"")),a)};a.prototype.body=function(a){for(var c=a.nodes.length-1;0<c&&"comment"===a.nodes[c].type;)--c;for(var b=this.raw(a,"semicolon"),d=0;d<a.nodes.length;d++){var f=a.nodes[d],h=this.raw(f,"before");h&&this.builder(h);this.stringify(f,c!==d||b)}};a.prototype.block=function(a,c){var b=this.raw(a,"between","beforeOpen");this.builder(c+b+"{",a,"start");a.nodes&&a.nodes.length?(this.body(a),b=this.raw(a,
|
|
"after")):b=this.raw(a,"after","emptyBody");b&&this.builder(b);this.builder("}",a,"end")};a.prototype.raw=function(a,c,b){var d=void 0;b||(b=c);if(c&&(d=a.raws[c],"undefined"!==typeof d))return d;var f=a.parent;if("before"===b&&(!f||"root"===f.type&&f.first===a))return"";if(!f)return h[b];f=a.root();f.rawCache||(f.rawCache={});if("undefined"!==typeof f.rawCache[b])return f.rawCache[b];if("before"===b||"after"===b)return this.beforeAfter(a,b);var g="raw"+k(b);this[g]?d=this[g](f,a):f.walk(function(a){d=
|
|
a.raws[c];if("undefined"!==typeof d)return!1});"undefined"===typeof d&&(d=h[b]);return f.rawCache[b]=d};a.prototype.rawSemicolon=function(a){var c=void 0;a.walk(function(a){if(a.nodes&&a.nodes.length&&"decl"===a.last.type&&(c=a.raws.semicolon,"undefined"!==typeof c))return!1});return c};a.prototype.rawEmptyBody=function(a){var c=void 0;a.walk(function(a){if(a.nodes&&0===a.nodes.length&&(c=a.raws.after,"undefined"!==typeof c))return!1});return c};a.prototype.rawIndent=function(a){if(a.raws.indent)return a.raws.indent;
|
|
var c=void 0;a.walk(function(b){var d=b.parent;if(d&&d!==a&&d.parent&&d.parent===a&&"undefined"!==typeof b.raws.before)return b=b.raws.before.split("\n"),c=b[b.length-1],c=c.replace(/[^\s]/g,""),!1});return c};a.prototype.rawBeforeComment=function(a,c){var b=void 0;a.walkComments(function(a){if("undefined"!==typeof a.raws.before)return b=a.raws.before,-1!==b.indexOf("\n")&&(b=b.replace(/[^\n]+$/,"")),!1});"undefined"===typeof b&&(b=this.raw(c,null,"beforeDecl"));return b};a.prototype.rawBeforeDecl=
|
|
function(a,c){var b=void 0;a.walkDecls(function(a){if("undefined"!==typeof a.raws.before)return b=a.raws.before,-1!==b.indexOf("\n")&&(b=b.replace(/[^\n]+$/,"")),!1});"undefined"===typeof b&&(b=this.raw(c,null,"beforeRule"));return b};a.prototype.rawBeforeRule=function(a){var c=void 0;a.walk(function(b){if(b.nodes&&(b.parent!==a||a.first!==b)&&"undefined"!==typeof b.raws.before)return c=b.raws.before,-1!==c.indexOf("\n")&&(c=c.replace(/[^\n]+$/,"")),!1});return c};a.prototype.rawBeforeClose=function(a){var c=
|
|
void 0;a.walk(function(a){if(a.nodes&&0<a.nodes.length&&"undefined"!==typeof a.raws.after)return c=a.raws.after,-1!==c.indexOf("\n")&&(c=c.replace(/[^\n]+$/,"")),!1});return c};a.prototype.rawBeforeOpen=function(a){var c=void 0;a.walk(function(a){if("decl"!==a.type&&(c=a.raws.between,"undefined"!==typeof c))return!1});return c};a.prototype.rawColon=function(a){var c=void 0;a.walkDecls(function(a){if("undefined"!==typeof a.raws.between)return c=a.raws.between.replace(/[^\s:]/g,""),!1});return c};a.prototype.beforeAfter=
|
|
function(a,c){var b="decl"===a.type?this.raw(a,null,"beforeDecl"):"comment"===a.type?this.raw(a,null,"beforeComment"):"before"===c?this.raw(a,null,"beforeRule"):this.raw(a,null,"beforeClose");for(var d=a.parent,f=0;d&&"root"!==d.type;)f+=1,d=d.parent;if(-1!==b.indexOf("\n")&&(d=this.raw(a,null,"indent"),d.length))for(var h=0;h<f;h++)b+=d;return b};a.prototype.rawValue=function(a,c){var b=a[c],d=a.raws[c];return d&&d.value===b?d.raw:b};return a}();g["default"]=a;l.exports=g["default"]},{}],300:[function(a,
|
|
l,g){arguments[4][237][0].apply(g,arguments)},{"./stringifier":299,dup:237}],301:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}function h(a,b){var c=a[0],d=a[1];if("word"===c){if("."===d[0])return"class";if("#"===d[0])return"hash"}return b.endOfFile()||(d=b.nextToken(),b.back(d),"brackets"!==d[0]&&"("!==d[0])?c:"call"}g.__esModule=!0;var f=a("chalk");f=k(f);var d=a("./tokenize"),c=k(d);a=a("./input");var b=k(a),p={brackets:f["default"].cyan,"at-word":f["default"].cyan,call:f["default"].cyan,
|
|
comment:f["default"].gray,string:f["default"].green,"class":f["default"].yellow,hash:f["default"].magenta,"(":f["default"].cyan,")":f["default"].cyan,"{":f["default"].yellow,"}":f["default"].yellow,"[":f["default"].yellow,"]":f["default"].yellow,":":f["default"].yellow,";":f["default"].yellow};g["default"]=function(a){var d=(0,c["default"])(new b["default"](a),{ignoreErrors:!0}),e="";for(a=function(){var a=d.nextToken(),b=p[h(a,d)];e=b?e+a[1].split(/\r?\n/).map(function(a){return b(a)}).join("\n"):
|
|
e+a[1]};!d.endOfFile();)a();return e};l.exports=g["default"]},{"./input":286,"./tokenize":302,chalk:54}],302:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){function g(b){throw a.error("Unclosed "+b,U,T-v);}var l=a.css.valueOf(),I=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).ignoreErrors,y=void 0,z=void 0,H=void 0,Q=void 0,J=void 0,N=void 0,R=void 0,G=void 0,O=void 0,S=void 0,ca=void 0,ha=void 0,ra=void 0,ea=void 0,ta=l.length,v=-1,U=1,T=0,Sa=[],X=[];return{back:function(a){X.push(a)},
|
|
nextToken:function(){if(X.length)return X.pop();if(!(T>=ta)){y=l.charCodeAt(T);if(y===c||y===p||y===q&&l.charCodeAt(T+1)!==c)v=T,U+=1;switch(y){case c:case b:case m:case q:case p:z=T;do z+=1,y=l.charCodeAt(z),y===c&&(v=z,U+=1);while(y===b||y===c||y===m||y===q||y===p);ea=["space",l.slice(T,z)];T=z-1;break;case e:ea=["[","[",U,T-v];break;case n:ea=["]","]",U,T-v];break;case u:ea=["{","{",U,T-v];break;case w:ea=["}","}",U,T-v];break;case L:ea=[":",":",U,T-v];break;case x:ea=[";",";",U,T-v];break;case r:ha=
|
|
Sa.length?Sa.pop()[1]:"";ra=l.charCodeAt(T+1);if("url"===ha&&ra!==k&&ra!==h&&ra!==b&&ra!==c&&ra!==m&&ra!==p&&ra!==q){z=T;do{S=!1;z=l.indexOf(")",z+1);if(-1===z)if(I){z=T;break}else g("bracket");for(ca=z;l.charCodeAt(ca-1)===f;)--ca,S=!S}while(S);ea=["brackets",l.slice(T,z+1),U,T-v,U,z-v];T=z}else z=l.indexOf(")",T+1),N=l.slice(T,z+1),-1===z||M.test(N)?ea=["(","(",U,T-v]:(ea=["brackets",N,U,T-v,U,z-v],T=z);break;case t:ea=[")",")",U,T-v];break;case k:case h:H=y===k?"'":'"';z=T;do{S=!1;z=l.indexOf(H,
|
|
z+1);if(-1===z)if(I){z=T+1;break}else g("string");for(ca=z;l.charCodeAt(ca-1)===f;)--ca,S=!S}while(S);N=l.slice(T,z+1);Q=N.split("\n");J=Q.length-1;0<J?(G=U+J,O=z-Q[J].length):(G=U,O=v);ea=["string",l.slice(T,z+1),U,T-v,G,z-O];v=O;U=G;T=z;break;case C:F.lastIndex=T+1;F.test(l);z=0===F.lastIndex?l.length-1:F.lastIndex-2;ea=["at-word",l.slice(T,z+1),U,T-v,U,z-v];T=z;break;case f:z=T;for(R=!0;l.charCodeAt(z+1)===f;)z+=1,R=!R;y=l.charCodeAt(z+1);if(R&&y!==d&&y!==b&&y!==c&&y!==m&&y!==q&&y!==p&&(z+=1,B.test(l.charAt(z)))){for(;B.test(l.charAt(z+
|
|
1));)z+=1;l.charCodeAt(z+1)===b&&(z+=1)}ea=["word",l.slice(T,z+1),U,T-v,U,z-v];T=z;break;default:y===d&&l.charCodeAt(T+1)===A?(z=l.indexOf("*/",T+2)+1,0===z&&(I?z=l.length:g("comment")),N=l.slice(T,z+1),Q=N.split("\n"),J=Q.length-1,0<J?(G=U+J,O=z-Q[J].length):(G=U,O=v),ea=["comment",N,U,T-v,G,z-O],v=O,U=G):(K.lastIndex=T+1,K.test(l),z=0===K.lastIndex?l.length-1:K.lastIndex-2,ea=["word",l.slice(T,z+1),U,T-v,U,z-v],Sa.push(ea)),T=z}T++;return ea}},endOfFile:function(){return 0===X.length&&T>=ta}}};
|
|
var k=39,h=34,f=92,d=47,c=10,b=32,p=12,m=9,q=13,e=91,n=93,r=40,t=41,u=123,w=125,x=59,A=42,L=58,C=64,F=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,K=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,M=/.[\\\/\("'\n]/,B=/[a-f0-9]/i;l.exports=g["default"]},{}],303:[function(a,l,g){g.__esModule=!0;g["default"]={prefix:function(a){return(a=a.match(/^(-\w+-)/))?a[0]:""},unprefixed:function(a){return a.replace(/^-\w+-/,"")}};l.exports=g["default"]},{}],304:[function(a,l,g){arguments[4][240][0].apply(g,arguments)},{dup:240}],
|
|
305:[function(a,l,g){arguments[4][241][0].apply(g,arguments)},{dup:241}],306:[function(a,l,g){g.before=function(a,f){return a.replace(f,function(a){var c=Math.random().toString().slice(2,7);k[c]=a;return"__ID"+c+"__"})};g.after=function(a){return a.replace(/__ID(.{5})__/g,function(a,d){return k[d]})};var k={}},{}],307:[function(a,l,g){var k=a("is-number"),h=a("kind-of");l.exports=function(a,c,b){if("undefined"===typeof a)throw Error("randomatic expects a string or number.");var d=!1;1===arguments.length&&
|
|
("string"===typeof a?c=a.length:k(a)&&(b={},c=a,a="*"));"object"===h(c)&&c.hasOwnProperty("chars")&&(b=c,a=b.chars,c=a.length,d=!0);var g=b||{},l="",e="";-1!==a.indexOf("?")&&(l+=g.chars);-1!==a.indexOf("a")&&(l+=f.lower);-1!==a.indexOf("A")&&(l+=f.upper);-1!==a.indexOf("0")&&(l+=f.number);-1!==a.indexOf("!")&&(l+=f.special);-1!==a.indexOf("*")&&(l+=f.all);for(d&&(l+=a);c--;)e+=l.charAt(parseInt(Math.random()*l.length,10));return e};var f={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
|
number:"0123456789",special:"~!@#$%^&()_+-={}[];',."};f.all=f.lower+f.upper+f.number+f.special},{"is-number":308,"kind-of":310}],308:[function(a,l,g){var k=a("kind-of");l.exports=function(a){var f=k(a);if("string"===f){if(!a.trim())return!1}else if("number"!==f)return!1;return 0<=a-a+1}},{"kind-of":309}],309:[function(a,l,g){arguments[4][161][0].apply(g,arguments)},{dup:161,"is-buffer":113}],310:[function(a,l,g){var k=a("is-buffer"),h=Object.prototype.toString;l.exports=function(a){if("undefined"===
|
|
typeof a)return"undefined";if(null===a)return"null";if(!0===a||!1===a||a instanceof Boolean)return"boolean";if("string"===typeof a||a instanceof String)return"string";if("number"===typeof a||a instanceof Number)return"number";if("function"===typeof a||a instanceof Function)return"function";if("undefined"!==typeof Array.isArray&&Array.isArray(a))return"array";if(a instanceof RegExp)return"regexp";if(a instanceof Date)return"date";var d=h.call(a);return"[object RegExp]"===d?"regexp":"[object Date]"===
|
|
d?"date":"[object Arguments]"===d?"arguments":"[object Error]"===d?"error":"[object Promise]"===d?"promise":k(a)?"buffer":"[object Set]"===d?"set":"[object WeakSet]"===d?"weakset":"[object Map]"===d?"map":"[object WeakMap]"===d?"weakmap":"[object Symbol]"===d?"symbol":"[object Int8Array]"===d?"int8array":"[object Uint8Array]"===d?"uint8array":"[object Uint8ClampedArray]"===d?"uint8clampedarray":"[object Int16Array]"===d?"int16array":"[object Uint16Array]"===d?"uint16array":"[object Int32Array]"===
|
|
d?"int32array":"[object Uint32Array]"===d?"uint32array":"[object Float32Array]"===d?"float32array":"[object Float64Array]"===d?"float64array":"object"}},{"is-buffer":113}],311:[function(a,l,g){a("is-primitive");var k=a("is-equal-shallow"),h={},f={};l.exports=function(a,c,b){var d="_default_",g;if(!c&&!b)return"function"!==typeof a?a:h[d]||(h[d]=a(c));if("string"===typeof c){if(!b)return h[c]||(h[c]=a(c));d=c}else b=c;if((g=f[d])&&k(g.opts,b))return g.regex;c=a=a(c,b);f[d]={regex:c,opts:b};return a};
|
|
l.exports.cache=f;l.exports.basic=h},{"is-equal-shallow":116,"is-primitive":125}],312:[function(a,l,g){(function(a){function h(a){var c=a[a.length-1];return 1<a.length&&("/"===c||f&&"\\"===c)}var f="win32"===a.platform;l.exports=function(a){for(;h(a);)a=a.slice(0,-1);return a}}).call(this,a("_process"))},{_process:16}],313:[function(a,l,g){l.exports=function(a,h){for(var f=Array(h),d=0;d<h;d++)f[d]=a;return f}},{}],314:[function(a,l,g){var k="",h;l.exports=function(a,d){if("string"!==typeof a)throw new TypeError("expected a string");
|
|
if(1===d)return a;if(2===d)return a+a;var c=a.length*d;if(h!==a||"undefined"===typeof h)h=a,k="";else if(k.length>=c)return k.substr(0,c);for(;c>k.length&&1<d;)d&1&&(k+=a),d>>=1,a+=a;k+=a;return k=k.substr(0,c)}},{}],315:[function(a,l,g){var k=a("module"),h=a("path");l.exports=function(a,d,c){"object"===typeof d&&(c=d,d=void 0);c=c||{};d=d||"";c.appendPaths=c.appendPaths||[];c.prependPaths=c.prependPaths||[];if("string"!==typeof a)throw Error("code must be a string, not "+typeof a);var b=k._nodeModulePaths(h.dirname(d)),
|
|
f=new k(d,l.parent);f.filename=d;f.paths=[].concat(c.prependPaths).concat(b).concat(c.appendPaths);f._compile(a,d);return f.exports}},{module:1,path:14}],316:[function(a,l,g){var k=a("path"),h=a("module"),f=function(a,c,b){if("string"!==typeof a)throw new TypeError("Expected `fromDir` to be of type `string`, got `"+typeof a+"`");if("string"!==typeof c)throw new TypeError("Expected `moduleId` to be of type `string`, got `"+typeof c+"`");a=k.resolve(a);var d=k.join(a,"noop.js"),f=function(){return h._resolveFilename(c,
|
|
{id:d,filename:d,paths:h._nodeModulePaths(a)})};if(b)try{return f()}catch(q){return null}return f()};l.exports=function(a,c){return f(a,c)};l.exports.silent=function(a,c){return f(a,c,!0)}},{module:1,path:14}],317:[function(a,l,g){(function(k){function h(a){"unlink chmod stat lstat rmdir readdir".split(" ").forEach(function(b){a[b]=a[b]||u[b];b+="Sync";a[b]=a[b]||u[b]});a.maxBusyTries=a.maxBusyTries||3;a.emfileWait=a.emfileWait||1E3;!1===a.glob&&(a.disableGlob=!0);a.disableGlob=a.disableGlob||!1;
|
|
a.glob=a.glob||x}function f(a,b,c){function e(a,e){if(a)return c(a);g=e.length;if(0===g)return c();e.forEach(function(a){d(a,b,function H(e){if(e){if(("EBUSY"===e.code||"ENOTEMPTY"===e.code||"EPERM"===e.code)&&f<b.maxBusyTries)return f++,setTimeout(function(){d(a,b,H)},100*f);if("EMFILE"===e.code&&A<b.emfileWait)return setTimeout(function(){d(a,b,H)},A++);"ENOENT"===e.code&&(e=null)}A=0;k=k||e;0===--g&&c(k)})})}"function"===typeof b&&(c=b,b={});r(a,"rimraf: missing path");r.equal(typeof a,"string",
|
|
"rimraf: path should be a string");r.equal(typeof c,"function","rimraf: callback function required");r(b,"rimraf: invalid options argument provided");r.equal(typeof b,"object","rimraf: options should be object");h(b);var f=0,k=null,g=0;if(b.disableGlob||!w.hasMagic(a))return e(null,[a]);b.lstat(a,function(c,d){if(!c)return e(null,[a]);w(a,b.glob,e)})}function d(a,b,d){r(a);r(b);r("function"===typeof d);b.lstat(a,function(e,f){if(e&&"ENOENT"===e.code)return d(null);e&&"EPERM"===e.code&&L&&c(a,b,e,
|
|
d);if(f&&f.isDirectory())return g(a,b,e,d);b.unlink(a,function(e){if(e){if("ENOENT"===e.code)return d(null);if("EPERM"===e.code)return L?c(a,b,e,d):g(a,b,e,d);if("EISDIR"===e.code)return g(a,b,e,d)}return d(e)})})}function c(a,b,c,d){r(a);r(b);r("function"===typeof d);c&&r(c instanceof Error);b.chmod(a,666,function(e){e?d("ENOENT"===e.code?null:c):b.stat(a,function(e,f){e?d("ENOENT"===e.code?null:c):f.isDirectory()?g(a,b,c,d):b.unlink(a,d)})})}function b(a,b,c){r(a);r(b);c&&r(c instanceof Error);
|
|
try{b.chmodSync(a,666)}catch(B){if("ENOENT"===B.code)return;throw c;}try{var d=b.statSync(a)}catch(B){if("ENOENT"===B.code)return;throw c;}d.isDirectory()?e(a,b,c):b.unlinkSync(a)}function g(a,b,c,d){r(a);r(b);c&&r(c instanceof Error);r("function"===typeof d);b.rmdir(a,function(e){!e||"ENOTEMPTY"!==e.code&&"EEXIST"!==e.code&&"EPERM"!==e.code?e&&"ENOTDIR"===e.code?d(c):d(e):m(a,b,d)})}function m(a,b,c){r(a);r(b);r("function"===typeof c);b.readdir(a,function(d,e){if(d)return c(d);var h=e.length;if(0===
|
|
h)return b.rmdir(a,c);var k;e.forEach(function(d){f(t.join(a,d),b,function(d){if(!k){if(d)return c(k=d);0===--h&&b.rmdir(a,c)}})})})}function q(a,c){c=c||{};h(c);r(a,"rimraf: missing path");r.equal(typeof a,"string","rimraf: path should be a string");r(c,"rimraf: missing options");r.equal(typeof c,"object","rimraf: options should be object");if(c.disableGlob||!w.hasMagic(a))var d=[a];else try{c.lstatSync(a),d=[a]}catch(I){d=w.sync(a,c.glob)}if(d.length)for(var f=0;f<d.length;f++){a=d[f];try{var k=
|
|
c.lstatSync(a)}catch(I){if("ENOENT"===I.code)break;"EPERM"===I.code&&L&&b(a,c,I)}try{k&&k.isDirectory()?e(a,c,null):c.unlinkSync(a)}catch(I){if("ENOENT"===I.code)break;if("EPERM"===I.code)return L?b(a,c,I):e(a,c,I);if("EISDIR"!==I.code)throw I;e(a,c,I)}}}function e(a,b,c){r(a);r(b);c&&r(c instanceof Error);try{b.rmdirSync(a)}catch(M){if("ENOENT"!==M.code){if("ENOTDIR"===M.code)throw c;"ENOTEMPTY"!==M.code&&"EEXIST"!==M.code&&"EPERM"!==M.code||n(a,b)}}}function n(a,b){r(a);r(b);b.readdirSync(a).forEach(function(c){q(t.join(a,
|
|
c),b)});var c=L?100:1,d=0;do{var e=!0;try{var f=b.rmdirSync(a,b);e=!1;return f}finally{if(++d<c&&e)continue}}while(1)}l.exports=f;f.sync=q;var r=a("assert"),t=a("path"),u=a("fs"),w=a("glob"),x={nosort:!0,silent:!0},A=0,L="win32"===k.platform}).call(this,a("_process"))},{_process:16,assert:2,fs:1,glob:95,path:14}],318:[function(a,l,g){function k(){this._array=[];this._set=Object.create(null)}var h=a("./util"),f=Object.prototype.hasOwnProperty;k.fromArray=function(a,c){for(var b=new k,d=0,f=a.length;d<
|
|
f;d++)b.add(a[d],c);return b};k.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length};k.prototype.add=function(a,c){var b=h.toSetString(a),d=f.call(this._set,b),k=this._array.length;d&&!c||this._array.push(a);d||(this._set[b]=k)};k.prototype.has=function(a){a=h.toSetString(a);return f.call(this._set,a)};k.prototype.indexOf=function(a){var c=h.toSetString(a);if(f.call(this._set,c))return this._set[c];throw Error('"'+a+'" is not in the set.');};k.prototype.at=function(a){if(0<=
|
|
a&&a<this._array.length)return this._array[a];throw Error("No element indexed by "+a);};k.prototype.toArray=function(){return this._array.slice()};g.ArraySet=k},{"./util":327}],319:[function(a,l,g){var k=a("./base64");g.encode=function(a){var f="",d=0>a?(-a<<1)+1:(a<<1)+0;do a=d&31,d>>>=5,0<d&&(a|=32),f+=k.encode(a);while(0<d);return f};g.decode=function(a,f,d){var c=a.length,b=0,h=0;do{if(f>=c)throw Error("Expected more digits in base 64 VLQ value.");var g=k.decode(a.charCodeAt(f++));if(-1===g)throw Error("Invalid base64 digit: "+
|
|
a.charAt(f-1));var l=!!(g&32);g&=31;b+=g<<h;h+=5}while(l);a=b>>1;d.value=1===(b&1)?-a:a;d.rest=f}},{"./base64":320}],320:[function(a,l,g){var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");g.encode=function(a){if(0<=a&&a<k.length)return k[a];throw new TypeError("Must be between 0 and 63: "+a);};g.decode=function(a){return 65<=a&&90>=a?a-65:97<=a&&122>=a?a-97+26:48<=a&&57>=a?a-48+52:43==a?62:47==a?63:-1}},{}],321:[function(a,l,g){function k(a,f,d,c,b,l){var h=Math.floor((f-
|
|
a)/2)+a,p=b(d,c[h],!0);return 0===p?h:0<p?1<f-h?k(h,f,d,c,b,l):l==g.LEAST_UPPER_BOUND?f<c.length?f:-1:h:1<h-a?k(a,h,d,c,b,l):l==g.LEAST_UPPER_BOUND?h:0>a?-1:a}g.GREATEST_LOWER_BOUND=1;g.LEAST_UPPER_BOUND=2;g.search=function(a,f,d,c){if(0===f.length)return-1;a=k(-1,f.length,a,f,d,c||g.GREATEST_LOWER_BOUND);if(0>a)return-1;for(;0<=a-1&&0===d(f[a],f[a-1],!0);)--a;return a}},{}],322:[function(a,l,g){function k(){this._array=[];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var h=a("./util");
|
|
k.prototype.unsortedForEach=function(a,d){this._array.forEach(a,d)};k.prototype.add=function(a){var d=this._last,c=d.generatedLine,b=a.generatedLine,f=d.generatedColumn,k=a.generatedColumn;b>c||b==c&&k>=f||0>=h.compareByGeneratedPositionsInflated(d,a)?this._last=a:this._sorted=!1;this._array.push(a)};k.prototype.toArray=function(){this._sorted||(this._array.sort(h.compareByGeneratedPositionsInflated),this._sorted=!0);return this._array};g.MappingList=k},{"./util":327}],323:[function(a,l,g){function k(a,
|
|
d,c){var b=a[d];a[d]=a[c];a[c]=b}function h(a,d,c,b){if(c<b){var f=c-1;k(a,Math.round(c+Math.random()*(b-c)),b);for(var g=a[b],l=c;l<b;l++)0>=d(a[l],g)&&(f+=1,k(a,f,l));k(a,f+1,l);f+=1;h(a,d,c,f-1);h(a,d,f+1,b)}}g.quickSort=function(a,d){h(a,d,0,a.length-1)}},{}],324:[function(a,l,g){function k(a){var b=a;"string"===typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));return null!=b.sections?new d(b):new h(b)}function h(a){var b=a;"string"===typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));a=c.getArg(b,
|
|
"version");var d=c.getArg(b,"sources"),e=c.getArg(b,"names",[]),f=c.getArg(b,"sourceRoot",null),h=c.getArg(b,"sourcesContent",null),k=c.getArg(b,"mappings");b=c.getArg(b,"file",null);if(a!=this._version)throw Error("Unsupported version: "+a);d=d.map(String).map(c.normalize).map(function(a){return f&&c.isAbsolute(f)&&c.isAbsolute(a)?c.relative(f,a):a});this._names=p.fromArray(e.map(String),!0);this._sources=p.fromArray(d,!0);this.sourceRoot=f;this.sourcesContent=h;this._mappings=k;this.file=b}function f(){this.generatedColumn=
|
|
this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=null}function d(a){var b=a;"string"===typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));a=c.getArg(b,"version");b=c.getArg(b,"sections");if(a!=this._version)throw Error("Unsupported version: "+a);this._sources=new p;this._names=new p;var d={line:-1,column:0};this._sections=b.map(function(a){if(a.url)throw Error("Support for url field in sections not implemented.");var b=c.getArg(a,"offset"),e=c.getArg(b,"line"),f=c.getArg(b,
|
|
"column");if(e<d.line||e===d.line&&f<d.column)throw Error("Section offsets must be ordered and non-overlapping.");d=b;return{generatedOffset:{generatedLine:e+1,generatedColumn:f+1},consumer:new k(c.getArg(a,"map"))}})}var c=a("./util"),b=a("./binary-search"),p=a("./array-set").ArraySet,m=a("./base64-vlq"),q=a("./quick-sort").quickSort;k.fromSourceMap=function(a){return h.fromSourceMap(a)};k.prototype._version=3;k.prototype.__generatedMappings=null;Object.defineProperty(k.prototype,"_generatedMappings",
|
|
{get:function(){this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});k.prototype.__originalMappings=null;Object.defineProperty(k.prototype,"_originalMappings",{get:function(){this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});k.prototype._charIsMappingSeparator=function(a,b){var c=a.charAt(b);return";"===c||","===c};k.prototype._parseMappings=function(a,b){throw Error("Subclasses must implement _parseMappings");
|
|
};k.GENERATED_ORDER=1;k.ORIGINAL_ORDER=2;k.GREATEST_LOWER_BOUND=1;k.LEAST_UPPER_BOUND=2;k.prototype.eachMapping=function(a,b,d){b=b||null;switch(d||k.GENERATED_ORDER){case k.GENERATED_ORDER:d=this._generatedMappings;break;case k.ORIGINAL_ORDER:d=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var e=this.sourceRoot;d.map(function(a){var b=null===a.source?null:this._sources.at(a.source);null!=b&&null!=e&&(b=c.join(e,b));return{source:b,generatedLine:a.generatedLine,
|
|
generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:null===a.name?null:this._names.at(a.name)}},this).forEach(a,b)};k.prototype.allGeneratedPositionsFor=function(a){var d=c.getArg(a,"line"),e={source:c.getArg(a,"source"),originalLine:d,originalColumn:c.getArg(a,"column",0)};null!=this.sourceRoot&&(e.source=c.relative(this.sourceRoot,e.source));if(!this._sources.has(e.source))return[];e.source=this._sources.indexOf(e.source);var f=[];e=this._findMapping(e,
|
|
this._originalMappings,"originalLine","originalColumn",c.compareByOriginalPositions,b.LEAST_UPPER_BOUND);if(0<=e){var h=this._originalMappings[e];if(void 0===a.column)for(d=h.originalLine;h&&h.originalLine===d;)f.push({line:c.getArg(h,"generatedLine",null),column:c.getArg(h,"generatedColumn",null),lastColumn:c.getArg(h,"lastGeneratedColumn",null)}),h=this._originalMappings[++e];else for(a=h.originalColumn;h&&h.originalLine===d&&h.originalColumn==a;)f.push({line:c.getArg(h,"generatedLine",null),column:c.getArg(h,
|
|
"generatedColumn",null),lastColumn:c.getArg(h,"lastGeneratedColumn",null)}),h=this._originalMappings[++e]}return f};g.SourceMapConsumer=k;h.prototype=Object.create(k.prototype);h.prototype.consumer=k;h.fromSourceMap=function(a){var b=Object.create(h.prototype),d=b._names=p.fromArray(a._names.toArray(),!0),e=b._sources=p.fromArray(a._sources.toArray(),!0);b.sourceRoot=a._sourceRoot;b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot);b.file=a._file;a=a._mappings.toArray().slice();
|
|
for(var k=b.__generatedMappings=[],g=b.__originalMappings=[],m=0,l=a.length;m<l;m++){var L=a[m],C=new f;C.generatedLine=L.generatedLine;C.generatedColumn=L.generatedColumn;L.source&&(C.source=e.indexOf(L.source),C.originalLine=L.originalLine,C.originalColumn=L.originalColumn,L.name&&(C.name=d.indexOf(L.name)),g.push(C));k.push(C)}q(b.__originalMappings,c.compareByOriginalPositions);return b};h.prototype._version=3;Object.defineProperty(h.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return null!=
|
|
this.sourceRoot?c.join(this.sourceRoot,a):a},this)}});h.prototype._parseMappings=function(a,b){for(var d=1,e=0,h=0,k=0,g=0,n=0,l=a.length,p=0,F={},K={},M=[],B=[],I,D,E,P,y;p<l;)if(";"===a.charAt(p))d++,p++,e=0;else if(","===a.charAt(p))p++;else{I=new f;I.generatedLine=d;for(P=p;P<l&&!this._charIsMappingSeparator(a,P);P++);D=a.slice(p,P);if(E=F[D])p+=D.length;else{for(E=[];p<P;)m.decode(a,p,K),y=K.value,p=K.rest,E.push(y);if(2===E.length)throw Error("Found a source, but no line and column");if(3===
|
|
E.length)throw Error("Found a source and line, but no column");F[D]=E}I.generatedColumn=e+E[0];e=I.generatedColumn;1<E.length&&(I.source=g+E[1],g+=E[1],I.originalLine=h+E[2],h=I.originalLine,I.originalLine+=1,I.originalColumn=k+E[3],k=I.originalColumn,4<E.length&&(I.name=n+E[4],n+=E[4]));B.push(I);"number"===typeof I.originalLine&&M.push(I)}q(B,c.compareByGeneratedPositionsDeflated);this.__generatedMappings=B;q(M,c.compareByOriginalPositions);this.__originalMappings=M};h.prototype._findMapping=function(a,
|
|
c,d,f,h,k){if(0>=a[d])throw new TypeError("Line must be greater than or equal to 1, got "+a[d]);if(0>a[f])throw new TypeError("Column must be greater than or equal to 0, got "+a[f]);return b.search(a,c,h,k)};h.prototype.computeColumnSpans=function(){for(var a=0;a<this._generatedMappings.length;++a){var b=this._generatedMappings[a];if(a+1<this._generatedMappings.length){var c=this._generatedMappings[a+1];if(b.generatedLine===c.generatedLine){b.lastGeneratedColumn=c.generatedColumn-1;continue}}b.lastGeneratedColumn=
|
|
Infinity}};h.prototype.originalPositionFor=function(a){var b={generatedLine:c.getArg(a,"line"),generatedColumn:c.getArg(a,"column")};a=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",c.compareByGeneratedPositionsDeflated,c.getArg(a,"bias",k.GREATEST_LOWER_BOUND));if(0<=a&&(a=this._generatedMappings[a],a.generatedLine===b.generatedLine)){b=c.getArg(a,"source",null);null!==b&&(b=this._sources.at(b),null!=this.sourceRoot&&(b=c.join(this.sourceRoot,b)));var d=c.getArg(a,
|
|
"name",null);null!==d&&(d=this._names.at(d));return{source:b,line:c.getArg(a,"originalLine",null),column:c.getArg(a,"originalColumn",null),name:d}}return{source:null,line:null,column:null,name:null}};h.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==a}):!1};h.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;null!=this.sourceRoot&&(a=c.relative(this.sourceRoot,
|
|
a));if(this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var d;if(null!=this.sourceRoot&&(d=c.urlParse(this.sourceRoot))){var e=a.replace(/^file:\/\//,"");if("file"==d.scheme&&this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];if((!d.path||"/"==d.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(b)return null;throw Error('"'+a+'" is not in the SourceMap.');};h.prototype.generatedPositionFor=function(a){var b=
|
|
c.getArg(a,"source");null!=this.sourceRoot&&(b=c.relative(this.sourceRoot,b));if(!this._sources.has(b))return{line:null,column:null,lastColumn:null};b=this._sources.indexOf(b);b={source:b,originalLine:c.getArg(a,"line"),originalColumn:c.getArg(a,"column")};a=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",c.compareByOriginalPositions,c.getArg(a,"bias",k.GREATEST_LOWER_BOUND));return 0<=a&&(a=this._originalMappings[a],a.source===b.source)?{line:c.getArg(a,"generatedLine",
|
|
null),column:c.getArg(a,"generatedColumn",null),lastColumn:c.getArg(a,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};g.BasicSourceMapConsumer=h;d.prototype=Object.create(k.prototype);d.prototype.constructor=k;d.prototype._version=3;Object.defineProperty(d.prototype,"sources",{get:function(){for(var a=[],b=0;b<this._sections.length;b++)for(var c=0;c<this._sections[b].consumer.sources.length;c++)a.push(this._sections[b].consumer.sources[c]);return a}});d.prototype.originalPositionFor=
|
|
function(a){var d={generatedLine:c.getArg(a,"line"),generatedColumn:c.getArg(a,"column")},e=b.search(d,this._sections,function(a,b){var c=a.generatedLine-b.generatedOffset.generatedLine;return c?c:a.generatedColumn-b.generatedOffset.generatedColumn});return(e=this._sections[e])?e.consumer.originalPositionFor({line:d.generatedLine-(e.generatedOffset.generatedLine-1),column:d.generatedColumn-(e.generatedOffset.generatedLine===d.generatedLine?e.generatedOffset.generatedColumn-1:0),bias:a.bias}):{source:null,
|
|
line:null,column:null,name:null}};d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(a){return a.consumer.hasContentsOfAllSources()})};d.prototype.sourceContentFor=function(a,b){for(var c=0;c<this._sections.length;c++){var d=this._sections[c].consumer.sourceContentFor(a,!0);if(d)return d}if(b)return null;throw Error('"'+a+'" is not in the SourceMap.');};d.prototype.generatedPositionFor=function(a){for(var b=0;b<this._sections.length;b++){var d=this._sections[b];if(-1!==
|
|
d.consumer.sources.indexOf(c.getArg(a,"source"))){var e=d.consumer.generatedPositionFor(a);if(e)return{line:e.line+(d.generatedOffset.generatedLine-1),column:e.column+(d.generatedOffset.generatedLine===e.line?d.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};d.prototype._parseMappings=function(a,b){this.__generatedMappings=[];this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var e=this._sections[d],f=e.consumer._generatedMappings,h=0;h<f.length;h++){var k=
|
|
f[h],g=e.consumer._sources.at(k.source);null!==e.consumer.sourceRoot&&(g=c.join(e.consumer.sourceRoot,g));this._sources.add(g);g=this._sources.indexOf(g);var m=e.consumer._names.at(k.name);this._names.add(m);m=this._names.indexOf(m);k={source:g,generatedLine:k.generatedLine+(e.generatedOffset.generatedLine-1),generatedColumn:k.generatedColumn+(e.generatedOffset.generatedLine===k.generatedLine?e.generatedOffset.generatedColumn-1:0),originalLine:k.originalLine,originalColumn:k.originalColumn,name:m};
|
|
this.__generatedMappings.push(k);"number"===typeof k.originalLine&&this.__originalMappings.push(k)}q(this.__generatedMappings,c.compareByGeneratedPositionsDeflated);q(this.__originalMappings,c.compareByOriginalPositions)};g.IndexedSourceMapConsumer=d},{"./array-set":318,"./base64-vlq":319,"./binary-search":321,"./quick-sort":323,"./util":327}],325:[function(a,l,g){function k(a){a||(a={});this._file=f.getArg(a,"file",null);this._sourceRoot=f.getArg(a,"sourceRoot",null);this._skipValidation=f.getArg(a,
|
|
"skipValidation",!1);this._sources=new d;this._names=new d;this._mappings=new c;this._sourcesContents=null}var h=a("./base64-vlq"),f=a("./util"),d=a("./array-set").ArraySet,c=a("./mapping-list").MappingList;k.prototype._version=3;k.fromSourceMap=function(a){var b=a.sourceRoot,c=new k({file:a.file,sourceRoot:b});a.eachMapping(function(a){var d={generated:{line:a.generatedLine,column:a.generatedColumn}};null!=a.source&&(d.source=a.source,null!=b&&(d.source=f.relative(b,d.source)),d.original={line:a.originalLine,
|
|
column:a.originalColumn},null!=a.name&&(d.name=a.name));c.addMapping(d)});a.sources.forEach(function(b){var d=a.sourceContentFor(b);null!=d&&c.setSourceContent(b,d)});return c};k.prototype.addMapping=function(a){var b=f.getArg(a,"generated"),c=f.getArg(a,"original",null),d=f.getArg(a,"source",null);a=f.getArg(a,"name",null);this._skipValidation||this._validateMapping(b,c,d,a);null!=d&&(d=String(d),this._sources.has(d)||this._sources.add(d));null!=a&&(a=String(a),this._names.has(a)||this._names.add(a));
|
|
this._mappings.add({generatedLine:b.line,generatedColumn:b.column,originalLine:null!=c&&c.line,originalColumn:null!=c&&c.column,source:d,name:a})};k.prototype.setSourceContent=function(a,c){var b=a;null!=this._sourceRoot&&(b=f.relative(this._sourceRoot,b));null!=c?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[f.toSetString(b)]=c):this._sourcesContents&&(delete this._sourcesContents[f.toSetString(b)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=
|
|
null))};k.prototype.applySourceMap=function(a,c,h){var b=c;if(null==c){if(null==a.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');b=a.file}var e=this._sourceRoot;null!=e&&(b=f.relative(e,b));var k=new d,g=new d;this._mappings.unsortedForEach(function(c){if(c.source===b&&null!=c.originalLine){var d=a.originalPositionFor({line:c.originalLine,column:c.originalColumn});null!=d.source&&(c.source=
|
|
d.source,null!=h&&(c.source=f.join(h,c.source)),null!=e&&(c.source=f.relative(e,c.source)),c.originalLine=d.line,c.originalColumn=d.column,null!=d.name&&(c.name=d.name))}d=c.source;null==d||k.has(d)||k.add(d);c=c.name;null==c||g.has(c)||g.add(c)},this);this._sources=k;this._names=g;a.sources.forEach(function(b){var c=a.sourceContentFor(b);null!=c&&(null!=h&&(b=f.join(h,b)),null!=e&&(b=f.relative(e,b)),this.setSourceContent(b,c))},this)};k.prototype._validateMapping=function(a,c,d,f){if(!(a&&"line"in
|
|
a&&"column"in a&&0<a.line&&0<=a.column&&!c&&!d&&!f||a&&"line"in a&&"column"in a&&c&&"line"in c&&"column"in c&&0<a.line&&0<=a.column&&0<c.line&&0<=c.column&&d))throw Error("Invalid mapping: "+JSON.stringify({generated:a,source:d,original:c,name:f}));};k.prototype._serializeMappings=function(){for(var a=0,c=1,d=0,k=0,e=0,g=0,l="",t,u,w,x=this._mappings.toArray(),A=0,L=x.length;A<L;A++){u=x[A];t="";if(u.generatedLine!==c)for(a=0;u.generatedLine!==c;)t+=";",c++;else if(0<A){if(!f.compareByGeneratedPositionsInflated(u,
|
|
x[A-1]))continue;t+=","}t+=h.encode(u.generatedColumn-a);a=u.generatedColumn;null!=u.source&&(w=this._sources.indexOf(u.source),t+=h.encode(w-g),g=w,t+=h.encode(u.originalLine-1-k),k=u.originalLine-1,t+=h.encode(u.originalColumn-d),d=u.originalColumn,null!=u.name&&(u=this._names.indexOf(u.name),t+=h.encode(u-e),e=u));l+=t}return l};k.prototype._generateSourcesContent=function(a,c){return a.map(function(a){if(!this._sourcesContents)return null;null!=c&&(a=f.relative(c,a));a=f.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,
|
|
a)?this._sourcesContents[a]:null},this)};k.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};null!=this._file&&(a.file=this._file);null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot);this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot));return a};k.prototype.toString=function(){return JSON.stringify(this.toJSON())};g.SourceMapGenerator=k},{"./array-set":318,
|
|
"./base64-vlq":319,"./mapping-list":322,"./util":327}],326:[function(a,l,g){function k(a,b,d,f,h){this.children=[];this.sourceContents={};this.line=null==a?null:a;this.column=null==b?null:b;this.source=null==d?null:d;this.name=null==h?null:h;this.$$$isSourceNode$$$=!0;null!=f&&this.add(f)}var h=a("./source-map-generator").SourceMapGenerator,f=a("./util"),d=/(\r?\n)/;k.fromStringWithSourceMap=function(a,b,h){function c(a,b){if(null===a||void 0===a.source)g.add(b);else{var c=h?f.join(h,a.source):a.source;
|
|
g.add(new k(a.originalLine,a.originalColumn,c,b,a.name))}}var g=new k,e=a.split(d),n=function(){var a=e.shift(),b=e.shift()||"";return a+b},l=1,p=0,u=null;b.eachMapping(function(a){if(null!==u)if(l<a.generatedLine)c(u,n()),l++,p=0;else{var b=e[0];var d=b.substr(0,a.generatedColumn-p);e[0]=b.substr(a.generatedColumn-p);p=a.generatedColumn;c(u,d);u=a;return}for(;l<a.generatedLine;)g.add(n()),l++;p<a.generatedColumn&&(b=e[0],g.add(b.substr(0,a.generatedColumn)),e[0]=b.substr(a.generatedColumn),p=a.generatedColumn);
|
|
u=a},this);0<e.length&&(u&&c(u,n()),g.add(e.join("")));b.sources.forEach(function(a){var c=b.sourceContentFor(a);null!=c&&(null!=h&&(a=f.join(h,a)),g.setSourceContent(a,c))});return g};k.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(a){this.add(a)},this);else if(a.$$$isSourceNode$$$||"string"===typeof a)a&&this.children.push(a);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);return this};k.prototype.prepend=function(a){if(Array.isArray(a))for(var b=
|
|
a.length-1;0<=b;b--)this.prepend(a[b]);else if(a.$$$isSourceNode$$$||"string"===typeof a)this.children.unshift(a);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);return this};k.prototype.walk=function(a){for(var b,c=0,d=this.children.length;c<d;c++)b=this.children[c],b.$$$isSourceNode$$$?b.walk(a):""!==b&&a(b,{source:this.source,line:this.line,column:this.column,name:this.name})};k.prototype.join=function(a){var b,c=this.children.length;if(0<
|
|
c){var d=[];for(b=0;b<c-1;b++)d.push(this.children[b]),d.push(a);d.push(this.children[b]);this.children=d}return this};k.prototype.replaceRight=function(a,b){var c=this.children[this.children.length-1];c.$$$isSourceNode$$$?c.replaceRight(a,b):"string"===typeof c?this.children[this.children.length-1]=c.replace(a,b):this.children.push("".replace(a,b));return this};k.prototype.setSourceContent=function(a,b){this.sourceContents[f.toSetString(a)]=b};k.prototype.walkSourceContents=function(a){for(var b=
|
|
0,c=this.children.length;b<c;b++)this.children[b].$$$isSourceNode$$$&&this.children[b].walkSourceContents(a);var d=Object.keys(this.sourceContents);b=0;for(c=d.length;b<c;b++)a(f.fromSetString(d[b]),this.sourceContents[d[b]])};k.prototype.toString=function(){var a="";this.walk(function(b){a+=b});return a};k.prototype.toStringWithSourceMap=function(a){var b="",c=1,d=0,f=new h(a),e=!1,k=null,g=null,l=null,u=null;this.walk(function(a,h){b+=a;null!==h.source&&null!==h.line&&null!==h.column?(k===h.source&&
|
|
g===h.line&&l===h.column&&u===h.name||f.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:c,column:d},name:h.name}),k=h.source,g=h.line,l=h.column,u=h.name,e=!0):e&&(f.addMapping({generated:{line:c,column:d}}),k=null,e=!1);for(var m=0,n=a.length;m<n;m++)10===a.charCodeAt(m)?(c++,d=0,m+1===n?(k=null,e=!1):e&&f.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:c,column:d},name:h.name})):d++});this.walkSourceContents(function(a,b){f.setSourceContent(a,
|
|
b)});return{code:b,map:f}};g.SourceNode=k},{"./source-map-generator":325,"./util":327}],327:[function(a,l,g){function k(a){return(a=a.match(m))?{scheme:a[1],auth:a[2],host:a[3],port:a[4],path:a[5]}:null}function h(a){var b="";a.scheme&&(b+=a.scheme+":");b+="//";a.auth&&(b+=a.auth+"@");a.host&&(b+=a.host);a.port&&(b+=":"+a.port);a.path&&(b+=a.path);return b}function f(a){var b=a,c=k(a);if(c){if(!c.path)return a;b=c.path}a=g.isAbsolute(b);b=b.split(/\/+/);for(var d,e=0,f=b.length-1;0<=f;f--)d=b[f],
|
|
"."===d?b.splice(f,1):".."===d?e++:0<e&&(""===d?(b.splice(f+1,e),e=0):(b.splice(f,2),e--));b=b.join("/");""===b&&(b=a?"/":".");return c?(c.path=b,h(c)):b}function d(a){return a}function c(a){return p(a)?"$"+a:a}function b(a){return p(a)?a.slice(1):a}function p(a){if(!a)return!1;var b=a.length;if(9>b||95!==a.charCodeAt(b-1)||95!==a.charCodeAt(b-2)||111!==a.charCodeAt(b-3)||116!==a.charCodeAt(b-4)||111!==a.charCodeAt(b-5)||114!==a.charCodeAt(b-6)||112!==a.charCodeAt(b-7)||95!==a.charCodeAt(b-8)||95!==
|
|
a.charCodeAt(b-9))return!1;for(b-=10;0<=b;b--)if(36!==a.charCodeAt(b))return!1;return!0}g.getArg=function(a,b,c){if(b in a)return a[b];if(3===arguments.length)return c;throw Error('"'+b+'" is a required argument.');};var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,q=/^data:.+\,.+$/;g.urlParse=k;g.urlGenerate=h;g.normalize=f;g.join=function(a,b){""===a&&(a=".");""===b&&(b=".");var c=k(b),d=k(a);d&&(a=d.path||"/");if(c&&!c.scheme)return d&&(c.scheme=d.scheme),h(c);if(c||b.match(q))return b;
|
|
if(d&&!d.host&&!d.path)return d.host=b,h(d);c="/"===b.charAt(0)?b:f(a.replace(/\/+$/,"")+"/"+b);return d?(d.path=c,h(d)):c};g.isAbsolute=function(a){return"/"===a.charAt(0)||!!a.match(m)};g.relative=function(a,b){""===a&&(a=".");a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;a=a.slice(0,d);if(a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join("../")+b.substr(a.length+1)};a=!("__proto__"in Object.create(null));g.toSetString=a?d:c;g.fromSetString=
|
|
a?d:b;g.compareByOriginalPositions=function(a,b,c){var d=a.source-b.source;if(0!==d)return d;d=a.originalLine-b.originalLine;if(0!==d)return d;d=a.originalColumn-b.originalColumn;if(0!==d||c)return d;d=a.generatedColumn-b.generatedColumn;if(0!==d)return d;d=a.generatedLine-b.generatedLine;return 0!==d?d:a.name-b.name};g.compareByGeneratedPositionsDeflated=function(a,b,c){var d=a.generatedLine-b.generatedLine;if(0!==d)return d;d=a.generatedColumn-b.generatedColumn;if(0!==d||c)return d;d=a.source-b.source;
|
|
if(0!==d)return d;d=a.originalLine-b.originalLine;if(0!==d)return d;d=a.originalColumn-b.originalColumn;return 0!==d?d:a.name-b.name};g.compareByGeneratedPositionsInflated=function(a,b){var c=a.generatedLine-b.generatedLine;if(0!==c)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c)return c;c=a.source;var d=b.source;c=c===d?0:c>d?1:-1;if(0!==c)return c;c=a.originalLine-b.originalLine;if(0!==c)return c;c=a.originalColumn-b.originalColumn;0===c&&(c=a.name,d=b.name,c=c===d?0:c>d?1:-1);return c}},
|
|
{}],328:[function(a,l,g){g.SourceMapGenerator=a("./lib/source-map-generator").SourceMapGenerator;g.SourceMapConsumer=a("./lib/source-map-consumer").SourceMapConsumer;g.SourceNode=a("./lib/source-node").SourceNode},{"./lib/source-map-consumer":324,"./lib/source-map-generator":325,"./lib/source-node":326}],329:[function(a,l,g){a=function(){var a=function(a){var f=a,d={a:0,b:0,c:0},c=[];var b=function(b,h){var k;if(b.test(f)){var e=f.match(b);var g=0;for(k=e.length;g<k;g+=1){d[h]+=1;var m=e[g];var l=
|
|
f.indexOf(m);var p=m.length;c.push({selector:a.substr(l,p),type:h,index:l,length:p});f=f.replace(m,Array(p+1).join(" "))}}};(function(){var a=function(a){var b;if(a.test(f)){a=f.match(a);var c=0;for(b=a.length;c<b;c+=1){var d=a[c];f=f.replace(d,Array(d.length+1).join("A"))}}};a(/\\[0-9A-Fa-f]{6}\s?/g);a(/\\[0-9A-Fa-f]{1,5}\s/g);a(/\\./g)})();(function(){var a=/:not\(([^\)]*)\)/g;a.test(f)&&(f=f.replace(a," $1 "))})();(function(){var a=/{[^]*/gm,b;if(a.test(f)){a=f.match(a);var c=0;for(b=a.length;c<
|
|
b;c+=1){var d=a[c];f=f.replace(d,Array(d.length+1).join(" "))}}})();b(/(\[[^\]]+\])/g,"b");b(/(#[^\#\s\+>~\.\[:]+)/g,"a");b(/(\.[^\s\+>~\.\[:]+)/g,"b");b(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c");b(/(:[\w-]+\([^\)]*\))/gi,"b");b(/(:[^\s\+>~\.\[:]+)/g,"b");f=f.replace(/[\*\s\+>~]/g," ");f=f.replace(/[#\.]/g," ");b(/([^\s\+>~\.\[:]+)/g,"c");c.sort(function(a,b){return a.index-b.index});return{selector:a,specificity:"0,"+d.a.toString()+","+d.b.toString()+","+d.c.toString(),
|
|
specificityArray:[0,d.a,d.b,d.c],parts:c}};return{calculate:function(h){var f,d=[];h=h.split(",");var c=0;for(f=h.length;c<f;c+=1){var b=h[c];0<b.length&&d.push(a(b))}return d},compare:function(h,f){var d;if("string"===typeof h){if(-1!==h.indexOf(","))throw"Invalid CSS selector";var c=a(h).specificityArray}else if(Array.isArray(h)){if(4!==h.filter(function(a){return"number"===typeof a}).length)throw"Invalid specificity array";c=h}else throw"Invalid CSS selector or specificity array";if("string"===
|
|
typeof f){if(-1!==f.indexOf(","))throw"Invalid CSS selector";var b=a(f).specificityArray}else if(Array.isArray(f)){if(4!==f.filter(function(a){return"number"===typeof a}).length)throw"Invalid specificity array";b=f}else throw"Invalid CSS selector or specificity array";for(d=0;4>d;d+=1){if(c[d]<b[d])return-1;if(c[d]>b[d])return 1}return 0}}}();"undefined"!==typeof g&&(g.calculate=a.calculate,g.compare=a.compare)},{}],330:[function(a,l,g){var k=a("ansi-regex")();l.exports=function(a){return"string"===
|
|
typeof a?a.replace(k,""):a}},{"ansi-regex":43}],331:[function(a,l,g){l.exports=function(a,h){function f(a,b){var d=a.length;return 1===d&&c[b]!==a||c.substr(b,d)!==a?!1:{insideParens:K,insideFunctionArguments:M,insideComment:C,insideString:L,startIndex:b,endIndex:b+d,target:a}}function d(a){if(!A||K)if(!n||!K)if(!x||M)if(!e||!M)if(!u||L)if(!t||C)I++,h(a,I)}var c=a.source,b=a.target,k=a.comments?"skip"===a.comments:!0,g=a.strings?"skip"===a.strings:!0,l=a.functionNames?"skip"===a.functionNames:!0,
|
|
e="skip"===a.functionArguments,n="skip"===a.parentheticals,r=!1;Object.keys(a).forEach(function(b){if("only"===a[b]){if(r)throw Error('Only one syntax feature option can be the "only" one to check');r=!0}});for(var t="only"===a.comments,u="only"===a.strings,w="only"===a.functionNames,x="only"===a.functionArguments,A="only"===a.parentheticals,L=!1,C=!1,F=!1,K=!1,M=!1,B=0,I=0,D,E=Array.isArray(b),P=function(){return E?function(a){for(var c=0,d=b.length;c<d;c++){var e=f(b[c],a);if(e)return e}return!1}:
|
|
f.bind(null,b)}(),y=0,z=c.length;y<z;y++){var H=c[y];if(!L&&!C&&"/"===H&&"\\"!==c[y-1]){if("*"===c[y+1]){C=!0;continue}if("/"===c[y+1]){F=C=!0;continue}}if(C){if(!F&&"*"===H&&"\\"!==c[y-1]&&"/"===c[y+1]&&"/"!==c[y-1]){C=!1;continue}F&&"\n"===H&&(F=C=!1);if(k)continue}if(C||L||'"'!==H&&"'"!==H){if(L){if(H===D){if("\\"===c[y-1])continue;L=!1;continue}if(g)continue}if(L||C||"("!==H)if(K&&")"===H)B--,")"===b&&d(P(y)),0===B&&(M=K=!1);else{if(H=/^[a-zA-Z]*\(/.test(c.slice(y)),!l||!H)if(!w||H)if(H=P(y))if(d(H),
|
|
a.once)break}else B++,K=!0,/[a-zA-Z]/.test(c[y-1])&&(M=!0),"("===b&&d(P(y))}else"\\"!==c[y-1]&&(D=H,L=!0,b===H&&d(P(y)))}}},{}],332:[function(a,l,g){var k=a("lodash");l.exports=function(a,f){function d(a){l("stylelint-disable-line",a.text).forEach(function(c){b(a.source.start.line,c,a)})}function c(a){l("stylelint-disable-next-line",a.text).forEach(function(c){b(a.source.start.line+1,c,a)})}function b(a,b,c){if(r("all"))throw c.error("All rules have already been disabled",{plugin:"stylelint"});if(r(b))throw c.error('"'+
|
|
b+'" has already been disabled',{plugin:"stylelint"});"all"===b?Object.keys(t).forEach(function(b){e(a,b);n(a,b)}):(e(a,b),n(a,b))}function h(a){l("stylelint-disable",a.text).forEach(function(b){if("all"===b){if(r("all"))throw a.error("All rules have already been disabled",{plugin:"stylelint"});Object.keys(t).forEach(function(b){e(a.source.start.line,b)})}else{if(r(b))throw a.error('"'+b+'" has already been disabled',{plugin:"stylelint"});e(a.source.start.line,b)}})}function g(a){l("stylelint-enable",
|
|
a.text).forEach(function(b){if("all"===b){if(k.values(t).every(function(a){return k.isEmpty(a)||!!k.last(a.end)}))throw a.error("No rules have been disabled",{plugin:"stylelint"});Object.keys(t).forEach(function(b){k.get(k.last(t[b]),"end")||n(a.source.end.line,b)})}else if(r("all")&&void 0===t[b])t[b]?t[b].push(k.clone(k.last(t.all))):t[b]=k.cloneDeep(t.all),n(a.source.end.line,b);else if(r(b))n(a.source.end.line,b);else throw a.error('"'+b+'" has not been disabled',{plugin:"stylelint"});})}function l(a,
|
|
b){var c=k.compact(b.slice(a.length).split(",")).map(function(a){return a.trim()});return k.isEmpty(c)?["all"]:c}function e(a,b){var c={start:a};t[b]||(t[b]=k.cloneDeep(t.all));t[b].push(c)}function n(a,b){var c=k.last(t[b]);c&&(c.end=a)}function r(a){return void 0===t[a]||void 0===k.last(t[a])?!1:void 0===k.get(k.last(t[a]),"end")?!0:!1}f.stylelint=f.stylelint||{};var t={all:[]};f.stylelint.disabledRanges=t;a.walkComments(function(a){var b=a.text;if(0!==b.indexOf("stylelint-"))return f;0===b.indexOf("stylelint-disable-line")?
|
|
d(a):0===b.indexOf("stylelint-disable-next-line")?c(a):0===b.indexOf("stylelint-disable")?h(a):0===b.indexOf("stylelint-enable")&&g(a)});return f}},{lodash:164}],333:[function(a,l,g){function k(a,b,c,f){return Promise.resolve().then(function(){return f?e.merge(b,a._options.configOverrides):b}).then(function(b){return d(a,b,c)}).then(function(a){return h(a,c)})}function h(a,b){a.ignoreFiles&&(a.ignoreFiles=[].concat(a.ignoreFiles).map(function(a){return x.isAbsolute(a.replace(/^!/,""))?a:u(b,a)}));
|
|
a.plugins&&(a.plugins=[].concat(a.plugins).map(function(a){return t(b,a)}));a.processors&&(a.processors=f(a.processors,b));return a}function f(a,b){return(Array.isArray(a)?a:[a]).map(function(a){return"string"===typeof a?t(b,a):[t(b,a[0]),a[1]]})}function d(a,d,f){if(void 0===d["extends"])return Promise.resolve(d);var h=Array.isArray(d["extends"])?d["extends"]:[d["extends"]],k=e.omit(d,"extends");return h.reduce(function(d,e){return d.then(function(d){return c(a,d,f,e).then(function(a){return a?b(d,
|
|
a.config):d})})},Promise.resolve(k)).then(function(a){return b(a,k)})}function c(a,b,c,d){b=t(c,d);return a._extendExplorer.load(null,b)}function b(a,b){var c={};if(a.plugins||b.plugins)c.plugins=[],a.plugins&&(c.plugins=c.plugins.concat(a.plugins)),b.plugins&&(c.plugins=e.uniq(c.plugins.concat(b.plugins)));var d={};if(a.processors||b.processors)d.processors=[],a.processors&&(d.processors=d.processors.concat(a.processors)),b.processors&&(d.processors=e.uniq(d.processors.concat(b.processors)));var f=
|
|
{};if(a.rules||b.rules)f.rules=Object.assign({},a.rules,b.rules);return Object.assign({},a,b,d,c,f)}function p(a){if(!a.plugins)return a;var b=(Array.isArray(a.plugins)?a.plugins:[a.plugins]).reduce(function(a,b){var c=r(b);c=c["default"]||c;(Array.isArray(c)?c:[c]).forEach(function(c){if(!c.ruleName)throw n("stylelint v3+ requires plugins to expose a ruleName. "+('The plugin "'+b+'" is not doing this, so will not work ')+"with stylelint v3+. Please file an issue with the plugin.");if(!e.includes(c.ruleName,
|
|
"/"))throw n("stylelint v7+ requires plugin rules to be namspaced, i.e. only `plugin-namespace/plugin-rule-name` plugin rule names are supported. "+('The plugin rule "'+c.ruleName+'" does not do this, so will not work. ')+"Please file an issue with the plugin.");a[c.ruleName]=c.rule});return a},{});a.pluginFunctions=b;return a}function m(a){var b={};if(!a.rules)return a;Object.keys(a.rules).forEach(function(c){var d=e.get(a,["rules",c]),f=A[c]||e.get(a,["pluginFunctions",c]);if(!f)throw n("Undefined rule "+
|
|
c);b[c]=w(d,c,e.get(f,"primaryOptionArray"))});a.rules=b;return a}function q(a){if(!a.processors)return a;var b=[],c=[];[].concat(a.processors).forEach(function(a){var d=JSON.stringify(a);if(L.has(d))var e=L.get(d);else a=[].concat(a),e=a[1],a=r(a[0]),a=a["default"]||a,e=a(e),L.set(d,e);e&&e.code&&b.push(e.code);e&&e.result&&c.push(e.result)});a.codeProcessors=b;a.resultProcessors=c;return a}var e=a("lodash"),n=a("./utils/configurationError"),r=a("./dynamicRequire"),t=a("./utils/getModulePath"),u=
|
|
a("globjoin"),w=a("./normalizeRuleSettings"),x=a("path"),A=a("./rules"),L=new Map;l.exports={augmentConfigExtended:function(a,b){if(!b)return Promise.resolve(null);var c=x.dirname(b.filepath||""),d=e.omit(b.config,"ignoreFiles");return k(a,d,c).then(function(a){return{config:a,filepath:b.filepath}})},augmentConfigFull:function(a,b){if(!b)return Promise.resolve(null);var c=b.config,d=b.filepath;d=a._options.configBasedir||x.dirname(d||"");return k(a,c,d,!0).then(function(a){return p(a)}).then(function(a){return q(a)}).then(function(a){if(!a.rules)throw n('No rules found within configuration. Have you provided a "rules" property?');
|
|
return m(a)}).then(function(a){return{config:a,filepath:b.filepath}})}}},{"./dynamicRequire":337,"./normalizeRuleSettings":345,"./rules":429,"./utils/configurationError":530,"./utils/getModulePath":538,globjoin:99,lodash:164,path:14}],334:[function(a,l,g){l.exports=function(a,h){return{ruleName:a,rule:h}}},{}],335:[function(a,l,g){var k=a("lodash"),h=a("./augmentConfig"),f=a("cosmiconfig"),d=a("./createStylelintResult"),c=a("./getConfigForFile"),b=a("./getPostcssResult"),p=a("./isPathIgnored"),m=
|
|
a("./lintSource");l.exports=function(a){a=a||{};a={_options:a};a._fullExplorer=f("stylelint",{argv:!1,rcExtensions:!0,transform:k.partial(h.augmentConfigFull,a)});a._extendExplorer=f(null,{argv:!1,transform:k.partial(h.augmentConfigExtended,a)});a._specifiedConfigCache=new Map;a._postcssResultCache=new Map;a._createStylelintResult=k.partial(d,a);a._getPostcssResult=k.partial(b,a);a._lintSource=k.partial(m,a);a.getConfigForFile=k.partial(c,a);a.isPathIgnored=k.partial(p,a);return a}},{"./augmentConfig":333,
|
|
"./createStylelintResult":336,"./getConfigForFile":340,"./getPostcssResult":341,"./isPathIgnored":342,"./lintSource":343,cosmiconfig:63,lodash:164}],336:[function(a,l,g){var k=a("lodash");l.exports=function(a,f,d){var c=f.root.source?f.root.source.input.file||f.root.source.input.id:void 0,b=k.remove(f.messages,{stylelintType:"deprecation"}).map(function(a){return{text:a.text,reference:a.stylelintReference}}),h=k.remove(f.messages,{stylelintType:"invalidOption"}).map(function(a){return{text:a.text}}),
|
|
g=k.remove(f.messages,{stylelintType:"parseError"}),l={source:c,deprecations:b,invalidOptionWarnings:h,parseErrors:g,errored:f.stylelint.stylelintError,warnings:f.messages.map(function(a){return{line:a.line,column:a.column,rule:a.rule,severity:a.severity,text:a.text}}),ignored:f.stylelint.ignored,_postcssResult:f};return a.getConfigForFile(d).then(function(a){a=a.config;a.resultProcessors&&a.resultProcessors.forEach(function(a){(a=a(l,c))&&(l=a)});return l})}},{lodash:164}],337:[function(a,l,g){l.exports=
|
|
function(k){return a(k)}},{}],338:[function(a,l,g){l.exports={json:a("./jsonFormatter"),string:function(){},verbose:function(){}}},{"./jsonFormatter":339}],339:[function(a,l,g){var k=a("lodash");l.exports=function(a){a=a.map(function(a){return k.omitBy(a,function(a,c){return"_"===c[0]})});return JSON.stringify(a)}},{lodash:164}],340:[function(a,l,g){(function(k){var h=a("./augmentConfig").augmentConfigFull,f=a("./utils/configurationError"),d=a("path");l.exports=function(a,b){b=b||k.cwd();var c=a._options.config;
|
|
if(void 0!==c){var g=a._specifiedConfigCache.get(c);if(g)return g;g=h(a,{config:c,filepath:d.join(k.cwd(),"argument-config")});a._specifiedConfigCache.set(c,g);return g}return a._fullExplorer.load(b,a._options.configFile).then(function(b){return b?b:a._fullExplorer.load(k.cwd())}).then(function(a){if(!a)throw f("No configuration provided"+(b?" for "+b:""));return a})}}).call(this,a("_process"))},{"./augmentConfig":333,"./utils/configurationError":530,_process:16,path:14}],341:[function(a,l,g){function k(a){return new Promise(function(b,
|
|
c){f.readFile(a,"utf8",function(a,d){if(a)return c(a);b(d)})})}var h=a("./dynamicRequire"),f=a("fs"),d=a("postcss-less"),c=a("path");g=a("postcss");var b=a("postcss-scss"),p=a("sugarss"),m=g();l.exports=function(a){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},f=a._postcssResultCache.get(e.filePath);if(f)return Promise.resolve(f);var g;void 0!==e.code?g=Promise.resolve(e.code):e.filePath&&(g=k(e.filePath));if(!g)throw Error("code or filePath required");return g.then(function(f){var k=
|
|
a._options.customSyntax,g=a._options.syntax;if(k)try{g=h(k)}catch(L){throw Error("Cannot resolve custom syntax module "+k);}else if(k=c.extname(e.filePath||""),"scss"===g||!g&&".scss"===k)g=b;else if("less"===g||!g&&".less"===k)g=d;else if("sugarss"===g||!g&&".sss"===k)g=p;else if(g)throw Error("You must use a valid syntax option, either: scss, less or sugarss");k={};k.from=e.filePath;g&&!g.stringify?k.parser=g:k.syntax=g;var l=e.code?e.codeFilename:e.filePath,n=f;e.codeProcessors&&e.codeProcessors.forEach(function(a){n=
|
|
a(n,l)});return m.process(n,k)}).then(function(b){a._postcssResultCache.set(e.filePath,b);return b})}},{"./dynamicRequire":337,fs:1,path:14,postcss:293,"postcss-less":197,"postcss-scss":253,sugarss:598}],342:[function(a,l,g){(function(k){var h=a("micromatch"),f=a("path");l.exports=function(a,c){return c?a.getConfigForFile(c).then(function(a){a=a.config;var b=f.isAbsolute(c)?c:f.resolve(k.cwd(),c);return h(b,a.ignoreFiles).length?!0:!1}):Promise.resolve(!1)}}).call(this,a("_process"))},{_process:16,
|
|
micromatch:166,path:14}],343:[function(a,l,g){(function(k){function h(a,e,h){e.stylelint=e.stylelint||{};e.stylelint.ruleSeverities={};e.stylelint.customMessages={};e.stylelint.quiet=h.quiet;var k=e.root.toResult({stringifier:e.opts.syntax}).css.match(/\r?\n/),g=k?k[0]:b(),l=e.root;d(l,e);if(a._options.reportNeedlessDisables||a._options.ignoreDisables)e.stylelint.ignoreDisables=!0;var n=[];(h.rules?Object.keys(h.rules):[]).forEach(function(b){var d=m[b]||f.get(h,["pluginFunctions",b]);if(void 0===
|
|
d)throw c("Undefined rule "+b);var k=f.get(h,["rules",b]);if(null!==k&&null!==k[0]){var p=k[0],q=k[1];e.stylelint.ruleSeverities[b]=f.get(q,"severity",h.defaultSeverity||"error");e.stylelint.customMessages[b]=f.get(q,"message");b=Promise.resolve().then(function(){return d(p,q,{fix:a._options.fix,newline:g})(l,e)});n.push(b)}});return Promise.all(n)}var f=a("lodash"),d=a("./assignDisabledRanges"),c=a("./utils/configurationError"),b=a("./utils/getOsEol"),g=a("path"),m=a("./rules");l.exports=function(a,
|
|
b){b=b||{};if(!b.filePath&&void 0===b.code&&!b.existingPostcssResult)return Promise.reject(Error("You must provide filePath, code, or existingPostcssResult"));var c=void 0!==b.code,d=c?b.codeFilename:b.filePath;return void 0===d||g.isAbsolute(d)?a.isPathIgnored(d)["catch"](function(a){if(c&&"ENOENT"===a.code)return!1;throw a;}).then(function(e){return e?(e=b.existingPostcssResult||{root:{source:{input:{file:d}}},messages:[],stylelint:{stylelintError:null}},e.stylelint=e.stylelint||{},e.stylelint.ignored=
|
|
!0,e):a.getConfigForFile(a._options.configFile||d)["catch"](function(b){if(c&&"ENOENT"===b.code)return a.getConfigForFile(k.cwd());throw b;}).then(function(c){var e=c.config,f=b.existingPostcssResult;return f?h(a,f,e).then(function(){return f}):a._getPostcssResult({code:b.code,codeFilename:b.codeFilename,filePath:d,codeProcessors:e.codeProcessors}).then(function(b){return h(a,b,e).then(function(){return b})})})}):c?Promise.reject(Error("codeFilename must be an absolute path")):Promise.reject(Error("filePath must be an absolute path"))}}).call(this,
|
|
a("_process"))},{"./assignDisabledRanges":332,"./rules":429,"./utils/configurationError":530,"./utils/getOsEol":540,_process:16,lodash:164,path:14}],344:[function(a,l,g){function k(a,d){var c=a.rule,b=a.line;return d.start<=b&&(void 0!==d.end&&d.end>=b||void 0===d.end)&&(!d.rules||-1!==d.rules.indexOf(c))}var h=a("lodash");l.exports=function(a){var d=[];a.forEach(function(a){if(a._postcssResult){var b={source:a.source,ranges:[]},c=h.cloneDeep(a._postcssResult.stylelint.disabledRanges);c&&(a.warnings.forEach(function(a){var b=
|
|
c[a.rule];if(b){b=$jscomp.makeIterator(b.reverse());for(var d=b.next();!d.done;d=b.next())if(d=d.value,k(a,d)){d.used=!0;return}}b=$jscomp.makeIterator(c.all.reverse());for(d=b.next();!d.done;d=b.next())if(d=d.value,k(a,d)){d.used=!0;break}}),Object.keys(c).forEach(function(a){c[a].forEach(function(a){var c=b.ranges.find(function(b){return b.start===a.start&&b.end===a.end});a.used||c||b.ranges.push(a);a.used&&c&&h.remove(b.ranges,c)})}),b.ranges=h.sortBy(b.ranges,["start","end"]),d.push(b))}});return d}},
|
|
{lodash:164}],345:[function(a,l,g){var k=a("lodash"),h=a("./rules");l.exports=function(a,d,c){if(null===a)return null;if(!Array.isArray(a))return[a];if(null===a[0])return null;void 0===c&&(c=k.get(h[d],"primaryOptionArray"));return!c||1===a.length&&Array.isArray(a[0])||2===a.length&&!k.isPlainObject(a[0])&&k.isPlainObject(a[1])?a:[a]}},{"./rules":429,lodash:164}],346:[function(a,l,g){(function(k){var h=a("lodash"),f=a("./createStylelint"),d=a("path"),c=a("postcss");l.exports=c.plugin("stylelint",
|
|
function(a){a=a||{};var b=f(a.rules?{config:a}:a);return function(c,f){var e=a.from||h.get(c,"source.input.file");void 0===e||d.isAbsolute(e)||(e=d.join(k.cwd(),e));return b._lintSource({filePath:e,existingPostcssResult:f})}})}).call(this,a("_process"))},{"./createStylelint":335,_process:16,lodash:164,path:14,postcss:293}],347:[function(a,l,g){function k(){var a=Array.from(arguments);return new Set(a.reduce(function(a,c){return a.concat(h.toArray(c))},[]))}var h=a("lodash");a={};a.nonLengthUnits=
|
|
new Set("% s ms deg grad turn rad Hz kHz dpi dpcm dppx".split(" "));a.lengthUnits=new Set("em ex ch rem vh vw vmin vmax vm px mm cm in pt pc q fr".split(" "));a.units=k(a.nonLengthUnits,a.lengthUnits);a.colorFunctionNames=new Set("rgb rgba hsl hsla hwb gray".split(" "));a.camelCaseFunctionNames=new Set("translateX translateY translateZ scaleX scaleY scaleZ rotateX rotateY rotateZ skewX skewY".split(" "));a.basicKeywords=new Set(["initial","inherit","unset"]);a.fontFamilyKeywords=k(a.basicKeywords,
|
|
["serif","sans-serif","cursive","fantasy","monospace"]);a.fontWeightRelativeKeywords=new Set(["bolder","lighter"]);a.fontWeightAbsoluteKeywords=new Set(["bold"]);a.fontWeightNumericKeywords=new Set("100 200 300 400 500 600 700 800 900".split(" "));a.fontWeightKeywords=k(a.basicKeywords,a.fontWeightRelativeKeywords,a.fontWeightAbsoluteKeywords,a.fontWeightNumericKeywords);a.animationNameKeywords=k(a.basicKeywords,["none"]);a.animationTimingFunctionKeywords=k(a.basicKeywords,"linear ease ease-in ease-in-out ease-out step-start step-end steps cubic-bezier".split(" "));
|
|
a.animationIterationCountKeywords=new Set(["infinite"]);a.animationDirectionKeywords=k(a.basicKeywords,["normal","reverse","alternate","alternate-reverse"]);a.animationFillModeKeywords=new Set(["none","forwards","backwards","both"]);a.animationPlayStateKeywords=k(a.basicKeywords,["running","paused"]);a.animationShorthandKeywords=k(a.basicKeywords,a.animationNameKeywords,a.animationTimingFunctionKeywords,a.animationIterationCountKeywords,a.animationDirectionKeywords,a.animationFillModeKeywords,a.animationPlayStateKeywords);
|
|
a.levelOneAndTwoPseudoElements=new Set(["before","after","first-line","first-letter"]);a.levelThreePseudoElements=new Set("before after first-line first-letter selection spelling-error grammar-error backdrop marker placeholder shadow slotted content".split(" "));a.pseudoElements=k(a.levelOneAndTwoPseudoElements,a.levelThreePseudoElements);a.aNPlusBNotationPseudoClasses=new Set("nth-child nth-column nth-last-child nth-last-column nth-last-of-type nth-of-type".split(" "));a.linguisticPseudoClasses=
|
|
new Set(["dir","lang"]);a.atRulePagePseudoClasses=new Set(["first","right","left","blank"]);a.otherPseudoClasses=new Set("active any-link blank checked contains current default disabled drop empty enabled first-child first-of-type focus focus-ring focus-within fullscreen future has host host-context hover indeterminate in-range invalid last-child last-of-type link matches not only-child only-of-type optional out-of-range past placeholder-shown playing paused read-only read-write required root scope target user-error user-invalid val valid visited".split(" "));
|
|
a.webkitProprietaryPseudoElements=new Set("scrollbar scrollbar-button scrollbar-track scrollbar-track-piece scrollbar-thumb scrollbar-corner resize".split(" "));a.webkitProprietaryPseudoClasses=new Set("horizontal vertical decrement increment start end double-button single-button no-button corner-present window-inactive".split(" "));a.pseudoClasses=k(a.aNPlusBNotationPseudoClasses,a.linguisticPseudoClasses,a.otherPseudoClasses);a.shorthandTimeProperties=new Set(["transition","animation"]);a.longhandTimeProperties=
|
|
new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]);a.timeProperties=k(a.shorthandTimeProperties,a.longhandTimeProperties);a.camelCaseKeywords=new Set("optimizeSpeed optimizeQuality optimizeLegibility geometricPrecision currentColor crispEdges visiblePainted visibleFill visibleStroke sRGB linearRGB".split(" "));a.counterIncrementKeywords=k(a.basicKeywords,["none"]);a.counterResetKeywords=k(a.basicKeywords,["none"]);a.gridRowKeywords=k(a.basicKeywords,["auto",
|
|
"span"]);a.gridColumnKeywords=k(a.basicKeywords,["auto","span"]);a.gridAreaKeywords=k(a.basicKeywords,["auto","span"]);a.listStyleTypeKeywords=k(a.basicKeywords,"none disc circle square decimal cjk-decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-alpha lower-latin upper-alpha upper-latin arabic-indic armenian bengali cambodian cjk-earthly-branch cjk-ideographic devanagari ethiopic-numeric georgian gujarati gurmukhi hebrew hiragana hiragana-iroha japanese-formal japanese-informal kannada katakana katakana-iroha khmer korean-hangul-formal korean-hanja-formal korean-hanja-informal lao lower-armenian malayalam mongolian myanmar oriya persian simp-chinese-formal simp-chinese-informal tamil telugu thai tibetan trad-chinese-formal trad-chinese-informal upper-armenian disclosure-open disclosure-closed ethiopic-halehame ethiopic-halehame-am ethiopic-halehame-ti-er ethiopic-halehame-ti-et hangul hangul-consonant urdu".split(" "));
|
|
a.listStylePositionKeywords=k(a.basicKeywords,["inside","outside"]);a.listStyleImageKeywords=k(a.basicKeywords,["none"]);a.listStyleShorthandKeywords=k(a.basicKeywords,a.listStyleTypeKeywords,a.listStylePositionKeywords,a.listStyleImageKeywords);a.fontStyleKeywords=k(a.basicKeywords,["normal","italic","oblique"]);a.fontVariantKeywords=k(a.basicKeywords,"normal none historical-forms none common-ligatures no-common-ligatures discretionary-ligatures no-discretionary-ligatures historical-ligatures no-historical-ligatures contextual no-contextual small-caps small-caps all-small-caps petite-caps all-petite-caps unicase titling-caps lining-nums oldstyle-nums proportional-nums tabular-nums diagonal-fractions stacked-fractions ordinal slashed-zero jis78 jis83 jis90 jis04 simplified traditional full-width proportional-width ruby".split(" "));
|
|
a.fontStretchKeywords=k(a.basicKeywords,"semi-condensed condensed extra-condensed ultra-condensed semi-expanded expanded extra-expanded ultra-expanded".split(" "));a.fontSizeKeywords=k(a.basicKeywords,"xx-small x-small small medium large x-large xx-large larger smaller".split(" "));a.lineHeightKeywords=k(a.basicKeywords,["normal"]);a.fontShorthandKeywords=k(a.basicKeywords,a.fontStyleKeywords,a.fontVariantKeywords,a.fontWeightKeywords,a.fontStretchKeywords,a.fontSizeKeywords,a.lineHeightKeywords,
|
|
a.fontFamilyKeywords);a.keyframeSelectorKeywords=new Set(["from","to"]);a.atRules=new Set("apply annotation character-variant charset counter-style custom-media custom-selector document font-face font-feature-values import keyframes media namespace nest ornaments page styleset stylistic supports swash viewport".split(" "));a.deprecatedMediaFeatureNames=new Set("device-aspect-ratio device-height device-width max-device-aspect-ratio max-device-height max-device-width min-device-aspect-ratio min-device-height min-device-width".split(" "));
|
|
a.mediaFeatureNames=k(a.deprecatedMediaFeatureNames,"any-hover any-pointer aspect-ratio color color-gamut color-index grid height hover max-aspect-ratio max-color max-color-index max-height max-monochrome max-resolution max-width min-aspect-ratio min-color min-color-index min-height min-monochrome min-resolution min-width monochrome orientation overflow-block overflow-inline pointer resolution scan scripting update width".split(" "));a.systemColors=new Set("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".split(" "));
|
|
a.nonStandardHtmlTags=new Set("acronym applet basefont big blink center content dir font frame frameset hgroup isindex keygen listing marquee noembed plaintext spacer strike tt xmp".split(" "));l.exports=a},{lodash:164}],348:[function(a,l,g){l.exports={aliceblue:{hex:["#f0f8ff","#fff0f8ff"],func:[]},antiquewhite:{hex:["#faebd7","#fffaebd7"],func:[]},aqua:{hex:["#00ffff","#ff00ffff","#0ff","#f0ff"],func:[]},aquamarine:{hex:["#7fffd4","#ff7fffd4"],func:[]},azure:{hex:["#f0ffff","#fff0ffff"],func:[]},
|
|
beige:{hex:["#f5f5dc","#fff5f5dc"],func:[]},bisque:{hex:["#ffe4c4","#ffffe4c4"],func:[]},black:{hex:["#000000","#ff000000","#000","#f000"],func:[]},blanchedalmond:{hex:["#ffebcd","#ffffebcd"],func:[]},blue:{hex:["#0000ff","#ff0000ff","#00f","#f00f"],func:[]},blueviolet:{hex:["#8a2be2","#ff8a2be2"],func:[]},brown:{hex:["#a52a2a","#ffa52a2a"],func:[]},burlywood:{hex:["#deb887","#ffdeb887"],func:[]},cadetblue:{hex:["#5f9ea0","#ff5f9ea0"],func:[]},chartreuse:{hex:["#7fff00","#ff7fff00"],func:[]},chocolate:{hex:["#d2691e",
|
|
"#ffd2691e"],func:[]},coral:{hex:["#ff7f50","#ffff7f50"],func:[]},cornflowerblue:{hex:["#6495ed","#ff6495ed"],func:[]},cornsilk:{hex:["#fff8dc","#fffff8dc"],func:[]},crimson:{hex:["#dc143c","#ffdc143c"],func:[]},cyan:{hex:["#00ffff","#ff00ffff","#0ff","#f0ff"],func:[]},darkblue:{hex:["#00008b","#ff00008b"],func:[]},darkcyan:{hex:["#008b8b","#ff008b8b"],func:[]},darkgoldenrod:{hex:["#b8860b","#ffb8860b"],func:[]},darkgray:{hex:["#a9a9a9","#ffa9a9a9"],func:[]},darkgreen:{hex:["#006400","#ff006400"],
|
|
func:[]},darkgrey:{hex:["#a9a9a9","#ffa9a9a9"],func:[]},darkkhaki:{hex:["#bdb76b","#ffbdb76b"],func:[]},darkmagenta:{hex:["#8b008b","#ff8b008b"],func:[]},darkolivegreen:{hex:["#556b2f","#ff556b2f"],func:[]},darkorange:{hex:["#ff8c00","#ffff8c00"],func:[]},darkorchid:{hex:["#9932cc","#ff9932cc"],func:[]},darkred:{hex:["#8b0000","#ff8b0000"],func:[]},darksalmon:{hex:["#e9967a","#ffe9967a"],func:[]},darkseagreen:{hex:["#8fbc8f","#ff8fbc8f"],func:[]},darkslateblue:{hex:["#483d8b","#ff483d8b"],func:[]},
|
|
darkslategray:{hex:["#2f4f4f","#ff2f4f4f"],func:[]},darkslategrey:{hex:["#2f4f4f","#ff2f4f4f"],func:[]},darkturquoise:{hex:["#00ced1","#ff00ced1"],func:[]},darkviolet:{hex:["#9400d3","#ff9400d3"],func:[]},deeppink:{hex:["#ff1493","#ffff1493"],func:[]},deepskyblue:{hex:["#00bfff","#ff00bfff"],func:[]},dimgray:{hex:["#696969","#ff696969"],func:[]},dimgrey:{hex:["#696969","#ff696969"],func:[]},dodgerblue:{hex:["#1e90ff","#ff1e90ff"],func:[]},firebrick:{hex:["#b22222","#ffb22222"],func:[]},floralwhite:{hex:["#fffaf0",
|
|
"#fffffaf0"],func:[]},forestgreen:{hex:["#228b22","#ff228b22"],func:[]},fuchsia:{hex:["#ff00ff","#ffff00ff","#f0f","#ff0f"],func:[]},gainsboro:{hex:["#dcdcdc","#ffdcdcdc"],func:[]},ghostwhite:{hex:["#f8f8ff","#fff8f8ff"],func:[]},gold:{hex:["#ffd700","#ffffd700"],func:[]},goldenrod:{hex:["#daa520","#ffdaa520"],func:[]},gray:{hex:["#808080","#ff808080"],func:[]},green:{hex:["#008000","#ff008000"],func:[]},greenyellow:{hex:["#adff2f","#ffadff2f"],func:[]},grey:{hex:["#808080","#ff808080"],func:[]},
|
|
honeydew:{hex:["#f0fff0","#fff0fff0"],func:[]},hotpink:{hex:["#ff69b4","#ffff69b4"],func:[]},indianred:{hex:["#cd5c5c","#ffcd5c5c"],func:[]},indigo:{hex:["#4b0082","#ff4b0082"],func:[]},ivory:{hex:["#fffff0","#fffffff0"],func:[]},khaki:{hex:["#f0e68c","#fff0e68c"],func:[]},lavender:{hex:["#e6e6fa","#ffe6e6fa"],func:[]},lavenderblush:{hex:["#fff0f5","#fffff0f5"],func:[]},lawngreen:{hex:["#7cfc00","#ff7cfc00"],func:[]},lemonchiffon:{hex:["#fffacd","#fffffacd"],func:[]},lightblue:{hex:["#add8e6","#ffadd8e6"],
|
|
func:[]},lightcoral:{hex:["#f08080","#fff08080"],func:[]},lightcyan:{hex:["#e0ffff","#ffe0ffff"],func:[]},lightgoldenrodyellow:{hex:["#fafad2","#fffafad2"],func:[]},lightgray:{hex:["#d3d3d3","#ffd3d3d3"],func:[]},lightgreen:{hex:["#90ee90","#ff90ee90"],func:[]},lightgrey:{hex:["#d3d3d3","#ffd3d3d3"],func:[]},lightpink:{hex:["#ffb6c1","#ffffb6c1"],func:[]},lightsalmon:{hex:["#ffa07a","#ffffa07a"],func:[]},lightseagreen:{hex:["#20b2aa","#ff20b2aa"],func:[]},lightskyblue:{hex:["#87cefa","#ff87cefa"],
|
|
func:[]},lightslategray:{hex:["#778899","#ff778899","#789","#f789"],func:[]},lightslategrey:{hex:["#778899","#ff778899","#789","#f789"],func:[]},lightsteelblue:{hex:["#b0c4de","#ffb0c4de"],func:[]},lightyellow:{hex:["#ffffe0","#ffffffe0"],func:[]},lime:{hex:["#00ff00","#ff00ff00","#0f0","#f0f0"],func:[]},limegreen:{hex:["#32cd32","#ff32cd32"],func:[]},linen:{hex:["#faf0e6","#fffaf0e6"],func:[]},magenta:{hex:["#ff00ff","#ffff00ff","#f0f","#ff0f"],func:[]},maroon:{hex:["#800000","#ff800000"],func:[]},
|
|
mediumaquamarine:{hex:["#66cdaa","#ff66cdaa"],func:[]},mediumblue:{hex:["#0000cd","#ff0000cd"],func:[]},mediumorchid:{hex:["#ba55d3","#ffba55d3"],func:[]},mediumpurple:{hex:["#9370db","#ff9370db"],func:[]},mediumseagreen:{hex:["#3cb371","#ff3cb371"],func:[]},mediumslateblue:{hex:["#7b68ee","#ff7b68ee"],func:[]},mediumspringgreen:{hex:["#00fa9a","#ff00fa9a"],func:[]},mediumturquoise:{hex:["#48d1cc","#ff48d1cc"],func:[]},mediumvioletred:{hex:["#c71585","#ffc71585"],func:[]},midnightblue:{hex:["#191970",
|
|
"#ff191970"],func:[]},mintcream:{hex:["#f5fffa","#fff5fffa"],func:[]},mistyrose:{hex:["#ffe4e1","#ffffe4e1"],func:[]},moccasin:{hex:["#ffe4b5","#ffffe4b5"],func:[]},navajowhite:{hex:["#ffdead","#ffffdead"],func:[]},navy:{hex:["#000080","#ff000080"],func:[]},oldlace:{hex:["#fdf5e6","#fffdf5e6"],func:[]},olive:{hex:["#808000","#ff808000"],func:[]},olivedrab:{hex:["#6b8e23","#ff6b8e23"],func:[]},orange:{hex:["#ffa500","#ffffa500"],func:[]},orangered:{hex:["#ff4500","#ffff4500"],func:[]},orchid:{hex:["#da70d6",
|
|
"#ffda70d6"],func:[]},palegoldenrod:{hex:["#eee8aa","#ffeee8aa"],func:[]},palegreen:{hex:["#98fb98","#ff98fb98"],func:[]},paleturquoise:{hex:["#afeeee","#ffafeeee"],func:[]},palevioletred:{hex:["#db7093","#ffdb7093"],func:[]},papayawhip:{hex:["#ffefd5","#ffffefd5"],func:[]},peachpuff:{hex:["#ffdab9","#ffffdab9"],func:[]},peru:{hex:["#cd853f","#ffcd853f"],func:[]},pink:{hex:["#ffc0cb","#ffffc0cb"],func:[]},plum:{hex:["#dda0dd","#ffdda0dd"],func:[]},powderblue:{hex:["#b0e0e6","#ffb0e0e6"],func:[]},
|
|
purple:{hex:["#800080","#ff800080"],func:[]},rebeccapurple:{hex:["#663399","#ff663399","#639","#f639"],func:[]},red:{hex:["#ff0000","#ffff0000","#f00","#ff00"],func:[]},rosybrown:{hex:["#bc8f8f","#ffbc8f8f"],func:[]},royalblue:{hex:["#4169e1","#ff4169e1"],func:[]},saddlebrown:{hex:["#8b4513","#ff8b4513"],func:[]},salmon:{hex:["#fa8072","#fffa8072"],func:[]},sandybrown:{hex:["#f4a460","#fff4a460"],func:[]},seagreen:{hex:["#2e8b57","#ff2e8b57"],func:[]},seashell:{hex:["#fff5ee","#fffff5ee"],func:[]},
|
|
sienna:{hex:["#a0522d","#ffa0522d"],func:[]},silver:{hex:["#c0c0c0","#ffc0c0c0"],func:[]},skyblue:{hex:["#87ceeb","#ff87ceeb"],func:[]},slateblue:{hex:["#6a5acd","#ff6a5acd"],func:[]},slategray:{hex:["#708090","#ff708090"],func:[]},slategrey:{hex:["#708090","#ff708090"],func:[]},snow:{hex:["#fffafa","#fffffafa"],func:[]},springgreen:{hex:["#00ff7f","#ff00ff7f"],func:[]},steelblue:{hex:["#4682b4","#ff4682b4"],func:[]},tan:{hex:["#d2b48c","#ffd2b48c"],func:[]},teal:{hex:["#008080","#ff008080"],func:[]},
|
|
thistle:{hex:["#d8bfd8","#ffd8bfd8"],func:[]},tomato:{hex:["#ff6347","#ffff6347"],func:[]},turquoise:{hex:["#40e0d0","#ff40e0d0"],func:[]},violet:{hex:["#ee82ee","#ffee82ee"],func:[]},wheat:{hex:["#f5deb3","#fff5deb3"],func:[]},white:{hex:["#ffffff","#ffffffff","#fff","#ffff"],func:[]},whitesmoke:{hex:["#f5f5f5","#fff5f5f5"],func:[]},yellow:{hex:["#ffff00","#ffffff00","#ff0","#fff0"],func:[]},yellowgreen:{hex:["#9acd32","#ff9acd32"],func:[]}}},{}],349:[function(a,l,g){a={};a.acceptCustomIdents=new Set("animation animation-name font font-family counter-increment grid-row grid-column grid-area list-style list-style-type".split(" "));
|
|
l.exports=a},{}],350:[function(a,l,g){a={};a.mediaFeaturePunctuation=new Set(": = > >= < <=".split(" "));a.nonSpaceCombinators=new Set([">","+","~",">>>","/deep/"]);l.exports=a},{}],351:[function(a,l,g){l.exports={margin:["margin-top","margin-bottom","margin-left","margin-right"],padding:["padding-top","padding-bottom","padding-left","padding-right"],background:"background-image background-size background-position background-repeat background-origin background-clip background-attachment background-color".split(" "),
|
|
font:"font-style font-variant font-weight font-stretch font-size font-family line-height".split(" "),border:"border-top-width border-bottom-width border-left-width border-right-width border-top-style border-bottom-style border-left-style border-right-style border-top-color border-bottom-color border-left-color border-right-color".split(" "),"border-top":["border-top-width","border-top-style","border-top-color"],"border-bottom":["border-bottom-width","border-bottom-style","border-bottom-color"],"border-left":["border-left-width",
|
|
"border-left-style","border-left-color"],"border-right":["border-right-width","border-right-style","border-right-color"],"border-width":["border-top-width","border-bottom-width","border-left-width","border-right-width"],"border-style":["border-top-style","border-bottom-style","border-left-style","border-right-style"],"border-color":["border-top-color","border-bottom-color","border-left-color","border-right-color"],"list-style":["list-style-type","list-style-position","list-style-image"],"border-radius":["border-top-right-radius",
|
|
"border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"],transition:["transition-delay","transition-duration","transition-property","transition-timing-function"],animation:"animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode animation-play-state".split(" "),"border-block-end":["border-block-end-width","border-block-end-style","border-block-end-color"],"border-block-start":["border-block-start-width",
|
|
"border-block-start-style","border-block-start-color"],"border-image":["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"],"border-inline-end":["border-inline-end-width","border-inline-end-style","border-inline-end-color"],"border-inline-start":["border-inline-start-width","border-inline-start-style","border-inline-start-color"],"column-rule":["column-rule-width","column-rule-style","column-rule-color"],columns:["column-width","column-count"],
|
|
flex:["flex-grow","flex-shrink","flex-basis"],"flex-flow":["flex-direction","flex-wrap"],grid:"grid-template-rows grid-template-columns grid-template-areas grid-auto-rows grid-auto-columns grid-auto-flow grid-column-gap grid-row-gap".split(" "),"grid-area":["grid-row-start","grid-column-start","grid-row-end","grid-column-end"],"grid-column":["grid-column-start","grid-column-end"],"grid-gap":["grid-row-gap","grid-column-gap"],"grid-row":["grid-row-start","grid-row-end"],"grid-template":["grid-template-columns",
|
|
"grid-template-rows","grid-template-areas"],outline:["outline-color","outline-style","outline-width"],"text-decoration":["text-decoration-color","text-decoration-style","text-decoration-line"],"text-emphasis":["text-emphasis-style","text-emphasis-color"],mask:"mask-image mask-mode mask-position mask-size mask-repeat mask-origin mask-clip mask-composite".split(" ")}},{}],352:[function(a,l,g){var k=a("lodash"),h=a("postcss"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),
|
|
c=g("at-rule-blacklist",{rejected:function(a){return'Unexpected at-rule "'+a+'"'}});a=function(a){var b=[].concat(a);return function(a,g){d(g,"at-rule-blacklist",{actual:b,possible:[k.isString]})&&a.walkAtRules(function(a){var d=a.name;-1!==b.indexOf(h.vendor.unprefixed(d).toLowerCase())&&f({message:c.rejected(d),node:a,result:g,ruleName:"at-rule-blacklist"})})}};a.primaryOptionArray=!0;a.ruleName="at-rule-blacklist";a.messages=c;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,lodash:164,postcss:293}],353:[function(a,l,g){var k=a("lodash"),h=a("../../utils/addEmptyLineBefore"),f=a("../../utils/getPreviousNonSharedLineCommentNode"),d=a("../../utils/hasEmptyLine"),c=a("../../utils/isAfterCommentLine"),b=a("../../utils/isBlocklessAtRuleAfterBlocklessAtRule"),p=a("../../utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule"),m=a("../../utils/isFirstNested"),q=a("../../utils/optionsMatches"),e=a("../../utils/removeEmptyLinesBefore"),n=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var r=a("../../utils/validateOptions"),t=g("at-rule-empty-line-before",{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"});a=function(a,g,l){return function(u,w){r(w,"at-rule-empty-line-before",{actual:a,possible:["always","never"]},{actual:g,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","inside-block","blockless-after-same-name-blockless",
|
|
"blockless-after-blockless"],ignoreAtRules:[k.isString]},optional:!0})&&u.walkAtRules(function(k){var r=k.parent!==u;if(!(k===u.first||q(g,"ignoreAtRules",k.name)||q(g,"ignore","blockless-after-blockless")&&b(k)||q(g,"ignore","blockless-after-same-name-blockless")&&p(k)||q(g,"ignore","inside-block")&&r||q(g,"ignore","after-comment")&&c(k))){var x=d(k.raws.before),A="always"===a?!0:!1,L;if(L=q(g,"except","after-same-name"))L=(L=f(k))&&"atrule"===L.type&&L.name===k.name;if(L||q(g,"except","inside-block")&&
|
|
r||q(g,"except","first-nested")&&m(k)||q(g,"except","blockless-after-blockless")&&b(k)||q(g,"except","blockless-after-same-name-blockless")&&p(k))A=!A;A!==x&&(l.fix?A?h(k,l.newline):e(k,l.newline):n({message:A?t.expected:t.rejected,node:k,result:w,ruleName:"at-rule-empty-line-before"}))}})}};a.ruleName="at-rule-empty-line-before";a.messages=t;l.exports=a},{"../../utils/addEmptyLineBefore":522,"../../utils/getPreviousNonSharedLineCommentNode":541,"../../utils/hasEmptyLine":546,"../../utils/isAfterCommentLine":552,
|
|
"../../utils/isBlocklessAtRuleAfterBlocklessAtRule":554,"../../utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule":555,"../../utils/isFirstNested":563,"../../utils/optionsMatches":588,"../../utils/removeEmptyLinesBefore":591,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],354:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=g("at-rule-name-case",{expected:function(a,c){return'Expected "'+
|
|
a+'" to be "'+c+'"'}});a=function(a,c,b){return function(c,d){h(d,"at-rule-name-case",{actual:a,possible:["lower","upper"]})&&c.walkAtRules(function(c){var e=c.name,h="lower"===a?e.toLowerCase():e.toUpperCase();e!==h&&(b.fix?c.name=h:k({message:f.expected(e,h),node:c,ruleName:"at-rule-name-case",result:d}))})}};a.ruleName="at-rule-name-case";a.messages=f;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],355:[function(a,l,g){var k=a("../atRuleNameSpaceChecker");
|
|
g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("at-rule-name-newline-after",{expectedAfter:function(a){return'Expected newline after at-rule name "'+a+'"'}});a=function(a){var b=f("newline",a,d);return function(c,d){h(d,"at-rule-name-newline-after",{actual:a,possible:["always","always-multi-line"]})&&k({root:c,result:d,locationChecker:b.afterOneOnly,checkedRuleName:"at-rule-name-newline-after"})}};a.ruleName="at-rule-name-newline-after";
|
|
a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../atRuleNameSpaceChecker":361}],356:[function(a,l,g){var k=a("../atRuleNameSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("at-rule-name-space-after",{expectedAfter:function(a){return'Expected single space after at-rule name "'+a+'"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,
|
|
"at-rule-name-space-after",{actual:a,possible:["always","always-single-line"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"at-rule-name-space-after"})}};a.ruleName="at-rule-name-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../atRuleNameSpaceChecker":361}],357:[function(a,l,g){var k=a("lodash"),h=a("../../reference/keywordSets"),f=a("../../utils/optionsMatches"),d=a("postcss"),c=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=g("at-rule-no-unknown",{rejected:function(a){return'Unexpected unknown at-rule "'+a+'"'}});a=function(a,g){return function(e,l){b(l,"at-rule-no-unknown",{actual:a},{actual:g,possible:{ignoreAtRules:[k.isString]},optional:!0})&&e.walkAtRules(function(a){var b=a.name;f(g,"ignoreAtRules",a.name)||d.vendor.prefix(b)||h.atRules.has(b.toLowerCase())||c({message:p.rejected("@"+b),node:a,ruleName:"at-rule-no-unknown",result:l})})}};
|
|
a.ruleName="at-rule-no-unknown";a.messages=p;l.exports=a},{"../../reference/keywordSets":347,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],358:[function(a,l,g){var k=a("../../utils/hasBlock"),h=a("../../utils/nextNonCommentNode"),f=a("../../utils/rawNodeString"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("../../utils/whitespaceChecker"),p=
|
|
g("at-rule-semicolon-newline-after",{expectedAfter:function(){return'Expected newline after ";"'}});a=function(a){var g=b("newline",a,p);return function(b,l){c(l,"at-rule-semicolon-newline-after",{actual:a,possible:["always"]})&&b.walkAtRules(function(a){var b=a.next();b&&!k(a)&&(b=h(b))&&g.afterOneOnly({source:f(b),index:-1,err:function(b){d({message:b,node:a,index:a.toString().length+1,result:l,ruleName:"at-rule-semicolon-newline-after"})}})})}};a.ruleName="at-rule-semicolon-newline-after";a.messages=
|
|
p;l.exports=a},{"../../utils/hasBlock":544,"../../utils/nextNonCommentNode":586,"../../utils/rawNodeString":590,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],359:[function(a,l,g){var k=a("../../utils/hasBlock"),h=a("../../utils/rawNodeString"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=a("../../utils/whitespaceChecker"),b=g("at-rule-semicolon-space-before",{expectedBefore:function(){return'Expected single space before ";"'},
|
|
rejectedBefore:function(){return'Unexpected whitespace before ";"'}});a=function(a){var g=c("space",a,b);return function(b,c){d(c,"at-rule-semicolon-space-before",{actual:a,possible:["always","never"]})&&b.walkAtRules(function(a){if(!k(a)){var b=h(a);g.before({source:b,index:b.length,err:function(d){f({message:d,node:a,index:b.length-1,result:c,ruleName:"at-rule-semicolon-space-before"})}})}})}};a.ruleName="at-rule-semicolon-space-before";a.messages=b;l.exports=a},{"../../utils/hasBlock":544,"../../utils/rawNodeString":590,
|
|
"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],360:[function(a,l,g){var k=a("lodash"),h=a("postcss"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=g("at-rule-whitelist",{rejected:function(a){return'Unexpected at-rule "'+a+'"'}});a=function(a){var b=[].concat(a);return function(a,g){d(g,"at-rule-whitelist",{actual:b,possible:[k.isString]})&&a.walkAtRules(function(a){var d=
|
|
a.name;-1===b.indexOf(h.vendor.unprefixed(d).toLowerCase())&&f({message:c.rejected(d),node:a,result:g,ruleName:"at-rule-whitelist"})})}};a.primaryOptionArray=!0;a.ruleName="at-rule-whitelist";a.messages=c;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],361:[function(a,l,g){var k=a("../utils/isStandardSyntaxAtRule"),h=a("../utils/report");l.exports=function(a){function d(c,b,d){a.locationChecker({source:c,index:b,err:function(c){return h({message:c,
|
|
node:d,index:b,result:a.result,ruleName:a.checkedRuleName})},errTarget:"@"+d.name})}a.root.walkAtRules(function(a){k(a)&&d("@"+a.name+(a.raws.afterName||"")+a.params,a.name.length,a)})}},{"../utils/isStandardSyntaxAtRule":571,"../utils/report":592}],362:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/hasBlock"),f=a("../../utils/hasEmptyBlock"),d=a("../../utils/hasEmptyLine"),c=a("../../utils/isSingleLineString"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=
|
|
a("../../utils/validateOptions"),m=g("block-closing-brace-empty-line-before",{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"});a=function(a){return function(e,g){function l(e){if(h(e)&&!f(e)){var l=(e.raws.after||"").replace(/;+/,"");if(void 0!==l){var n=e.toString(),p=n.length-1;"\r"===n[p-1]&&--p;n="always-multi-line"!==a||c(k(e))?!1:!0;l=d(l);n!==l&&b({message:n?m.expected:m.rejected,result:g,ruleName:"block-closing-brace-empty-line-before",
|
|
node:e,index:p})}}}p(g,"block-closing-brace-empty-line-before",{actual:a,possible:["always-multi-line","never"]})&&(e.walkRules(l),e.walkAtRules(l))}};a.ruleName="block-closing-brace-empty-line-before";a.messages=m;l.exports=a},{"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,"../../utils/hasEmptyLine":546,"../../utils/isSingleLineString":570,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],363:[function(a,l,g){var k=
|
|
a("lodash"),h=a("../../utils/blockString"),f=a("../../utils/hasBlock"),d=a("../../utils/optionsMatches"),c=a("../../utils/rawNodeString"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=a("../../utils/whitespaceChecker"),q=g("block-closing-brace-newline-after",{expectedAfter:function(){return'Expected newline after "}"'},expectedAfterSingleLine:function(){return'Expected newline after "}" of a single-line block'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "}" of a single-line block'},
|
|
expectedAfterMultiLine:function(){return'Expected newline after "}" of a multi-line block'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "}" of a multi-line block'}});a=function(a,g){var e=m("newline",a,q);return function(l,m){function n(a){if(f(a)&&!d(g,"ignoreAtRules",a.name)){var k=a.next();if(k&&(k="comment"!==k.type||/[^ ]/.test(k.raws.before||"")||-1!==k.toString().indexOf("\n")?k:k.next())){var l=a.toString().length;(k=c(k))&&";"===k[0]&&(k=k.slice(1),l++);e.afterOneOnly({source:k,
|
|
index:-1,lineCheckStr:h(a),err:function(c){b({message:c,node:a,index:l,result:m,ruleName:"block-closing-brace-newline-after"})}})}}}p(m,"block-closing-brace-newline-after",{actual:a,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:g,possible:{ignoreAtRules:[k.isString]},optional:!0})&&(l.walkRules(n),l.walkAtRules(n))}};a.ruleName="block-closing-brace-newline-after";a.messages=q;l.exports=a},{"../../utils/blockString":525,"../../utils/hasBlock":544,
|
|
"../../utils/optionsMatches":588,"../../utils/rawNodeString":590,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,lodash:164}],364:[function(a,l,g){var k=a("lodash"),h=a("../../utils/blockString"),f=a("../../utils/hasBlock"),d=a("../../utils/hasEmptyBlock"),c=a("../../utils/isSingleLineString"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("block-closing-brace-newline-before",
|
|
{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'});a=function(a){return function(e,g){function l(e){function l(a){b({message:a,result:g,ruleName:"block-closing-brace-newline-before",node:e,index:r})}if(f(e)&&!d(e)){var n=(e.raws.after||"").replace(/;+/,"");if(void 0!==n){var p=!c(h(e)),q=e.toString(),r=q.length-2;"\r"===q[r-1]&&--r;k.startsWith(n,
|
|
"\n")||k.startsWith(n,"\r\n")||("always"===a?l(m.expectedBefore):p&&"always-multi-line"===a&&l(m.expectedBeforeMultiLine));""!==n&&p&&"never-multi-line"===a&&l(m.rejectedBeforeMultiLine)}}}p(g,"block-closing-brace-newline-before",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&(e.walkRules(l),e.walkAtRules(l))}};a.ruleName="block-closing-brace-newline-before";a.messages=m;l.exports=a},{"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,
|
|
"../../utils/isSingleLineString":570,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],365:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/hasBlock"),f=a("../../utils/rawNodeString"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("../../utils/whitespaceChecker"),p=g("block-closing-brace-space-after",{expectedAfter:function(){return'Expected single space after "}"'},rejectedAfter:function(){return'Unexpected whitespace after "}"'},
|
|
expectedAfterSingleLine:function(){return'Expected single space after "}" of a single-line block'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "}" of a single-line block'},expectedAfterMultiLine:function(){return'Expected single space after "}" of a multi-line block'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "}" of a multi-line block'}});a=function(a){var g=b("space",a,p);return function(b,l){function e(a){var b=a.next();if(b&&h(a)){var c=a.toString().length;
|
|
(b=f(b))&&";"===b[0]&&(b=b.slice(1),c++);g.after({source:b,index:-1,lineCheckStr:k(a),err:function(b){d({message:b,node:a,index:c,result:l,ruleName:"block-closing-brace-space-after"})}})}}c(l,"block-closing-brace-space-after",{actual:a,possible:"always never always-single-line never-single-line always-multi-line never-multi-line".split(" ")})&&(b.walkRules(e),b.walkAtRules(e))}};a.ruleName="block-closing-brace-space-after";a.messages=p;l.exports=a},{"../../utils/blockString":525,"../../utils/hasBlock":544,
|
|
"../../utils/rawNodeString":590,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],366:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/hasBlock"),f=a("../../utils/hasEmptyBlock"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("../../utils/whitespaceChecker"),p=g("block-closing-brace-space-before",{expectedBefore:function(){return'Expected single space before "}"'},
|
|
rejectedBefore:function(){return'Unexpected whitespace before "}"'},expectedBeforeSingleLine:function(){return'Expected single space before "}" of a single-line block'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "}" of a single-line block'},expectedBeforeMultiLine:function(){return'Expected single space before "}" of a multi-line block'},rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "}" of a multi-line block'}});a=function(a){var g=b("space",a,
|
|
p);return function(b,l){function e(a){if(h(a)&&!f(a)){var b=k(a),c=a.toString(),e=c.length-2;"\r"===c[e-1]&&--e;g.before({source:b,index:b.length-1,err:function(b){d({message:b,node:a,index:e,result:l,ruleName:"block-closing-brace-space-before"})}})}}c(l,"block-closing-brace-space-before",{actual:a,possible:"always never always-single-line never-single-line always-multi-line never-multi-line".split(" ")})&&(b.walkRules(e),b.walkAtRules(e))}};a.ruleName="block-closing-brace-space-before";a.messages=
|
|
p;l.exports=a},{"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],367:[function(a,l,g){var k=a("../../utils/beforeBlockString"),h=a("../../utils/hasEmptyBlock"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=g("block-no-empty",{rejected:"Unexpected empty block"});a=function(a){return function(b,
|
|
g){function l(a){if(h(a)){var b=k(a,{noRawBefore:!0}).length;void 0===a.raws.between&&b--;f({message:c.rejected,node:a,index:b,result:g,ruleName:"block-no-empty"})}}d(g,"block-no-empty",{actual:a})&&(b.walkRules(l),b.walkAtRules(l))}};a.ruleName="block-no-empty";a.messages=c;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/hasEmptyBlock":545,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],368:[function(a,l,g){var k=a("../../utils/beforeBlockString"),
|
|
h=a("../../utils/blockString"),f=a("../../utils/hasBlock"),d=a("../../utils/hasEmptyBlock"),c=a("../../utils/nextNonCommentNode"),b=a("../../utils/rawNodeString"),p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=a("../../utils/whitespaceChecker"),e=g("block-opening-brace-newline-after",{expectedAfter:function(){return'Expected newline after "{"'},expectedAfterMultiLine:function(){return'Expected newline after "{" of a multi-line block'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "{" of a multi-line block'}});
|
|
a=function(a){var g=q("newline",a,e);return function(e,l){function n(a){if(f(a)&&!d(a)){var e=c(a.first);e&&g.afterOneOnly({source:b(e),index:-1,lineCheckStr:h(a),err:function(b){p({message:b,node:a,index:k(a,{noRawBefore:!0}).length+1,result:l,ruleName:"block-opening-brace-newline-after"})}})}}m(l,"block-opening-brace-newline-after",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&(e.walkRules(n),e.walkAtRules(n))}};a.ruleName="block-opening-brace-newline-after";a.messages=
|
|
e;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,"../../utils/nextNonCommentNode":586,"../../utils/rawNodeString":590,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],369:[function(a,l,g){var k=a("../../utils/beforeBlockString"),h=a("../../utils/blockString"),f=a("../../utils/hasBlock"),d=a("../../utils/hasEmptyBlock"),c=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=a("../../utils/whitespaceChecker"),m=g("block-opening-brace-newline-before",{expectedBefore:function(){return'Expected newline before "{"'},expectedBeforeSingleLine:function(){return'Expected newline before "{" of a single-line block'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "{" of a single-line block'},expectedBeforeMultiLine:function(){return'Expected newline before "{" of a multi-line block'},
|
|
rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "{" of a multi-line block'}});a=function(a){var e=p("newline",a,m);return function(g,l){function m(a){if(f(a)&&!d(a)){var b=k(a),g=k(a,{noRawBefore:!0}),m=g.length-1;"\r"===g[m-1]&&--m;e.beforeAllowingIndentation({lineCheckStr:h(a),source:b,index:b.length,err:function(b){c({message:b,node:a,index:m,result:l,ruleName:"block-opening-brace-newline-before"})}})}}b(l,"block-opening-brace-newline-before",{actual:a,possible:["always",
|
|
"always-single-line","never-single-line","always-multi-line","never-multi-line"]})&&(g.walkRules(m),g.walkAtRules(m))}};a.ruleName="block-opening-brace-newline-before";a.messages=m;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],370:[function(a,l,g){var k=a("../../utils/beforeBlockString"),
|
|
h=a("../../utils/blockString"),f=a("../../utils/hasBlock"),d=a("../../utils/hasEmptyBlock"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=a("../../utils/whitespaceChecker"),m=g("block-opening-brace-space-after",{expectedAfter:function(){return'Expected single space after "{"'},rejectedAfter:function(){return'Unexpected whitespace after "{"'},expectedAfterSingleLine:function(){return'Expected single space after "{" of a single-line block'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "{" of a single-line block'},
|
|
expectedAfterMultiLine:function(){return'Expected single space after "{" of a multi-line block'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "{" of a multi-line block'}});a=function(a){var e=p("space",a,m);return function(g,l){function m(a){f(a)&&!d(a)&&e.after({source:h(a),index:0,err:function(b){c({message:b,node:a,index:k(a,{noRawBefore:!0}).length+1,result:l,ruleName:"block-opening-brace-space-after"})}})}b(l,"block-opening-brace-space-after",{actual:a,possible:"always never always-single-line never-single-line always-multi-line never-multi-line".split(" ")})&&
|
|
(g.walkRules(m),g.walkAtRules(m))}};a.ruleName="block-opening-brace-space-after";a.messages=m;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],371:[function(a,l,g){var k=a("lodash"),h=a("../../utils/beforeBlockString"),f=a("../../utils/blockString"),d=a("../../utils/hasBlock"),c=a("../../utils/hasEmptyBlock"),
|
|
b=a("../../utils/optionsMatches"),p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=a("../../utils/whitespaceChecker"),e=g("block-opening-brace-space-before",{expectedBefore:function(){return'Expected single space before "{"'},rejectedBefore:function(){return'Unexpected whitespace before "{"'},expectedBeforeSingleLine:function(){return'Expected single space before "{" of a single-line block'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "{" of a single-line block'},
|
|
expectedBeforeMultiLine:function(){return'Expected single space before "{" of a multi-line block'},rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "{" of a multi-line block'}});a=function(a,g){var l=q("space",a,e);return function(e,n){function q(a){if(d(a)&&!c(a)&&!b(g,"ignoreAtRules",a.name)){var e=h(a),k=h(a,{noRawBefore:!0}),m=k.length-1;"\r"===k[m-1]&&--m;l.before({source:e,index:e.length,lineCheckStr:f(a),err:function(b){p({message:b,node:a,index:m,result:n,ruleName:"block-opening-brace-space-before"})}})}}
|
|
m(n,"block-opening-brace-space-before",{actual:a,possible:"always never always-single-line never-single-line always-multi-line never-multi-line".split(" ")},{actual:g,possible:{ignoreAtRules:[k.isString]},optional:!0})&&(e.walkRules(q),e.walkAtRules(q))}};a.ruleName="block-opening-brace-space-before";a.messages=e;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/blockString":525,"../../utils/hasBlock":544,"../../utils/hasEmptyBlock":545,"../../utils/optionsMatches":588,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,lodash:164}],372:[function(a,l,g){var k=a("../../utils/blurFunctionArguments"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("style-search"),d=a("../../utils/validateOptions"),c=g("color-hex-case",{expected:function(a,c){return'Expected "'+a+'" to be "'+c+'"'}});a=function(a,g,l){return function(b,e){d(e,"color-hex-case",{actual:a,possible:["lower","upper"]})&&b.walkDecls(function(b){var d=
|
|
k(b.toString(),"url"),g=[];f({source:d,target:"#"},function(f){var k=/^#[0-9A-Za-z]+/.exec(d.substr(f.startIndex));if(k){k=k[0];var m=k.toLowerCase(),n=k.toUpperCase();m="lower"===a?m:n;k!==m&&(l.fix?g.unshift({expectedHex:m,currentHex:k,startIndex:f.startIndex}):h({message:c.expected(k,m),node:b,index:f.startIndex,result:e,ruleName:"color-hex-case"}))}});if(g.length){var m=b.prop,n=b.raws.between;g.forEach(function(a){var c=b.value,d=a.currentHex,e=a.expectedHex,f=a.startIndex-m.length-n.length-
|
|
1+1;a=c.slice(0,f);c=c.slice(f+d.length);b.value=a+e+c})}})}};a.ruleName="color-hex-case";a.messages=c;l.exports=a},{"../../utils/blurFunctionArguments":527,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],373:[function(a,l,g){function k(a){for(var b="#",c=1;c<a.length;c+=2)b+=a[c];return b}function h(a){for(var b="#",c=1;c<a.length;c++)b+=a[c]+a[c];return b}var f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("style-search"),
|
|
c=a("../../utils/validateOptions"),b=g("color-hex-length",{expected:function(a,b){return'Expected "'+a+'" to be "'+b+'"'}});a=function(a){return function(g,l){c(l,"color-hex-length",{actual:a,possible:["short","long"]})&&g.walkDecls(function(c){var e=c.toString();d({source:e,target:"#"},function(d){var g=/^#[0-9A-Za-z]+/.exec(e.substr(d.startIndex));if(g&&(g=g[0],"long"!==a||4===g.length||5===g.length)){var m;(m="short"===a)&&!(m=6>g.length)&&(m=g.toLowerCase(),m=!(m[1]===m[2]&&m[3]===m[4]&&m[5]===
|
|
m[6]&&(7===m.length||9===m.length&&m[7]===m[8])));m||f({message:b.expected(g,("long"===a?h:k)(g)),node:c,index:d.startIndex,result:l,ruleName:"color-hex-length"})}})})}};a.ruleName="color-hex-length";a.messages=b;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],374:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/isStandardSyntaxFunction"),d=a("../../utils/isStandardSyntaxValue"),
|
|
c=a("../../reference/keywordSets"),b=a("../../reference/namedColorData"),p=a("../../utils/optionsMatches"),m=a("../../reference/propertySets"),q=a("../../utils/report");g=a("../../utils/ruleMessages");var e=a("../../utils/validateOptions"),n=a("postcss-value-parser"),r=g("color-named",{expected:function(a,b){return'Expected "'+b+'" to be "'+a+'"'},rejected:function(a){return'Unexpected named color "'+a+'"'}}),t=["word","function"];a=function(a,g){return function(l,u){function w(a,b,c){q({result:u,
|
|
ruleName:"color-named",message:a,node:b,index:c})}if(e(u,"color-named",{actual:a,possible:["never","always-where-possible"]},{actual:g,possible:{ignoreProperties:[k.isString],ignore:["inside-function"]},optional:!0})){var x=Object.keys(b);l.walkDecls(function(e){m.acceptCustomIdents.has(e.prop)||p(g,"ignoreProperties",e.prop)||n(e.value).walk(function(k){var l=k.value,m=k.type,q=k.sourceIndex;if(p(g,"ignore","inside-function")&&"function"===m||!f(k))return!1;if(d(l)&&-1!==t.indexOf(m))if("never"===
|
|
a&&"word"===m&&-1!==x.indexOf(l.toLowerCase()))w(r.rejected(l),e,h(e)+q);else if("always-where-possible"===a)if("function"===m&&c.colorFunctionNames.has(l.toLowerCase())){l=n.stringify(k).replace(/\s+/g,"");var u=0;for(k=x.length;u<k;u++)if(m=x[u],-1!==b[m].func.indexOf(l.toLowerCase())){w(r.expected(m,l),e,h(e)+q);break}}else for(u=0,k=x.length;u<k;u++)if(m=x[u],-1!==b[m].hex.indexOf(l.toLowerCase())){w(r.expected(m,l),e,h(e)+q);break}})})}}};a.ruleName="color-named";a.messages=r;l.exports=a},{"../../reference/keywordSets":347,
|
|
"../../reference/namedColorData":348,"../../reference/propertySets":349,"../../utils/declarationValueIndex":532,"../../utils/isStandardSyntaxFunction":573,"../../utils/isStandardSyntaxValue":580,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],375:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("style-search"),f=a("../../utils/validateOptions"),d=
|
|
g("color-no-hex",{rejected:function(a){return'Unexpected hex color "'+a+'"'}});a=function(a){return function(b,c){f(c,"color-no-hex",{actual:a})&&b.walkDecls(function(a){var b=a.toString();h({source:b,target:"#"},function(e){if(/[:,\s]/.test(b[e.startIndex-1])){var f=/^#[0-9A-Za-z]+/.exec(b.substr(e.startIndex));f&&k({message:d.rejected(f[0]),node:a,index:e.startIndex,result:c,ruleName:"color-no-hex"})}})})}};a.ruleName="color-no-hex";a.messages=d;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,"style-search":331}],376:[function(a,l,g){var k=a("../../utils/isValidHex"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("style-search"),d=a("../../utils/validateOptions"),c=g("color-no-invalid-hex",{rejected:function(a){return'Unexpected invalid hex color "'+a+'"'}});a=function(a){return function(b,g){d(g,"color-no-invalid-hex",{actual:a})&&b.walkDecls(function(a){var b=a.toString();f({source:b,target:"#"},function(d){if(/[:,\s]/.test(b[d.startIndex-
|
|
1])){var e=/^#[0-9A-Za-z]+/.exec(b.substr(d.startIndex));e&&(e=e[0],k(e)||h({message:c.rejected(e),node:a,index:d.startIndex,result:g,ruleName:"color-no-invalid-hex"}))}})})}};a.ruleName="color-no-invalid-hex";a.messages=c;l.exports=a},{"../../utils/isValidHex":582,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],377:[function(a,l,g){var k=a("../../utils/addEmptyLineBefore"),h=a("../../utils/hasEmptyLine"),f=a("../../utils/isAfterCommentLine"),
|
|
d=a("../../utils/isFirstNested"),c=a("../../utils/isSharedLineComment"),b=a("../../utils/optionsMatches"),p=a("../../utils/removeEmptyLinesBefore"),m=a("../../utils/report");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),e=g("comment-empty-line-before",{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"});a=function(a,g,l){return function(n,r){q(r,"comment-empty-line-before",{actual:a,possible:["always","never"]},{actual:g,possible:{except:["first-nested"],
|
|
ignore:["stylelint-commands","after-comment"]},optional:!0})&&n.walkComments(function(q){if(q!==n.first&&!(0===q.text.indexOf("stylelint-")&&b(g,"ignore","stylelint-commands")||b(g,"ignore","after-comment")&&f(q)||c(q)||q.raws.inline||q.inline)){var t=b(g,"except","first-nested")&&d(q)?!1:"always"===a;var u=h(q.raws.before||"");t!==u&&(l.fix?t?k(q,l.newline):p(q,l.newline):m({message:t?e.expected:e.rejected,node:q,result:r,ruleName:"comment-empty-line-before"}))}})}};a.ruleName="comment-empty-line-before";
|
|
a.messages=e;l.exports=a},{"../../utils/addEmptyLineBefore":522,"../../utils/hasEmptyLine":546,"../../utils/isAfterCommentLine":552,"../../utils/isFirstNested":563,"../../utils/isSharedLineComment":569,"../../utils/optionsMatches":588,"../../utils/removeEmptyLinesBefore":591,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],378:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=g("comment-no-empty",
|
|
{rejected:"Unexpected empty comment"});a=function(a){return function(c,b){h(b,"comment-no-empty",{actual:a})&&c.walkComments(function(a){a.raws.inline||a.inline||a.text&&0!==a.text.length||k({message:f.rejected,node:a,result:b,ruleName:"comment-no-empty"})})}};a.ruleName="comment-no-empty";a.messages=f;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],379:[function(a,l,g){var k=a("../../utils/isWhitespace"),h=a("../../utils/report");g=a("../../utils/ruleMessages");
|
|
var f=a("../../utils/validateOptions"),d=g("comment-whitespace-inside",{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'});a=function(a){return function(b,c){f(c,"comment-whitespace-inside",{actual:a,possible:["always","never"]})&&b.walkComments(function(b){function f(a,d){h({message:a,index:d,result:c,ruleName:"comment-whitespace-inside",node:b})}
|
|
if(!b.raws.inline&&!b.inline){var e=b.toString(),g=e.substr(0,4);if(!/^\/\*[#!]\s/.test(g)){var l=e.match(/(^\/\*+)(\s)?/);g=e.match(/(\s)?(\*+\/)$/);e=l[1];l=l[2]||"";var m=g[1]||"";g=g[2];"never"===a&&""!==l&&f(d.rejectedOpening,e.length);"always"!==a||k(l)||f(d.expectedOpening,e.length);"never"===a&&""!==m&&f(d.rejectedClosing,b.toString().length-g.length-1);"always"!==a||k(m)||f(d.expectedClosing,b.toString().length-g.length-1)}}})}};a.ruleName="comment-whitespace-inside";a.messages=d;l.exports=
|
|
a},{"../../utils/isWhitespace":584,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],380:[function(a,l,g){var k=a("lodash"),h=a("../../utils/containsString"),f=a("../../utils/matchesStringOrRegExp"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("comment-word-blacklist",{rejected:function(a){return'Unexpected word matching pattern "'+a+'"'}});a=function(a){return function(g,l){c(l,"comment-word-blacklist",
|
|
{actual:a,possible:[k.isString]})&&g.walkComments(function(c){var e=c.text;"/*# "!==c.toString().substr(0,4)&&(e=f(e,a)||h(e,a))&&d({message:b.rejected(e.pattern),node:c,result:l,ruleName:"comment-word-blacklist"})})}};a.primaryOptionArray=!0;a.ruleName="comment-word-blacklist";a.messages=b;l.exports=a},{"../../utils/containsString":531,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],381:[function(a,l,g){var k=
|
|
a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=g("custom-media-pattern",{expected:"Expected custom media query name to match specified pattern"});a=function(a){return function(b,g){if(d(g,"custom-media-pattern",{actual:a,possible:[k.isRegExp,k.isString]})){var l=k.isString(a)?new RegExp(a):a;b.walkAtRules(function(a){if("custom-media"===a.name.toLowerCase()){var b=a.params.match(/^--(\S+)\b/)[1];l.test(b)||
|
|
f({message:c.expected,node:a,index:h(a),result:g,ruleName:"custom-media-pattern"})}})}}};a.ruleName="custom-media-pattern";a.messages=c;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],382:[function(a,l,g){var k=a("../../utils/addEmptyLineBefore"),h=a("../../utils/blockString"),f=a("../../utils/getPreviousNonSharedLineCommentNode"),d=a("../../utils/hasEmptyLine"),c=a("../../utils/isAfterCommentLine"),
|
|
b=a("../../utils/isCustomProperty"),p=a("../../utils/isFirstNested"),m=a("../../utils/isSingleLineString"),q=a("../../utils/isStandardSyntaxDeclaration"),e=a("../../utils/optionsMatches"),n=a("../../utils/removeEmptyLinesBefore"),r=a("../../utils/report");g=a("../../utils/ruleMessages");var t=a("../../utils/validateOptions"),u=g("custom-property-empty-line-before",{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"});a=function(a,g,l){return function(w,
|
|
x){t(x,"custom-property-empty-line-before",{actual:a,possible:["always","never"]},{actual:g,possible:{except:["first-nested","after-comment","after-custom-property"],ignore:["after-comment","inside-single-line-block"]},optional:!0})&&w.walkDecls(function(t){var w=t.prop,A=t.parent;!q(t)||!b(w)||e(g,"ignore","after-comment")&&c(t)||e(g,"ignore","inside-single-line-block")&&m(h(A))||(w="always"===a?!0:!1,e(g,"except","first-nested")&&p(t)&&(w=!w),e(g,"except","after-comment")&&c(t)&&(w=!w),A=f(t),e(g,
|
|
"except","after-custom-property")&&A&&A.prop&&b(A.prop)&&(w=!w),A=d(t.raws.before),w!==A&&(l.fix?w?k(t,l.newline):n(t,l.newline):r({message:w?u.expected:u.rejected,node:t,result:x,ruleName:"custom-property-empty-line-before"})))})}};a.ruleName="custom-property-empty-line-before";a.messages=u;l.exports=a},{"../../utils/addEmptyLineBefore":522,"../../utils/blockString":525,"../../utils/getPreviousNonSharedLineCommentNode":541,"../../utils/hasEmptyLine":546,"../../utils/isAfterCommentLine":552,"../../utils/isCustomProperty":560,
|
|
"../../utils/isFirstNested":563,"../../utils/isSingleLineString":570,"../../utils/isStandardSyntaxDeclaration":572,"../../utils/optionsMatches":588,"../../utils/removeEmptyLinesBefore":591,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],383:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isCustomProperty"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=g("custom-property-pattern",{expected:"Expected custom property name to match specified pattern"});
|
|
a=function(a){return function(b,g){if(d(g,"custom-property-pattern",{actual:a,possible:[k.isRegExp,k.isString]})){var l=k.isString(a)?new RegExp(a):a;b.walkDecls(function(a){var b=a.prop;h(b)&&(l.test(b.slice(2))||f({message:c.expected,node:a,result:g,ruleName:"custom-property-pattern"}))})}}};a.ruleName="custom-property-pattern";a.messages=c;l.exports=a},{"../../utils/isCustomProperty":560,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],384:[function(a,
|
|
l,g){var k=a("../declarationBangSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("declaration-bang-space-after",{expectedAfter:function(){return'Expected single space after "!"'},rejectedAfter:function(){return'Unexpected whitespace after "!"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"declaration-bang-space-after",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"declaration-bang-space-after"})}};
|
|
a.ruleName="declaration-bang-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../declarationBangSpaceChecker":404}],385:[function(a,l,g){var k=a("../declarationBangSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("declaration-bang-space-before",{expectedBefore:function(){return'Expected single space before "!"'},rejectedBefore:function(){return'Unexpected whitespace before "!"'}});
|
|
a=function(a){var b=f("space",a,d);return function(c,d){h(d,"declaration-bang-space-before",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"declaration-bang-space-before"})}};a.ruleName="declaration-bang-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../declarationBangSpaceChecker":404}],386:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isCustomProperty"),
|
|
f=a("../../utils/isStandardSyntaxProperty"),d=a("../../utils/optionsMatches"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=g("declaration-block-no-duplicate-properties",{rejected:function(a){return'Unexpected duplicate "'+a+'"'}});a=function(a,g){return function(e,l){function m(a){var b=[],e=[];a.each(function(a){a.nodes&&a.nodes.length&&m(a);if("decl"===a.type){var k=a.prop,n=a.value;if(f(k)&&!h(k)&&!d(g,"ignoreProperties",k)&&"src"!==k.toLowerCase()){var q=
|
|
b.indexOf(k.toLowerCase());if(-1!==q){if(d(g,"ignore","consecutive-duplicates-with-different-values")){if(q!==b.length-1){c({message:p.rejected(k),node:a,result:l,ruleName:"declaration-block-no-duplicate-properties"});return}n===e[q]&&c({message:p.rejected(n),node:a,result:l,ruleName:"declaration-block-no-duplicate-properties"});return}if(d(g,"ignore","consecutive-duplicates")&&q===b.length-1)return;c({message:p.rejected(k),node:a,result:l,ruleName:"declaration-block-no-duplicate-properties"})}b.push(k.toLowerCase());
|
|
e.push(n.toLowerCase())}}})}b(l,"declaration-block-no-duplicate-properties",{actual:a},{actual:g,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values"],ignoreProperties:[k.isString]},optional:!0})&&e.each(function(a){"rule"!==a.type&&"atrule"!==a.type||m(a)})}};a.ruleName="declaration-block-no-duplicate-properties";a.messages=p;l.exports=a},{"../../utils/isCustomProperty":560,"../../utils/isStandardSyntaxProperty":575,"../../utils/optionsMatches":588,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],387:[function(a,l,g){var k=a("lodash"),h=a("../../utils/optionsMatches"),f=a("postcss"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../reference/shorthandData"),b=a("../../utils/validateOptions"),p=g("declaration-block-no-redundant-longhand-properties",{expected:function(a){return'Expected shorthand property "'+a+'"'}});a=function(a,g){return function(e,l){function m(a){var b={};a.each(function(a){if("decl"===
|
|
a.type){var e=a.prop.toLowerCase(),h=f.vendor.unprefixed(e),g=f.vendor.prefix(e);(h=n[h])&&h.forEach(function(f){var h=g+f;b[h]||(b[h]=[]);b[h].push(e);f=c[f].map(function(a){return g+a});k.isEqual(f.sort(),b[h].sort())&&d({ruleName:"declaration-block-no-redundant-longhand-properties",result:l,node:a,message:p.expected(h)})})}})}if(b(l,"declaration-block-no-redundant-longhand-properties",{actual:a},{actual:g,possible:{ignoreShorthands:[k.isString]},optional:!0})){var n=k.transform(c,function(a,b,
|
|
c){h(g,"ignoreShorthands",c)||b.forEach(function(b){(a[b]||(a[b]=[])).push(c)})});e.walkRules(m);e.walkAtRules(m)}}};a.ruleName="declaration-block-no-redundant-longhand-properties";a.messages=p;l.exports=a},{"../../reference/shorthandData":351,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],388:[function(a,l,g){var k=a("postcss"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("../../reference/shorthandData"),
|
|
d=a("../../utils/validateOptions"),c=g("declaration-block-no-shorthand-property-overrides",{rejected:function(a,c){return'Unexpected shorthand "'+a+'" after "'+c+'"'}});a=function(a){return function(b,g){function l(a){var b={};a.each(function(a){if("decl"===a.type){var d=a.prop,e=k.vendor.unprefixed(d),l=k.vendor.prefix(d).toLowerCase();(e=f[e.toLowerCase()])?e.forEach(function(e){b.hasOwnProperty(l+e)&&h({ruleName:"declaration-block-no-shorthand-property-overrides",result:g,node:a,message:c.rejected(d,
|
|
b[l+e])})}):b[d.toLowerCase()]=d}})}d(g,"declaration-block-no-shorthand-property-overrides",{actual:a})&&(b.walkRules(l),b.walkAtRules(l))}};a.ruleName="declaration-block-no-shorthand-property-overrides";a.messages=c;l.exports=a},{"../../reference/shorthandData":351,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,postcss:293}],389:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/nextNonCommentNode"),f=a("../../utils/rawNodeString"),d=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("../../utils/whitespaceChecker"),p=g("declaration-block-semicolon-newline-after",{expectedAfter:function(){return'Expected newline after ";"'},expectedAfterMultiLine:function(){return'Expected newline after ";" in a multi-line declaration block'},rejectedAfterMultiLine:function(){return'Unexpected newline after ";" in a multi-line declaration block'}});a=function(a){var g=b("newline",a,p);return function(b,l){c(l,"declaration-block-semicolon-newline-after",
|
|
{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&b.walkDecls(function(a){var b=a.parent;if(b.raws.semicolon||b.last!==a){var c=a.next();c&&(c=h(c))&&g.afterOneOnly({source:f(c),index:-1,lineCheckStr:k(b),err:function(b){d({message:b,node:a,index:a.toString().length+1,result:l,ruleName:"declaration-block-semicolon-newline-after"})}})}})}};a.ruleName="declaration-block-semicolon-newline-after";a.messages=p;l.exports=a},{"../../utils/blockString":525,"../../utils/nextNonCommentNode":586,
|
|
"../../utils/rawNodeString":590,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],390:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("../../utils/validateOptions"),d=a("../../utils/whitespaceChecker"),c=g("declaration-block-semicolon-newline-before",{expectedBefore:function(){return'Expected newline before ";"'},expectedBeforeMultiLine:function(){return'Expected newline before ";" in a multi-line declaration block'},
|
|
rejectedBeforeMultiLine:function(){return'Unexpected whitespace before ";" in a multi-line declaration block'}});a=function(a){var b=d("newline",a,c);return function(c,d){f(d,"declaration-block-semicolon-newline-before",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&c.walkDecls(function(a){var c=a.parent;if(c.raws.semicolon||c.last!==a){var e=a.toString();b.beforeAllowingIndentation({source:e,index:e.length,lineCheckStr:k(c),err:function(b){h({message:b,node:a,index:a.toString().length-
|
|
1,result:d,ruleName:"declaration-block-semicolon-newline-before"})}})}})}};a.ruleName="declaration-block-semicolon-newline-before";a.messages=c;l.exports=a},{"../../utils/blockString":525,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],391:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/rawNodeString"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),
|
|
c=a("../../utils/whitespaceChecker"),b=g("declaration-block-semicolon-space-after",{expectedAfter:function(){return'Expected single space after ";"'},rejectedAfter:function(){return'Unexpected whitespace after ";"'},expectedAfterSingleLine:function(){return'Expected single space after ";" in a single-line declaration block'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after ";" in a single-line declaration block'}});a=function(a){var g=c("space",a,b);return function(b,c){d(c,"declaration-block-semicolon-space-after",
|
|
{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&b.walkDecls(function(a){var b=a.parent;if(b.raws.semicolon||b.last!==a){var d=a.next();d&&g.after({source:h(d),index:-1,lineCheckStr:k(b),err:function(b){f({message:b,node:a,index:a.toString().length+1,result:c,ruleName:"declaration-block-semicolon-space-after"})}})}})}};a.ruleName="declaration-block-semicolon-space-after";a.messages=b;l.exports=a},{"../../utils/blockString":525,"../../utils/rawNodeString":590,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],392:[function(a,l,g){var k=a("../../utils/blockString"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("../../utils/validateOptions"),d=a("../../utils/whitespaceChecker"),c=g("declaration-block-semicolon-space-before",{expectedBefore:function(){return'Expected single space before ";"'},rejectedBefore:function(){return'Unexpected whitespace before ";"'},expectedBeforeSingleLine:function(){return'Expected single space before ";" in a single-line declaration block'},
|
|
rejectedBeforeSingleLine:function(){return'Unexpected whitespace before ";" in a single-line declaration block'}});a=function(a){var b=d("space",a,c);return function(c,d){f(d,"declaration-block-semicolon-space-before",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&c.walkDecls(function(a){var c=a.parent;if(c.raws.semicolon||c.last!==a){var e=a.toString();b.before({source:e,index:e.length,lineCheckStr:k(c),err:function(b){h({message:b,node:a,index:a.toString().length-
|
|
1,result:d,ruleName:"declaration-block-semicolon-space-before"})}})}})}};a.ruleName="declaration-block-semicolon-space-before";a.messages=c;l.exports=a},{"../../utils/blockString":525,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596}],393:[function(a,l,g){var k=a("lodash"),h=a("../../utils/beforeBlockString"),f=a("../../utils/blockString"),d=a("../../utils/isSingleLineString"),c=a("../../utils/report");g=a("../../utils/ruleMessages");
|
|
var b=a("../../utils/validateOptions"),p=g("declaration-block-single-line-max-declarations",{expected:function(a){return"Expected no more than "+a+" "+(1===a?"declaration":"declarations")}});a=function(a){return function(g,e){b(e,"declaration-block-single-line-max-declarations",{actual:a,possible:[k.isNumber]})&&g.walkRules(function(b){d(f(b))&&b.nodes&&(b.nodes.filter(function(a){return"decl"===a.type}).length<=a||c({message:p.expected(a),node:b,index:h(b,{noRawBefore:!0}).length,result:e,ruleName:"declaration-block-single-line-max-declarations"}))})}};
|
|
a.ruleName="declaration-block-single-line-max-declarations";a.messages=p;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/blockString":525,"../../utils/isSingleLineString":570,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],394:[function(a,l,g){var k=a("../../utils/hasBlock"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("../../utils/validateOptions"),d=g("declaration-block-trailing-semicolon",{expected:"Expected a trailing semicolon",
|
|
rejected:"Unexpected trailing semicolon"});a=function(a){return function(b,c){function g(b){if("always"===a){if(b.parent.raws.semicolon)return;var e=d.expected}if("never"===a){if(!b.parent.raws.semicolon)return;e=d.rejected}h({message:e,node:b,index:b.toString().trim().length-1,result:c,ruleName:"declaration-block-trailing-semicolon"})}f(c,"declaration-block-trailing-semicolon",{actual:a,possible:["always","never"]})&&(b.walkAtRules(function(a){a.parent!==b&&a===a.parent.last&&(k(a)||g(a))}),b.walkDecls(function(a){a===
|
|
a.parent.last&&g(a)}))}};a.ruleName="declaration-block-trailing-semicolon";a.messages=d;l.exports=a},{"../../utils/hasBlock":544,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],395:[function(a,l,g){var k=a("../../utils/declarationValueIndex"),h=a("../../utils/isStandardSyntaxDeclaration"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=a("../../utils/whitespaceChecker"),b=g("declaration-colon-newline-after",
|
|
{expectedAfter:function(){return'Expected newline after ":"'},expectedAfterMultiLine:function(){return'Expected newline after ":" with a multi-line declaration'}});a=function(a){var g=c("newline",a,b);return function(b,c){d(c,"declaration-colon-newline-after",{actual:a,possible:["always","always-multi-line"]})&&b.walkDecls(function(a){if(h(a)){var b=k(a)+(a.raws.between||"").length-1;b=a.toString().slice(0,b)+"xxx";for(var d={},e=0,l=b.length;e<l;d={indexToCheck:d.indexToCheck},e++)":"===b[e]&&(d.indexToCheck=
|
|
"/*"===b.substr(b[e],3)?b.indexOf("*/",e)+1:e,g.afterOneOnly({source:b,index:d.indexToCheck,lineCheckStr:a.value,err:function(b){return function(d){f({message:d,node:a,index:b.indexToCheck,result:c,ruleName:"declaration-colon-newline-after"})}}(d)}))}})}};a.ruleName="declaration-colon-newline-after";a.messages=b;l.exports=a},{"../../utils/declarationValueIndex":532,"../../utils/isStandardSyntaxDeclaration":572,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
"../../utils/whitespaceChecker":596}],396:[function(a,l,g){var k=a("../declarationColonSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("declaration-colon-space-after",{expectedAfter:function(){return'Expected single space after ":"'},rejectedAfter:function(){return'Unexpected whitespace after ":"'},expectedAfterSingleLine:function(){return'Expected single space after ":" with a single-line declaration'}});a=function(a){var b=
|
|
f("space",a,d);return function(c,d){h(d,"declaration-colon-space-after",{actual:a,possible:["always","never","always-single-line"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"declaration-colon-space-after"})}};a.ruleName="declaration-colon-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../declarationColonSpaceChecker":405}],397:[function(a,l,g){var k=a("../declarationColonSpaceChecker");
|
|
g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("declaration-colon-space-before",{expectedBefore:function(){return'Expected single space before ":"'},rejectedBefore:function(){return'Unexpected whitespace before ":"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"declaration-colon-space-before",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"declaration-colon-space-before"})}};
|
|
a.ruleName="declaration-colon-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../declarationColonSpaceChecker":405}],398:[function(a,l,g){var k=a("../../utils/addEmptyLineBefore"),h=a("../../utils/blockString"),f=a("../../utils/hasEmptyLine"),d=a("../../utils/isAfterCommentLine"),c=a("../../utils/isAfterStandardPropertyDeclaration"),b=a("../../utils/isCustomProperty"),p=a("../../utils/isFirstNested"),m=
|
|
a("../../utils/isSingleLineString"),q=a("../../utils/isStandardSyntaxDeclaration"),e=a("../../utils/optionsMatches"),n=a("../../utils/removeEmptyLinesBefore"),r=a("../../utils/report");g=a("../../utils/ruleMessages");var t=a("../../utils/validateOptions"),u=g("declaration-empty-line-before",{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"});a=function(a,g,l){return function(w,x){t(x,"declaration-empty-line-before",{actual:a,possible:["always",
|
|
"never"]},{actual:g,possible:{except:["first-nested","after-comment","after-declaration"],ignore:["after-comment","after-declaration","inside-single-line-block"]},optional:!0})&&w.walkDecls(function(t){var w=t.prop,A=t.parent;!q(t)||b(w)||e(g,"ignore","after-comment")&&d(t)||e(g,"ignore","after-declaration")&&c(t)||e(g,"ignore","inside-single-line-block")&&m(h(A))||(w="always"===a?!0:!1,e(g,"except","first-nested")&&p(t)&&(w=!w),e(g,"except","after-comment")&&d(t)&&(w=!w),e(g,"except","after-declaration")&&
|
|
c(t)&&(w=!w),A=f(t.raws.before),w!==A&&(l.fix?w?k(t,l.newline):n(t,l.newline):r({message:w?u.expected:u.rejected,node:t,result:x,ruleName:"declaration-empty-line-before"})))})}};a.ruleName="declaration-empty-line-before";a.messages=u;l.exports=a},{"../../utils/addEmptyLineBefore":522,"../../utils/blockString":525,"../../utils/hasEmptyLine":546,"../../utils/isAfterCommentLine":552,"../../utils/isAfterStandardPropertyDeclaration":553,"../../utils/isCustomProperty":560,"../../utils/isFirstNested":563,
|
|
"../../utils/isSingleLineString":570,"../../utils/isStandardSyntaxDeclaration":572,"../../utils/optionsMatches":588,"../../utils/removeEmptyLinesBefore":591,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],399:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=g("declaration-no-important",{rejected:"Unexpected !important"});a=function(a){return function(c,b){h(b,"declaration-no-important",
|
|
{actual:a})&&c.walkDecls(function(a){a.important&&k({message:f.rejected,node:a,word:"important",result:b,ruleName:"declaration-no-important"})})}};a.ruleName="declaration-no-important";a.messages=f;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],400:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/getUnitFromValueNode"),d=a("../../utils/matchesStringOrRegExp"),c=a("postcss"),b=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=a("postcss-value-parser"),q=g("declaration-property-unit-blacklist",{rejected:function(a,b){return'Unexpected unit "'+b+'" for property "'+a+'"'}});a=function(a){return function(e,g){p(g,"declaration-property-unit-blacklist",{actual:a,possible:[k.isObject]})&&e.walkDecls(function(e){var l=e.prop,n=e.value,p=c.vendor.unprefixed(l),r=k.find(a,function(a,b){return d(p,b)});r&&m(n).walk(function(a){if("function"===a.type&&"url"===
|
|
a.value.toLowerCase())return!1;if("string"!==a.type){var c=f(a);!c||c&&-1===r.indexOf(c.toLowerCase())||b({message:q.rejected(l,c),node:e,index:h(e)+a.sourceIndex,result:g,ruleName:"declaration-property-unit-blacklist"})}})})}};a.ruleName="declaration-property-unit-blacklist";a.messages=q;l.exports=a},{"../../utils/declarationValueIndex":532,"../../utils/getUnitFromValueNode":543,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
lodash:164,postcss:293,"postcss-value-parser":276}],401:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/getUnitFromValueNode"),d=a("../../utils/matchesStringOrRegExp"),c=a("postcss"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=a("postcss-value-parser"),q=g("declaration-property-unit-whitelist",{rejected:function(a,b){return'Unexpected unit "'+b+'" for property "'+a+'"'}});a=function(a){return function(e,
|
|
g){p(g,"declaration-property-unit-whitelist",{actual:a,possible:[k.isObject]})&&e.walkDecls(function(e){var l=e.prop,n=e.value,p=c.vendor.unprefixed(l),r=k.find(a,function(a,b){return d(p,b)});r&&m(n).walk(function(a){if("function"===a.type&&"url"===a.value.toLowerCase())return!1;if("string"!==a.type){var c=f(a);c&&-1===(c&&r.indexOf(c.toLowerCase()))&&b({message:q.rejected(l,c),node:e,index:h(e)+a.sourceIndex,result:g,ruleName:"declaration-property-unit-whitelist"})}})})}};a.ruleName="declaration-property-unit-whitelist";
|
|
a.messages=q;l.exports=a},{"../../utils/declarationValueIndex":532,"../../utils/getUnitFromValueNode":543,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293,"postcss-value-parser":276}],402:[function(a,l,g){var k=a("lodash"),h=a("../../utils/matchesStringOrRegExp"),f=a("postcss"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("declaration-property-value-blacklist",
|
|
{rejected:function(a,b){return'Unexpected value "'+b+'" for property "'+a+'"'}});a=function(a){return function(g,l){c(l,"declaration-property-value-blacklist",{actual:a,possible:[k.isObject]})&&g.walkDecls(function(c){var e=c.prop,g=c.value,m=f.vendor.unprefixed(e),p=k.find(a,function(a,b){return h(m,b)});k.isEmpty(p)||h(g,p)&&d({message:b.rejected(e,g),node:c,result:l,ruleName:"declaration-property-value-blacklist"})})}};a.ruleName="declaration-property-value-blacklist";a.messages=b;l.exports=a},
|
|
{"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],403:[function(a,l,g){var k=a("lodash"),h=a("../../utils/matchesStringOrRegExp"),f=a("postcss"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("declaration-property-value-whitelist",{rejected:function(a,b){return'Unexpected value "'+b+'" for property "'+a+'"'}});a=function(a){return function(g,
|
|
l){c(l,"declaration-property-value-whitelist",{actual:a,possible:[k.isObject]})&&g.walkDecls(function(c){var e=c.prop,g=c.value,m=f.vendor.unprefixed(e),p=k.find(a,function(a,b){return h(m,b)});k.isEmpty(p)||h(g,p)||d({message:b.rejected(e,g),node:c,result:l,ruleName:"declaration-property-value-whitelist"})})}};a.ruleName="declaration-property-value-whitelist";a.messages=b;l.exports=a},{"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
lodash:164,postcss:293}],404:[function(a,l,g){var k=a("../utils/declarationValueIndex"),h=a("../utils/report"),f=a("style-search");l.exports=function(a){function c(b,c,d){a.locationChecker({source:b,index:c,err:function(b){return h({message:b,node:d,index:c,result:a.result,ruleName:a.checkedRuleName})}})}a.root.walkDecls(function(a){var b=k(a),d=a.toString(),h=a.toString().slice(b);-1!==h.indexOf("!")&&f({source:h,target:"!"},function(e){c(d,e.startIndex+b,a)})})}},{"../utils/declarationValueIndex":532,
|
|
"../utils/report":592,"style-search":331}],405:[function(a,l,g){var k=a("../utils/declarationValueIndex"),h=a("../utils/isStandardSyntaxDeclaration"),f=a("../utils/report");l.exports=function(a){a.root.walkDecls(function(c){if(h(c)){var b=k(c)+(c.raws.between||"").length-1;b=c.toString().slice(0,b)+"xxx";for(var d=0,g=b.length;d<g;d++)if(":"===b[d]){a.locationChecker({source:b,index:d,lineCheckStr:c.value,err:function(b){f({message:b,node:c,index:c.prop.toString().length+1,result:a.result,ruleName:a.checkedRuleName})}});
|
|
break}}})}},{"../utils/declarationValueIndex":532,"../utils/isStandardSyntaxDeclaration":572,"../utils/report":592}],406:[function(a,l,g){var k=/[^><](>=?|<=?|=)/g;l.exports=function(a,f){if("media"===a.name.toLowerCase())for(var d=a.params,c;null!==(c=k.exec(d));)f(c,d,a)}},{}],407:[function(a,l,g){function k(a){return a.split(/\s+/).some(function(a){return/^(-?\d|--)/.test(a)||!/^[-_a-zA-Z0-9\u00A0-\u10FFFF]+$/.test(a)})}var h=a("../../utils/findFontFamily"),f=a("../../utils/isStandardSyntaxValue"),
|
|
d=a("../../utils/isVariable"),c=a("../../reference/keywordSets"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("font-family-name-quotes",{expected:function(a){return'Expected quotes around "'+a+'"'},rejected:function(a){return'Unexpected quotes around "'+a+'"'}});a=function(a){return function(e,g){function l(b,e){if(f(b)&&!d(b)){var h="'"===b[0]||'"'===b[0],g=b.replace(/^['"]|['"]$/g,""),l;(l=c.fontFamilyKeywords.has(g.toLowerCase()))||(l=0===
|
|
g.indexOf("-apple-")?!0:"BlinkMacSystemFont"===g?!0:!1);if(l){if(h)return n(m.rejected(g),g,e)}else{l=k(g);var p=!/^[-a-zA-Z]+$/.test(g);switch(a){case "always-unless-keyword":if(!h)return n(m.expected(g),g,e);break;case "always-where-recommended":if(!p&&h)return n(m.rejected(g),g,e);if(p&&!h)return n(m.expected(g),g,e);break;case "always-where-required":if(!l&&h)return n(m.rejected(g),g,e);if(l&&!h)return n(m.expected(g),g,e)}}}}function n(a,c,d){b({result:g,ruleName:"font-family-name-quotes",message:a,
|
|
node:d,word:c})}p(g,"font-family-name-quotes",{actual:a,possible:["always-where-required","always-where-recommended","always-unless-keyword"]})&&e.walkDecls(/^font(-family)?$/i,function(a){var b=h(a.value);0!==b.length&&b.forEach(function(b){var c=b.value;b.quote&&(c=b.quote+c+b.quote);l(c,a)})})}};a.ruleName="font-family-name-quotes";a.messages=m;l.exports=a},{"../../reference/keywordSets":347,"../../utils/findFontFamily":535,"../../utils/isStandardSyntaxValue":580,"../../utils/isVariable":583,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],408:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/findFontFamily"),d=a("../../reference/keywordSets"),c=a("../../utils/optionsMatches"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("font-family-no-duplicate-names",{rejected:function(a){return"Unexpected duplicate name "+a}});a=function(a,e){return function(g,l){function n(a,c,d){b({result:l,
|
|
ruleName:"font-family-no-duplicate-names",message:a,node:d,index:c})}p(l,"font-family-no-duplicate-names",{actual:a},{actual:e,possible:{ignoreFontFamilyNames:[k.isString]},optional:!0})&&g.walkDecls(/^font(-family)?$/i,function(a){var b=new Set,g=new Set,k=f(a.value);0!==k.length&&k.forEach(function(f){var k=f.value.trim();c(e,"ignoreFontFamilyNames",f.value.trim())||(!f.quote&&d.fontFamilyKeywords.has(f.value.toLowerCase())?b.has(k.toLowerCase())?n(m.rejected(k),h(a)+f.sourceIndex,a):b.add(k):g.has(k)?
|
|
n(m.rejected(k),h(a)+f.sourceIndex,a):g.add(k))})})}};a.ruleName="font-family-no-duplicate-names";a.messages=m;l.exports=a},{"../../reference/keywordSets":347,"../../utils/declarationValueIndex":532,"../../utils/findFontFamily":535,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],409:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/isNumbery"),d=a("../../utils/isStandardSyntaxValue"),
|
|
c=a("../../utils/isVariable"),b=a("../../reference/keywordSets"),p=a("../../utils/optionsMatches"),m=a("postcss"),q=a("../../utils/report");g=a("../../utils/ruleMessages");var e=a("../../utils/validateOptions"),n=g("font-weight-notation",{expected:function(a){return"Expected "+a+" font-weight notation"},invalidNamed:function(a){return'Unexpected invalid font-weight name "'+a+'"'}}),r=["400","700"];a=function(a,g){return function(l,t){function u(e,l){function m(a){q({ruleName:"font-weight-notation",
|
|
result:t,message:a,node:l,index:h(l)+u})}if(d(e)&&!(c(e)||"inherit"===e.toLowerCase()||"initial"===e.toLowerCase()||p(g,"ignore","relative")&&b.fontWeightRelativeKeywords.has(e.toLowerCase()))){var u=l.value.indexOf(e);if("numeric"===a&&!f(e))return m(n.expected("numeric"));if("named-where-possible"===a)if(f(e))k.includes(r,e)&&m(n.expected("named"));else if(!b.fontWeightKeywords.has(e.toLowerCase())&&"normal"!==e.toLowerCase())return m(n.invalidNamed(e))}}e(t,"font-weight-notation",{actual:a,possible:["numeric",
|
|
"named-where-possible"]},{actual:g,possible:{ignore:["relative"]},optional:!0})&&l.walkDecls(function(a){"font-weight"===a.prop.toLowerCase()&&u(a.value,a);if("font"===a.prop.toLowerCase())a:for(var c=m.list.space(a.value).some(f),d=$jscomp.makeIterator(m.list.space(a.value)),e=d.next();!e.done;e=d.next())if(e=e.value,"normal"===e.toLowerCase()&&!c||f(e)||"normal"!==e.toLowerCase()&&b.fontWeightKeywords.has(e.toLowerCase())){u(e,a);break a}})}};a.ruleName="font-weight-notation";a.messages=n;l.exports=
|
|
a},{"../../reference/keywordSets":347,"../../utils/declarationValueIndex":532,"../../utils/isNumbery":566,"../../utils/isStandardSyntaxValue":580,"../../utils/isVariable":583,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],410:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/isStandardSyntaxFunction"),d=a("../../utils/matchesStringOrRegExp"),c=a("postcss"),
|
|
b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=a("postcss-value-parser"),q=g("function-blacklist",{rejected:function(a){return'Unexpected function "'+a+'"'}});a=function(a){return function(e,g){p(g,"function-blacklist",{actual:a,possible:[k.isString]})&&e.walkDecls(function(e){m(e.value).walk(function(k){"function"===k.type&&f(k)&&d(c.vendor.unprefixed(k.value),a)&&b({message:q.rejected(k.value),node:e,index:h(e)+k.sourceIndex,result:g,ruleName:"function-blacklist"})})})}};
|
|
a.primaryOptionArray=!0;a.ruleName="function-blacklist";a.messages=q;l.exports=a},{"../../utils/declarationValueIndex":532,"../../utils/isStandardSyntaxFunction":573,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293,"postcss-value-parser":276}],411:[function(a,l,g){var k=a("balanced-match"),h=a("../../utils/isWhitespace"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("style-search"),
|
|
c=a("../../utils/validateOptions"),b=a("postcss-value-parser"),p=g("function-calc-no-unspaced-operator",{expectedBefore:function(a){return'Expected single space before "'+a+'" operator'},expectedAfter:function(a){return'Expected single space after "'+a+'" operator'},expectedOperatorBeforeSign:function(a){return'Expected an operator before sign "'+a+'"'}});a=function(a){return function(g,e){function l(a,b,c){f({message:a,node:b,index:c,result:e,ruleName:"function-calc-no-unspaced-operator"})}c(e,"function-calc-no-unspaced-operator",
|
|
{actual:a})&&g.walkDecls(function(a){b(a.value).walk(function(c){function e(b){d({source:m,target:b,functionArguments:"skip"},function(c){c=c.startIndex;if("+"!==b&&"-"!==b||!/[\d@$.]/.test(m[c+1])){var d;if(!(d=" "===m[c-1]&&!h(m[c-2])))a:{for(d=c-1;d&&h(m[d]);){if("\n"===m[d]){d=!0;break a}d--}d=!1}d||l(p.expectedBefore(b),a,g+c);" "===m[c+1]&&!h(m[c+2])||"\n"===m[c+1]||"\r\n"===m.substr(c+1,2)||l(p.expectedAfter(b),a,g+c)}else d=m.substr(0,c),"("===d[d.length-1]||/^\s*$/.test(d)||/[*/+-]\s*$/.test(d)||
|
|
l(p.expectedOperatorBeforeSign(b),a,g+c)})}if("function"===c.type&&"calc"===c.value.toLowerCase()){var f=k("(",")",b.stringify(c)).body,g=a.source.start.column+a.prop.length+(a.raws.between||"").length+c.sourceIndex,m=f.replace(/[$@][^)\s]+|#{.+?}/g,"0");e("+");e("-");e("*");e("/")}})})}};a.ruleName="function-calc-no-unspaced-operator";a.messages=p;l.exports=a},{"../../utils/isWhitespace":584,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"balanced-match":51,
|
|
"postcss-value-parser":276,"style-search":331}],412:[function(a,l,g){var k=a("../functionCommaSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("function-comma-newline-after",{expectedAfter:function(){return'Expected newline after ","'},expectedAfterMultiLine:function(){return'Expected newline after "," in a multi-line function'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "," in a multi-line function'}});
|
|
a=function(a){var b=f("newline",a,d);return function(c,d){h(d,"function-comma-newline-after",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&k({root:c,result:d,locationChecker:b.afterOneOnly,checkedRuleName:"function-comma-newline-after"})}};a.ruleName="function-comma-newline-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../functionCommaSpaceChecker":427}],413:[function(a,l,g){var k=a("../functionCommaSpaceChecker");
|
|
g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("function-comma-newline-before",{expectedBefore:function(){return'Expected newline before ","'},expectedBeforeMultiLine:function(){return'Expected newline before "," in a multi-line function'},rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "," in a multi-line function'}});a=function(a){var b=f("newline",a,d);return function(c,d){h(d,"function-comma-newline-before",
|
|
{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&k({root:c,result:d,locationChecker:b.beforeAllowingIndentation,checkedRuleName:"function-comma-newline-before"})}};a.ruleName="function-comma-newline-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../functionCommaSpaceChecker":427}],414:[function(a,l,g){var k=a("../functionCommaSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),
|
|
f=a("../../utils/whitespaceChecker"),d=g("function-comma-space-after",{expectedAfter:function(){return'Expected single space after ","'},rejectedAfter:function(){return'Unexpected whitespace after ","'},expectedAfterSingleLine:function(){return'Expected single space after "," in a single-line function'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "," in a single-line function'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"function-comma-space-after",{actual:a,
|
|
possible:["always","never","always-single-line","never-single-line"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"function-comma-space-after"})}};a.ruleName="function-comma-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../functionCommaSpaceChecker":427}],415:[function(a,l,g){var k=a("../functionCommaSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),
|
|
f=a("../../utils/whitespaceChecker"),d=g("function-comma-space-before",{expectedBefore:function(){return'Expected single space before ","'},rejectedBefore:function(){return'Unexpected whitespace before ","'},expectedBeforeSingleLine:function(){return'Expected single space before "," in a single-line function'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "," in a single-line function'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"function-comma-space-before",
|
|
{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"function-comma-space-before"})}};a.ruleName="function-comma-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../functionCommaSpaceChecker":427}],416:[function(a,l,g){function k(a,b){var c=a.match(b?/^to (top|left|bottom|right)(?: (top|left|bottom|right))?$/:/^(top|left|bottom|right)(?: (top|left|bottom|right))?$/);
|
|
return c?2===c.length||3===c.length&&c[1]!==c[2]?!0:!1:!1}var h=a("../../utils/declarationValueIndex"),f=a("../../utils/functionArgumentsSearch"),d=a("postcss"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=a("postcss-value-parser"),m=g("function-linear-gradient-no-nonstandard-direction",{rejected:"Unexpected nonstandard direction"});a=function(a){return function(e,g){b(g,"function-linear-gradient-no-nonstandard-direction",{actual:a})&&e.walkDecls(function(a){p(a.value).walk(function(b){"function"===
|
|
b.type&&f(p.stringify(b).toLowerCase(),"linear-gradient",function(e,f){function l(){c({message:m.rejected,node:a,index:h(a)+b.sourceIndex+f,result:g,ruleName:"function-linear-gradient-no-nonstandard-direction"})}var n=e.split(",")[0].trim();if(/[\d.]/.test(n[0]))/^[\d.]+(?:deg|grad|rad|turn)$/.test(n)||l();else if(/left|right|top|bottom/.test(n)){var p=!d.vendor.prefix(b.value);k(n,p)||l()}})})})}};a.ruleName="function-linear-gradient-no-nonstandard-direction";a.messages=m;l.exports=a},{"../../utils/declarationValueIndex":532,
|
|
"../../utils/functionArgumentsSearch":536,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,postcss:293,"postcss-value-parser":276}],417:[function(a,l,g){var k=a("lodash"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("style-search"),d=a("../../utils/validateOptions"),c=g("function-max-empty-lines",{expected:function(a){return"Expected no more than "+a+" empty "+(1===a?"line":"lines")}});a=function(a){var b=a+1;return function(g,l){d(l,"function-max-empty-lines",
|
|
{actual:a,possible:k.isNumber})&&g.walkDecls(function(d){if(-1!==d.value.indexOf("(")){var e=d.toString(),g=k.repeat("\n",b),m=k.repeat("\r\n",b);f({source:e,target:"\n",functionArguments:"only"},function(f){if(e.substr(f.startIndex+1,b)===g||e.substr(f.startIndex+1,2*b)===m)f=f.startIndex,"\r"===e[f-1]&&--f,h({message:c.expected(a),node:d,index:f,result:l,ruleName:"function-max-empty-lines"})})}})}};a.ruleName="function-max-empty-lines";a.messages=c;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,lodash:164,"style-search":331}],418:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/isStandardSyntaxFunction");g=a("../../reference/keywordSets");var d=a("../../utils/matchesStringOrRegExp"),c=a("../../utils/report"),b=a("../../utils/ruleMessages"),p=a("../../utils/validateOptions"),m=a("postcss-value-parser"),q=b("function-name-case",{expected:function(a,b){return'Expected "'+a+'" to be "'+b+'"'}}),e=new Map;g.camelCaseFunctionNames.forEach(function(a){e.set(a.toLowerCase(),
|
|
a)});a=function(a,b){return function(g,l){p(l,"function-name-case",{actual:a,possible:["lower","upper"]},{actual:b,possible:{ignoreFunctions:[k.isString]},optional:!0})&&g.walkDecls(function(g){m(g.value).walk(function(k){if("function"===k.type&&f(k)){var m=k.value,n=m.toLowerCase(),p=b&&b.ignoreFunctions||[];0<p.length&&d(m,p)||(n="lower"===a&&e.has(n)?e.get(n):"lower"===a?n:m.toUpperCase(),m!==n&&c({message:q.expected(m,n),node:g,index:h(g)+k.sourceIndex,result:l,ruleName:"function-name-case"}))}})})}};
|
|
a.ruleName="function-name-case";a.messages=q;l.exports=a},{"../../reference/keywordSets":347,"../../utils/declarationValueIndex":532,"../../utils/isStandardSyntaxFunction":573,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],419:[function(a,l,g){var k=a("../../utils/declarationValueIndex"),h=a("../../utils/isSingleLineString"),f=a("../../utils/isStandardSyntaxFunction"),d=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("postcss-value-parser"),p=g("function-parentheses-newline-inside",{expectedOpening:'Expected newline after "("',expectedClosing:'Expected newline before ")"',expectedOpeningMultiLine:'Expected newline after "(" in a multi-line function',rejectedOpeningMultiLine:'Unexpected whitespace after "(" in a multi-line function',expectedClosingMultiLine:'Expected newline before ")" in a multi-line function',rejectedClosingMultiLine:'Unexpected whitespace before ")" in a multi-line function'});
|
|
a=function(a){return function(g,e){c(e,"function-parentheses-newline-inside",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&g.walkDecls(function(c){function g(a,b){d({ruleName:"function-parentheses-newline-inside",result:e,message:a,node:c,index:k(c)+b})}-1!==c.value.indexOf("(")&&b(c.value).walk(function(c){if("function"===c.type&&f(c)){var d=b.stringify(c),e=!h(d),k=c.sourceIndex+c.value.length+1;"always"===a&&-1===c.before.indexOf("\n")&&g(p.expectedOpening,k);e&&"always-multi-line"===
|
|
a&&-1===c.before.indexOf("\n")&&g(p.expectedOpeningMultiLine,k);e&&"never-multi-line"===a&&""!==c.before&&g(p.rejectedOpeningMultiLine,k);d=c.sourceIndex+d.length-2;"always"===a&&-1===c.after.indexOf("\n")&&g(p.expectedClosing,d);e&&"always-multi-line"===a&&-1===c.after.indexOf("\n")&&g(p.expectedClosingMultiLine,d);e&&"never-multi-line"===a&&""!==c.after&&g(p.rejectedClosingMultiLine,d)}})})}};a.ruleName="function-parentheses-newline-inside";a.messages=p;l.exports=a},{"../../utils/declarationValueIndex":532,
|
|
"../../utils/isSingleLineString":570,"../../utils/isStandardSyntaxFunction":573,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-value-parser":276}],420:[function(a,l,g){var k=a("../../utils/declarationValueIndex"),h=a("../../utils/isSingleLineString"),f=a("../../utils/isStandardSyntaxFunction"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("postcss-value-parser"),p=g("function-parentheses-space-inside",
|
|
{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"',expectedOpeningSingleLine:'Expected single space after "(" in a single-line function',rejectedOpeningSingleLine:'Unexpected whitespace after "(" in a single-line function',expectedClosingSingleLine:'Expected single space before ")" in a single-line function',rejectedClosingSingleLine:'Unexpected whitespace before ")" in a single-line function'});
|
|
a=function(a){return function(g,e){c(e,"function-parentheses-space-inside",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&g.walkDecls(function(c){function g(a,b){d({ruleName:"function-parentheses-space-inside",result:e,message:a,node:c,index:k(c)+b})}-1!==c.value.indexOf("(")&&b(c.value).walk(function(c){if("function"===c.type&&f(c)&&c.nodes.length){var d=b.stringify(c),e=h(d),k=c.sourceIndex+c.value.length+1;"always"===a&&" "!==c.before&&g(p.expectedOpening,k);
|
|
"never"===a&&""!==c.before&&g(p.rejectedOpening,k);e&&"always-single-line"===a&&" "!==c.before&&g(p.expectedOpeningSingleLine,k);e&&"never-single-line"===a&&""!==c.before&&g(p.rejectedOpeningSingleLine,k);d=c.sourceIndex+d.length-2;"always"===a&&" "!==c.after&&g(p.expectedClosing,d);"never"===a&&""!==c.after&&g(p.rejectedClosing,d);e&&"always-single-line"===a&&" "!==c.after&&g(p.expectedClosingSingleLine,d);e&&"never-single-line"===a&&""!==c.after&&g(p.rejectedClosingSingleLine,d)}})})}};a.ruleName=
|
|
"function-parentheses-space-inside";a.messages=p;l.exports=a},{"../../utils/declarationValueIndex":532,"../../utils/isSingleLineString":570,"../../utils/isStandardSyntaxFunction":573,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-value-parser":276}],421:[function(a,l,g){var k=a("lodash"),h=a("../../utils/functionArgumentsSearch"),f=a("../../utils/isStandardSyntaxUrl"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),
|
|
b=g("function-url-no-scheme-relative",{rejected:"Unexpected scheme-relative url"});a=function(a){return function(g,l){c(l,"function-url-no-scheme-relative",{actual:a})&&g.walkDecls(function(a){h(a.toString().toLowerCase(),"url",function(c,e){var h=k.trim(c," '\"");f(h)&&0===h.indexOf("//")&&d({message:b.rejected,node:a,index:e,result:l,ruleName:"function-url-no-scheme-relative"})})})}};a.ruleName="function-url-no-scheme-relative";a.messages=b;l.exports=a},{"../../utils/functionArgumentsSearch":536,
|
|
"../../utils/isStandardSyntaxUrl":579,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],422:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/functionArgumentsSearch"),d=a("../../utils/isStandardSyntaxUrl"),c=a("../../utils/optionsMatches"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("function-url-quotes",{expected:function(){return"Expected quotes"},
|
|
rejected:function(){return"Unexpected quotes"}});a=function(a,e){return function(g,l){function n(a){"atrule"===a.type&&q(a);a.walkDecls(function(a){f(a.toString().toLowerCase(),"url",function(b,c){r(b,a,c,"url")})})}function q(a){var b=a.params.toLowerCase();f(b,"url",function(b,c){r(b,a,c+h(a),"url")});f(b,"url-prefix",function(b,c){r(b,a,c+h(a),"url-prefix")});f(b,"domain",function(b,c){r(b,a,c+h(a),"domain")})}function r(b,f,h,g){var l="always"===a,n=b.trimLeft();d(n)&&(h=h+b.length-n.length,n=
|
|
"'"===n[0]||'"'===n[0],b=b.trim(),b=k.includes(["","''",'""'],b),c(e,"except","empty")&&b&&(l=!l),l?n||x(m.expected(g),f,h):n&&x(m.rejected(g),f,h))}function x(a,c,d){b({message:a,node:c,index:d,result:l,ruleName:"function-url-quotes"})}p(l,"function-url-quotes",{actual:a,possible:["always","never"]},{actual:e,possible:{except:["empty"]},optional:!0})&&(g.walkAtRules(n),g.walkRules(n))}};a.ruleName="function-url-quotes";a.messages=m;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/functionArgumentsSearch":536,
|
|
"../../utils/isStandardSyntaxUrl":579,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],423:[function(a,l,g){var k=a("lodash"),h=a("../../utils/functionArgumentsSearch"),f=a("../../utils/getSchemeFromUrl"),d=a("../../utils/isStandardSyntaxUrl"),c=a("../../utils/matchesStringOrRegExp"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("function-url-scheme-blacklist",
|
|
{rejected:function(a){return'Unexpected URL scheme "'+a+':"'}});a=function(a){return function(e,g){p(g,"function-url-scheme-blacklist",{actual:a,possible:[k.isString]})&&e.walkDecls(function(e){h(e.toString().toLowerCase(),"url",function(h,l){var n=k.trim(h," ");d(n)&&(n=k.trim(n,"'\""),n=f(n),null!==n&&c(n,a)&&b({message:m.rejected(n),node:e,index:l,result:g,ruleName:"function-url-scheme-blacklist"}))})})}};a.primaryOptionArray=!0;a.ruleName="function-url-scheme-blacklist";a.messages=m;l.exports=
|
|
a},{"../../utils/functionArgumentsSearch":536,"../../utils/getSchemeFromUrl":542,"../../utils/isStandardSyntaxUrl":579,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],424:[function(a,l,g){var k=a("lodash"),h=a("../../utils/functionArgumentsSearch"),f=a("../../utils/getSchemeFromUrl"),d=a("../../utils/isStandardSyntaxUrl"),c=a("../../utils/matchesStringOrRegExp"),b=a("../../utils/report");g=a("../../utils/ruleMessages");
|
|
var p=a("../../utils/validateOptions"),m=g("function-url-scheme-whitelist",{rejected:function(a){return'Unexpected URL scheme "'+a+':"'}});a=function(a){return function(e,g){p(g,"function-url-scheme-whitelist",{actual:a,possible:[k.isString]})&&e.walkDecls(function(e){h(e.toString().toLowerCase(),"url",function(h,l){var n=k.trim(h," ");d(n)&&(n=k.trim(n,"'\""),n=f(n),null!==n&&(c(n,a)||b({message:m.rejected(n),node:e,index:l,result:g,ruleName:"function-url-scheme-whitelist"})))})})}};a.primaryOptionArray=
|
|
!0;a.ruleName="function-url-scheme-whitelist";a.messages=m;l.exports=a},{"../../utils/functionArgumentsSearch":536,"../../utils/getSchemeFromUrl":542,"../../utils/isStandardSyntaxUrl":579,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],425:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/isStandardSyntaxFunction"),d=a("../../utils/matchesStringOrRegExp"),c=a("postcss"),
|
|
b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=a("postcss-value-parser"),q=g("function-whitelist",{rejected:function(a){return'Unexpected function "'+a+'"'}});a=function(a){var e=[].concat(a);return function(a,g){p(g,"function-whitelist",{actual:e,possible:[k.isString]})&&a.walkDecls(function(a){m(a.value).walk(function(k){"function"===k.type&&f(k)&&(d(c.vendor.unprefixed(k.value),e)||b({message:q.rejected(k.value),node:a,index:h(a)+k.sourceIndex,
|
|
result:g,ruleName:"function-whitelist"}))})})}};a.primaryOptionArray=!0;a.ruleName="function-whitelist";a.messages=q;l.exports=a},{"../../utils/declarationValueIndex":532,"../../utils/isStandardSyntaxFunction":573,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293,"postcss-value-parser":276}],426:[function(a,l,g){var k=a("../../utils/isWhitespace"),h=a("../../utils/report");g=a("../../utils/ruleMessages");
|
|
var f=a("style-search"),d=a("../../utils/validateOptions"),c=g("function-whitespace-after",{expected:'Expected whitespace after ")"',rejected:'Unexpected whitespace after ")"'}),b=new Set([")",",","}",":",void 0]);a=function(a){return function(g,l){d(l,"function-whitespace-after",{actual:a,possible:["always","never"]})&&g.walkDecls(function(d){var e=d.toString();f({source:e,target:")",functionArguments:"only"},function(f){f=f.startIndex;var g=e[f+1];"always"===a?" "!==g&&"\n"!==g&&"\r\n"!==e.substr(f+
|
|
1,2)&&(b.has(g)||h({message:c.expected,node:d,index:f+1,result:l,ruleName:"function-whitespace-after"})):"never"===a&&k(g)&&h({message:c.rejected,node:d,index:f+1,result:l,ruleName:"function-whitespace-after"})})})}};a.ruleName="function-whitespace-after";a.messages=c;l.exports=a},{"../../utils/isWhitespace":584,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],427:[function(a,l,g){var k=a("lodash"),h=a("../utils/declarationValueIndex"),
|
|
f=a("../utils/isStandardSyntaxFunction"),d=a("../utils/report"),c=a("style-search"),b=a("postcss-value-parser");l.exports=function(a){a.root.walkDecls(function(g){var l=k.get(g,"raws.value.raw",g.value);b(l).walk(function(e){if("function"===e.type&&f(e)&&"url"!==e.value.toLowerCase()){var k=function(){var a=b.stringify(e);a=a.slice(e.value.length+1);a=a.slice(0,a.length-1);return a=a.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,"")}();c({source:k,target:",",functionArguments:"skip"},
|
|
function(b){a.locationChecker({source:k,index:b.startIndex,err:function(c){var f=h(g)+e.value.length+1+e.sourceIndex+b.startIndex;d({index:f,message:c,node:g,result:a.result,ruleName:a.checkedRuleName})}})})}})})}},{"../utils/declarationValueIndex":532,"../utils/isStandardSyntaxFunction":573,"../utils/report":592,lodash:164,"postcss-value-parser":276,"style-search":331}],428:[function(a,l,g){function k(a,b){if(!f.isString(a))return a;var c=a.length;if(!c)return a;c=a[c-1];"*"!==c&&"_"!==c&&(c="");
|
|
return a.slice(0,a.lastIndexOf("\n")+1)+b+c}function h(a,b,c,d){var e=d+1;d=a.slice(0,e);a=a.slice(e+b.length);return d+c+a}var f=a("lodash"),d=a("../../utils/beforeBlockString"),c=a("../../utils/hasBlock"),b=a("../../utils/optionsMatches"),p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("style-search"),q=a("../../utils/validateOptions"),e=g("indentation",{expected:function(a){return"Expected indentation of "+a}});a=function(a,g,l){function n(b){b=r?b:b*a;return b+" "+(1===b?A:A+
|
|
"s")}g=g||{};var r="tab"===a,t=r?"\t":f.repeat(" ",a),A=r?"tab":"space";return function(r,u){function w(a,d){d=d||0;if("root"===a.parent.type)return d;var e=w(a.parent,d+1);b(g,"except","block")&&("rule"===a.type||"atrule"===a.type)&&c(a)&&e--;return e}function x(a,c,d){if(-1!==a.indexOf("\n")){var k=[],q=0;m({source:a,target:"\n",outsideParens:b(g,"ignore","inside-parens")},function(h,m){var w=/^[ \t]*\)/.test(a.slice(h.startIndex+1));if(!b(g,"ignore","inside-parens")||!w&&!h.insideParens){var x=
|
|
c;if(!b(g,"ignore","inside-parens")&&h.insideParens){1===m&&--q;var A=h.startIndex;"\r"===a[h.startIndex-1]&&A--;/\([ \t]*$/.test(a.slice(0,A))&&(q+=1);x+=q;w&&--q;switch(g.indentInsideParens){case "twice":if(!w||g.indentClosingBrace)x+=1;break;case "once-at-root-twice-in-block":if(d.parent===r){w&&!g.indentClosingBrace&&--x;break}if(!w||g.indentClosingBrace)x+=1;break;default:w&&!g.indentClosingBrace&&--x}}if(w=/^([ \t]*)\S/.exec(a.slice(h.startIndex+1)))w=w[1],A=f.repeat(t,x),w!==A&&(l.fix?k.unshift({expectedIndentation:A,
|
|
currentIndentation:w,startIndex:h.startIndex}):p({message:e.expected(n(x)),node:d,index:h.startIndex+w.length+1,result:u,ruleName:"indentation"}))}});if(k.length){"rule"===d.type&&k.forEach(function(a){d.selector=h(d.selector,a.currentIndentation,a.expectedIndentation,a.startIndex)});if("decl"===d.type){var w=d.prop,x=d.raws.between;k.forEach(function(a){a.startIndex<w.length+x.length?d.raws.between=h(x,a.currentIndentation,a.expectedIndentation,a.startIndex-w.length):d.value=h(d.value,a.currentIndentation,
|
|
a.expectedIndentation,a.startIndex-w.length-x.length)})}if("atrule"===d.type){var A=d.name,C=d.raws.afterName,F=d.params;k.forEach(function(a){a.startIndex<1+A.length+C.length?d.raws.afterName=h(C,a.currentIndentation,a.expectedIndentation,a.startIndex-A.length-1):d.params=h(F,a.currentIndentation,a.expectedIndentation,a.startIndex-A.length-C.length-1)})}}}}q(u,"indentation",{actual:a,possible:[f.isNumber,"tab"]},{actual:g,possible:{except:["block","value","param"],ignore:["value","param","inside-parens"],
|
|
indentInsideParens:["twice","once-at-root-twice-in-block"],indentClosingBrace:[f.isBoolean]},optional:!0})&&r.walk(function(a){var h=w(a),m=f.repeat(t,h),q=a.raws.before||"",A=a.raws.after||"",C=r.first===a||-1!==q.indexOf("\n");if("*"===q[q.length-1]||"_"===q[q.length-1])q=q.slice(0,q.length-1);C&&q.slice(q.lastIndexOf("\n")+1)!==m&&(l.fix?a.raws.before=k(a.raws.before,m):p({message:e.expected(n(h)),node:a,result:u,ruleName:"indentation"}));m=g.indentClosingBrace?h+1:h;q=f.repeat(t,m);c(a)&&A&&-1!==
|
|
A.indexOf("\n")&&A.slice(A.lastIndexOf("\n")+1)!==q&&(l.fix?a.raws.after=k(a.raws.after,q):p({message:e.expected(n(m)),node:a,index:a.toString().length-1,result:u,ruleName:"indentation"}));a.value&&(-1===a.value.indexOf("\n")||b(g,"ignore","value")||(A=a.toString(),m=b(g,"except","value")?h:h+1,x(A,m,a)));a.selector&&(A=h,m=a.selector,a.params&&(A+=1),x(m,A,a));"atrule"===a.type&&(b(g,"ignore","param")||(h=b(g,"except","param")||"nest"===a.name?h:h+1,x(d(a).trim(),h,a)))})}};a.ruleName="indentation";
|
|
a.messages=e;l.exports=a},{"../../utils/beforeBlockString":524,"../../utils/hasBlock":544,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"style-search":331}],429:[function(a,l,g){var k=a("./at-rule-blacklist"),h=a("./at-rule-empty-line-before"),f=a("./at-rule-name-case"),d=a("./at-rule-name-newline-after"),c=a("./at-rule-name-space-after"),b=a("./at-rule-no-unknown"),p=a("./at-rule-semicolon-newline-after"),m=a("./at-rule-semicolon-space-before"),
|
|
q=a("./at-rule-whitelist"),e=a("./block-closing-brace-empty-line-before"),n=a("./block-closing-brace-newline-after"),r=a("./block-closing-brace-newline-before"),t=a("./block-closing-brace-space-after"),u=a("./block-closing-brace-space-before"),w=a("./block-no-empty"),x=a("./block-opening-brace-newline-after"),A=a("./block-opening-brace-newline-before"),L=a("./block-opening-brace-space-after"),C=a("./block-opening-brace-space-before"),F=a("./color-hex-case"),K=a("./color-hex-length"),M=a("./color-named"),
|
|
B=a("./color-no-hex"),I=a("./color-no-invalid-hex"),D=a("./comment-empty-line-before"),E=a("./comment-no-empty"),P=a("./comment-whitespace-inside"),y=a("./comment-word-blacklist"),z=a("./custom-media-pattern"),H=a("./custom-property-empty-line-before"),Q=a("./custom-property-pattern"),J=a("./declaration-bang-space-after"),N=a("./declaration-bang-space-before"),R=a("./declaration-block-no-duplicate-properties"),G=a("./declaration-block-no-redundant-longhand-properties"),O=a("./declaration-block-no-shorthand-property-overrides"),
|
|
S=a("./declaration-block-semicolon-newline-after"),ca=a("./declaration-block-semicolon-newline-before"),ha=a("./declaration-block-semicolon-space-after"),ra=a("./declaration-block-semicolon-space-before"),ea=a("./declaration-block-single-line-max-declarations"),ta=a("./declaration-block-trailing-semicolon"),v=a("./declaration-colon-newline-after"),U=a("./declaration-colon-space-after"),T=a("./declaration-colon-space-before"),Sa=a("./declaration-empty-line-before"),X=a("./declaration-no-important"),
|
|
Y=a("./declaration-property-unit-blacklist"),V=a("./declaration-property-unit-whitelist"),gb=a("./declaration-property-value-blacklist"),Ya=a("./declaration-property-value-whitelist"),cd=a("./font-family-name-quotes"),dd=a("./font-family-no-duplicate-names"),ed=a("./font-weight-notation"),fd=a("./function-blacklist"),ic=a("./function-calc-no-unspaced-operator"),gd=a("./function-comma-newline-after"),hd=a("./function-comma-newline-before"),kd=a("./function-comma-space-after"),ld=a("./function-comma-space-before"),
|
|
Pb=a("./function-linear-gradient-no-nonstandard-direction"),md=a("./function-max-empty-lines"),jc=a("./function-name-case"),kc=a("./function-parentheses-newline-inside"),nd=a("./function-parentheses-space-inside"),od=a("./function-url-no-scheme-relative"),pd=a("./function-url-quotes"),qd=a("./function-url-scheme-blacklist"),rd=a("./function-url-scheme-whitelist"),sd=a("./function-whitelist"),td=a("./function-whitespace-after"),lc=a("./indentation"),ud=a("./keyframe-declaration-no-important"),vd=a("./length-zero-no-unit"),
|
|
wd=a("./max-empty-lines"),xd=a("./max-line-length"),yd=a("./max-nesting-depth"),zd=a("./media-feature-colon-space-after"),zb=a("./media-feature-colon-space-before"),Ad=a("./media-feature-name-blacklist"),qb=a("./media-feature-name-case"),Qb=a("./media-feature-name-no-unknown"),Bd=a("./media-feature-name-whitelist"),Cd=a("./media-feature-parentheses-space-inside"),ib=a("./media-feature-range-operator-space-after"),Dd=a("./media-feature-range-operator-space-before"),hb=a("./media-query-list-comma-newline-after"),
|
|
Ed=a("./media-query-list-comma-newline-before"),Fd=a("./media-query-list-comma-space-after"),Gd=a("./media-query-list-comma-space-before"),ja=a("./no-descending-specificity"),ia=a("./no-duplicate-selectors"),Nb=a("./no-empty-source"),Hd=a("./no-eol-whitespace"),Id=a("./no-extra-semicolons"),Ab=a("./no-invalid-double-slash-comments"),Rb=a("./no-missing-end-of-source-newline"),sa=a("./no-unknown-animations"),rb=a("./number-leading-zero"),Za=a("./number-max-precision"),mc=a("./number-no-trailing-zeros"),
|
|
sb=a("./property-blacklist"),na=a("./property-case"),nc=a("./property-no-unknown"),oc=a("./property-whitelist"),pc=a("./rule-empty-line-before"),qc=a("./selector-attribute-brackets-space-inside"),rc=a("./selector-attribute-operator-blacklist"),sc=a("./selector-attribute-operator-space-after"),Ob=a("./selector-attribute-operator-space-before"),Jd=a("./selector-attribute-operator-whitelist"),Kd=a("./selector-attribute-quotes"),Ld=a("./selector-class-pattern"),Xa=a("./selector-combinator-space-after"),
|
|
De=a("./selector-combinator-space-before"),id=a("./selector-descendant-combinator-no-non-space"),jd=a("./selector-id-pattern"),jg=a("./selector-list-comma-newline-after"),kg=a("./selector-list-comma-newline-before"),lg=a("./selector-list-comma-space-after"),mg=a("./selector-list-comma-space-before"),ng=a("./selector-max-attribute"),Pa=a("./selector-max-class"),Qa=a("./selector-max-combinators"),$a=a("./selector-max-compound-selectors"),Fa=a("./selector-max-empty-lines"),og=a("./selector-max-id"),
|
|
qg=a("./selector-max-specificity"),rg=a("./selector-max-type"),sg=a("./selector-max-universal"),tg=a("./selector-nested-pattern"),ub=a("./selector-no-qualifying-type"),Cb=a("./selector-pseudo-class-blacklist"),ug=a("./selector-pseudo-class-case"),uc=a("./selector-pseudo-class-no-unknown"),vg=a("./selector-pseudo-class-parentheses-space-inside"),Ra=a("./selector-pseudo-class-whitelist"),Tb=a("./selector-pseudo-element-case"),bb=a("./selector-pseudo-element-colon-notation"),Ha=a("./selector-pseudo-element-no-unknown"),
|
|
Ag=a("./selector-type-case"),wc=a("./selector-type-no-unknown"),xc=a("./shorthand-property-no-redundant-values"),vb=a("./string-no-newline"),Bg=a("./string-quotes"),Db=a("./time-min-milliseconds"),yc=a("./unit-blacklist"),va=a("./unit-case"),Ma=a("./unit-no-unknown"),Vb=a("./unit-whitelist"),Eb=a("./value-keyword-case"),Va=a("./value-list-comma-newline-after"),zc=a("./value-list-comma-newline-before"),ya=a("./value-list-comma-space-after"),Wb=a("./value-list-comma-space-before"),Dg=a("./value-list-max-empty-lines");
|
|
l.exports={"at-rule-blacklist":k,"at-rule-empty-line-before":h,"at-rule-name-case":f,"at-rule-name-newline-after":d,"at-rule-semicolon-space-before":m,"at-rule-name-space-after":c,"at-rule-no-unknown":b,"at-rule-semicolon-newline-after":p,"at-rule-whitelist":q,"block-closing-brace-empty-line-before":e,"block-closing-brace-newline-after":n,"block-closing-brace-newline-before":r,"block-closing-brace-space-after":t,"block-closing-brace-space-before":u,"block-no-empty":w,"block-opening-brace-newline-after":x,
|
|
"block-opening-brace-newline-before":A,"block-opening-brace-space-after":L,"block-opening-brace-space-before":C,"color-hex-case":F,"color-hex-length":K,"color-named":M,"color-no-hex":B,"color-no-invalid-hex":I,"comment-empty-line-before":D,"comment-no-empty":E,"comment-whitespace-inside":P,"comment-word-blacklist":y,"custom-media-pattern":z,"custom-property-empty-line-before":H,"custom-property-pattern":Q,"declaration-bang-space-after":J,"declaration-bang-space-before":N,"declaration-block-no-duplicate-properties":R,
|
|
"declaration-block-no-redundant-longhand-properties":G,"declaration-block-no-shorthand-property-overrides":O,"declaration-block-semicolon-newline-after":S,"declaration-block-semicolon-newline-before":ca,"declaration-block-semicolon-space-after":ha,"declaration-block-semicolon-space-before":ra,"declaration-block-single-line-max-declarations":ea,"declaration-block-trailing-semicolon":ta,"declaration-colon-newline-after":v,"declaration-colon-space-after":U,"declaration-colon-space-before":T,"declaration-empty-line-before":Sa,
|
|
"declaration-no-important":X,"declaration-property-unit-blacklist":Y,"declaration-property-unit-whitelist":V,"declaration-property-value-blacklist":gb,"declaration-property-value-whitelist":Ya,"font-family-name-quotes":cd,"font-family-no-duplicate-names":dd,"font-weight-notation":ed,"function-blacklist":fd,"function-calc-no-unspaced-operator":ic,"function-comma-newline-after":gd,"function-comma-newline-before":hd,"function-comma-space-after":kd,"function-comma-space-before":ld,"function-linear-gradient-no-nonstandard-direction":Pb,
|
|
"function-max-empty-lines":md,"function-name-case":jc,"function-parentheses-newline-inside":kc,"function-parentheses-space-inside":nd,"function-url-no-scheme-relative":od,"function-url-quotes":pd,"function-url-scheme-blacklist":qd,"function-url-scheme-whitelist":rd,"function-whitelist":sd,"function-whitespace-after":td,"keyframe-declaration-no-important":ud,"length-zero-no-unit":vd,"max-empty-lines":wd,"max-line-length":xd,"max-nesting-depth":yd,"media-feature-colon-space-after":zd,"media-feature-colon-space-before":zb,
|
|
"media-feature-name-blacklist":Ad,"media-feature-name-case":qb,"media-feature-name-no-unknown":Qb,"media-feature-name-whitelist":Bd,"media-feature-parentheses-space-inside":Cd,"media-feature-range-operator-space-after":ib,"media-feature-range-operator-space-before":Dd,"media-query-list-comma-newline-after":hb,"media-query-list-comma-newline-before":Ed,"media-query-list-comma-space-after":Fd,"media-query-list-comma-space-before":Gd,"no-descending-specificity":ja,"no-duplicate-selectors":ia,"no-empty-source":Nb,
|
|
"no-eol-whitespace":Hd,"no-extra-semicolons":Id,"no-invalid-double-slash-comments":Ab,"no-missing-end-of-source-newline":Rb,"no-unknown-animations":sa,"number-leading-zero":rb,"number-max-precision":Za,"number-no-trailing-zeros":mc,"property-blacklist":sb,"property-case":na,"property-no-unknown":nc,"property-whitelist":oc,"rule-empty-line-before":pc,"selector-attribute-brackets-space-inside":qc,"selector-attribute-operator-blacklist":rc,"selector-attribute-operator-space-after":sc,"selector-attribute-operator-space-before":Ob,
|
|
"selector-attribute-operator-whitelist":Jd,"selector-attribute-quotes":Kd,"selector-class-pattern":Ld,"selector-combinator-space-after":Xa,"selector-combinator-space-before":De,"selector-descendant-combinator-no-non-space":id,"selector-id-pattern":jd,"selector-list-comma-newline-after":jg,"selector-list-comma-newline-before":kg,"selector-list-comma-space-after":lg,"selector-list-comma-space-before":mg,"selector-max-attribute":ng,"selector-max-class":Pa,"selector-max-combinators":Qa,"selector-max-compound-selectors":$a,
|
|
"selector-max-empty-lines":Fa,"selector-max-id":og,"selector-max-specificity":qg,"selector-max-type":rg,"selector-max-universal":sg,"selector-nested-pattern":tg,"selector-no-qualifying-type":ub,"selector-pseudo-class-blacklist":Cb,"selector-pseudo-class-case":ug,"selector-pseudo-class-no-unknown":uc,"selector-pseudo-class-parentheses-space-inside":vg,"selector-pseudo-class-whitelist":Ra,"selector-pseudo-element-case":Tb,"selector-pseudo-element-colon-notation":bb,"selector-pseudo-element-no-unknown":Ha,
|
|
"selector-type-case":Ag,"selector-type-no-unknown":wc,"shorthand-property-no-redundant-values":xc,"string-no-newline":vb,"string-quotes":Bg,"time-min-milliseconds":Db,"unit-blacklist":yc,"unit-case":va,"unit-no-unknown":Ma,"unit-whitelist":Vb,"value-keyword-case":Eb,"value-list-comma-newline-after":Va,"value-list-comma-newline-before":zc,"value-list-comma-space-after":ya,"value-list-comma-space-before":Wb,"value-list-max-empty-lines":Dg,indentation:lc}},{"./at-rule-blacklist":352,"./at-rule-empty-line-before":353,
|
|
"./at-rule-name-case":354,"./at-rule-name-newline-after":355,"./at-rule-name-space-after":356,"./at-rule-no-unknown":357,"./at-rule-semicolon-newline-after":358,"./at-rule-semicolon-space-before":359,"./at-rule-whitelist":360,"./block-closing-brace-empty-line-before":362,"./block-closing-brace-newline-after":363,"./block-closing-brace-newline-before":364,"./block-closing-brace-space-after":365,"./block-closing-brace-space-before":366,"./block-no-empty":367,"./block-opening-brace-newline-after":368,
|
|
"./block-opening-brace-newline-before":369,"./block-opening-brace-space-after":370,"./block-opening-brace-space-before":371,"./color-hex-case":372,"./color-hex-length":373,"./color-named":374,"./color-no-hex":375,"./color-no-invalid-hex":376,"./comment-empty-line-before":377,"./comment-no-empty":378,"./comment-whitespace-inside":379,"./comment-word-blacklist":380,"./custom-media-pattern":381,"./custom-property-empty-line-before":382,"./custom-property-pattern":383,"./declaration-bang-space-after":384,
|
|
"./declaration-bang-space-before":385,"./declaration-block-no-duplicate-properties":386,"./declaration-block-no-redundant-longhand-properties":387,"./declaration-block-no-shorthand-property-overrides":388,"./declaration-block-semicolon-newline-after":389,"./declaration-block-semicolon-newline-before":390,"./declaration-block-semicolon-space-after":391,"./declaration-block-semicolon-space-before":392,"./declaration-block-single-line-max-declarations":393,"./declaration-block-trailing-semicolon":394,
|
|
"./declaration-colon-newline-after":395,"./declaration-colon-space-after":396,"./declaration-colon-space-before":397,"./declaration-empty-line-before":398,"./declaration-no-important":399,"./declaration-property-unit-blacklist":400,"./declaration-property-unit-whitelist":401,"./declaration-property-value-blacklist":402,"./declaration-property-value-whitelist":403,"./font-family-name-quotes":407,"./font-family-no-duplicate-names":408,"./font-weight-notation":409,"./function-blacklist":410,"./function-calc-no-unspaced-operator":411,
|
|
"./function-comma-newline-after":412,"./function-comma-newline-before":413,"./function-comma-space-after":414,"./function-comma-space-before":415,"./function-linear-gradient-no-nonstandard-direction":416,"./function-max-empty-lines":417,"./function-name-case":418,"./function-parentheses-newline-inside":419,"./function-parentheses-space-inside":420,"./function-url-no-scheme-relative":421,"./function-url-quotes":422,"./function-url-scheme-blacklist":423,"./function-url-scheme-whitelist":424,"./function-whitelist":425,
|
|
"./function-whitespace-after":426,"./indentation":428,"./keyframe-declaration-no-important":430,"./length-zero-no-unit":431,"./max-empty-lines":432,"./max-line-length":433,"./max-nesting-depth":434,"./media-feature-colon-space-after":435,"./media-feature-colon-space-before":436,"./media-feature-name-blacklist":437,"./media-feature-name-case":438,"./media-feature-name-no-unknown":439,"./media-feature-name-whitelist":440,"./media-feature-parentheses-space-inside":441,"./media-feature-range-operator-space-after":442,
|
|
"./media-feature-range-operator-space-before":443,"./media-query-list-comma-newline-after":444,"./media-query-list-comma-newline-before":445,"./media-query-list-comma-space-after":446,"./media-query-list-comma-space-before":447,"./no-descending-specificity":450,"./no-duplicate-selectors":451,"./no-empty-source":452,"./no-eol-whitespace":453,"./no-extra-semicolons":454,"./no-invalid-double-slash-comments":455,"./no-missing-end-of-source-newline":456,"./no-unknown-animations":457,"./number-leading-zero":458,
|
|
"./number-max-precision":459,"./number-no-trailing-zeros":460,"./property-blacklist":461,"./property-case":462,"./property-no-unknown":463,"./property-whitelist":464,"./rule-empty-line-before":465,"./selector-attribute-brackets-space-inside":466,"./selector-attribute-operator-blacklist":467,"./selector-attribute-operator-space-after":468,"./selector-attribute-operator-space-before":469,"./selector-attribute-operator-whitelist":470,"./selector-attribute-quotes":471,"./selector-class-pattern":472,"./selector-combinator-space-after":473,
|
|
"./selector-combinator-space-before":474,"./selector-descendant-combinator-no-non-space":475,"./selector-id-pattern":476,"./selector-list-comma-newline-after":477,"./selector-list-comma-newline-before":478,"./selector-list-comma-space-after":479,"./selector-list-comma-space-before":480,"./selector-max-attribute":481,"./selector-max-class":482,"./selector-max-combinators":483,"./selector-max-compound-selectors":484,"./selector-max-empty-lines":485,"./selector-max-id":486,"./selector-max-specificity":487,
|
|
"./selector-max-type":488,"./selector-max-universal":489,"./selector-nested-pattern":490,"./selector-no-qualifying-type":491,"./selector-pseudo-class-blacklist":492,"./selector-pseudo-class-case":493,"./selector-pseudo-class-no-unknown":494,"./selector-pseudo-class-parentheses-space-inside":495,"./selector-pseudo-class-whitelist":496,"./selector-pseudo-element-case":497,"./selector-pseudo-element-colon-notation":498,"./selector-pseudo-element-no-unknown":499,"./selector-type-case":500,"./selector-type-no-unknown":501,
|
|
"./shorthand-property-no-redundant-values":505,"./string-no-newline":506,"./string-quotes":507,"./time-min-milliseconds":508,"./unit-blacklist":509,"./unit-case":510,"./unit-no-unknown":511,"./unit-whitelist":512,"./value-keyword-case":513,"./value-list-comma-newline-after":514,"./value-list-comma-newline-before":515,"./value-list-comma-space-after":516,"./value-list-comma-space-before":517,"./value-list-max-empty-lines":518}],430:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");
|
|
var h=a("../../utils/validateOptions"),f=g("keyframe-declaration-no-important",{rejected:"Unexpected !important"});a=function(a){return function(c,b){h(b,"keyframe-declaration-no-important",{actual:a})&&c.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,function(a){a.walkDecls(function(a){a.important&&k({message:f.rejected,node:a,word:"important",result:b,ruleName:"keyframe-declaration-no-important"})})})}};a.ruleName="keyframe-declaration-no-important";a.messages=f;l.exports=a},{"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],431:[function(a,l,g){var k=a("lodash"),h=a("../../utils/beforeBlockString"),f=a("../../utils/blurComments"),d=a("../../utils/hasBlock"),c=a("../../reference/keywordSets"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("style-search"),m=a("../../utils/validateOptions"),q=a("postcss-value-parser"),e=g("length-zero-no-unit",{rejected:"Unexpected unit"});a=function(a){return function(g,l){function n(a,d){var f=new Set;
|
|
p({source:a,target:"0"},function(h){h=h.startIndex;if(!f.has(h)&&(h=k.findLastIndex(a.substr(0,h),function(a){return-1!==" ,)(#:\n\t".split("").indexOf(a)}),"#"!==a[h])){h=-1===h?0:h+1;var g=k.findIndex(a.substr(h),function(a){return-1!==[" ",",",")"].indexOf(a)});g=-1===g?a.length:g+h;var m=a.slice(h,g),n=q.unit(m);!n||n&&!n.unit||(k.range(h,g).forEach(function(a){return f.add(a)}),0===parseFloat(m,10)&&c.lengthUnits.has(n.unit.toLowerCase())&&b({message:e.rejected,node:d,index:g-n.unit.length,result:l,
|
|
ruleName:"length-zero-no-unit"}))}})}m(l,"length-zero-no-unit",{actual:a})&&(g.walkDecls(function(a){n(f(a.toString()),a)}),g.walkAtRules(function(a){var b=d(a)?h(a,{noRawBefore:!0}):a.toString();n(b,a)}))}};a.ruleName="length-zero-no-unit";a.messages=e;l.exports=a},{"../../reference/keywordSets":347,"../../utils/beforeBlockString":524,"../../utils/blurComments":526,"../../utils/hasBlock":544,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276,
|
|
"style-search":331}],432:[function(a,l,g){var k=a("lodash"),h=a("../../utils/optionsMatches"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("style-search"),c=a("../../utils/validateOptions"),b=g("max-empty-lines",{expected:function(a){return"Expected no more than "+a+" empty "+(1===a?"line":"lines")}});a=function(a,g){var l=a+1;return function(e,m){function n(c,d,e){var h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,g=!1;c.substr(d,l)===q?g=d+l:c.substr(d,2*l)===w&&
|
|
(g=d+2*l);g&&f({message:b.expected(a),node:e,index:g+h,result:m,ruleName:"max-empty-lines"})}if(c(m,"max-empty-lines",{actual:a,possible:k.isNumber},{actual:g,possible:{ignore:["comments"]},optional:!0})){var p=e.toString(),q=k.repeat("\n",l),w=k.repeat("\r\n",l),x=h(g,"ignore","comments");d({source:p,target:"\n"},function(a){n(p,a.endIndex,e)});x||e.walkComments(function(a){var b=(a.raws.left||"")+a.text+(a.raws.right||"");d({source:b,target:"\n"},function(c){n(b,c.endIndex,a,2)})})}}};a.ruleName=
|
|
"max-empty-lines";a.messages=b;l.exports=a},{"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"style-search":331}],433:[function(a,l,g){var k=a("lodash"),h=a("execall"),f=a("../../utils/optionsMatches"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("style-search"),b=a("../../utils/validateOptions"),p=g("max-line-length",{expected:function(a){return"Expected line length to be no more than "+a+" "+
|
|
(1===a?"character":"characters")}});a=function(a,g){return function(e,l){function m(b){d({index:b,result:l,ruleName:"max-line-length",message:p.expected(a),node:e})}function n(b){var c=q.indexOf("\n",b.endIndex);"\r"===q[c-1]&&--c;-1===c&&(c=q.length);var d=c-b.endIndex,e=q.slice(b.endIndex,c);if(!f(g,"ignorePattern",e)){var l=h(/url\((.*)\)/gi,e).reduce(function(a,b){return a+k.get(b,"sub[0].length",0)},0);e=h(/@import\s+(['"].*['"])/gi,e).reduce(function(a,b){return a+k.get(b,"sub[0].length",0)},
|
|
0);if(!(d-l-e<=a)){d=c-1;if(x){if(b.insideComment)return;l=q.slice(b.endIndex).trim().slice(0,2);if("/*"===l||"//"===l)return}if(w){if(b.insideComment)return m(d);b=q.slice(b.endIndex).trim().slice(0,2);return"/*"!==b&&"//"!==b?void 0:m(d)}if(-1!==q.slice(b.endIndex,c).replace(/^\s+/,"").indexOf(" "))return m(d)}}}if(b(l,"max-line-length",{actual:a,possible:k.isNumber},{actual:g,possible:{ignore:["non-comments","comments"],ignorePattern:[k.isString]},optional:!0})){var q=e.source.input.css,w=f(g,
|
|
"ignore","non-comments"),x=f(g,"ignore","comments");n({endIndex:0});c({source:q,target:["\n"],comments:"check"},n)}}};a.ruleName="max-line-length";a.messages=p;l.exports=a},{"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,execall:78,lodash:164,"style-search":331}],434:[function(a,l,g){var k=a("lodash"),h=a("../../utils/hasBlock"),f=a("../../utils/optionsMatches"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=
|
|
a("../../utils/validateOptions"),b=g("max-nesting-depth",{expected:function(a){return"Expected nesting depth to be no more than "+a}});a=function(a,g){function l(a,b){b=b||0;var c=a.parent;return e(c)?0:"root"===c.type||"atrule"===c.type&&"root"===c.parent.type?b:f(g,"ignore","blockless-at-rules")&&"atrule"===a.type&&a.every(function(a){return"decl"!==a.type})?l(c,b):l(c,b+1)}var e=function(a){return"atrule"===a.type&&f(g,"ignoreAtRules",a.name)};return function(f,m){function n(c){e(c)||h(c)&&l(c)>
|
|
a&&d({ruleName:"max-nesting-depth",result:m,node:c,message:b.expected(a)})}c(m,"max-nesting-depth",{actual:a,possible:[k.isNumber]},{optional:!0,actual:g,possible:{ignore:["blockless-at-rules"],ignoreAtRules:[k.isString]}});f.walkRules(n);f.walkAtRules(n)}};a.ruleName="max-nesting-depth";a.messages=b;l.exports=a},{"../../utils/hasBlock":544,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],435:[function(a,l,g){var k=
|
|
a("../mediaFeatureColonSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("media-feature-colon-space-after",{expectedAfter:function(){return'Expected single space after ":"'},rejectedAfter:function(){return'Unexpected whitespace after ":"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"media-feature-colon-space-after",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"media-feature-colon-space-after"})}};
|
|
a.ruleName="media-feature-colon-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../mediaFeatureColonSpaceChecker":448}],436:[function(a,l,g){var k=a("../mediaFeatureColonSpaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("media-feature-colon-space-before",{expectedBefore:function(){return'Expected single space before ":"'},rejectedBefore:function(){return'Unexpected whitespace before ":"'}});
|
|
a=function(a){var b=f("space",a,d);return function(c,d){h(d,"media-feature-colon-space-before",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"media-feature-colon-space-before"})}};a.ruleName="media-feature-colon-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../mediaFeatureColonSpaceChecker":448}],437:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),
|
|
f=a("../../utils/isCustomMediaQuery"),d=a("../../utils/isRangeContextMediaFeature"),c=a("../../utils/isStandardSyntaxMediaFeatureName"),b=a("../../utils/matchesStringOrRegExp"),p=a("postcss-media-query-parser")["default"],m=a("../../utils/report");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),e=g("media-feature-name-blacklist",{rejected:function(a){return'Unexpected media feature name "'+a+'"'}});a=function(a){return function(g,l){q(l,"media-feature-name-blacklist",{actual:a,
|
|
possible:[k.isString]})&&g.walkAtRules(/^media$/i,function(g){p(g.params).walk(/^media-feature$/i,function(k){var n=k.sourceIndex,p=k.value;d(k.parent.value)||!c(p)||f(p)||b(p,a)&&m({index:h(g)+n,message:e.rejected(p),node:g,ruleName:"media-feature-name-blacklist",result:l})})})}};a.primaryOptionArray=!0;a.ruleName="media-feature-name-blacklist";a.messages=e;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/isCustomMediaQuery":559,"../../utils/isRangeContextMediaFeature":568,"../../utils/isStandardSyntaxMediaFeatureName":574,
|
|
"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-media-query-parser":243}],438:[function(a,l,g){var k=a("../../utils/atRuleParamIndex"),h=a("../../utils/isCustomMediaQuery"),f=a("../../utils/isRangeContextMediaFeature"),d=a("../../utils/isStandardSyntaxMediaFeatureName"),c=a("postcss-media-query-parser")["default"],b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),
|
|
m=g("media-feature-name-case",{expected:function(a,b){return'Expected "'+a+'" to be "'+b+'"'}});a=function(a){return function(e,g){p(g,"media-feature-name-case",{actual:a,possible:["lower","upper"]})&&e.walkAtRules(/^media$/i,function(e){c(e.params).walk(/^media-feature$/i,function(c){var l=c.sourceIndex,n=c.value;f(c.parent.value)||!d(n)||h(n)||(c="lower"===a?n.toLowerCase():n.toUpperCase(),n!==c&&b({index:k(e)+l,message:m.expected(n,c),node:e,ruleName:"media-feature-name-case",result:g}))})})}};
|
|
a.ruleName="media-feature-name-case";a.messages=m;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/isCustomMediaQuery":559,"../../utils/isRangeContextMediaFeature":568,"../../utils/isStandardSyntaxMediaFeatureName":574,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-media-query-parser":243}],439:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/isCustomMediaQuery"),d=a("../../utils/isRangeContextMediaFeature"),
|
|
c=a("../../utils/isStandardSyntaxMediaFeatureName"),b=a("../../reference/keywordSets"),p=a("postcss-media-query-parser")["default"],m=a("../../utils/optionsMatches"),q=a("postcss"),e=a("../../utils/report");g=a("../../utils/ruleMessages");var n=a("../../utils/validateOptions"),r=g("media-feature-name-no-unknown",{rejected:function(a){return'Unexpected unknown media feature name "'+a+'"'}});a=function(a,g){return function(l,t){n(t,"media-feature-name-no-unknown",{actual:a},{actual:g,possible:{ignoreMediaFeatureNames:[k.isString]},
|
|
optional:!0})&&l.walkAtRules(/^media$/i,function(a){p(a.params).walk(/^media-feature$/i,function(k){var l=k.sourceIndex,n=k.value;d(k.parent.value)||!c(n)||f(n)||m(g,"ignoreMediaFeatureNames",n)||q.vendor.prefix(n)||b.mediaFeatureNames.has(n.toLowerCase())||e({index:h(a)+l,message:r.rejected(n),node:a,ruleName:"media-feature-name-no-unknown",result:t})})})}};a.ruleName="media-feature-name-no-unknown";a.messages=r;l.exports=a},{"../../reference/keywordSets":347,"../../utils/atRuleParamIndex":523,"../../utils/isCustomMediaQuery":559,
|
|
"../../utils/isRangeContextMediaFeature":568,"../../utils/isStandardSyntaxMediaFeatureName":574,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293,"postcss-media-query-parser":243}],440:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/isCustomMediaQuery"),d=a("../../utils/isRangeContextMediaFeature"),c=a("../../utils/isStandardSyntaxMediaFeatureName"),b=a("../../utils/matchesStringOrRegExp"),
|
|
p=a("postcss-media-query-parser")["default"],m=a("../../utils/report");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),e=g("media-feature-name-whitelist",{rejected:function(a){return'Unexpected media feature name "'+a+'"'}});a=function(a){return function(g,l){q(l,"media-feature-name-whitelist",{actual:a,possible:[k.isString]})&&g.walkAtRules(/^media$/i,function(g){p(g.params).walk(/^media-feature$/i,function(k){var n=k.sourceIndex,p=k.value;d(k.parent.value)||!c(p)||f(p)||b(p,
|
|
a)||m({index:h(g)+n,message:e.rejected(p),node:g,ruleName:"media-feature-name-whitelist",result:l})})})}};a.primaryOptionArray=!0;a.ruleName="media-feature-name-whitelist";a.messages=e;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/isCustomMediaQuery":559,"../../utils/isRangeContextMediaFeature":568,"../../utils/isStandardSyntaxMediaFeatureName":574,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,
|
|
"postcss-media-query-parser":243}],441:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("style-search"),c=a("../../utils/validateOptions"),b=g("media-feature-parentheses-space-inside",{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'});a=function(a){return function(g,
|
|
l){c(l,"media-feature-parentheses-space-inside",{actual:a,possible:["always","never"]})&&g.walkAtRules(/^media$/i,function(c){var e=k.get(c,"raws.params.raw",c.params),g=h(c);d({source:e,target:"("},function(d){var h=" "===e[d.startIndex+1];h&&"never"===a&&f({message:b.rejectedOpening,node:c,index:d.startIndex+1+g,result:l,ruleName:"media-feature-parentheses-space-inside"});h||"always"!==a||f({message:b.expectedOpening,node:c,index:d.startIndex+1+g,result:l,ruleName:"media-feature-parentheses-space-inside"})});
|
|
d({source:e,target:")"},function(d){var h=" "===e[d.startIndex-1];h&&"never"===a&&f({message:b.rejectedClosing,node:c,index:d.startIndex-1+g,result:l,ruleName:"media-feature-parentheses-space-inside"});h||"always"!==a||f({message:b.expectedClosing,node:c,index:d.startIndex-1+g,result:l,ruleName:"media-feature-parentheses-space-inside"})})})}};a.ruleName="media-feature-parentheses-space-inside";a.messages=b;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,lodash:164,"style-search":331}],442:[function(a,l,g){var k=a("../../utils/atRuleParamIndex"),h=a("../findMediaOperator"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=a("../../utils/whitespaceChecker"),b=g("media-feature-range-operator-space-after",{expectedAfter:function(){return"Expected single space after range operator"},rejectedAfter:function(){return"Unexpected whitespace after range operator"}});a=function(a){var g=
|
|
c("space",a,b);return function(b,c){function e(a,b,d){var e=a.index+a[1].length;g.after({source:b,index:e,err:function(a){f({message:a,node:d,index:e+k(d)+1,result:c,ruleName:"media-feature-range-operator-space-after"})}})}d(c,"media-feature-range-operator-space-after",{actual:a,possible:["always","never"]})&&b.walkAtRules(/^media$/i,function(a){h(a,e)})}};a.ruleName="media-feature-range-operator-space-after";a.messages=b;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../findMediaOperator":406}],443:[function(a,l,g){var k=a("../../utils/atRuleParamIndex"),h=a("../findMediaOperator"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=a("../../utils/whitespaceChecker"),b=g("media-feature-range-operator-space-before",{expectedBefore:function(){return"Expected single space before range operator"},rejectedBefore:function(){return"Unexpected whitespace before range operator"}});
|
|
a=function(a){var g=c("space",a,b);return function(b,c){function e(a,b,d){g.before({source:b,index:a.index+1,err:function(b){f({message:b,node:d,index:a.index+k(d),result:c,ruleName:"media-feature-range-operator-space-before"})}})}d(c,"media-feature-range-operator-space-before",{actual:a,possible:["always","never"]})&&b.walkAtRules(/^media$/i,function(a){h(a,e)})}};a.ruleName="media-feature-range-operator-space-before";a.messages=b;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../findMediaOperator":406}],444:[function(a,l,g){var k=a("../mediaQueryListCommaWhitespaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("media-query-list-comma-newline-after",{expectedAfter:function(){return'Expected newline after ","'},expectedAfterMultiLine:function(){return'Expected newline after "," in a multi-line list'},
|
|
rejectedAfterMultiLine:function(){return'Unexpected whitespace after "," in a multi-line list'}});a=function(a){var b=f("newline",a,d);return function(c,d){h(d,"media-query-list-comma-newline-after",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&k({root:c,result:d,locationChecker:b.afterOneOnly,checkedRuleName:"media-query-list-comma-newline-after"})}};a.ruleName="media-query-list-comma-newline-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
"../../utils/whitespaceChecker":596,"../mediaQueryListCommaWhitespaceChecker":449}],445:[function(a,l,g){var k=a("../mediaQueryListCommaWhitespaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("media-query-list-comma-newline-before",{expectedBefore:function(){return'Expected newline before ","'},expectedBeforeMultiLine:function(){return'Expected newline before "," in a multi-line list'},rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "," in a multi-line list'}});
|
|
a=function(a){var b=f("newline",a,d);return function(c,d){h(d,"media-query-list-comma-newline-before",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&k({root:c,result:d,locationChecker:b.beforeAllowingIndentation,checkedRuleName:"media-query-list-comma-newline-before"})}};a.ruleName="media-query-list-comma-newline-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../mediaQueryListCommaWhitespaceChecker":449}],
|
|
446:[function(a,l,g){var k=a("../mediaQueryListCommaWhitespaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("media-query-list-comma-space-after",{expectedAfter:function(){return'Expected single space after ","'},rejectedAfter:function(){return'Unexpected whitespace after ","'},expectedAfterSingleLine:function(){return'Expected single space after "," in a single-line list'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "," in a single-line list'}});
|
|
a=function(a){var b=f("space",a,d);return function(c,d){h(d,"media-query-list-comma-space-after",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"media-query-list-comma-space-after"})}};a.ruleName="media-query-list-comma-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../mediaQueryListCommaWhitespaceChecker":449}],
|
|
447:[function(a,l,g){var k=a("../mediaQueryListCommaWhitespaceChecker");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("media-query-list-comma-space-before",{expectedBefore:function(){return'Expected single space before ","'},rejectedBefore:function(){return'Unexpected whitespace before ","'},expectedBeforeSingleLine:function(){return'Expected single space before "," in a single-line list'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "," in a single-line list'}});
|
|
a=function(a){var b=f("space",a,d);return function(c,d){h(d,"media-query-list-comma-space-before",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"media-query-list-comma-space-before"})}};a.ruleName="media-query-list-comma-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../mediaQueryListCommaWhitespaceChecker":449}],
|
|
448:[function(a,l,g){var k=a("../utils/atRuleParamIndex"),h=a("../utils/report"),f=a("style-search");l.exports=function(a){function c(b,c,d){a.locationChecker({source:b,index:c,err:function(b){return h({message:b,node:d,index:c+k(d),result:a.result,ruleName:a.checkedRuleName})}})}a.root.walkAtRules(/^media$/i,function(a){var b=a.params;f({source:b,target:":"},function(d){c(b,d.startIndex,a)})})}},{"../utils/atRuleParamIndex":523,"../utils/report":592,"style-search":331}],449:[function(a,l,g){var k=
|
|
a("../utils/atRuleParamIndex"),h=a("../utils/report"),f=a("style-search");l.exports=function(a){function c(b,c,d){a.locationChecker({source:b,index:c,err:function(b){return h({message:b,node:d,index:c+k(d),result:a.result,ruleName:a.checkedRuleName})}})}a.root.walkAtRules(/^media$/i,function(a){var b=a.params;f({source:b,target:","},function(d){c(b,d.startIndex,a)})})}},{"../utils/atRuleParamIndex":523,"../utils/report":592,"style-search":331}],450:[function(a,l,g){function k(a){return h.last(a.nodes[0].split(function(a){return"combinator"===
|
|
a.type})).filter(function(a){return"pseudo"!==a.type||c.pseudoElements.has(a.value.replace(/:/g,""))}).join("").toString()}var h=a("lodash"),f=a("../../utils/findAtRuleContext"),d=a("../../utils/isCustomPropertySet"),c=a("../../reference/keywordSets"),b=a("../../utils/nodeContextLookup"),p=a("../../utils/parseSelector"),m=a("../../utils/report"),q=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var e=a("specificity"),n=a("../../utils/validateOptions"),r=g("no-descending-specificity",
|
|
{rejected:function(a,b){return'Expected selector "'+a+'" to come before selector "'+b+'"'}});a=function(a){return function(c,h){function g(a,b,c,d){var f=a.toString(),g=k(a),l=e.calculate(f)[0].specificityArray;a={selector:f,specificity:l};d.has(g)?(d=d.get(g),d.forEach(function(a){-1===e.compare(l,a.specificity)&&m({ruleName:"no-descending-specificity",result:h,node:b,message:r.rejected(f,a.selector),index:c})}),d.push(a)):d.set(g,[a])}if(n(h,"no-descending-specificity",{actual:a})){var l=b();c.walkRules(function(a){if(!d(a)){var b=
|
|
l.getContext(a,f(a));a.selectors.forEach(function(c){var d=c.trim();if(""!==d){var e=a.selector.indexOf(d);q(c,a).forEach(function(c){p(c,h,a,function(c){return g(c,a,e,b)})})}})}})}}};a.ruleName="no-descending-specificity";a.messages=r;l.exports=a},{"../../reference/keywordSets":347,"../../utils/findAtRuleContext":534,"../../utils/isCustomPropertySet":561,"../../utils/nodeContextLookup":587,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
lodash:164,"postcss-resolve-nested-selector":247,specificity:329}],451:[function(a,l,g){var k=a("lodash"),h=a("../../utils/findAtRuleContext"),f=a("../../utils/isKeyframeRule"),d=a("../../utils/nodeContextLookup"),c=a("normalize-selector"),b=a("../../utils/report"),p=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=g("no-duplicate-selectors",{rejected:function(a,b){return'Unexpected duplicate selector "'+a+'", first used at line '+b}});
|
|
a=function(a){return function(e,g){if(m(g,"no-duplicate-selectors",{actual:a})){var l=d();e.walkRules(function(a){if(!f(a)){var d=l.getContext(a,h(a)),e=a.selectors.reduce(function(b,c){return k.union(b,p(c,a))},[]),m=e.map(c),n=a.source.start.line,r=m.slice().sort().join(",");if(d.has(r))return e=e.join(",")!==a.selectors.join(",")?e.join(", "):a.selector,d=d.get(r),b({result:g,ruleName:"no-duplicate-selectors",node:a,message:q.rejected(e,d)});d.set(r,n);a.selectors.forEach(function(d,e){k.includes(m.slice(0,
|
|
e),c(d))&&b({result:g,ruleName:"no-duplicate-selectors",node:a,message:q.rejected(d,n)})})}})}}};a.ruleName="no-duplicate-selectors";a.messages=q;l.exports=a},{"../../utils/findAtRuleContext":534,"../../utils/isKeyframeRule":564,"../../utils/nodeContextLookup":587,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"normalize-selector":176,"postcss-resolve-nested-selector":247}],452:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");
|
|
var h=a("../../utils/validateOptions"),f=g("no-empty-source",{rejected:"Unexpected empty source"});a=function(a){return function(c,b){h(b,"no-empty-source",{actual:a})&&/^\s*$/.test(c.toString())&&k({message:f.rejected,node:c,result:b,ruleName:"no-empty-source"})}};a.ruleName="no-empty-source";a.messages=f;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],453:[function(a,l,g){var k=a("../../utils/isOnlyWhitespace"),h=a("../../utils/optionsMatches"),
|
|
f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("style-search"),c=a("../../utils/validateOptions"),b=g("no-eol-whitespace",{rejected:"Unexpected whitespace at end of line"}),p=new Set([" ","\t"]);a=function(a,g){return function(e,l){if(c(l,"no-eol-whitespace",{actual:a},{optional:!0,actual:g,possible:{ignore:["empty-lines"]}})){var m=e.toString();d({source:m,target:["\n","\r"],comments:"check"},function(a){if(p.has(m[a.startIndex-1])){if(h(g,"ignore","empty-lines")){var c=m.substring(a.startIndex+
|
|
1,m.lastIndexOf("\n",a.startIndex-1));if(k(c))return}f({message:b.rejected,node:e,index:a.startIndex-1,result:l,ruleName:"no-eol-whitespace"})}})}}};a.ruleName="no-eol-whitespace";a.messages=b;l.exports=a},{"../../utils/isOnlyWhitespace":567,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],454:[function(a,l,g){function k(a){var b=a.root().source.input.css,c=a.source.start.column;a=a.source.start.line;for(var d=
|
|
1,f=1,h=0,g=0;g<b.length;g++){if(f===c&&a===d){h=g;break}"\n"===b[g]?(f=1,d+=1):f+=1}return h}var h=a("../../utils/isCustomPropertySet"),f=a("../../utils/isStandardSyntaxRule"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("style-search"),b=a("../../utils/validateOptions"),p=g("no-extra-semicolons",{rejected:"Unexpected extra semicolon"});a=function(a){return function(g,e){function l(a){d({message:p.rejected,node:g,index:a,result:e,ruleName:"no-extra-semicolons"})}if(b(e,"no-extra-semicolons",
|
|
{actual:a})){var m=g.raws.after;m&&0!==m.trim().length&&c({source:m,target:";"},function(a){l(g.toString().length-m.length+a.startIndex)});g.walk(function(a){if("rule"!==a.type||h(a)||f(a)){var b=a.raws.before;if(b&&0!==b.trim().length){var d=0,e=a.next();"comment"===a.type&&e&&(h(e)&&0<a.parent.index(e)||"comment"===e.type)&&(d=1);e=a.prev();h(a)&&0<a.parent.index(a)&&e&&"comment"===e.type&&(b=e.toString()+b,d=0);c({source:b,target:";"},function(c,e){e!==d&&l(k(a)-b.length+c.startIndex)})}var g=
|
|
a.raws.after;if(g&&0!==g.trim().length){if(a.last&&"rule"===a.last.type&&!h(a.last)&&!f(a.last))return;c({source:g,target:";"},function(b){b=k(a)+a.toString().length-1-g.length+b.startIndex;l(b)})}var m=a.raws.ownSemicolon;if(m){var n=0;h(a)&&(n=1);c({source:m,target:";"},function(b,c){if(c!==n){var d=k(a)+a.toString().length-m.length+b.startIndex;l(d)}})}}})}}};a.ruleName="no-extra-semicolons";a.messages=p;l.exports=a},{"../../utils/isCustomPropertySet":561,"../../utils/isStandardSyntaxRule":576,
|
|
"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],455:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=g("no-invalid-double-slash-comments",{rejected:"Unexpected double-slash CSS comment"});a=function(a){return function(c,b){h(b,"no-invalid-double-slash-comments",{actual:a})&&(c.walkDecls(function(a){0===a.prop.indexOf("//")&&k({message:f.rejected,node:a,result:b,ruleName:"no-invalid-double-slash-comments"})}),
|
|
c.walkRules(function(a){a.selectors.forEach(function(c){0===c.indexOf("//")&&k({message:f.rejected,node:a,result:b,ruleName:"no-invalid-double-slash-comments"})})}))}};a.ruleName="no-invalid-double-slash-comments";a.messages=f;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],456:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("../../utils/validateOptions"),f=g("no-missing-end-of-source-newline",{rejected:"Unexpected missing end-of-source newline"});
|
|
a=function(a){return function(c,b){if(h(b,"no-missing-end-of-source-newline",{actual:a})){var d=c.source.input.css;""!==d&&"\n"!==d.slice(-1)&&k({message:f.rejected,node:c,index:d.length-1,result:b,ruleName:"no-missing-end-of-source-newline"})}}};a.ruleName="no-missing-end-of-source-newline";a.messages=f;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],457:[function(a,l,g){var k=a("../../utils/declarationValueIndex"),h=a("../../utils/findAnimationName"),
|
|
f=a("../../reference/keywordSets"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("no-unknown-animations",{rejected:function(a){return'Unexpected unknown animation name "'+a+'"'}});a=function(a){return function(g,l){if(c(l,"no-unknown-animations",{actual:a})){var e=new Set;g.walkAtRules(/(-(moz|webkit)-)?keyframes/i,function(a){e.add(a.params)});g.walkDecls(function(a){if("animation"===a.prop.toLowerCase()||"animation-name"===a.prop.toLowerCase()){var c=
|
|
h(a.value);0!==c.length&&c.forEach(function(c){f.animationNameKeywords.has(c.value.toLowerCase())||e.has(c.value)||d({result:l,ruleName:"no-unknown-animations",message:b.rejected(c.value),node:a,index:k(a)+c.sourceIndex})})}})}}};a.ruleName="no-unknown-animations";a.messages=b;l.exports=a},{"../../reference/keywordSets":347,"../../utils/declarationValueIndex":532,"../../utils/findAnimationName":533,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],458:[function(a,
|
|
l,g){var k=a("../../utils/atRuleParamIndex"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=a("postcss-value-parser"),b=g("number-leading-zero",{expected:"Expected a leading zero",rejected:"Unexpected leading zero"});a=function(a){return function(g,l){function e(d,e,f){-1!==e.indexOf(".")&&c(e).walk(function(c){if("function"===c.type&&"url"===c.value.toLowerCase())return!1;if("word"===c.type){if("always"===
|
|
a){var e=/(?:\D|^)(\.\d+)/.exec(c.value);if(null===e)return;var h=e[0].length-e[1].length;m(b.expected,d,f(d)+c.sourceIndex+e.index+h)}"never"===a&&(e=/(?:\D|^)(0+\.\d+)/.exec(c.value),null!==e&&(h=e[0].length-e[1].length,m(b.rejected,d,f(d)+c.sourceIndex+e.index+h)))}})}function m(a,b,c){f({result:l,ruleName:"number-leading-zero",message:a,node:b,index:c})}d(l,"number-leading-zero",{actual:a,possible:["always","never"]})&&(g.walkAtRules(function(a){"import"!==a.name.toLowerCase()&&e(a,a.params,k)}),
|
|
g.walkDecls(function(a){return e(a,a.value,h)}))}};a.ruleName="number-leading-zero";a.messages=b;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-value-parser":276}],459:[function(a,l,g){var k=a("../../utils/atRuleParamIndex"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),
|
|
c=a("lodash"),b=a("postcss-value-parser"),p=g("number-max-precision",{expected:function(a,b){return'Expected "'+a+'" to be "'+a.toFixed(b)+'"'}});a=function(a){return function(g,e){function l(c,d,h){-1!==d.indexOf(".")&&b(d).walk(function(b){if("function"===b.type&&"url"===b.value.toLowerCase())return!1;if("word"===b.type){var d=/\d*\.(\d+)/.exec(b.value);null!==d&&(d[1].length<=a||f({result:e,ruleName:"number-max-precision",node:c,index:h(c)+b.sourceIndex+d.index,message:p.expected(parseFloat(d[0]),
|
|
a)}))}})}d(e,"number-max-precision",{actual:a,possible:[c.isNumber]})&&(g.walkAtRules(function(a){"import"!==a.name.toLowerCase()&&l(a,a.params,k)}),g.walkDecls(function(a){return l(a,a.value,h)}))}};a.ruleName="number-max-precision";a.messages=p;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],460:[function(a,l,g){var k=a("../../utils/atRuleParamIndex"),
|
|
h=a("../../utils/declarationValueIndex"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=a("postcss-value-parser"),b=g("number-no-trailing-zeros",{rejected:"Unexpected trailing zero(s)"});a=function(a){return function(g,l){function e(a,d,e){-1!==d.indexOf(".")&&c(d).walk(function(c){if("function"===c.type&&"url"===c.value.toLowerCase())return!1;if("word"===c.type){var d=/(\.\d*)0+(?:\D|$)/.exec(c.value);null!==d&&f({message:b.rejected,node:a,index:e(a)+
|
|
c.sourceIndex+d.index+d[1].length,result:l,ruleName:"number-no-trailing-zeros"})}})}d(l,"number-no-trailing-zeros",{actual:a})&&(g.walkAtRules(function(a){"import"!==a.name.toLowerCase()&&e(a,a.params,k)}),g.walkDecls(function(a){return e(a,a.value,h)}))}};a.ruleName="number-no-trailing-zeros";a.messages=b;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-value-parser":276}],
|
|
461:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isCustomProperty"),f=a("../../utils/isStandardSyntaxProperty"),d=a("../../utils/matchesStringOrRegExp"),c=a("postcss"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("property-blacklist",{rejected:function(a){return'Unexpected property "'+a+'"'}});a=function(a){return function(e,g){p(g,"property-blacklist",{actual:a,possible:[k.isString]})&&e.walkDecls(function(e){var k=e.prop;f(k)&&(h(k)||
|
|
d(c.vendor.unprefixed(k),a)&&b({message:m.rejected(k),node:e,result:g,ruleName:"property-blacklist"}))})}};a.primaryOptionArray=!0;a.ruleName="property-blacklist";a.messages=m;l.exports=a},{"../../utils/isCustomProperty":560,"../../utils/isStandardSyntaxProperty":575,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],462:[function(a,l,g){var k=a("../../utils/isCustomProperty"),h=a("../../utils/isStandardSyntaxProperty"),
|
|
f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=g("property-case",{expected:function(a,c){return'Expected "'+a+'" to be "'+c+'"'}});a=function(a){return function(b,g){d(g,"property-case",{actual:a,possible:["lower","upper"]})&&b.walkDecls(function(b){var d=b.prop;if(h(d)&&!k(d)){var l="lower"===a?d.toLowerCase():d.toUpperCase();d!==l&&f({message:c.expected(d,l),node:b,ruleName:"property-case",result:g})}})}};a.ruleName="property-case";a.messages=
|
|
c;l.exports=a},{"../../utils/isCustomProperty":560,"../../utils/isStandardSyntaxProperty":575,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],463:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isCustomProperty"),f=a("../../utils/isStandardSyntaxDeclaration"),d=a("../../utils/isStandardSyntaxProperty"),c=a("../../utils/optionsMatches"),b=a("postcss"),p=a("known-css-properties").all,m=a("../../utils/report");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),
|
|
e=g("property-no-unknown",{rejected:function(a){return'Unexpected unknown property "'+a+'"'}});a=function(a,g){return function(l,n){if(q(n,"property-no-unknown",{actual:a},{actual:g,possible:{ignoreProperties:[k.isString],checkPrefixed:k.isBoolean},optional:!0})){var r=k.get(g,"checkPrefixed");l.walkDecls(function(a){var k=a.prop;!d(k)||!f(a)||h(k)||!r&&b.vendor.prefix(k)||c(g,"ignoreProperties",k)||-1===p.indexOf(k.toLowerCase())&&m({message:e.rejected(k),node:a,result:n,ruleName:"property-no-unknown"})})}}};
|
|
a.ruleName="property-no-unknown";a.messages=e;l.exports=a},{"../../utils/isCustomProperty":560,"../../utils/isStandardSyntaxDeclaration":572,"../../utils/isStandardSyntaxProperty":575,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"known-css-properties":163,lodash:164,postcss:293}],464:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isCustomProperty"),f=a("../../utils/isStandardSyntaxProperty"),d=a("../../utils/matchesStringOrRegExp"),
|
|
c=a("postcss"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("property-whitelist",{rejected:function(a){return'Unexpected property "'+a+'"'}});a=function(a){return function(e,g){p(g,"property-whitelist",{actual:a,possible:[k.isString]})&&e.walkDecls(function(e){var k=e.prop;f(k)&&(h(k)||d(c.vendor.unprefixed(k),a)||b({message:m.rejected(k),node:e,result:g,ruleName:"property-whitelist"}))})}};a.primaryOptionArray=!0;a.ruleName="property-whitelist";
|
|
a.messages=m;l.exports=a},{"../../utils/isCustomProperty":560,"../../utils/isStandardSyntaxProperty":575,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],465:[function(a,l,g){var k=a("../../utils/addEmptyLineBefore"),h=a("../../utils/hasEmptyLine"),f=a("../../utils/isSingleLineString"),d=a("../../utils/isStandardSyntaxRule"),c=a("../../utils/optionsMatches"),b=a("../../utils/removeEmptyLinesBefore"),
|
|
p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=g("rule-empty-line-before",{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"});a=function(a,g,l){return function(e,n){m(n,"rule-empty-line-before",{actual:a,possible:["always","never","always-multi-line","never-multi-line"]},{actual:g,possible:{ignore:["after-comment","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule"]},
|
|
optional:!0})&&e.walkRules(function(m){if(d(m)&&m!==e.first){var r=-1!==a.indexOf("always")?!0:!1;if(!c(g,"ignore","after-comment")||!m.prev()||"comment"!==m.prev().type)if(!c(g,"ignore","inside-block")||m.parent===e)if(-1===a.indexOf("multi-line")||!f(m.toString())){c(g,"except","first-nested")&&m===m.parent.first&&(r=!r);c(g,"except","after-rule")&&m.prev()&&"rule"===m.prev().type&&(r=!r);c(g,"except","inside-block-and-after-rule")&&m.prev()&&"rule"===m.prev().type&&m.parent!==e&&(r=!r);c(g,"except",
|
|
"after-single-line-comment")&&m.prev()&&"comment"===m.prev().type&&f(m.prev().toString())&&(r=!r);var t=h(m.raws.before);r!==t&&(l.fix?r?k(m,l.newline):b(m,l.newline):p({message:r?q.expected:q.rejected,node:m,result:n,ruleName:"rule-empty-line-before"}))}}})}};a.ruleName="rule-empty-line-before";a.messages=q;l.exports=a},{"../../utils/addEmptyLineBefore":522,"../../utils/hasEmptyLine":546,"../../utils/isSingleLineString":570,"../../utils/isStandardSyntaxRule":576,"../../utils/optionsMatches":588,
|
|
"../../utils/removeEmptyLinesBefore":591,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],466:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/parseSelector"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("style-search"),c=a("../../utils/validateOptions"),b=g("selector-attribute-brackets-space-inside",{expectedOpening:'Expected single space after "["',rejectedOpening:'Unexpected whitespace after "["',expectedClosing:'Expected single space before "]"',
|
|
rejectedClosing:'Unexpected whitespace before "]"'});a=function(a){return function(g,l){c(l,"selector-attribute-brackets-space-inside",{actual:a,possible:["always","never"]})&&g.walkRules(function(c){function e(a,b){f({message:a,index:b,result:l,ruleName:"selector-attribute-brackets-space-inside",node:c})}k(c)&&-1!==c.selector.indexOf("[")&&h(c.selector,l,c,function(c){c.walkAttributes(function(c){var f=c.toString();d({source:f,target:"["},function(d){var h=" "===f[d.startIndex+1];d=c.sourceIndex+
|
|
d.startIndex+1;h&&"never"===a&&e(b.rejectedOpening,d);h||"always"!==a||e(b.expectedOpening,d)});d({source:f,target:"]"},function(d){var h=" "===f[d.startIndex-1];d=c.sourceIndex+d.startIndex-1;h&&"never"===a&&e(b.rejectedClosing,d);h||"always"!==a||e(b.expectedClosing,d)})})})})}};a.ruleName="selector-attribute-brackets-space-inside";a.messages=b;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
"style-search":331}],467:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/parseSelector"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("selector-attribute-operator-blacklist",{rejected:function(a){return'Unexpected operator "'+a+'"'}});a=function(a){var g=[].concat(a);return function(a,e){c(e,"selector-attribute-operator-blacklist",{actual:g,possible:[k.isString]})&&a.walkRules(function(a){h(a)&&-1!==
|
|
a.selector.indexOf("[")&&-1!==a.selector.indexOf("=")&&f(a.selector,e,a,function(c){c.walkAttributes(function(c){var f=c.operator;!f||f&&-1===g.indexOf(f)||d({message:b.rejected(f),node:a,index:c.attribute.length+1,result:e,ruleName:"selector-attribute-operator-blacklist"})})})})}};a.primaryOptionArray=!0;a.ruleName="selector-attribute-operator-blacklist";a.messages=b;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,lodash:164}],468:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../selectorAttributeOperatorSpaceChecker"),h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("selector-attribute-operator-space-after",{expectedAfter:function(a){return'Expected single space after "'+a+'"'},rejectedAfter:function(a){return'Unexpected whitespace after "'+a+'"'}});a=function(a){return function(b,c){var g=f("space",a,d);h(c,"selector-attribute-operator-space-after",
|
|
{actual:a,possible:["always","never"]})&&k({root:b,result:c,locationChecker:g.after,checkedRuleName:"selector-attribute-operator-space-after",checkBeforeOperator:!1})}};a.ruleName="selector-attribute-operator-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../selectorAttributeOperatorSpaceChecker":502}],469:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../selectorAttributeOperatorSpaceChecker"),
|
|
h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("selector-attribute-operator-space-before",{expectedBefore:function(a){return'Expected single space before "'+a+'"'},rejectedBefore:function(a){return'Unexpected whitespace before "'+a+'"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"selector-attribute-operator-space-before",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"selector-attribute-operator-space-before",
|
|
checkBeforeOperator:!0})}};a.ruleName="selector-attribute-operator-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../selectorAttributeOperatorSpaceChecker":502}],470:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/parseSelector"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("selector-attribute-operator-whitelist",
|
|
{rejected:function(a){return'Unexpected operator "'+a+'"'}});a=function(a){var g=[].concat(a);return function(a,e){c(e,"selector-attribute-operator-whitelist",{actual:g,possible:[k.isString]})&&a.walkRules(function(a){h(a)&&-1!==a.selector.indexOf("[")&&-1!==a.selector.indexOf("=")&&f(a.selector,e,a,function(c){c.walkAttributes(function(c){var f=c.operator;!f||f&&-1!==g.indexOf(f)||d({message:b.rejected(f),node:a,index:c.attribute.length+1,result:e,ruleName:"selector-attribute-operator-whitelist"})})})})}};
|
|
a.primaryOptionArray=!0;a.ruleName="selector-attribute-operator-whitelist";a.messages=b;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],471:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/parseSelector"),f=a("../../utils/report");g=a("../../utils/ruleMessages");var d=a("../../utils/validateOptions"),c=g("selector-attribute-quotes",
|
|
{expected:function(a){return'Expected quotes around "'+a+'"'},rejected:function(a){return'Unexpected quotes around "'+a+'"'}});a=function(a){return function(b,g){d(g,"selector-attribute-quotes",{actual:a,possible:["always","never"]})&&b.walkRules(function(b){function d(a,c){f({message:a,index:c,result:g,ruleName:"selector-attribute-quotes",node:b})}k(b)&&-1!==b.selector.indexOf("[")&&-1!==b.selector.indexOf("=")&&h(b.selector,g,b,function(b){b.walkAttributes(function(b){if(b.operator){var e=b.toString();
|
|
b.quoted||"always"!==a||d(c.expected(b.raws.unquoted),b.sourceIndex+e.indexOf(b.value));b.quoted&&"never"===a&&d(c.rejected(b.raws.unquoted),b.sourceIndex+e.indexOf(b.value))}})})})}};a.ruleName="selector-attribute-quotes";a.messages=c;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],472:[function(a,l,g){function k(a){for(var b=0,c=a.length;b<c;b++)if("&"===a[b]&&(!h.isUndefined(a[b-
|
|
1])&&!/[\s+>~]/.test(a[b-1])||!h.isUndefined(a[b+1])&&!/[\s+>~]/.test(a[b+1])))return!0;return!1}var h=a("lodash"),f=a("../../utils/isKeyframeSelector"),d=a("../../utils/isStandardSyntaxRule"),c=a("../../utils/isStandardSyntaxSelector"),b=a("../../utils/parseSelector"),p=a("../../utils/report"),m=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),e=g("selector-class-pattern",{expected:function(a){return'Expected class selector ".'+a+'" to match specified pattern'}});
|
|
a=function(a,g){return function(l,n){function r(a,b){a.walkClasses(function(a){var c=a.value;a=a.sourceIndex;u.test(c)||p({result:n,ruleName:"selector-class-pattern",message:e.expected(c),node:b,index:a})})}if(q(n,"selector-class-pattern",{actual:a,possible:[h.isRegExp,h.isString]},{actual:g,possible:{resolveNestedSelectors:h.isBoolean},optional:!0})){var t=h.get(g,"resolveNestedSelectors"),u=h.isString(a)?new RegExp(a):a;l.walkRules(function(a){var e=a.selector,h=a.selectors;d(a)&&c(e)&&(h.some(function(a){return f(a)})||
|
|
(t&&k(e)?m(e,a).forEach(function(d){c(d)&&b(d,n,a,function(b){return r(b,a)})}):b(e,n,a,function(b){return r(b,a)})))})}}};a.ruleName="selector-class-pattern";a.messages=e;l.exports=a},{"../../utils/isKeyframeSelector":565,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-resolve-nested-selector":247}],473:[function(a,l,g){g=
|
|
a("../../utils/ruleMessages");var k=a("../selectorCombinatorSpaceChecker"),h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("selector-combinator-space-after",{expectedAfter:function(a){return'Expected single space after "'+a+'"'},rejectedAfter:function(a){return'Unexpected whitespace after "'+a+'"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"selector-combinator-space-after",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.after,
|
|
locationType:"after",checkedRuleName:"selector-combinator-space-after"})}};a.ruleName="selector-combinator-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../selectorCombinatorSpaceChecker":503}],474:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../selectorCombinatorSpaceChecker"),h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("selector-combinator-space-before",{expectedBefore:function(a){return'Expected single space before "'+
|
|
a+'"'},rejectedBefore:function(a){return'Unexpected whitespace before "'+a+'"'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"selector-combinator-space-before",{actual:a,possible:["always","never"]})&&k({root:c,result:d,locationChecker:b.before,locationType:"before",checkedRuleName:"selector-combinator-space-before"})}};a.ruleName="selector-combinator-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,
|
|
"../selectorCombinatorSpaceChecker":503}],475:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/parseSelector"),f=a("../../reference/punctuationSets"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("selector-descendant-combinator-no-non-space",{rejected:function(a){return'Unexpected "'+a+'"'}});a=function(a){return function(g,l){c(l,"selector-descendant-combinator-no-non-space",{actual:a})&&g.walkRules(function(a){k(a)&&
|
|
h(a.selector,l,a,function(c){c.walkCombinators(function(c){var e=c.value;f.nonSpaceCombinators.has(e)||" "!==e&&d({result:l,ruleName:"selector-descendant-combinator-no-non-space",message:b.rejected(e),node:a,index:c.sourceIndex})})})})}};a.ruleName="selector-descendant-combinator-no-non-space";a.messages=b;l.exports=a},{"../../reference/punctuationSets":350,"../../utils/isStandardSyntaxRule":576,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],
|
|
476:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/parseSelector"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=g("selector-id-pattern",{expected:function(a){return'Expected id selector "#'+a+'" to match specified pattern'}});a=function(a){return function(g,e){if(b(e,"selector-id-pattern",{actual:a,possible:[k.isRegExp,k.isString]})){var l=k.isString(a)?new RegExp(a):
|
|
a;g.walkRules(function(a){if(h(a)){var b=a.selector;f(b)&&d(b,e,a,function(b){b.walk(function(b){if("id"===b.type){var d=b.value;b=b.sourceIndex;l.test(d)||c({result:e,ruleName:"selector-id-pattern",message:p.expected(d),node:a,index:b})}})})}})}}};a.ruleName="selector-id-pattern";a.messages=p;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
lodash:164}],477:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("style-search"),d=a("../../utils/validateOptions"),c=a("../../utils/whitespaceChecker"),b=g("selector-list-comma-newline-after",{expectedAfter:function(){return'Expected newline after ","'},expectedAfterMultiLine:function(){return'Expected newline after "," in a multi-line list'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "," in a multi-line list'}});
|
|
a=function(a){var g=c("newline",a,b);return function(b,c){d(c,"selector-list-comma-newline-after",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&b.walkRules(function(a){if(k(a)){var b=a.raws.selector?a.raws.selector.raw:a.selector;f({source:b,target:",",functionArguments:"skip"},function(d){var e=b.substr(d.endIndex,3);" //"!==e&&(e=" /*"===e?b.indexOf("*/",d.endIndex)+1:d.startIndex,g.afterOneOnly({source:b,index:e,err:function(b){return h({message:b,node:a,index:d.startIndex,
|
|
result:c,ruleName:"selector-list-comma-newline-after"})}}))})}})}};a.ruleName="selector-list-comma-newline-after";a.messages=b;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"style-search":331}],478:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../selectorListCommaWhitespaceChecker"),h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),
|
|
d=g("selector-list-comma-newline-before",{expectedBefore:function(){return'Expected newline before ","'},expectedBeforeMultiLine:function(){return'Expected newline before "," in a multi-line list'},rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "," in a multi-line list'}});a=function(a){var b=f("newline",a,d);return function(c,d){h(d,"selector-list-comma-newline-before",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&k({root:c,result:d,locationChecker:b.beforeAllowingIndentation,
|
|
checkedRuleName:"selector-list-comma-newline-before"})}};a.ruleName="selector-list-comma-newline-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../selectorListCommaWhitespaceChecker":504}],479:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../selectorListCommaWhitespaceChecker"),h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("selector-list-comma-space-after",{expectedAfter:function(){return'Expected single space after ","'},
|
|
rejectedAfter:function(){return'Unexpected whitespace after ","'},expectedAfterSingleLine:function(){return'Expected single space after "," in a single-line list'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "," in a single-line list'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"selector-list-comma-space-after",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&k({root:c,result:d,locationChecker:b.after,checkedRuleName:"selector-list-comma-space-after"})}};
|
|
a.ruleName="selector-list-comma-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../selectorListCommaWhitespaceChecker":504}],480:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../selectorListCommaWhitespaceChecker"),h=a("../../utils/validateOptions"),f=a("../../utils/whitespaceChecker"),d=g("selector-list-comma-space-before",{expectedBefore:function(){return'Expected single space before ","'},
|
|
rejectedBefore:function(){return'Unexpected whitespace before ","'},expectedBeforeSingleLine:function(){return'Expected single space before "," in a single-line list'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "," in a single-line list'}});a=function(a){var b=f("space",a,d);return function(c,d){h(d,"selector-list-comma-space-before",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&k({root:c,result:d,locationChecker:b.before,checkedRuleName:"selector-list-comma-space-before"})}};
|
|
a.ruleName="selector-list-comma-space-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../selectorListCommaWhitespaceChecker":504}],481:[function(a,l,g){function k(a,g){return function(k,l){function n(b,d){var f=b.reduce(function(a,b){"selector"!==b.type&&":not"!==b.value||n(b,d);return"attribute"!==b.type||c(g,"ignoreAttributes",b.attribute)?a:a+1},0);"root"!==b.type&&"pseudo"!==b.type&&f>a&&p({ruleName:"selector-max-attribute",
|
|
result:l,node:d,message:e.expected(b,a),word:b})}q(l,"selector-max-attribute",{actual:a,possible:[function(a){return"number"===typeof a&&0<=a}]},{actual:g,possible:{ignoreAttributes:[h.isString]},optional:!0})&&k.walkRules(function(a){f(a)&&d(a.selector)&&(a.nodes.some(function(a){return-1!==["rule","atrule"].indexOf(a.type)})||a.selectors.forEach(function(c){m(c,a).forEach(function(c){b(c,l,a,function(b){return n(b,a)})})}))})}}var h=a("lodash"),f=a("../../utils/isStandardSyntaxRule"),d=a("../../utils/isStandardSyntaxSelector"),
|
|
c=a("../../utils/optionsMatches"),b=a("../../utils/parseSelector"),p=a("../../utils/report"),m=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),e=g("selector-max-attribute",{expected:function(a,b){return'Expected "'+a+'" to have no more than '+b+" attribute "+(1===b?"selector":"selectors")}});k.ruleName="selector-max-attribute";k.messages=e;l.exports=k},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/optionsMatches":588,
|
|
"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-resolve-nested-selector":247}],482:[function(a,l,g){function k(a){return function(e,g){function k(b,d){var e=b.reduce(function(a,b){"selector"!==b.type&&":not"!==b.value||k(b,d);return a+("class"===b.type?1:0)},0);"root"!==b.type&&"pseudo"!==b.type&&e>a&&c({ruleName:"selector-max-class",result:g,node:d,message:m.expected(b,a),word:b})}p(g,"selector-max-class",
|
|
{actual:a,possible:[function(a){return"number"===typeof a&&0<=a}]})&&e.walkRules(function(a){h(a)&&f(a.selector)&&(a.nodes.some(function(a){return-1!==["rule","atrule"].indexOf(a.type)})||a.selectors.forEach(function(c){b(c,a).forEach(function(b){d(b,g,a,function(b){return k(b,a)})})}))})}}var h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/parseSelector"),c=a("../../utils/report"),b=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");
|
|
var p=a("../../utils/validateOptions"),m=g("selector-max-class",{expected:function(a,b){return'Expected "'+a+'" to have no more than '+b+" "+(1===b?"class":"classes")}});k.ruleName="selector-max-class";k.messages=m;l.exports=k},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247}],483:[function(a,l,g){function k(a){return function(e,
|
|
g){function k(b,d){var e=b.reduce(function(a,b){"selector"===b.type&&k(b,d);return a+("combinator"===b.type?1:0)},0);"root"!==b.type&&"pseudo"!==b.type&&e>a&&c({ruleName:"selector-max-combinators",result:g,node:d,message:m.expected(b,a),word:b})}p(g,"selector-max-combinators",{actual:a,possible:[function(a){return"number"===typeof a&&0<=a}]})&&e.walkRules(function(a){h(a)&&f(a.selector)&&(a.nodes.some(function(a){return-1!==["rule","atrule"].indexOf(a.type)})||a.selectors.forEach(function(c){b(c,
|
|
a).forEach(function(b){d(b,g,a,function(b){return k(b,a)})})}))})}}var h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/parseSelector"),c=a("../../utils/report"),b=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("selector-max-combinators",{expected:function(a,b){return'Expected "'+a+'" to have no more than '+b+" "+(1===b?"combinator":"combinators")}});k.ruleName="selector-max-combinators";
|
|
k.messages=m;l.exports=k},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247}],484:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/isStandardSyntaxSelector"),f=a("../../utils/parseSelector"),d=a("../../utils/report"),c=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");
|
|
var b=a("../../utils/validateOptions"),p=g("selector-max-compound-selectors",{expected:function(a,b){return'Expected "'+a+'" to have no more than '+b+" compound "+(1===b?"selector":"selectors")}});a=function(a){return function(g,e){function l(b,c){var f=1;b.each(function(a){"selector"!==a.type&&":not"!==a.value||l(a,c);"combinator"===a.type&&f++});"root"!==b.type&&"pseudo"!==b.type&&f>a&&d({ruleName:"selector-max-compound-selectors",result:e,node:c,message:p.expected(b,a),word:b})}b(e,"selector-max-compound-selectors",
|
|
{actual:a,possible:[function(a){return"number"===typeof a&&0<a}]})&&g.walkRules(function(a){k(a)&&h(a.selector)&&a.selectors.forEach(function(b){c(b,a).forEach(function(b){f(b,e,a,function(b){return l(b,a)})})})})}};a.ruleName="selector-max-compound-selectors";a.messages=p;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247}],
|
|
485:[function(a,l,g){var k=a("lodash"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("style-search"),d=a("../../utils/validateOptions"),c=g("selector-max-empty-lines",{expected:function(a){return"Expected no more than "+a+" empty "+(1===a?"line":"lines")}});a=function(a){var b=a+1;return function(g,l){d(l,"selector-max-empty-lines",{actual:a,possible:k.isNumber})&&g.walkRules(function(d){var e=d.raws.selector?d.raws.selector.raw:d.selector,g=k.repeat("\n",b),m=k.repeat("\r\n",
|
|
b);f({source:e,target:"\n"},function(f){if(e.substr(f.startIndex+1,b)===g||e.substr(f.startIndex+1,2*b)===m)f=f.startIndex,"\r"===e[f-1]&&--f,h({message:c.expected(a),node:d,index:f,result:l,ruleName:"selector-max-empty-lines"})})})}};a.ruleName="selector-max-empty-lines";a.messages=c;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"style-search":331}],486:[function(a,l,g){function k(a){return function(e,g){function k(b,d){var e=b.reduce(function(a,
|
|
b){"selector"!==b.type&&":not"!==b.value||k(b,d);return a+("id"===b.type?1:0)},0);"root"!==b.type&&"pseudo"!==b.type&&e>a&&c({ruleName:"selector-max-id",result:g,node:d,message:m.expected(b,a),word:b})}p(g,"selector-max-id",{actual:a,possible:[function(a){return"number"===typeof a&&0<=a}]})&&e.walkRules(function(a){h(a)&&f(a.selector)&&(a.nodes.some(function(a){return-1!==["rule","atrule"].indexOf(a.type)})||a.selectors.forEach(function(c){b(c,a).forEach(function(b){d(b,g,a,function(b){return k(b,
|
|
a)})})}))})}}var h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/parseSelector"),c=a("../../utils/report"),b=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("selector-max-id",{expected:function(a,b){return'Expected "'+a+'" to have no more than '+b+" id "+(1===b?"selector":"selectors")}});k.ruleName="selector-max-id";k.messages=m;l.exports=k},{"../../utils/isStandardSyntaxRule":576,
|
|
"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247}],487:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/isStandardSyntaxSelector"),f=a("../../utils/report"),d=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var c=a("specificity"),b=a("../../utils/validateOptions"),p=g("selector-max-specificity",{expected:function(a,
|
|
b){return'Expected "'+a+'" to have a specificity no more than "'+b+'"'}});a=function(a){return function(g,e){if(b(e,"selector-max-specificity",{actual:a,possible:[function(a){return/^\d+,\d+,\d+$/.test(a)}]})){var l=("0,"+a).split(",").map(parseFloat);g.walkRules(function(b){k(b)&&h(b.selector)&&b.selectors.forEach(function(g){d(g,b).forEach(function(d){if(-1===g.indexOf(":not(")&&-1===g.indexOf(":matches("))try{h(d)&&1===c.compare(d,l)&&f({ruleName:"selector-max-specificity",result:e,node:b,message:p.expected(d,
|
|
a),word:g})}catch(w){e.warn("Cannot parse selector",{node:b,stylelintType:"parseError"})}})})})}}};a.ruleName="selector-max-specificity";a.messages=p;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247,specificity:329}],488:[function(a,l,g){function k(a,g){return function(k,l){function p(b,c){var k=b.reduce(function(a,b){"selector"!==
|
|
b.type&&":not"!==b.value||p(b,c);if(e(g,"ignoreTypes",b.value))return a;var k;if(k=x)k=b.parent.nodes.indexOf(b),k=b.parent.nodes.slice(0,k).some(f);if(k)return a;if(k=A)k=b.parent.nodes.indexOf(b),k=b.parent.nodes.slice(0,k).some(d);if(k)return a;if(k=C)k=b.prev()&&!h(b.prev())?!0:b.next()&&!h(b.next())?!0:!1;return k?a:a+("tag"===b.type?1:0)},0);"root"!==b.type&&"pseudo"!==b.type&&k>a&&r({ruleName:"selector-max-type",result:l,node:c,message:w.expected(b,a),word:b})}if(u(l,"selector-max-type",{actual:a,
|
|
possible:function(a){return"number"===typeof a&&0<=a}},{actual:g,possible:{ignore:["descendant","child","compounded"],ignoreTypes:[c.isString]},optional:!0})){var x=e(g,"ignore","descendant"),A=e(g,"ignore","child"),C=e(g,"ignore","compounded");k.walkRules(function(a){var c=a.selector,d=a.selectors;m(a)&&q(c)&&(d.some(function(a){return b(a)})||a.nodes.some(function(a){return-1!==["rule","atrule"].indexOf(a.type)})||a.selectors.forEach(function(b){t(b,a).forEach(function(b){q(b)&&n(b,l,a,function(b){return p(b,
|
|
a)})})}))})}}}function h(a){return a?"combinator"===c.get(a,"type"):!1}function f(a){return a?h(a)&&p(a.value):!1}function d(a){return a?h(a)&&a.value.includes(">"):!1}var c=a("lodash"),b=a("../../utils/isKeyframeSelector"),p=a("../../utils/isOnlyWhitespace"),m=a("../../utils/isStandardSyntaxRule"),q=a("../../utils/isStandardSyntaxSelector"),e=a("../../utils/optionsMatches"),n=a("../../utils/parseSelector"),r=a("../../utils/report"),t=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");
|
|
var u=a("../../utils/validateOptions"),w=g("selector-max-type",{expected:function(a,b){return'Expected "'+a+'" to have no more than '+b+" type "+(1===b?"selector":"selectors")}});k.ruleName="selector-max-type";k.messages=w;l.exports=k},{"../../utils/isKeyframeSelector":565,"../../utils/isOnlyWhitespace":567,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/optionsMatches":588,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,
|
|
"../../utils/validateOptions":595,lodash:164,"postcss-resolve-nested-selector":247}],489:[function(a,l,g){function k(a){return function(e,g){function k(b,d){var e=b.reduce(function(a,b){"selector"!==b.type&&":not"!==b.value||k(b,d);return a+("universal"===b.type?1:0)},0);"root"!==b.type&&"pseudo"!==b.type&&e>a&&c({ruleName:"selector-max-universal",result:g,node:d,message:m.expected(b,a),word:b})}p(g,"selector-max-universal",{actual:a,possible:[function(a){return"number"===typeof a&&0<=a}]})&&e.walkRules(function(a){h(a)&&
|
|
f(a.selector)&&(a.nodes.some(function(a){return-1!==["rule","atrule"].indexOf(a.type)})||a.selectors.forEach(function(c){b(c,a).forEach(function(b){d(b,g,a,function(b){return k(b,a)})})}))})}}var h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/parseSelector"),c=a("../../utils/report"),b=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("selector-max-universal",{expected:function(a,b){return'Expected "'+
|
|
a+'" to have no more than '+b+" universal "+(1===b?"selector":"selectors")}});k.ruleName="selector-max-universal";k.messages=m;l.exports=k},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247}],490:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),
|
|
d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=g("selector-nested-pattern",{expected:function(a){return'Expected nested selector "'+a+'" to match specified pattern'}});a=function(a){return function(g,l){if(c(l,"selector-nested-pattern",{actual:a,possible:[k.isRegExp,k.isString]})){var e=k.isString(a)?new RegExp(a):a;g.walkRules(function(a){if("rule"===a.parent.type&&h(a)){var c=a.selector;f(c)&&(e.test(c)||d({result:l,ruleName:"selector-nested-pattern",
|
|
message:b.expected(c),node:a}))}})}}};a.ruleName="selector-nested-pattern";a.messages=b;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164}],491:[function(a,l,g){function k(a){return r.some(function(b){return-1!==a.indexOf(b)})}function h(a){for(var b=[];(a=a.next())&&"combinator"!==a.type;)"id"!==a.type&&"class"!==a.type&&"attribute"!==a.type||b.push(a);
|
|
return b}var f=a("../../utils/isKeyframeRule"),d=a("../../utils/isStandardSyntaxRule"),c=a("../../utils/isStandardSyntaxSelector"),b=a("../../utils/optionsMatches"),p=a("../../utils/parseSelector"),m=a("../../utils/report"),q=a("postcss-resolve-nested-selector");g=a("../../utils/ruleMessages");var e=a("../../utils/validateOptions"),n=g("selector-no-qualifying-type",{rejected:"Unexpected qualifying type selector"}),r=["#",".","["];a=function(a,g){return function(l,r){e(r,"selector-no-qualifying-type",
|
|
{actual:a,possible:[!0,!1]},{actual:g,possible:{ignore:["attribute","class","id"]},optional:!0})&&l.walkRules(function(a){function e(a){a.walkTags(function(a){if(1!==a.parent.nodes.length){var c=h(a),d=a.sourceIndex;c.forEach(function(a){"id"!==a.type||b(g,"ignore","id")||l(d);"class"!==a.type||b(g,"ignore","class")||l(d);"attribute"!==a.type||b(g,"ignore","attribute")||l(d)})}})}function l(b){m({ruleName:"selector-no-qualifying-type",result:r,node:a,message:n.rejected,index:b})}d(a)&&(f(a)||c(a.selector)&&
|
|
k(a.selector)&&q(a.selector,a).forEach(function(b){c(b)&&p(b,r,a,e)}))})}};a.ruleName="selector-no-qualifying-type";a.messages=n;l.exports=a},{"../../utils/isKeyframeRule":564,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/optionsMatches":588,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-resolve-nested-selector":247}],492:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),
|
|
f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/matchesStringOrRegExp"),c=a("../../utils/parseSelector"),b=a("postcss"),p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=g("selector-pseudo-class-blacklist",{rejected:function(a){return'Unexpected pseudo-class "'+a+'"'}});a=function(a){return function(e,g){m(g,"selector-pseudo-class-blacklist",{actual:a,possible:[k.isString]})&&e.walkRules(function(e){if(h(e)){var k=e.selector;f(k)&&-1!==
|
|
k.indexOf(":")&&c(k,g,e,function(c){c.walkPseudos(function(c){var f=c.value;"::"!==f.slice(0,2)&&(f=f.slice(1),d(b.vendor.unprefixed(f),a)&&p({index:c.sourceIndex,message:q.rejected(f),node:e,result:g,ruleName:"selector-pseudo-class-blacklist"}))})})}})}};a.primaryOptionArray=!0;a.ruleName="selector-pseudo-class-blacklist";a.messages=q;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/matchesStringOrRegExp":585,"../../utils/parseSelector":589,
|
|
"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],493:[function(a,l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/isStandardSyntaxSelector"),f=a("../../reference/keywordSets"),d=a("../../utils/parseSelector"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=g("selector-pseudo-class-case",{expected:function(a,b){return'Expected "'+a+'" to be "'+b+'"'}});a=function(a){return function(g,
|
|
e){b(e,"selector-pseudo-class-case",{actual:a,possible:["lower","upper"]})&&g.walkRules(function(b){if(k(b)){var g=b.selector;-1!==g.indexOf(":")&&d(g,e,b,function(d){d.walkPseudos(function(d){var g=d.value;if(h(g)&&-1===g.indexOf("::")&&!f.levelOneAndTwoPseudoElements.has(g.toLowerCase().slice(1))){var k="lower"===a?g.toLowerCase():g.toUpperCase();g!==k&&c({message:p.expected(g,k),node:b,index:d.sourceIndex,ruleName:"selector-pseudo-class-case",result:e})}})})}})}};a.ruleName="selector-pseudo-class-case";
|
|
a.messages=p;l.exports=a},{"../../reference/keywordSets":347,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],494:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/isCustomSelector"),d=a("../../utils/isStandardSyntaxAtRule"),c=a("../../utils/isStandardSyntaxRule"),b=a("../../utils/isStandardSyntaxSelector"),
|
|
p=a("../../reference/keywordSets"),m=a("../../utils/optionsMatches"),q=a("../../utils/parseSelector"),e=a("postcss"),n=a("../../utils/report");g=a("../../utils/ruleMessages");var r=a("../../utils/validateOptions"),t=g("selector-pseudo-class-no-unknown",{rejected:function(a){return'Unexpected unknown pseudo-class selector "'+a+'"'}});a=function(a,g){return function(l,u){function w(a,c,d){q(a,c,d,function(a){a.walkPseudos(function(a){var k=a.value;if(b(k)&&!f(k)&&"::"!==k.slice(0,2)&&!m(g,"ignorePseudoClasses",
|
|
a.value.slice(1))){var l=k.slice(1).toLowerCase();if("atrule"===d.type&&"page"===d.name){if(p.atRulePagePseudoClasses.has(l))return;a=h(d)+a.sourceIndex}else{if(e.vendor.prefix(l)||p.pseudoClasses.has(l)||p.pseudoElements.has(l))return;if(a.prev()){var q=e.vendor.unprefixed(a.prev().value.toLowerCase().slice(2));if(p.webkitProprietaryPseudoElements.has(q)&&p.webkitProprietaryPseudoClasses.has(l))return}a=a.sourceIndex}n({message:t.rejected(k),node:d,index:a,ruleName:"selector-pseudo-class-no-unknown",
|
|
result:c})}})})}r(u,"selector-pseudo-class-no-unknown",{actual:a},{actual:g,possible:{ignorePseudoClasses:[k.isString]},optional:!0})&&l.walk(function(a){var b=null;if("rule"===a.type){if(!c(a))return;b=a.selector}else if("atrule"===a.type&&"page"===a.name&&a.params){if(!d(a))return;b=a.params}b&&-1!==b.indexOf(":")&&w(b,u,a)})}};a.ruleName="selector-pseudo-class-no-unknown";a.messages=t;l.exports=a},{"../../reference/keywordSets":347,"../../utils/atRuleParamIndex":523,"../../utils/isCustomSelector":562,
|
|
"../../utils/isStandardSyntaxAtRule":571,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/optionsMatches":588,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],495:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/parseSelector"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("style-search"),b=a("../../utils/validateOptions"),
|
|
p=g("selector-pseudo-class-parentheses-space-inside",{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'});a=function(a){return function(g,e){b(e,"selector-pseudo-class-parentheses-space-inside",{actual:a,possible:["always","never"]})&&g.walkRules(function(b){function g(a,c){d({message:a,index:c,result:e,ruleName:"selector-pseudo-class-parentheses-space-inside",
|
|
node:b})}h(b)&&-1!==b.selector.indexOf("(")&&f(b.selector,e,b,function(b){b.walkPseudos(function(b){if("pseudo"!==k.get(b,"parent.parent.type")){var d=b.toString();c({source:d,target:"("},function(c){var e=" "===d[c.startIndex+1];c=b.sourceIndex+c.startIndex+1;e&&"never"===a&&g(p.rejectedOpening,c);e||"always"!==a||g(p.expectedOpening,c)});c({source:d,target:")"},function(c){var e=" "===d[c.startIndex-1];c=b.sourceIndex+c.startIndex-1;e&&"never"===a&&g(p.rejectedClosing,c);e||"always"!==a||g(p.expectedClosing,
|
|
c)})}})})})}};a.ruleName="selector-pseudo-class-parentheses-space-inside";a.messages=p;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"style-search":331}],496:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/matchesStringOrRegExp"),c=a("../../utils/parseSelector"),b=a("postcss"),
|
|
p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=g("selector-pseudo-class-whitelist",{rejected:function(a){return'Unexpected pseudo-class "'+a+'"'}});a=function(a){return function(e,g){m(g,"selector-pseudo-class-whitelist",{actual:a,possible:[k.isString]})&&e.walkRules(function(e){if(h(e)){var k=e.selector;f(k)&&-1!==k.indexOf(":")&&c(k,g,e,function(c){c.walkPseudos(function(c){var f=c.value;"::"!==f.slice(0,2)&&(f=f.slice(1),d(b.vendor.unprefixed(f),
|
|
a)||p({index:c.sourceIndex,message:q.rejected(f),node:e,result:g,ruleName:"selector-pseudo-class-whitelist"}))})})}})}};a.primaryOptionArray=!0;a.ruleName="selector-pseudo-class-whitelist";a.messages=q;l.exports=a},{"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/matchesStringOrRegExp":585,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],497:[function(a,
|
|
l,g){var k=a("../../utils/isStandardSyntaxRule"),h=a("../../utils/isStandardSyntaxSelector"),f=a("../../reference/keywordSets"),d=a("../../utils/parseSelector"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=g("selector-pseudo-element-case",{expected:function(a,b){return'Expected "'+a+'" to be "'+b+'"'}});a=function(a){return function(g,e){b(e,"selector-pseudo-element-case",{actual:a,possible:["lower","upper"]})&&g.walkRules(function(b){if(k(b)){var g=
|
|
b.selector;-1!==g.indexOf(":")&&d(g,e,b,function(d){d.walkPseudos(function(d){var g=d.value;if(h(g)&&(-1!==g.indexOf("::")||f.levelOneAndTwoPseudoElements.has(g.toLowerCase().slice(1)))){var k="lower"===a?g.toLowerCase():g.toUpperCase();g!==k&&c({message:p.expected(g,k),node:b,index:d.sourceIndex,ruleName:"selector-pseudo-element-case",result:e})}})})}})}};a.ruleName="selector-pseudo-element-case";a.messages=p;l.exports=a},{"../../reference/keywordSets":347,"../../utils/isStandardSyntaxRule":576,
|
|
"../../utils/isStandardSyntaxSelector":577,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],498:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../reference/keywordSets"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("style-search"),b=a("../../utils/validateOptions"),p=g("selector-pseudo-element-colon-notation",{expected:function(a){return"Expected "+a+" colon pseudo-element notation"}});
|
|
a=function(a){return function(g,e){b(e,"selector-pseudo-element-colon-notation",{actual:a,possible:["single","double"]})&&g.walkRules(function(b){if(h(b)){var g=b.selector;if(-1!==g.indexOf(":")){var l=k.toArray(f.levelOneAndTwoPseudoElements).map(function(a){return":"+a});c({source:g.toLowerCase(),target:l},function(c){var f=":"===g[c.startIndex-1];if("single"!==a||f)"double"===a&&f||d({message:p.expected(a),node:b,index:c.startIndex,result:e,ruleName:"selector-pseudo-element-colon-notation"})})}}})}};
|
|
a.ruleName="selector-pseudo-element-colon-notation";a.messages=p;l.exports=a},{"../../reference/keywordSets":347,"../../utils/isStandardSyntaxRule":576,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"style-search":331}],499:[function(a,l,g){var k=a("lodash"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../reference/keywordSets"),c=a("../../utils/optionsMatches"),b=a("../../utils/parseSelector"),p=
|
|
a("postcss"),m=a("../../utils/report");g=a("../../utils/ruleMessages");var q=a("../../utils/validateOptions"),e=g("selector-pseudo-element-no-unknown",{rejected:function(a){return'Unexpected unknown pseudo-element selector "'+a+'"'}});a=function(a,g){return function(l,n){q(n,"selector-pseudo-element-no-unknown",{actual:a},{actual:g,possible:{ignorePseudoElements:[k.isString]},optional:!0})&&l.walkRules(function(a){if(h(a)){var k=a.selector;-1!==k.indexOf(":")&&b(k,n,a,function(b){b.walkPseudos(function(b){var h=
|
|
b.value;if(f(h)&&"::"===h.slice(0,2)&&!c(g,"ignorePseudoElements",b.value.slice(2))){var k=h.slice(2);p.vendor.prefix(k)||d.pseudoElements.has(k.toLowerCase())||m({message:e.rejected(h),node:a,index:b.sourceIndex,ruleName:"selector-pseudo-element-no-unknown",result:n})}})})}})}};a.ruleName="selector-pseudo-element-no-unknown";a.messages=e;l.exports=a},{"../../reference/keywordSets":347,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/optionsMatches":588,
|
|
"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293}],500:[function(a,l,g){var k=a("../../utils/isKeyframeSelector"),h=a("../../utils/isStandardSyntaxRule"),f=a("../../utils/isStandardSyntaxSelector"),d=a("../../utils/isStandardSyntaxTypeSelector"),c=a("../../utils/parseSelector"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=g("selector-type-case",{expected:function(a,
|
|
b){return'Expected "'+a+'" to be "'+b+'"'}});a=function(a){return function(e,g){p(g,"selector-type-case",{actual:a,possible:["lower","upper"]})&&e.walkRules(function(e){var l=e.selector,n=e.selectors;h(e)&&f(l)&&(n.some(function(a){return k(a)})||c(l,g,e,function(c){c.walkTags(function(c){if(d(c)){var f=c.sourceIndex;c=c.value;var h="lower"===a?c.toLowerCase():c.toUpperCase();c!==h&&b({message:m.expected(c,h),node:e,index:f,ruleName:"selector-type-case",result:g})}})}))})}};a.ruleName="selector-type-case";
|
|
a.messages=m;l.exports=a},{"../../utils/isKeyframeSelector":565,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/isStandardSyntaxTypeSelector":578,"../../utils/parseSelector":589,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595}],501:[function(a,l,g){var k=a("lodash"),h=a("html-tags"),f=a("../../utils/isCustomElement"),d=a("../../utils/isKeyframeSelector"),c=a("../../utils/isStandardSyntaxRule"),b=a("../../utils/isStandardSyntaxSelector"),
|
|
p=a("../../utils/isStandardSyntaxTypeSelector"),m=a("../../reference/keywordSets"),q=a("mathml-tag-names"),e=a("../../utils/optionsMatches"),n=a("../../utils/parseSelector"),r=a("../../utils/report");g=a("../../utils/ruleMessages");var t=a("svg-tags"),u=a("../../utils/validateOptions"),w=g("selector-type-no-unknown",{rejected:function(a){return'Unexpected unknown type selector "'+a+'"'}});a=function(a,g){return function(l,x){u(x,"selector-type-no-unknown",{actual:a},{actual:g,possible:{ignore:["custom-elements",
|
|
"default-namespace"],ignoreNamespaces:[k.isString],ignoreTypes:[k.isString]},optional:!0})&&l.walkRules(function(a){var k=a.selector,l=a.selectors;c(a)&&b(k)&&(l.some(function(a){return d(a)})||n(k,x,a,function(b){b.walkTags(function(b){if(p(b)&&!(e(g,"ignore","custom-elements")&&f(b.value)||e(g,"ignore","default-namespace")&&!b.hasOwnProperty("namespace")||e(g,"ignoreNamespaces",b.namespace)||e(g,"ignoreTypes",b.value))){var c=b.value,d=c.toLowerCase();-1!==h.indexOf(d)||-1!==t.indexOf(d)||m.nonStandardHtmlTags.has(d)||
|
|
-1!==q.indexOf(d)||r({message:w.rejected(c),node:a,index:b.sourceIndex,ruleName:"selector-type-no-unknown",result:x})}})}))})}};a.ruleName="selector-type-no-unknown";a.messages=w;l.exports=a},{"../../reference/keywordSets":347,"../../utils/isCustomElement":558,"../../utils/isKeyframeSelector":565,"../../utils/isStandardSyntaxRule":576,"../../utils/isStandardSyntaxSelector":577,"../../utils/isStandardSyntaxTypeSelector":578,"../../utils/optionsMatches":588,"../../utils/parseSelector":589,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"html-tags":106,lodash:164,"mathml-tag-names":165,"svg-tags":607}],502:[function(a,l,g){var k=a("../utils/isStandardSyntaxRule"),h=a("../utils/parseSelector"),f=a("../utils/report"),d=a("style-search");l.exports=function(a){a.root.walkRules(function(b){function c(b,c,d,h,g){a.locationChecker({source:b,index:c,err:function(b){return f({message:b.replace(a.checkBeforeOperator?g[0]:g[g.length-1],g),node:d,index:h+c,result:a.result,ruleName:a.checkedRuleName})}})}
|
|
k(b)&&-1!==b.selector.indexOf("[")&&-1!==b.selector.indexOf("=")&&h(b.selector,a.result,b,function(f){f.walkAttributes(function(f){var e=f.operator;if(e){var h=f.toString();d({source:h,target:e},function(d){c(h,a.checkBeforeOperator?d.startIndex:d.endIndex-1,b,f.sourceIndex,e)})}})})})}},{"../utils/isStandardSyntaxRule":576,"../utils/parseSelector":589,"../utils/report":592,"style-search":331}],503:[function(a,l,g){var k=a("../utils/isStandardSyntaxRule"),h=a("../utils/parseSelector"),f=a("../utils/report");
|
|
l.exports=function(a){function c(b,c,d,h,e){a.locationChecker({source:b,index:d,errTarget:c,err:function(b){return f({message:b,node:h,index:e,result:a.result,ruleName:a.checkedRuleName})}})}a.root.walkRules(function(b){k(b)&&b.selectors.forEach(function(d){h(d,a.result,b,function(f){f.walkCombinators(function(f){if(!/\s/.test(f.value)){var e=f.parent&&f.parent.parent;e&&"pseudo"===e.type||(e=f.sourceIndex,c(d,f.value,1<f.value.length&&"before"===a.locationType?e:e+f.value.length-1,b,e))}})})})})}},
|
|
{"../utils/isStandardSyntaxRule":576,"../utils/parseSelector":589,"../utils/report":592}],504:[function(a,l,g){var k=a("../utils/isStandardSyntaxRule"),h=a("../utils/report"),f=a("style-search");l.exports=function(a){function c(b,c,d){a.locationChecker({source:b,index:c,err:function(b){return h({message:b,node:d,index:c,result:a.result,ruleName:a.checkedRuleName})}})}a.root.walkRules(function(a){if(k(a)){var b=a.selector;f({source:b,target:",",functionArguments:"skip"},function(d){c(b,d.startIndex,
|
|
a)})}})}},{"../utils/isStandardSyntaxRule":576,"../utils/report":592,"style-search":331}],505:[function(a,l,g){function k(a){return n.some(function(b){return-1!==a.indexOf(b)})}function h(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,e=a.toLowerCase(),f=b.toLowerCase(),h=c&&c.toLowerCase(),g=d&&d.toLowerCase();return(e!==f?0:e===h&&(h===g||!g)||!h&&!g)?[a]:e===h&&f===g||e===h&&!g&&e!==f?[a,b]:f===g?[a,b,c]:[a,b,
|
|
c,d]}var f=a("../../utils/isStandardSyntaxDeclaration"),d=a("../../utils/isStandardSyntaxProperty"),c=a("postcss"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateOptions"),m=a("postcss-value-parser"),q=g("shorthand-property-no-redundant-values",{rejected:function(a,b){return"Unexpected longhand value '"+a+"' instead of '"+b+"'"}}),e=new Set("margin padding border-color border-radius border-style border-width grid-gap".split(" ")),n="+ - * / ( ) $ @ -- var(".split(" ");
|
|
a=function(a){return function(g,l){p(l,"shorthand-property-no-redundant-values",{actual:a})&&g.walkDecls(function(a){if(f(a)&&d(a.prop)){var g=a.value,n=c.vendor.unprefixed(a.prop.toLowerCase());if(!k(g)&&e.has(n)){var p=[];m(g).walk(function(a){"word"===a.type&&p.push(m.stringify(a))});if(!(1>=p.length||4<p.length)){n=h.apply(void 0,p).filter(function(a){return a}).join(" ");var r=p.join(" ");n.toLowerCase()!==r.toLowerCase()&&b({message:q.rejected(g,n),node:a,result:l,ruleName:"shorthand-property-no-redundant-values"})}}}})}};
|
|
a.ruleName="shorthand-property-no-redundant-values";a.messages=q;l.exports=a},{"../../utils/isStandardSyntaxDeclaration":572,"../../utils/isStandardSyntaxProperty":575,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,postcss:293,"postcss-value-parser":276}],506:[function(a,l,g){var k=a("../../utils/report");g=a("../../utils/ruleMessages");var h=a("style-search"),f=a("../../utils/validateOptions"),d=g("string-no-newline",{rejected:"Unexpected newline in string"});
|
|
a=function(a){return function(b,c){if(f(c,"string-no-newline",{actual:a})){var g=b.toString();h({source:g,target:"\n",strings:"only"},function(a){var e=g[a.startIndex-1];a=a.startIndex;"\\"!==e&&("\r"===e&&--a,k({message:d.rejected,node:b,index:a,result:c,ruleName:"string-no-newline"}))})}}};a.ruleName="string-no-newline";a.messages=d;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],507:[function(a,l,g){var k=a("../../utils/report");
|
|
g=a("../../utils/ruleMessages");var h=a("style-search"),f=a("../../utils/validateOptions"),d=g("string-quotes",{expected:function(a){return"Expected "+a+" quotes"}});a=function(a){var b="single"===a?'"':"'";return function(c,g){f(g,"string-quotes",{actual:a,possible:["single","double"]})&&h({source:c.toString(),target:b},function(b){k({message:d.expected(a),node:c,index:b.startIndex,result:g,ruleName:"string-quotes"})})}};a.ruleName="string-quotes";a.messages=d;l.exports=a},{"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"style-search":331}],508:[function(a,l,g){var k=a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../reference/keywordSets"),d=a("postcss"),c=a("../../utils/report");g=a("../../utils/ruleMessages");var b=a("../../utils/validateOptions"),p=a("postcss-value-parser"),m=g("time-min-milliseconds",{expected:function(a){return"Expected a minimum of "+a+" milliseconds"}});a=function(a){return function(e,g){function l(b){b=p.unit(b);
|
|
return!b||0>=b.number?!0:"ms"===b.unit.toLowerCase()&&b.number<a||"s"===b.unit.toLowerCase()&&1E3*b.number<a?!1:!0}function n(b,d){d=d||0;c({result:g,ruleName:"time-min-milliseconds",message:m.expected(a),index:h(b)+d,node:b})}b(g,"time-min-milliseconds",{actual:a,possible:k.isNumber})&&e.walkDecls(function(a){var b=d.vendor.unprefixed(a.prop.toLowerCase());f.longhandTimeProperties.has(b)&&!l(a.value)&&n(a);if(f.shorthandTimeProperties.has(b)){b=d.list.space(a.value);b=$jscomp.makeIterator(b);for(var c=
|
|
b.next();!c.done;c=b.next())c=c.value,l(c)||n(a,a.value.indexOf(c))}})}};a.ruleName="time-min-milliseconds";a.messages=m;l.exports=a},{"../../reference/keywordSets":347,"../../utils/declarationValueIndex":532,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,postcss:293,"postcss-value-parser":276}],509:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/declarationValueIndex"),d=a("../../utils/getUnitFromValueNode"),
|
|
c=a("../../utils/optionsMatches"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateObjectWithStringArrayProps"),m=a("../../utils/validateOptions"),q=a("postcss-value-parser"),e=g("unit-blacklist",{rejected:function(a){return'Unexpected unit "'+a+'"'}});a=function(a,g){var l=[].concat(a);return function(a,n){function r(a,f,h){q(f).walk(function(f){if("function"===f.type&&"url"===f.value.toLowerCase())return!1;var k=d(f);!k||k&&-1===l.indexOf(k.toLowerCase())||
|
|
g&&c(g.ignoreProperties,k.toLowerCase(),a.prop)||b({index:h(a)+f.sourceIndex,message:e.rejected(k),node:a,result:n,ruleName:"unit-blacklist"})})}m(n,"unit-blacklist",{actual:l,possible:[k.isString]},{optional:!0,actual:g,possible:{ignoreProperties:p}})&&(a.walkAtRules(/^media$/i,function(a){return r(a,a.params,h)}),a.walkDecls(function(a){return r(a,a.value,f)}))}};a.primaryOptionArray=!0;a.ruleName="unit-blacklist";a.messages=e;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,
|
|
"../../utils/getUnitFromValueNode":543,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateObjectWithStringArrayProps":594,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],510:[function(a,l,g){var k=a("../../utils/atRuleParamIndex"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/getUnitFromValueNode"),d=a("../../utils/report");g=a("../../utils/ruleMessages");var c=a("../../utils/validateOptions"),b=a("postcss-value-parser"),
|
|
p=g("unit-case",{expected:function(a,b){return'Expected "'+a+'" to be "'+b+'"'}});a=function(a){return function(g,e){function l(c,h,g){b(h).walk(function(b){if("function"===b.type&&"url"===b.value.toLowerCase())return!1;var h=f(b);if(h){var k="lower"===a?h.toLowerCase():h.toUpperCase();h!==k&&d({index:g(c)+b.sourceIndex,message:p.expected(h,k),node:c,result:e,ruleName:"unit-case"})}})}c(e,"unit-case",{actual:a,possible:["lower","upper"]})&&(g.walkAtRules(/^media$/i,function(a){return l(a,a.params,
|
|
k)}),g.walkDecls(function(a){return l(a,a.value,h)}))}};a.ruleName="unit-case";a.messages=p;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,"../../utils/getUnitFromValueNode":543,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"postcss-value-parser":276}],511:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/declarationValueIndex"),d=a("../../utils/getUnitFromValueNode"),c=a("../../reference/keywordSets"),
|
|
b=a("../../utils/optionsMatches"),p=a("../../utils/report");g=a("../../utils/ruleMessages");var m=a("../../utils/validateOptions"),q=a("postcss-value-parser"),e=g("unit-no-unknown",{rejected:function(a){return'Unexpected unknown unit "'+a+'"'}});a=function(a,g){return function(l,n){function r(a,f,h){q(f).walk(function(f){if("function"===f.type&&"url"===f.value.toLowerCase())return!1;var k=d(f);k&&(b(g,"ignoreUnits",k)||c.units.has(k.toLowerCase())||p({index:h(a)+f.sourceIndex,message:e.rejected(k),
|
|
node:a,result:n,ruleName:"unit-no-unknown"}))})}m(n,"unit-no-unknown",{actual:a},{actual:g,possible:{ignoreUnits:[k.isString]},optional:!0})&&(l.walkAtRules(/^media$/i,function(a){return r(a,a.params,h)}),l.walkDecls(function(a){return r(a,a.value,f)}))}};a.ruleName="unit-no-unknown";a.messages=e;l.exports=a},{"../../reference/keywordSets":347,"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,"../../utils/getUnitFromValueNode":543,"../../utils/optionsMatches":588,"../../utils/report":592,
|
|
"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],512:[function(a,l,g){var k=a("lodash"),h=a("../../utils/atRuleParamIndex"),f=a("../../utils/declarationValueIndex"),d=a("../../utils/getUnitFromValueNode"),c=a("../../utils/optionsMatches"),b=a("../../utils/report");g=a("../../utils/ruleMessages");var p=a("../../utils/validateObjectWithStringArrayProps"),m=a("../../utils/validateOptions"),q=a("postcss-value-parser"),e=g("unit-whitelist",{rejected:function(a){return'Unexpected unit "'+
|
|
a+'"'}});a=function(a,g){var l=[].concat(a);return function(a,n){function r(a,f,h){q(f).walk(function(f){if("function"===f.type&&"url"===f.value.toLowerCase())return!1;var k=d(f);!k||k&&-1!==l.indexOf(k.toLowerCase())||g&&c(g.ignoreProperties,k.toLowerCase(),a.prop)||b({index:h(a)+f.sourceIndex,message:e.rejected(k),node:a,result:n,ruleName:"unit-whitelist"})})}m(n,"unit-whitelist",{actual:l,possible:[k.isString]},{optional:!0,actual:g,possible:{ignoreProperties:p}})&&(a.walkAtRules(/^media$/i,function(a){return r(a,
|
|
a.params,h)}),a.walkDecls(function(a){return r(a,a.value,f)}))}};a.primaryOptionArray=!0;a.ruleName="unit-whitelist";a.messages=e;l.exports=a},{"../../utils/atRuleParamIndex":523,"../../utils/declarationValueIndex":532,"../../utils/getUnitFromValueNode":543,"../../utils/optionsMatches":588,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateObjectWithStringArrayProps":594,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],513:[function(a,l,g){var k=
|
|
a("lodash"),h=a("../../utils/declarationValueIndex"),f=a("../../utils/getUnitFromValueNode"),d=a("../../utils/isCounterIncrementCustomIdentValue"),c=a("../../utils/isCounterResetCustomIdentValue"),b=a("../../utils/isStandardSyntaxValue"),p=a("../../reference/keywordSets"),m=a("../../utils/matchesStringOrRegExp"),q=a("../../utils/report");g=a("../../utils/ruleMessages");var e=a("../../utils/validateOptions"),n=a("postcss-value-parser"),r=g("value-keyword-case",{expected:function(a,b){return'Expected "'+
|
|
a+'" to be "'+b+'"'}}),t=new Set(["+","-","/","*","%"]),u=new Map;p.camelCaseKeywords.forEach(function(a){u.set(a.toLowerCase(),a)});a=function(a,g){return function(l,w){e(w,"value-keyword-case",{actual:a,possible:["lower","upper"]},{actual:g,possible:{ignoreKeywords:[k.isString]},optional:!0})&&l.walkDecls(function(e){var k=e.prop,l=e.value;n(l).walk(function(n){var x=n.value.toLowerCase();if(!p.systemColors.has(x)){if("function"===n.type&&("url"===x||"var"===x||"counter"===x||"counters"===x||"attr"===
|
|
x))return!1;var A=n.value;"word"!==n.type||!b(n.value)||-1!==l.indexOf("#")||t.has(A)||f(n)||"animation"===k&&!p.animationShorthandKeywords.has(x)&&!p.animationNameKeywords.has(x)||"animation-name"===k&&!p.animationNameKeywords.has(x)||"font"===k&&!p.fontShorthandKeywords.has(x)&&!p.fontFamilyKeywords.has(x)||"font-family"===k&&!p.fontFamilyKeywords.has(x)||"counter-increment"===k&&d(x)||"counter-reset"===k&&c(x)||"grid-row"===k&&!p.gridRowKeywords.has(x)||"grid-column"===k&&!p.gridColumnKeywords.has(x)||
|
|
"grid-area"===k&&!p.gridAreaKeywords.has(x)||"list-style"===k&&!p.listStyleShorthandKeywords.has(x)&&!p.listStyleTypeKeywords.has(x)||"list-style-type"===k&&!p.listStyleTypeKeywords.has(x)||(x=g&&g.ignoreKeywords||[],0<x.length&&m(A,x)||(x=A.toLocaleLowerCase(),x="lower"===a&&u.has(x)?u.get(x):"lower"===a?A.toLowerCase():A.toUpperCase(),A!==x&&q({message:r.expected(A,x),node:e,index:h(e)+n.sourceIndex,result:w,ruleName:"value-keyword-case"})))}})})}};a.ruleName="value-keyword-case";a.messages=r;l.exports=
|
|
a},{"../../reference/keywordSets":347,"../../utils/declarationValueIndex":532,"../../utils/getUnitFromValueNode":543,"../../utils/isCounterIncrementCustomIdentValue":556,"../../utils/isCounterResetCustomIdentValue":557,"../../utils/isStandardSyntaxValue":580,"../../utils/matchesStringOrRegExp":585,"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,lodash:164,"postcss-value-parser":276}],514:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../../utils/validateOptions"),
|
|
h=a("../valueListCommaWhitespaceChecker"),f=a("../../utils/whitespaceChecker"),d=g("value-list-comma-newline-after",{expectedAfter:function(){return'Expected newline after ","'},expectedAfterMultiLine:function(){return'Expected newline after "," in a multi-line list'},rejectedAfterMultiLine:function(){return'Unexpected whitespace after "," in a multi-line list'}});a=function(a){var b=f("newline",a,d);return function(c,d){k(d,"value-list-comma-newline-after",{actual:a,possible:["always","always-multi-line",
|
|
"never-multi-line"]})&&h({root:c,result:d,locationChecker:b.afterOneOnly,checkedRuleName:"value-list-comma-newline-after"})}};a.ruleName="value-list-comma-newline-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../valueListCommaWhitespaceChecker":519}],515:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../../utils/validateOptions"),h=a("../valueListCommaWhitespaceChecker"),f=a("../../utils/whitespaceChecker"),
|
|
d=g("value-list-comma-newline-before",{expectedBefore:function(){return'Expected newline before ","'},expectedBeforeMultiLine:function(){return'Expected newline before "," in a multi-line list'},rejectedBeforeMultiLine:function(){return'Unexpected whitespace before "," in a multi-line list'}});a=function(a){var b=f("newline",a,d);return function(c,d){k(d,"value-list-comma-newline-before",{actual:a,possible:["always","always-multi-line","never-multi-line"]})&&h({root:c,result:d,locationChecker:b.beforeAllowingIndentation,
|
|
checkedRuleName:"value-list-comma-newline-before"})}};a.ruleName="value-list-comma-newline-before";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../valueListCommaWhitespaceChecker":519}],516:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../../utils/validateOptions"),h=a("../valueListCommaWhitespaceChecker"),f=a("../../utils/whitespaceChecker"),d=g("value-list-comma-space-after",{expectedAfter:function(){return'Expected single space after ","'},
|
|
rejectedAfter:function(){return'Unexpected whitespace after ","'},expectedAfterSingleLine:function(){return'Expected single space after "," in a single-line list'},rejectedAfterSingleLine:function(){return'Unexpected whitespace after "," in a single-line list'}});a=function(a){var b=f("space",a,d);return function(c,d){k(d,"value-list-comma-space-after",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&h({root:c,result:d,locationChecker:b.after,checkedRuleName:"value-list-comma-space-after"})}};
|
|
a.ruleName="value-list-comma-space-after";a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../valueListCommaWhitespaceChecker":519}],517:[function(a,l,g){g=a("../../utils/ruleMessages");var k=a("../../utils/validateOptions"),h=a("../valueListCommaWhitespaceChecker"),f=a("../../utils/whitespaceChecker"),d=g("value-list-comma-space-before",{expectedBefore:function(){return'Expected single space before ","'},rejectedBefore:function(){return'Unexpected whitespace before ","'},
|
|
expectedBeforeSingleLine:function(){return'Unexpected whitespace before "," in a single-line list'},rejectedBeforeSingleLine:function(){return'Unexpected whitespace before "," in a single-line list'}});a=function(a){var b=f("space",a,d);return function(c,d){k(d,"value-list-comma-space-before",{actual:a,possible:["always","never","always-single-line","never-single-line"]})&&h({root:c,result:d,locationChecker:b.before,checkedRuleName:"value-list-comma-space-before"})}};a.ruleName="value-list-comma-space-before";
|
|
a.messages=d;l.exports=a},{"../../utils/ruleMessages":593,"../../utils/validateOptions":595,"../../utils/whitespaceChecker":596,"../valueListCommaWhitespaceChecker":519}],518:[function(a,l,g){var k=a("lodash"),h=a("../../utils/report");g=a("../../utils/ruleMessages");var f=a("style-search"),d=a("../../utils/validateOptions"),c=g("value-list-max-empty-lines",{expected:function(a){return"Expected no more than "+a+" empty "+(1===a?"line":"lines")}});a=function(a){var b=a+1;return function(g,l){d(l,"value-list-max-empty-lines",
|
|
{actual:a,possible:k.isNumber})&&g.walkDecls(function(d){var e=d.value,g=k.repeat("\n",b),m=k.repeat("\r\n",b);f({source:e,target:"\n"},function(f){if(e.substr(f.startIndex+1,b)===g||e.substr(f.startIndex+1,2*b)===m)f=f.startIndex,"\r"===e[f-1]&&--f,h({message:c.expected(a),node:d,index:f,result:l,ruleName:"value-list-max-empty-lines"})})})}};a.ruleName="value-list-max-empty-lines";a.messages=c;l.exports=a},{"../../utils/report":592,"../../utils/ruleMessages":593,"../../utils/validateOptions":595,
|
|
lodash:164,"style-search":331}],519:[function(a,l,g){var k=a("../utils/isStandardSyntaxDeclaration"),h=a("../utils/isStandardSyntaxProperty"),f=a("../utils/report"),d=a("style-search");l.exports=function(a){function b(b,c,d){a.locationChecker({source:b,index:c,err:function(b){f({message:b,node:d,index:c,result:a.result,ruleName:a.checkedRuleName})}})}a.root.walkDecls(function(a){k(a)&&h(a.prop)&&d({source:a.toString(),target:",",functionArguments:"skip"},function(c){b(a.toString(),c.startIndex,a)})})}},
|
|
{"../utils/isStandardSyntaxDeclaration":572,"../utils/isStandardSyntaxProperty":575,"../utils/report":592,"style-search":331}],520:[function(a,l,g){function k(a){if("CssSyntaxError"===a.name){if("CssSyntaxError"!==a.name)throw a;return{source:a.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:a.line,column:a.column,rule:a.name,severity:"error",text:a.reason+" ("+a.name+")"}]}}throw a;}var h=a("./createStylelint"),f=a("debug")("stylelint:standalone");
|
|
a("./utils/FileCache");var d=a("./formatters");a("globby");a("./utils/hash");var c=a("ignore"),b=a("./needlessDisables");a("pify");a("../package.json");var p=["**/node_modules/**","**/bower_components/**"];l.exports=function(a){function g(a){var c={errored:a.some(function(a){return a.errored||0<a.parseErrors.length}),output:D(a),results:a};K&&(c.needlessDisables=b(a));f("Linting complete in "+(Date.now()-B)+"ms");return c}var e=a.code,l=a.codeFilename,m=a.config,t=a.configBasedir,u=a.configFile,w=
|
|
a.configOverrides,x=a.customSyntax,A=a.files,L=a.fix,C=a.formatter,F=a.ignoreDisables,K=a.reportNeedlessDisables,M=a.syntax,B=Date.now();c().add("");var I="string"===typeof e;if(!A&&!I||A&&(e||I))throw Error("You must pass stylelint a `files` glob or a `code` string, though not both");if("string"===typeof C){var D=d[C];if(void 0===D)return Promise.reject(Error("You must use a valid formatter option: 'json', 'string', 'verbose', or a function"))}else D="function"===typeof C?C:d.json;var E=h({config:m,
|
|
configFile:u,configBasedir:t,configOverrides:w,ignoreDisables:F,reportNeedlessDisables:K,syntax:M,customSyntax:x,fix:L});if(!A)return E._lintSource({code:e,codeFilename:l}).then(function(a){return E._createStylelintResult(a)})["catch"](k).then(function(a){return g([a])});e=A;"string"===typeof e&&(e=[e]);a.disableDefaultIgnores||(e=e.concat(p.map(function(a){return"!"+a})));return""}},{"../package.json":597,"./createStylelint":335,"./formatters":338,"./needlessDisables":344,"./utils/FileCache":521,
|
|
"./utils/hash":551,debug:71,globby:97,ignore:107,pify:187}],521:[function(a,l,g){(function(g){function h(a,h){var k=b.resolve(c(a||"./.stylelintcache",g.cwd()));f("Cache file is created at "+k);this._fileCache=d.create(k);this._hashOfConfig=h||""}var f=a("debug")("stylelint:file-cache"),d=a("file-entry-cache"),c=a("./getCacheFile"),b=a("path");h.prototype.hasFileChanged=function(a){var b=this._fileCache.getFileDescriptor(a),c=b.meta||{};(b=b.changed||c.hashOfConfig!==this._hashOfConfig)||f("Skip linting "+
|
|
a+". File hasn't changed.");c.hashOfConfig!==this._hashOfConfig&&(c.hashOfConfig=this._hashOfConfig);return b};h.prototype.reconcile=function(){this._fileCache.reconcile()};h.prototype.destroy=function(){this._fileCache.destroy()};h.prototype.removeEntry=function(a){this._fileCache.removeEntry(a)};l.exports=h}).call(this,a("_process"))},{"./getCacheFile":537,_process:16,debug:71,"file-entry-cache":82,path:14}],522:[function(a,l,g){var k=a("lodash");l.exports=function(a,f){/\r?\n/.test(a.raws.before)?
|
|
/^\r?\n/.test(a.raws.before)?a.raws.before=f+a.raws.before:/\r?\n$/.test(a.raws.before)?a.raws.before+=f:a.raws.before=a.raws.before.replace(/(\r?\n)/,f+"$1"):a.raws.before=k.repeat(f,2)+a.raws.before;return a}},{lodash:164}],523:[function(a,l,g){l.exports=function(a){var h=1+a.name.length;a.raws.afterName&&(h+=a.raws.afterName.length);return h}},{}],524:[function(a,l,g){l.exports=function(a,h){h=h||{};var f="",d,c;"rule"===a.type&&(d=a);"atrule"===a.type&&(c=a);if(!d&&!c)return f;var b=a.raws.before||
|
|
"";h.noRawBefore||(f+=b);d&&(f+=d.selector);c&&(f+="@"+c.name+(c.raws.afterName||"")+c.params);d=a.raws.between;void 0!==d&&(f+=d);return f}},{}],525:[function(a,l,g){var k=a("./beforeBlockString"),h=a("./hasBlock"),f=a("./rawNodeString");l.exports=function(a){return h(a)?f(a).slice(k(a).length):!1}},{"./beforeBlockString":524,"./hasBlock":544,"./rawNodeString":590}],526:[function(a,l,g){l.exports=function(a){return a.replace(/\/\*.*\*\//g,1<arguments.length&&void 0!==arguments[1]?arguments[1]:"`")}},
|
|
{}],527:[function(a,l,g){var k=a("lodash"),h=a("balanced-match");l.exports=function(a,d){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"`",b=d.toLowerCase()+"(",f=a.toLowerCase();if(!k.includes(f,b))return a;for(var g=d.length,l=a,e=0;-1!==f.indexOf(b,e);){e=f.indexOf(b,e)+g;var n=h("(",")",f.slice(e)).end+e,r=n-e-1;l=l.slice(0,e+1)+k.repeat(c,r)+l.slice(n);e=n}return l}},{"balanced-match":51,lodash:164}],528:[function(a,l,g){l.exports=function(a){return a.replace(/[#@{}]+/g,1<arguments.length&&
|
|
void 0!==arguments[1]?arguments[1]:" ")}},{}],529:[function(a,l,g){var k=a("../normalizeRuleSettings"),h=a("postcss/lib/result"),f=a("../rules");l.exports=function(a,c){if(!a)throw Error("checkAgainstRule requires an options object with 'ruleName', 'ruleSettings', and 'root' properties");if(!c)throw Error("checkAgainstRule requires a callback");if(!a.ruleName)throw Error("checkAgainstRule requires a 'ruleName' option");if(!f[a.ruleName])throw Error("Rule '"+a.ruleName+"' does not exist");if(!a.ruleSettings)throw Error("checkAgainstRule requires a 'ruleSettings' option");
|
|
if(!a.root)throw Error("checkAgainstRule requires a 'root' option");var b=k(a.ruleSettings,a.ruleName);if(b){var d=new h;f[a.ruleName](b[0],b[1],{})(a.root,d);d.warnings().forEach(c)}}},{"../normalizeRuleSettings":345,"../rules":429,"postcss/lib/result":296}],530:[function(a,l,g){l.exports=function(a){a=Error(a);a.code=78;return a}},{}],531:[function(a,l,g){function k(a,f){return!f||"/"===f[0]&&"/"===f[f.length-1]?!1:0<=a.indexOf(f)?{match:a,pattern:f}:!1}l.exports=function(a,f){if(!Array.isArray(f))return k(a,
|
|
f);for(var d=$jscomp.makeIterator(f),c=d.next();!c.done;c=d.next())if(c=k(a,c.value))return c;return!1}},{}],532:[function(a,l,g){l.exports=function(a){var h=a.toString().indexOf(":");a=a.raw("between").length-a.raw("between").indexOf(":");return h+a}},{}],533:[function(a,l,g){var k=a("./getUnitFromValueNode"),h=a("./isStandardSyntaxValue"),f=a("./isVariable"),d=a("../reference/keywordSets"),c=a("postcss-value-parser");l.exports=function(a){var b=[];a=c(a);if(1===a.nodes.length&&d.basicKeywords.has(a.nodes[0].value.toLowerCase()))return[a.nodes[0]];
|
|
a.walk(function(a){if("function"===a.type)return!1;if("word"===a.type){var c=a.value.toLowerCase();!h(c)||f(c)||d.animationShorthandKeywords.has(c)||(c=k(a))||""===c||b.push(a)}});return b}},{"../reference/keywordSets":347,"./getUnitFromValueNode":543,"./isStandardSyntaxValue":580,"./isVariable":583,"postcss-value-parser":276}],534:[function(a,l,g){l.exports=function h(a){a=a.parent;return"root"===a.type?null:"atrule"===a.type?a:h(a)}},{}],535:[function(a,l,g){var k=a("./isNumbery"),h=a("./isStandardSyntaxValue"),
|
|
f=a("./isValidFontSize"),d=a("./isVariable"),c=a("../reference/keywordSets"),b=a("postcss-value-parser"),p=new Set(["word","string","space","div"]);l.exports=function(a){var g=[];a=b(a);if(1===a.nodes.length&&c.basicKeywords.has(a.nodes[0].value.toLowerCase()))return[a.nodes[0]];var e=!1,l=null;a.walk(function(a,b,m){if("function"===a.type)return!1;if(p.has(a.type)){var n=a.value.toLowerCase();!h(n)||d(n)||c.fontShorthandKeywords.has(n)&&!c.fontFamilyKeywords.has(n)||f(a.value)||m[b-1]&&"/"===m[b-
|
|
1].value&&m[b-2]&&f(m[b-2].value)||k(n)||(("space"===a.type||"div"===a.type&&","!==a.value)&&0!==g.length?(e=!0,l=a.value):"space"!==a.type&&"div"!==a.type&&(e?(b=g[g.length-1],b.value=b.value+l+a.value,e=!1,l=null):g.push(a)))}});return g}},{"../reference/keywordSets":347,"./isNumbery":566,"./isStandardSyntaxValue":580,"./isValidFontSize":581,"./isVariable":583,"postcss-value-parser":276}],536:[function(a,l,g){var k=a("balanced-match"),h=a("style-search");l.exports=function(a,d,c){h({source:a,target:d,
|
|
functionNames:"check"},function(b){if("("===a[b.endIndex]){var d=k("(",")",a.substr(b.startIndex));c(d.body,b.endIndex+1)}})}},{"balanced-match":51,"style-search":331}],537:[function(a,l,g){var k=a("fs"),h=a("./hash"),f=a("path");l.exports=function(a,c){a=f.normalize(a);var b=f.resolve(c,a),d=a[a.length-1]===f.sep;try{var g=k.lstatSync(b)}catch(q){g=null}return d||g&&g.isDirectory()?f.join(b,".stylelintcache_"+h(c)):b}},{"./hash":551,fs:1,path:14}],538:[function(a,l,g){(function(g){var h=a("./configurationError"),
|
|
f=a("resolve-from");l.exports=function(a,c){var b=f.silent(a,c);b||(b=f.silent(g.cwd(),c));if(!b)throw h('Could not find "'+c+'". Do you need a `configBasedir`?');return b}}).call(this,a("_process"))},{"./configurationError":530,_process:16,"resolve-from":316}],539:[function(a,l,g){function k(a){return h.get(a,"source.start.line")}var h=a("lodash");l.exports=function d(a){if(void 0!==a){var b=a.next();return"comment"!==h.get(b,"type")?b:k(a)===k(b)||void 0!==b&&k(b)===k(b.next())?d(b):b}}},{lodash:164}],
|
|
540:[function(a,l,g){var k=a("os");l.exports=function(){return k.EOL}},{os:13}],541:[function(a,l,g){function k(a){return h.get(a,"source.start.line")}var h=a("lodash");l.exports=function d(a){if(void 0!==a){var b=a.prev();return"comment"!==h.get(b,"type")?b:k(a)===k(b)||void 0!==b&&k(b)===k(b.prev())?d(b):b}}},{lodash:164}],542:[function(a,l,g){var k=a("url").parse;l.exports=function(a){var f=k(a).protocol;if(null===f||"undefined"===typeof f)return null;var d=f.slice(0,-1);f=f.length;return"//"!==
|
|
a.slice(f,f+2)&&"data"!==d?null:d}},{url:37}],543:[function(a,l,g){var k=a("lodash"),h=a("./blurInterpolation"),f=a("./isStandardSyntaxValue"),d=a("postcss-value-parser");l.exports=function(a){if(!a||a&&!a.value)return null;var b=h(a.value,"").replace("\\0","").replace("\\9","").replace(".","");return"word"===a.type&&f(b)&&k.isFinite(parseInt(b))&&"#"!==a.value[0]?(a=d.unit(b))?a.unit:null:null}},{"./blurInterpolation":528,"./isStandardSyntaxValue":580,lodash:164,"postcss-value-parser":276}],544:[function(a,
|
|
l,g){l.exports=function(a){return void 0!==a.nodes}},{}],545:[function(a,l,g){l.exports=function(a){return void 0!==a.nodes&&0===a.nodes.length}},{}],546:[function(a,l,g){l.exports=function(a){return""===a||void 0===a?!1:/\n[\r\t ]*\n/.test(a)}},{}],547:[function(a,l,g){var k=a("../utils/hasLessInterpolation"),h=a("../utils/hasPsvInterpolation"),f=a("../utils/hasScssInterpolation");l.exports=function(a){return k(a)||f(a)||h(a)?!0:!1}},{"../utils/hasLessInterpolation":548,"../utils/hasPsvInterpolation":549,
|
|
"../utils/hasScssInterpolation":550}],548:[function(a,l,g){l.exports=function(a){return/@{.+?}/.test(a)?!0:!1}},{}],549:[function(a,l,g){l.exports=function(a){return/\$\(.+?\)/.test(a)?!0:!1}},{}],550:[function(a,l,g){l.exports=function(a){return/#{.+?}/.test(a)?!0:!1}},{}],551:[function(a,l,g){var k=a("imurmurhash");l.exports=function(a){return k(a).result().toString(36)}},{imurmurhash:108}],552:[function(a,l,g){var k=a("./isSharedLineComment");l.exports=function(a){return(a=a.prev())&&"comment"===
|
|
a.type?!k(a):!1}},{"./isSharedLineComment":569}],553:[function(a,l,g){var k=a("lodash"),h=a("./getPreviousNonSharedLineCommentNode"),f=a("./isCustomProperty"),d=a("./isStandardSyntaxDeclaration");l.exports=function(a){a=h(a);return void 0!==a&&"decl"===a.type&&d(a)&&!f(k.get(a,"prop",""))}},{"./getPreviousNonSharedLineCommentNode":541,"./isCustomProperty":560,"./isStandardSyntaxDeclaration":572,lodash:164}],554:[function(a,l,g){var k=a("./getPreviousNonSharedLineCommentNode"),h=a("./hasBlock");l.exports=
|
|
function(a){if("atrule"!==a.type)return!1;var d=k(a);return void 0===d?!1:"atrule"===d.type&&!h(d)&&!h(a)}},{"./getPreviousNonSharedLineCommentNode":541,"./hasBlock":544}],555:[function(a,l,g){var k=a("lodash"),h=a("./getPreviousNonSharedLineCommentNode"),f=a("./isBlocklessAtRuleAfterBlocklessAtRule");l.exports=function(a){if(!f(a))return!1;var c=h(a);return k.get(c,"name")===a.name}},{"./getPreviousNonSharedLineCommentNode":541,"./isBlocklessAtRuleAfterBlocklessAtRule":554,lodash:164}],556:[function(a,
|
|
l,g){var k=a("lodash"),h=a("../reference/keywordSets");l.exports=function(a){a=a.toLowerCase();return h.counterIncrementKeywords.has(a)||k.isFinite(parseInt(a))?!1:!0}},{"../reference/keywordSets":347,lodash:164}],557:[function(a,l,g){var k=a("lodash"),h=a("../reference/keywordSets");l.exports=function(a){a=a.toLowerCase();return h.counterResetKeywords.has(a)||k.isFinite(parseInt(a))?!1:!0}},{"../reference/keywordSets":347,lodash:164}],558:[function(a,l,g){var k=a("html-tags"),h=a("../reference/keywordSets"),
|
|
f=a("mathml-tag-names"),d=a("svg-tags");l.exports=function(a){if(!/^[a-z]/.test(a)||-1===a.indexOf("-"))return!1;var b=a.toLowerCase();return b!==a||-1!==d.indexOf(b)||-1!==k.indexOf(b)||h.nonStandardHtmlTags.has(b)||-1!==f.indexOf(b)?!1:!0}},{"../reference/keywordSets":347,"html-tags":106,"mathml-tag-names":165,"svg-tags":607}],559:[function(a,l,g){l.exports=function(a){return"--"===a.slice(0,2)}},{}],560:[function(a,l,g){l.exports=function(a){return"--"===a.slice(0,2)}},{}],561:[function(a,l,g){var k=
|
|
a("lodash"),h=a("../utils/hasBlock");l.exports=function(a){var d=k.get(a,"raws.selector.raw",a.selector);return"rule"===a.type&&h(a)&&"--"===d.slice(0,2)&&":"===d.slice(-1)}},{"../utils/hasBlock":544,lodash:164}],562:[function(a,l,g){l.exports=function(a){return":--"===a.slice(0,3)}},{}],563:[function(a,l,g){l.exports=function(a){var g=a.parent;return void 0!==g&&"root"!==g.type&&a===g.first}},{}],564:[function(a,l,g){l.exports=function(a){a=a.parent;return"atrule"===a.type&&"keyframes"===a.name.toLowerCase()}},
|
|
{}],565:[function(a,l,g){var k=a("../reference/keywordSets");l.exports=function(a){return k.keyframeSelectorKeywords.has(a)||/^(?:\d+\.?\d*|\d*\.?\d+)%$/.test(a)?!0:!1}},{"../reference/keywordSets":347}],566:[function(a,l,g){l.exports=function(a){return 0!==a.trim().length&&Number(a)==a}},{}],567:[function(a,l,g){var k=a("./isWhitespace");l.exports=function(a){for(var f=!0,d=0,c=a.length;d<c;d++)if(!k(a[d])){f=!1;break}return f}},{"./isWhitespace":584}],568:[function(a,l,g){l.exports=function(a){return-1!==
|
|
a.indexOf("=")||-1!==a.indexOf("<")||-1!==a.indexOf(">")}},{}],569:[function(a,l,g){function k(a,b){return h.get(a,"source.start.line")===h.get(b,"source.start.line")}var h=a("lodash"),f=a("./getNextNonSharedLineCommentNode"),d=a("./getPreviousNonSharedLineCommentNode");l.exports=function(a){if("comment"!==a.type)return!1;var b=d(a);if(k(a,b))return!0;b=f(a);if(k(a,b))return!0;b=a.parent;return void 0!==b&&"root"!==b.type&&b.source.start.line===a.source.start.line?!0:!1}},{"./getNextNonSharedLineCommentNode":539,
|
|
"./getPreviousNonSharedLineCommentNode":541,lodash:164}],570:[function(a,l,g){l.exports=function(a){return!/[\n\r]/.test(a)}},{}],571:[function(a,l,g){l.exports=function(a){return!a.nodes&&""===a.params||!a.nodes&&""===a.raws.afterName&&"("===a.params[0]?!1:!0}},{}],572:[function(a,l,g){l.exports=function(a){var g=a.prop;a=a.parent;return"root"===a.type||"$"===g[0]||"@"===g[0]&&"{"!==g[1]||a.selector&&":"===a.selector[a.selector.length-1]&&"--"!==a.selector.substring(0,2)?!1:!0}},{}],573:[function(a,
|
|
l,g){l.exports=function(a){return a.value?!0:!1}},{}],574:[function(a,l,g){l.exports=function(a){return/#{.+?}|\$.+?/.test(a)?!1:!0}},{}],575:[function(a,l,g){var k=a("lodash"),h=a("../utils/hasInterpolation");l.exports=function(a){return"$"===a[0]||"@"===a[0]||k.endsWith(a,"+")||k.endsWith(a,"+_")||h(a)?!1:!0}},{"../utils/hasInterpolation":547,lodash:164}],576:[function(a,l,g){var k=a("lodash"),h=a("../utils/isCustomPropertySet");l.exports=function(a){var d=k.get(a,"raws.selector.raw",a.selector);
|
|
return h(a)||a.mixin||"@"===d.slice(0,1)&&":"===d.slice(-1)||a.extend||a.params&&a.params[0]||k.endsWith(d,")")&&!k.includes(d,":")||/when\s+(not\s+)*\(/.test(d)||":"===d.slice(-1)?!1:!0}},{"../utils/isCustomPropertySet":561,lodash:164}],577:[function(a,l,g){var k=a("../utils/hasInterpolation");l.exports=function(a){return k(a)||0===a.indexOf("%")||/:extend(\(.*?\))?/.test(a)?!1:!0}},{"../utils/hasInterpolation":547}],578:[function(a,l,g){var k=a("lodash"),h=a("../reference/keywordSets");l.exports=
|
|
function(a){var d=a.parent.parent,c=d.type;if(d=d.value)if(d=d.toLowerCase().replace(/:+/,""),"pseudo"===c&&(h.aNPlusBNotationPseudoClasses.has(d)||h.linguisticPseudoClasses.has(d)))return!1;return a.prev()&&"nesting"===a.prev().type||"%"===a.value[0]||k.startsWith(a.value,"/")&&k.endsWith(a.value,"/")?!1:!0}},{"../reference/keywordSets":347,lodash:164}],579:[function(a,l,g){var k=a("../utils/hasLessInterpolation"),h=a("../utils/hasPsvInterpolation"),f=a("../utils/hasScssInterpolation");l.exports=
|
|
function(a){return 0===a.length?!0:f(a)||h(a)?!1:"'"===a[0]&&"'"===a[a.length-1]||'"'===a[0]&&'"'===a[a.length-1]?k(a)?!1:!0:"@"===a[0]&&/^@@?[\w-]+$/.test(a)||-1!==a.indexOf("$")&&/^[$\sA-Za-z0-9+-/*_'"/]+$/.test(a)&&"/"!==a[a.length-1]?!1:!0}},{"../utils/hasLessInterpolation":548,"../utils/hasPsvInterpolation":549,"../utils/hasScssInterpolation":550}],580:[function(a,l,g){var k=a("../utils/hasInterpolation");l.exports=function(a){var f=a;/^[-+*/]/.test(a[0])&&(f=f.slice(1));return"$"===f[0]||"@"===
|
|
f[0]||k(f)?!1:!0}},{"../utils/hasInterpolation":547}],581:[function(a,l,g){var k=a("../reference/keywordSets"),h=a("postcss-value-parser");l.exports=function(a){if(!a)return!1;if(k.fontSizeKeywords.has(a))return!0;a=h.unit(a);if(!a)return!1;a=a.unit;return"%"===a||k.lengthUnits.has(a.toLowerCase())?!0:!1}},{"../reference/keywordSets":347,"postcss-value-parser":276}],582:[function(a,l,g){l.exports=function(a){return/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(a)}},{}],583:[function(a,
|
|
l,g){l.exports=function(a){return"var("===a.toLowerCase().slice(0,4)}},{}],584:[function(a,l,g){l.exports=function(a){return-1!==[" ","\n","\t","\r","\f"].indexOf(a)}},{}],585:[function(a,l,g){function k(a,d){if(!Array.isArray(d))return h(a,d);for(var c=$jscomp.makeIterator(d),b=c.next();!b.done;b=c.next())if(b=h(a,b.value))return b;return!1}function h(a,d){var c=d[d.length-1],b=d[d.length-2];return(b="/"===d[0]&&("/"===c||"/"===b&&"i"===c))?(b&&"i"===c?(new RegExp(d.slice(1,-2),"i")).test(a):(new RegExp(d.slice(1,
|
|
-1))).test(a))?{match:a,pattern:d}:!1:a===d?{match:a,pattern:d}:!1}l.exports=function(a,d){if(!Array.isArray(a))return k(a,d);for(var c=$jscomp.makeIterator(a),b=c.next();!b.done;b=c.next())if(b=k(b.value,d))return b;return!1}},{}],586:[function(a,l,g){l.exports=function h(a){return a&&a.next?"comment"===a.type?h(a.next()):a:null}},{}],587:[function(a,l,g){function k(a,f){a.has(f)||a.set(f,new Map);return a.get(f)}l.exports=function(){var a=new Map;return{getContext:function(f){var d=k(a,f.source.input.from);
|
|
return Array.from(arguments).slice(1).reduce(function(a,b){return k(a,b)},d)}}}},{}],588:[function(a,l,g){var k=a("./matchesStringOrRegExp");l.exports=function(a,f,d){return!!(a&&a[f]&&"string"===typeof d&&k(d,a[f]))}},{"./matchesStringOrRegExp":585}],589:[function(a,l,g){var k=a("postcss-selector-parser");l.exports=function(a,f,d,c){try{k(c).process(a)}catch(b){f.warn("Cannot parse selector",{node:d,stylelintType:"parseError"})}}},{"postcss-selector-parser":255}],590:[function(a,l,g){l.exports=function(a){var g=
|
|
"";a.raws.before&&(g+=a.raws.before);return g+=a.toString()}},{}],591:[function(a,l,g){l.exports=function(a,g){a.raws.before=a.raws.before.replace(/(\r?\n\s*\r?\n)+/g,g);return a}},{}],592:[function(a,l,g){var k=a("lodash");l.exports=function(a){var f=a.ruleName,d=a.result,c=a.message,b=a.line,g=a.node,h=a.index;a=a.word;d.stylelint=d.stylelint||{};if(!d.stylelint.quiet||"error"===d.stylelint.ruleSeverities[f]){b=b||g.positionBy({index:h}).line;if(d.stylelint.disabledRanges&&!d.stylelint.ignoreDisables)for(var l=
|
|
$jscomp.makeIterator(d.stylelint.disabledRanges[f]||d.stylelint.disabledRanges.all),e=l.next();!e.done;e=l.next())if(e=e.value,e.start<=b&&(e.end>=b||void 0===e.end)&&(!e.rules||-1!==e.rules.indexOf(f)))return;b=k.get(d.stylelint,["ruleSeverities",f],"ignore");d.stylelint.stylelintError||"error"!==b||(d.stylelint.stylelintError=!0);b={severity:b,rule:f};g&&(b.node=g);h&&(b.index=h);a&&(b.word=a);f=k.get(d.stylelint,["customMessages",f],c);d.warn(f,b)}}},{lodash:164}],593:[function(a,l,g){l.exports=
|
|
function(a,g){return Object.keys(g).reduce(function(f,d){var c=g[d];f[d]="string"===typeof c?c+" ("+a+")":function(){return c.apply(null,arguments)+" ("+a+")"};return f},{})}},{}],594:[function(a,l,g){var k=a("lodash");l.exports=function(a){return k.isPlainObject(a)?Object.keys(a).every(function(f){return k.isArray(a[f])?a[f].every(function(a){return k.isString(a)}):!1}):!1}},{lodash:164}],595:[function(a,l,g){function k(a,b,g){var c=a.possible,k=a.actual;a=a.optional;if(null!==k&&!f.isEqual(k,[null])){var e=
|
|
void 0===c||Array.isArray(c)&&0===c.length;e&&!0===k||(void 0===k?e||a||g('Expected option value for rule "'+b+'"'):e?g('Unexpected option value "'+k+'" for rule "'+b+'"'):f.isFunction(c)?c(k)||g('Invalid option "'+JSON.stringify(k)+'" for rule '+b):f.isPlainObject(c)?f.isPlainObject(k)?Object.keys(k).forEach(function(a){-1===d.indexOf(a)&&(c[a]?[].concat(k[a]).forEach(function(d){h(c[a],d)||g('Invalid value "'+d+'" for option "'+a+'" of rule "'+b+'"')}):g('Invalid option name "'+a+'" for rule "'+
|
|
b+'"'))}):g("Invalid option value "+JSON.stringify(k)+' for rule "'+b+'": should be an object'):[].concat(k).forEach(function(a){h(c,a)||g('Invalid option value "'+a+'" for rule "'+b+'"')}))}}function h(a,b){for(var c=[].concat(a),d=0,f=c.length;d<f;d++){var e=c[d];if("function"===typeof e&&e(b)||b===e)return!0}}var f=a("lodash"),d=["severity","message"];l.exports=function(a,b){function c(b){d=!1;a.warn(b,{stylelintType:"invalidOption"});f.set(a,"stylelint.stylelintError",!0)}var d=!0;Array.from(arguments).slice(2).forEach(function(a){k(a,
|
|
b,c)});return d}},{lodash:164}],596:[function(a,l,g){var k=a("./configurationError"),h=a("./isSingleLineString"),f=a("./isWhitespace");l.exports=function(a,c,b){function d(a){var d=a.source,e=a.lineCheckStr;u={source:d,index:a.index,err:a.err,errTarget:a.errTarget,onlyOneChar:void 0===a.onlyOneChar?!1:a.onlyOneChar,allowIndentation:void 0===a.allowIndentation?!1:a.allowIndentation};switch(c){case "always":l();break;case "never":n();break;case "always-single-line":if(!h(e||d))break;l(b.expectedBeforeSingleLine);
|
|
break;case "never-single-line":if(!h(e||d))break;n(b.rejectedBeforeSingleLine);break;case "always-multi-line":if(h(e||d))break;l(b.expectedBeforeMultiLine);break;case "never-multi-line":if(h(e||d))break;n(b.rejectedBeforeMultiLine);break;default:throw k('Unknown expectation "'+c+'"');}}function g(a){var d=a.source,e=a.lineCheckStr;u={source:d,index:a.index,err:a.err,errTarget:a.errTarget,onlyOneChar:void 0===a.onlyOneChar?!1:a.onlyOneChar};switch(c){case "always":r();break;case "never":t();break;
|
|
case "always-single-line":if(!h(e||d))break;r(b.expectedAfterSingleLine);break;case "never-single-line":if(!h(e||d))break;t(b.rejectedAfterSingleLine);break;case "always-multi-line":if(h(e||d))break;r(b.expectedAfterMultiLine);break;case "never-multi-line":if(h(e||d))break;t(b.rejectedAfterMultiLine);break;default:throw k('Unknown expectation "'+c+'"');}}function l(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:b.expectedBefore;if(u.allowIndentation)e(c);else{var d=u,g=d.source;d=
|
|
d.index;var h=g[d-1],k=g[d-2];void 0!==h&&null!==h&&("space"!==a||" "!==h||!u.onlyOneChar&&f(k))&&u.err(c(u.errTarget?u.errTarget:g[d]))}}function e(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:b.expectedBefore,d=u,e=d.source,f=d.index;d=d.err;var g="newline"===a?"\n":void 0;for(var h=f-1;e[h]!==g;)if("\t"===e[h]||" "===e[h])h--;else{d(c(u.errTarget?u.errTarget:e[f]));break}}function n(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:b.rejectedBefore,c=u,d=c.source;
|
|
c=c.index;var e=d[c-1];void 0!==e&&null!==e&&f(e)&&u.err(a(u.errTarget?u.errTarget:d[c]))}function r(){var c=0<arguments.length&&void 0!==arguments[0]?arguments[0]:b.expectedAfter,d=u,e=d.source;d=d.index;var g=e[d+1],h=e[d+2];void 0!==g&&null!==g&&("newline"!==a||("\r"!==g||"\n"!==h||!u.onlyOneChar&&f(e[d+3]))&&("\n"!==g||!u.onlyOneChar&&f(h)))&&("space"!==a||" "!==g||!u.onlyOneChar&&f(h))&&u.err(c(u.errTarget?u.errTarget:e[d]))}function t(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
|
|
b.rejectedAfter,c=u,d=c.source;c=c.index;var e=d[c+1];void 0!==e&&null!==e&&f(e)&&u.err(a(u.errTarget?u.errTarget:d[c]))}var u;return{before:d,beforeAllowingIndentation:function(a){d(Object.assign({},a,{allowIndentation:!0}))},after:g,afterOneOnly:function(a){g(Object.assign({},a,{onlyOneChar:!0}))}}}},{"./configurationError":530,"./isSingleLineString":570,"./isWhitespace":584}],597:[function(a,l,g){l.exports={_args:[["stylelint@8.0.0","Z:\\Repos\\+Misc\\stylelint-bundler"]],_from:"stylelint@8.0.0",
|
|
_id:"stylelint@8.0.0",_inBundle:!1,_integrity:"sha512-k1GkRhOtghvYu5PWCdec7SNN22KZZLq4TL1vVyykBvHr91oUS7eVfX2IAZJjBpYKh9Gdep+AnSZCwuUn+J76Bw==",_location:"/stylelint",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"stylelint@8.0.0",name:"stylelint",escapedName:"stylelint",rawSpec:"8.0.0",saveSpec:null,fetchSpec:"8.0.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/stylelint/-/stylelint-8.0.0.tgz",_spec:"8.0.0",_where:"Z:\\Repos\\+Misc\\stylelint-bundler",authors:["David Clark",
|
|
"Maxime Thirouin","Richard Hallows"],bin:{stylelint:"bin/stylelint.js"},bugs:{url:"https://github.com/stylelint/stylelint/issues"},dependencies:{autoprefixer:"^7.1.2","balanced-match":"^1.0.0",cosmiconfig:"^2.1.3",debug:"^2.6.8",execall:"^1.0.0","file-entry-cache":"^2.0.0","get-stdin":"^5.0.1",globby:"^6.1.0",globjoin:"^0.1.4","html-tags":"^2.0.0",ignore:"^3.3.3",imurmurhash:"^0.1.4","known-css-properties":"^0.2.0",lodash:"^4.17.4","log-symbols":"^1.0.2","mathml-tag-names":"^2.0.1",meow:"^3.7.0",
|
|
micromatch:"^2.3.11","normalize-selector":"^0.2.0",pify:"^3.0.0",postcss:"^6.0.6","postcss-less":"^1.1.0","postcss-media-query-parser":"^0.2.3","postcss-reporter":"^4.0.0","postcss-resolve-nested-selector":"^0.1.1","postcss-scss":"^1.0.2","postcss-selector-parser":"^2.2.3","postcss-value-parser":"^3.3.0","resolve-from":"^3.0.0",specificity:"^0.3.1","string-width":"^2.1.0","style-search":"^0.1.0",sugarss:"^1.0.0","svg-tags":"^1.0.0",table:"^4.0.1"},description:"A mighty, modern CSS linter.",devDependencies:{benchmark:"^2.1.4",
|
|
"common-tags":"^1.4.0",coveralls:"^2.13.1","cp-file":"^4.2.0","d3-queue":"^3.0.7",del:"^3.0.0",eslint:"~4.2.0","eslint-config-stylelint":"^7.0.0","file-exists-promise":"^1.0.2","flow-bin":"^0.50.0","fs-promise":"^2.0.3",husky:"^0.14.3",jest:"^20.0.4","lint-staged":"^4.0.1","npm-run-all":"^4.0.2",npmpub:"^3.1.0","postcss-import":"^10.0.0","postcss-safe-parser":"^3.0.1",prettier:"^1.5.3","remark-cli":"^3.0.1","remark-preset-lint-consistent":"^2.0.0","remark-preset-lint-recommended":"^2.0.0","remark-validate-links":"^6.1.0",
|
|
request:"^2.81.0","strip-ansi":"^4.0.0"},engines:{node:">=4.2.1"},eslintConfig:{"extends":["stylelint"],globals:{testRule:!0}},files:"bin CONTRIBUTING.md decls/*.js docs lib VISION.md !**/__tests__".split(" "),greenkeeper:{label:"PR: review needed"},homepage:"https://stylelint.io",jest:{clearMocks:!0,collectCoverage:!1,collectCoverageFrom:["lib/**/*.js"],coverageDirectory:"./.coverage/",coverageReporters:["lcov","text-summary"],coverageThreshold:{global:{branches:75,functions:75,lines:75,statements:75}},
|
|
setupFiles:["./jest-setup.js"],testEnvironment:"node",roots:["lib","system-tests"],testRegex:".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$"},keywords:"css less scss sugarss lint linter stylelint".split(" "),license:"MIT","lint-staged":{"*.js":["prettier --write","git add"]},main:"lib/index.js",name:"stylelint",remarkConfig:{plugins:["preset-lint-recommended","preset-lint-consistent",["validate-links",{repository:"stylelint/stylelint"}]]},repository:{type:"git",url:"git+https://github.com/stylelint/stylelint.git"},
|
|
scripts:{"benchmark-rule":"node scripts/benchmark-rule.js","dry-release":"npmpub --dry --verbose",flow:"flow",jest:"jest",lint:"npm-run-all --parallel lint:*","lint:js":"eslint . --cache","lint:md":"remark . --quiet --frail",precommit:"lint-staged",pretest:"npm-run-all --serial lint flow",release:"npmpub",test:"jest --coverage",watch:"jest --watch"},version:"8.0.0"}},{}],598:[function(a,l,g){g.__esModule=!0;var k=a("./stringify");k=k&&k.__esModule?k:{"default":k};a=a("./parse");g["default"]={stringify:k["default"],
|
|
parse:(a&&a.__esModule?a:{"default":a})["default"]};l.exports=g["default"]},{"./parse":600,"./stringify":604}],599:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){var g=[],f=[g],d=0;$jscomp.initSymbol();$jscomp.initSymbolIterator();var c=Array.isArray(a),b=0;for(a=c?a:a[Symbol.iterator]();;){if(c){if(b>=a.length)break;var k=a[b++]}else{b=a.next();if(b.done)break;k=b.value}g.push(k);"("===k[0]?d+=1:")"===k[0]?--d:"newline"===k[0]&&0===d&&(g=[],f.push(g))}return f};l.exports=g["default"]},
|
|
{}],600:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;g["default"]=function(a,g){var e=new f["default"](a,g),h=new b["default"](e);h.tokens=(0,c["default"])(e);h.parts=(0,d["default"])(e,(0,p["default"])(h.tokens));h.loop();return h.root};var h=a("postcss/lib/input"),f=k(h);h=a("./preprocess");var d=k(h);h=a("./tokenize");var c=k(h);h=a("./parser");var b=k(h);a=a("./liner");var p=k(a);l.exports=g["default"]},{"./liner":599,"./parser":601,"./preprocess":602,
|
|
"./tokenize":605,"postcss/lib/input":286}],601:[function(a,l,g){function k(a){return a&&a.__esModule?a:{"default":a}}g.__esModule=!0;var h=a("postcss/lib/declaration"),f=k(h);h=a("postcss/lib/comment");var d=k(h);h=a("postcss/lib/at-rule");var c=k(h);h=a("postcss/lib/rule");var b=k(h);a=a("postcss/lib/root");var p=k(a);a=function(){function a(b){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.input=b;this.pos=0;this.current=this.root=new p["default"];this.spaces=
|
|
"";this.step=this.prevIndent=void 0;this.root.source={input:b,start:{line:1,column:1}}}a.prototype.loop=function(){for(var a;this.pos<this.parts.length;){a=this.parts[this.pos];if(a.comment)this.comment(a);else if(a.atrule)this.atrule(a);else if(a.colon){var b=this.nextNonComment(this.pos);if(b.end||b.atrule)this.decl(a);else{var c=b.indent.length>a.indent.length;c?c&&b.colon?this.rule(a):c&&!b.colon&&this.decl(a):this.decl(a)}}else a.end?this.root.raws.after=a.before:this.rule(a);this.pos+=1}for(a=
|
|
this.tokens.length-1;0<=a;a--)if(3<this.tokens[a].length){a=this.tokens[a];this.root.source.end={line:a[4]||a[2],column:a[5]||a[3]};break}};a.prototype.comment=function(a){var b=a.tokens[0],c=new d["default"];this.init(c,a);c.source.end={line:b[4],column:b[5]};this.commentText(c,b)};a.prototype.atrule=function(a){var b=a.tokens[0],d=a.tokens.slice(1),f=new c["default"];f.name=b[1].slice(1);this.init(f,a);for(""===f.name&&this.unnamedAtrule(b);!a.end&&a.lastComma;)this.pos+=1,a=this.parts[this.pos],
|
|
d.push(["space",a.before+a.indent]),d=d.concat(a.tokens);f.raws.afterName=this.firstSpaces(d);this.keepTrailingSpace(f,d);this.checkSemicolon(d);this.checkCurly(d);this.raw(f,"params",d,b)};a.prototype.decl=function(a){var b=new f["default"];this.init(b,a);for(var c="",g=0,h=[],k="",l=0;l<a.tokens.length;l++){var m=a.tokens[l];if(":"===m[0]){c+=m[1];g=m;h=a.tokens.slice(l+1);break}else"comment"===m[0]||"space"===m[0]?c+=m[1]:""!==c?this.badProp(m):k+=m[1]}""===k&&this.unnamedDecl(a.tokens[0]);b.prop=
|
|
k;for(k=this.parts[this.pos+1];!k.end&&!k.atrule&&!k.colon&&k.indent.length>a.indent.length;)h.push(["space",k.before+k.indent]),h=h.concat(k.tokens),this.pos+=1,k=this.parts[this.pos+1];(a=h[h.length-1])&&"comment"===a[0]&&(h.pop(),k=new d["default"],this.current.push(k),k.source={input:this.input,start:{line:a[2],column:a[3]},end:{line:a[4],column:a[5]}},(l=h[h.length-1])&&"space"===l[0]&&(h.pop(),k.raws.before=l[1]),this.commentText(k,a));for(a=h.length-1;0<a;a--)if(k=h[a][0],"word"===k&&"!important"===
|
|
h[a][1]){b.important=!0;0<a&&"space"===h[a-1][0]?(b.raws.important=h[a-1][1]+"!important",h.splice(a-1,2)):(b.raws.important="!important",h.splice(a,1));break}else if("space"!==k&&"newline"!==k&&"comment"!==k)break;b.raws.between=c+this.firstSpaces(h);this.checkSemicolon(h);this.raw(b,"value",h,g)};a.prototype.rule=function(a){var c=new b["default"];this.init(c,a);for(var d=a.tokens,f=this.parts[this.pos+1];!f.end&&f.indent.length===a.indent.length;)d.push(["space",f.before+f.indent]),d=d.concat(f.tokens),
|
|
this.pos+=1,f=this.parts[this.pos+1];this.keepTrailingSpace(c,d);this.checkCurly(d);this.raw(c,"selector",d)};a.prototype.indent=function(a){var b=a.indent.length,c="undefined"!==typeof this.prevIndent;!c&&b&&this.indentedFirstLine(a);!this.step&&b&&(this.step=b,this.root.raws.indent=a.indent);if(c&&this.prevIndent!==b)if(c=b-this.prevIndent,0<c)c!==this.step?this.wrongIndent(this.prevIndent+this.step,b,a):this.current=this.current.last;else if(0!==c%this.step)c=b+c%this.step,this.wrongIndent(c+" or "+
|
|
(c+this.step),b,a);else for(a=0;a<-c/this.step;a++)this.current=this.current.parent;this.prevIndent=b};a.prototype.init=function(a,b){this.indent(b);this.current.nodes||(this.current.nodes=[]);this.current.push(a);a.raws.before=b.before+b.indent;a.source={start:{line:b.tokens[0][2],column:b.tokens[0][3]},input:this.input}};a.prototype.checkCurly=function(a){$jscomp.initSymbol();$jscomp.initSymbolIterator();var b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=
|
|
a[c++]}else{c=a.next();if(c.done)break;d=c.value}"{"===d[0]&&this.error("Unnecessary curly bracket",d[2],d[3])}};a.prototype.checkSemicolon=function(a){$jscomp.initSymbol();$jscomp.initSymbolIterator();var b=Array.isArray(a),c=0;for(a=b?a:a[Symbol.iterator]();;){if(b){if(c>=a.length)break;var d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}";"===d[0]&&this.error("Unnecessary semicolon",d[2],d[3])}};a.prototype.keepTrailingSpace=function(a,b){var c=b[b.length-1];c&&"space"===c[0]&&(b.pop(),a.raws.sssBetween=
|
|
c[1])};a.prototype.firstSpaces=function(a){for(var b="",c=0;c<a.length;c++)if("space"===a[c][0]||"newline"===a[c][0])b+=a.shift()[1],--c;else break;return b};a.prototype.raw=function(a,b,c,d){for(var e=void 0,f=void 0,g=c.length,h="",k=!0,l=0;l<g;l+=1)e=c[l],f=e[0],"comment"===f||"space"===f&&l===g-1?k=!1:h+=e[1];k||(e=c.reduce(function(a,b){return a+b[1]},""),f=c.reduce(function(a,b){return"comment"===b[0]&&"inline"===b[6]?a+"/* "+b[1].slice(2).trim()+" */":a+b[1]},""),a.raws[b]={value:h,raw:f},
|
|
e!==f&&(a.raws[b].sss=e));a[b]=h;b=void 0;for(h=c.length-1;0<=h;h--)if(2<c[h].length){b=c[h];break}b||(b=d);a.source.end={line:b[4]||b[2],column:b[5]||b[3]}};a.prototype.nextNonComment=function(a){for(var b=void 0;a<this.parts.length&&(a+=1,b=this.parts[a],!b.end&&b.comment););return b};a.prototype.commentText=function(a,b){var c=b[1];"inline"===b[6]?(a.raws.inline=!0,c=c.slice(2)):c=c.slice(2,-2);(c=c.match(/^(\s*)([^]*[^\s])(\s*)\n?$/))?(a.text=c[2],a.raws.left=c[1],a.raws.inlineRight=c[3]):(a.text=
|
|
"",a.raws.left="",a.raws.inlineRight="")};a.prototype.error=function(a,b,c){throw this.input.error(a,b,c);};a.prototype.unnamedAtrule=function(a){this.error("At-rule without name",a[2],a[3])};a.prototype.unnamedDecl=function(a){this.error("Declaration without name",a[2],a[3])};a.prototype.indentedFirstLine=function(a){this.error("First line should not have indent",a.number,1)};a.prototype.wrongIndent=function(a,b,c){this.error("Expected "+a+" indent, but get "+b,c.number,1)};a.prototype.badProp=function(a){this.error("Unexpected separator in property",
|
|
a[2],a[3])};return a}();g["default"]=a;l.exports=g["default"]},{"postcss/lib/at-rule":281,"postcss/lib/comment":282,"postcss/lib/declaration":285,"postcss/lib/root":297,"postcss/lib/rule":298}],602:[function(a,l,g){function k(a,f,d){throw a.error("Mixed tabs and spaces are not allowed",f,d+1);}g.__esModule=!0;g["default"]=function(a,f){var d=void 0,c=0,b=f.map(function(b){var f=!1,g=!1,e=c+1,h=!1,l="",p=[],u=!1;if(0<b.length){"space"===b[0][0]?(l=b[0][1],p=b.slice(1)):(l="",p=b);!d&&l.length&&(d=
|
|
" "===l[0]?"space":"tab");"space"===d?-1!==l.indexOf("\t")&&k(a,e,l.indexOf("\t")):"tab"===d&&-1!==l.indexOf(" ")&&k(a,e,l.indexOf(" "));if(p.length){for(g=p.length-1;0<=g;g--)if(h=p[g][0],","===h){f=!0;break}else if("space"!==h&&"comment"!==h&&"newline"!==h)break;g="comment"===p[0][0];h="at-word"===p[0][0];for(var w=b=0;w<p.length-1;w++){var x=p[w][0],A=p[w+1][0];"("===x?b+=1:")"===x?--b:":"!==x||0!==b||"space"!==A&&"newline"!==A||(u=!0)}}(b=p[p.length-1])&&"newline"===b[0]&&(c=b[2])}return{number:e,
|
|
indent:l,colon:u,tokens:p,atrule:h,comment:g,lastComma:f,before:""}});b=b.reduceRight(function(a,b){if(!b.tokens.length||b.tokens.every(function(a){return"newline"===a[0]})){var c=a[0],d=b.indent+b.tokens.map(function(a){return a[1]}).join("");c.before=d+c.before}else a.unshift(b);return a},[{end:!0,before:""}]);b.forEach(function(a,c){if(0!==c){var d=b[c-1],e=d.tokens[d.tokens.length-1];e&&"newline"===e[0]&&(a.before=e[1]+a.before,d.tokens.pop())}});return b};l.exports=g["default"]},{}],603:[function(a,
|
|
l,g){g.__esModule=!0;a=function(){function a(g){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.builder=g}a.prototype.stringify=function(a,f){this[a.type](a,f)};a.prototype.root=function(a){this.body(a);a.raws.after&&this.builder(a.raws.after)};a.prototype.comment=function(a){var f=" ",d=" ";this.has(a.raws.left)&&(f=a.raws.left);a.raws.inline?(d=this.has(a.raws.inlineRight)?a.raws.inlineRight:"",this.builder("//"+f+a.text+d,a)):(this.has(a.raws.right)&&(d=a.raws.right),
|
|
this.builder("/*"+f+a.text+d+"*/",a))};a.prototype.decl=function(a){var f=a.prop+(a.raws.between||": ")+this.rawValue(a,"value");a.important&&(f+=a.raws.important||" !important");this.builder(f,a)};a.prototype.rule=function(a){this.block(a,this.rawValue(a,"selector"))};a.prototype.atrule=function(a){var f="@"+a.name,d=a.params?this.rawValue(a,"params"):"";this.has(a.raws.afterName)?f+=a.raws.afterName:d&&(f+=" ");this.block(a,f+d)};a.prototype.body=function(a){for(var f=a.root().raws.indent||" ",
|
|
d=0;d<a.nodes.length;d++){var c=a.nodes[d],b=c.raws.before.replace(/[^\n]*$/,"")+this.indent(a,f);"comment"===c.type&&-1===c.raws.before.indexOf("\n")&&(b=c.raws.before);b&&this.builder(b);this.stringify(c)}};a.prototype.block=function(a,f){this.builder(f+(a.raws.sssBetween||""),a,"start");this.has(a.nodes)&&this.body(a)};a.prototype.indent=function(a,f){for(var d="";a.parent;)d+=f,a=a.parent;return d};a.prototype.has=function(a){return"undefined"!==typeof a};a.prototype.rawValue=function(a,f){var d=
|
|
a[f],c=a.raws[f];return c&&c.value===d?c.sss||c.raw:d};return a}();g["default"]=a;l.exports=g["default"]},{}],604:[function(a,l,g){g.__esModule=!0;g["default"]=function(a,f){(new k["default"](f)).stringify(a)};var k=(a=a("./stringifier"))&&a.__esModule?a:{"default":a};l.exports=g["default"]},{"./stringifier":603}],605:[function(a,l,g){g.__esModule=!0;g["default"]=function(a){function g(b){throw a.error("Unclosed "+b,R,G-N);}var l=[],E=a.css.valueOf(),B=void 0,y=void 0,z=void 0,H=z=void 0,Q=H=B=void 0;
|
|
y=Q=B=Q=z=void 0;for(var J=E.length,N=-1,R=1,G=0;G<J;){B=E.charCodeAt(G);if(B===c||B===p||B===q&&E.charCodeAt(G+1)!==c)N=G,R+=1;switch(B){case q:E.charCodeAt(G+1)===c?(N=G,R+=1,G+=1,l.push(["newline","\r\n",R-1])):l.push(["newline","\r",R-1]);break;case p:case c:l.push(["newline",E.slice(G,G+1),R-1]);break;case b:case m:y=G;do y+=1,B=E.charCodeAt(y);while(B===b||B===m);l.push(["space",E.slice(G,y)]);G=y-1;break;case r:l.push(["{","{",R,G-N]);break;case t:l.push(["}","}",R,G-N]);break;case x:l.push([":",
|
|
":",R,G-N]);break;case u:l.push([";",";",R,G-N]);break;case L:l.push([",",",",R,G-N]);break;case e:Q=l.length?l[l.length-1][1]:"";y=E.charCodeAt(G+1);if("url"===Q&&y!==k&&y!==h&&y!==b&&y!==c&&y!==m&&y!==p&&y!==q){y=G;do for(Q=!1,y=E.indexOf(")",y+1),-1===y&&g("bracket"),B=y;E.charCodeAt(B-1)===f;)--B,Q=!Q;while(Q);l.push(["brackets",E.slice(G,y+1),R,G-N,R,y-N]);G=y}else y=E.indexOf(")",G+1),B=E.slice(G,y+1),-1===y||M.test(B)?l.push(["(","(",R,G-N]):(l.push(["brackets",B,R,G-N,R,y-N]),G=y);break;case n:l.push([")",
|
|
")",R,G-N]);break;case k:case h:z=B===k?"'":'"';y=G;do for(Q=!1,y=E.indexOf(z,y+1),-1===y&&g("quote"),B=y;E.charCodeAt(B-1)===f;)--B,Q=!Q;while(Q);B=E.slice(G,y+1);z=B.split("\n");H=z.length-1;0<H?(Q=R+H,z=y-z[H].length):(Q=R,z=N);l.push(["string",E.slice(G,y+1),R,G-N,Q,y-z]);N=z;R=Q;G=y;break;case A:C.lastIndex=G+1;C.test(E);y=0===C.lastIndex?E.length-1:C.lastIndex-2;l.push(["at-word",E.slice(G,y+1),R,G-N,R,y-N]);G=y;break;case f:y=G;H=!0;for(Q=R;E.charCodeAt(y+1)===f;)y+=1,H=!H;B=E.charCodeAt(y+
|
|
1);H&&(B===q&&E.charCodeAt(y+2)===c?(y+=2,Q+=1,z=y):B===q||B===c||B===p?(y+=1,Q+=1,z=y):y+=1);l.push(["word",E.slice(G,y+1),R,G-N,R,y-N]);Q!==R&&(R=Q,N=z);G=y;break;default:y=E.charCodeAt(G+1),B===d&&y===w?(y=E.indexOf("*/",G+2)+1,0===y&&g("comment"),B=E.slice(G,y+1),z=B.split("\n"),H=z.length-1,0<H?(Q=R+H,z=y-z[H].length):(Q=R,z=N),l.push(["comment",B,R,G-N,Q,y-z]),N=z,R=Q):B===d&&y===d?(F.lastIndex=G+1,F.test(E),y=0===F.lastIndex?E.length-1:F.lastIndex-2,B=E.slice(G,y+1),l.push(["comment",B,R,G-
|
|
N,R,y-N,"inline"])):(K.lastIndex=G+1,K.test(E),y=0===K.lastIndex?E.length-1:K.lastIndex-2,l.push(["word",E.slice(G,y+1),R,G-N,R,y-N])),G=y}G++}return l};var k=39,h=34,f=92,d=47,c=10,b=32,p=12,m=9,q=13,e=40,n=41,r=123,t=125,u=59,w=42,x=58,A=64,L=44,C=/[ \n\t\r\f\{\(\)'"\\;/]/g,F=/[\r\f\n]/g,K=/[ \n\t\r\f\(\)\{\}:;@!'"\\,]|\/(?=\*)/g,M=/.[\\\/\("'\n]/;l.exports=g["default"]},{}],606:[function(a,l,g){arguments[4][242][0].apply(g,arguments)},{dup:242}],607:[function(a,l,g){l.exports=a("./svg-tags.json")},
|
|
{"./svg-tags.json":608}],608:[function(a,l,g){l.exports="a altGlyph altGlyphDef altGlyphItem animate animateColor animateMotion animateTransform circle clipPath color-profile cursor defs desc ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter font font-face font-face-format font-face-name font-face-src font-face-uri foreignObject g glyph glyphRef hkern image line linearGradient marker mask metadata missing-glyph mpath path pattern polygon polyline radialGradient rect script set stop style svg switch symbol text textPath title tref tspan use view vkern".split(" ")},
|
|
{}],609:[function(a,l,g){l.exports=function(a,g,f){if(0===a.length)return a;if(g){f||a.sort(g);f=1;for(var d=a.length,c=a[0],b,h=1;h<d;++h)b=c,c=a[h],g(c,b)&&(h===f?f++:a[f++]=c);a.length=f;return a}f||a.sort();g=1;f=a.length;d=a[0];for(b=1;b<f;++b)c=d,d=a[b],d!==c&&(b===g?g++:a[g++]=d);a.length=g;return a}},{}],610:[function(a,l,g){function k(a,f){function d(){for(var c=Array(arguments.length),b=0;b<c.length;b++)c[b]=arguments[b];var d=a.apply(this,c),f=c[c.length-1];"function"===typeof d&&d!==f&&
|
|
Object.keys(f).forEach(function(a){d[a]=f[a]});return d}if(a&&f)return k(a)(f);if("function"!==typeof a)throw new TypeError("need wrapper function");Object.keys(a).forEach(function(c){d[c]=a[c]});return d}l.exports=k},{}],611:[function(a,l,g){var k=a("fs"),h=a("path"),f=a("mkdirp");l.exports=function(a,c,b){var d=h.dirname(a);k.exists(d,function(g){g?k.writeFile(a,c,b):f(d,function(d){if(d)return b(d);k.writeFile(a,c,b)})})};l.exports.sync=function(a,c){var b=h.dirname(a);k.existsSync(b)||f.sync(b);
|
|
k.writeFileSync(a,c)};l.exports.stream=function(a){var c=h.dirname(a);k.existsSync(c)||f.sync(c);return k.createWriteStream(a)}},{fs:1,mkdirp:173,path:14}],stylelint:[function(a,l,g){g=a("./utils/checkAgainstRule");var k=a("./createPlugin"),h=a("./createStylelint"),f=a("./formatters"),d=a("./postcssPlugin"),c=a("./utils/report"),b=a("./utils/ruleMessages"),p=a("./rules"),m=a("./standalone");a=a("./utils/validateOptions");d.utils={report:c,ruleMessages:b,validateOptions:a,checkAgainstRule:g};d.lint=
|
|
m;d.rules=p;d.formatters=f;d.createPlugin=k;d.createLinter=h;l.exports=d},{"./createPlugin":334,"./createStylelint":335,"./formatters":338,"./postcssPlugin":346,"./rules":429,"./standalone":520,"./utils/checkAgainstRule":529,"./utils/report":592,"./utils/ruleMessages":593,"./utils/validateOptions":595}]},{},[]);
|
|
|
|
(() => {
|
|
const stylelint = require('stylelint');
|
|
|
|
self.onmessage = ({data: {action = 'run', code, config}}) => {
|
|
switch (action) {
|
|
case 'getAllRuleIds':
|
|
// the functions are non-tranferable
|
|
self.postMessage(Object.keys(stylelint.rules));
|
|
return;
|
|
case 'getAllRuleOptions':
|
|
self.postMessage(getAllRuleOptions());
|
|
return;
|
|
case 'run':
|
|
stylelint.lint({code, config}).then(results =>
|
|
self.postMessage(results));
|
|
return;
|
|
}
|
|
};
|
|
|
|
function getAllRuleOptions() {
|
|
const options = {};
|
|
const rxPossible = /\bpossible:("(?:[^"]*?)"|\[(?:[^\]]*?)\]|\{(?:[^}]*?)\})/g;
|
|
const rxString = /"([-\w\s]{3,}?)"/g;
|
|
for (const id of Object.keys(stylelint.rules)) {
|
|
const ruleCode = String(stylelint.rules[id]);
|
|
const sets = [];
|
|
let m, mStr;
|
|
while ((m = rxPossible.exec(ruleCode))) {
|
|
const possible = m[1];
|
|
const set = [];
|
|
while ((mStr = rxString.exec(possible))) {
|
|
const s = mStr[1];
|
|
if (s.includes(' ')) {
|
|
set.push(...s.split(/\s+/));
|
|
} else {
|
|
set.push(s);
|
|
}
|
|
}
|
|
if (possible.includes('ignoreAtRules')) {
|
|
set.push('ignoreAtRules');
|
|
}
|
|
if (possible.includes('ignoreShorthands')) {
|
|
set.push('ignoreShorthands');
|
|
}
|
|
if (set.length) {
|
|
sets.push(set);
|
|
}
|
|
}
|
|
if (sets.length) {
|
|
options[id] = sets;
|
|
}
|
|
}
|
|
return options;
|
|
}
|
|
})();
|