From: alexlamsl Date: Fri, 25 Mar 2016 08:32:11 +0000 (+0800) Subject: update assets X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=75c331c86721d341d8eb2320947cf8e63947c9df;p=html-minifier.git update assets base64-js 1.1.2 buffer 4.5.1 --- diff --git a/dist/htmlminifier.js b/dist/htmlminifier.js index f5bcd1a..f6f697d 100644 --- a/dist/htmlminifier.js +++ b/dist/htmlminifier.js @@ -320,17 +320,12 @@ var revLookup = [] var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array function init () { - var i var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' - var len = code.length - - for (i = 0; i < len; i++) { + for (var i = 0, len = code.length; i < len; ++i) { lookup[i] = code[i] - } - - for (i = 0; i < len; ++i) { revLookup[code.charCodeAt(i)] = i } + revLookup['-'.charCodeAt(0)] = 62 revLookup['_'.charCodeAt(0)] = 63 } @@ -362,8 +357,8 @@ function toByteArray (b64) { for (i = 0, j = 0; i < l; i += 4, j += 3) { tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)] - arr[L++] = (tmp & 0xFF0000) >> 16 - arr[L++] = (tmp & 0xFF00) >> 8 + arr[L++] = (tmp >> 16) & 0xFF + arr[L++] = (tmp >> 8) & 0xFF arr[L++] = tmp & 0xFF } @@ -718,17 +713,12 @@ Buffer.compare = function compare (a, b) { var x = a.length var y = b.length - var i = 0 - var len = Math.min(x, y) - while (i < len) { - if (a[i] !== b[i]) break - - ++i - } - - if (i !== len) { - x = a[i] - y = b[i] + for (var i = 0, len = Math.min(x, y); i < len; ++i) { + if (a[i] !== b[i]) { + x = a[i] + y = b[i] + break + } } if (x < y) return -1 @@ -889,7 +879,6 @@ Buffer.prototype.inspect = function inspect () { Buffer.prototype.compare = function compare (b) { if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') - if (this === b) return 0 return Buffer.compare(this, b) } diff --git a/dist/htmlminifier.min.js b/dist/htmlminifier.min.js index 7757743..89f2524 100644 --- a/dist/htmlminifier.min.js +++ b/dist/htmlminifier.min.js @@ -3,14 +3,14 @@ * Copyright 2010-2016 Juriy "kangax" Zaytsev * Licensed under the MIT license */ -require=function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g0&&(a.splice(b-1,2),b-=2)}}function g(a,b){var c;return a&&"."===a.charAt(0)&&b&&(c=b.split("/"),c=c.slice(0,c.length-1),c=c.concat(a.split("/")),f(c),a=c.join("/")),a}function h(a){return function(b){return g(b,a)}}function i(a){function b(b){o[a]=b}return b.fromText=function(a,b){throw new Error("amdefine does not implement load.fromText")},b}function j(a,c,f){var g,h,i,j;if(a)h=o[a]={},i={id:a,uri:d,exports:h},g=l(e,h,i,a);else{if(p)throw new Error("amdefine with no module ID cannot be called more than once per file.");p=!0,h=b.exports,i=b,g=l(e,h,i,b.id)}c&&(c=c.map(function(a){return g(a)})),j="function"==typeof f?f.apply(i.exports,c):f,void 0!==j&&(i.exports=j,a&&(o[a]=i.exports))}function k(a,b,c){Array.isArray(a)?(c=b,b=a,a=void 0):"string"!=typeof a&&(c=a,a=b=void 0),b&&!Array.isArray(b)&&(c=b,b=void 0),b||(b=["require","exports","module"]),a?n[a]=[a,b,c]:j(a,b,c)}var l,m,n={},o={},p=!1,q=a("path");return l=function(a,b,d,e){function f(f,g){return"string"==typeof f?m(a,b,d,f,e):(f=f.map(function(c){return m(a,b,d,c,e)}),void(g&&c.nextTick(function(){g.apply(null,f)})))}return f.toUrl=function(a){return 0===a.indexOf(".")?g(a,q.dirname(d.filename)):a},f},e=e||function(){return b.require.apply(b,arguments)},m=function(a,b,c,d,e){var f,k,p=d.indexOf("!"),q=d;if(-1===p){if(d=g(d,e),"require"===d)return l(a,b,c,e);if("exports"===d)return b;if("module"===d)return c;if(o.hasOwnProperty(d))return o[d];if(n[d])return j.apply(null,n[d]),o[d];if(a)return a(q);throw new Error("No module with ID: "+d)}return f=d.substring(0,p),d=d.substring(p+1,d.length),k=m(a,b,c,f,e),d=k.normalize?k.normalize(d,h(e)):g(d,e),o[d]?o[d]:(k.load(d,l(a,b,c,e),i(d),{}),o[d])},k.require=function(a){return o[a]?o[a]:n[a]?(j.apply(null,n[a]),o[a]):void 0},k.amd={},k}b.exports=e}).call(this,a("_process"),"/node_modules\\amdefine\\amdefine.js")},{_process:78,path:76}],2:[function(a,b,c){"use strict";function d(){var a,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=b.length;for(a=0;c>a;a++)i[a]=b[a];for(a=0;c>a;++a)j[b.charCodeAt(a)]=a;j["-".charCodeAt(0)]=62,j["_".charCodeAt(0)]=63}function e(a){var b,c,d,e,f,g,h=a.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");f="="===a[h-2]?2:"="===a[h-1]?1:0,g=new k(3*h/4-f),d=f>0?h-4:h;var i=0;for(b=0,c=0;d>b;b+=4,c+=3)e=j[a.charCodeAt(b)]<<18|j[a.charCodeAt(b+1)]<<12|j[a.charCodeAt(b+2)]<<6|j[a.charCodeAt(b+3)],g[i++]=(16711680&e)>>16,g[i++]=(65280&e)>>8,g[i++]=255&e;return 2===f?(e=j[a.charCodeAt(b)]<<2|j[a.charCodeAt(b+1)]>>4,g[i++]=255&e):1===f&&(e=j[a.charCodeAt(b)]<<10|j[a.charCodeAt(b+1)]<<4|j[a.charCodeAt(b+2)]>>2,g[i++]=e>>8&255,g[i++]=255&e),g}function f(a){return i[a>>18&63]+i[a>>12&63]+i[a>>6&63]+i[63&a]}function g(a,b,c){for(var d,e=[],g=b;c>g;g+=3)d=(a[g]<<16)+(a[g+1]<<8)+a[g+2],e.push(f(d));return e.join("")}function h(a){for(var b,c=a.length,d=c%3,e="",f=[],h=16383,j=0,k=c-d;k>j;j+=h)f.push(g(a,j,j+h>k?k:j+h));return 1===d?(b=a[c-1],e+=i[b>>2],e+=i[b<<4&63],e+="=="):2===d&&(b=(a[c-2]<<8)+a[c-1],e+=i[b>>10],e+=i[b>>4&63],e+=i[b<<2&63],e+="="),f.push(e),f.join("")}c.toByteArray=e,c.fromByteArray=h;var i=[],j=[],k="undefined"!=typeof Uint8Array?Uint8Array:Array;d()},{}],3:[function(a,b,c){},{}],4:[function(a,b,c){arguments[4][3][0].apply(c,arguments)},{dup:3}],5:[function(a,b,c){(function(b){"use strict";function d(){try{var a=new Uint8Array(1);return a.foo=function(){return 42},42===a.foo()&&"function"==typeof a.subarray&&0===a.subarray(1,1).byteLength}catch(b){return!1}}function e(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(a){return this instanceof f?(f.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof a?g(this,a):"string"==typeof a?h(this,a,arguments.length>1?arguments[1]:"utf8"):i(this,a)):arguments.length>1?new f(a,arguments[1]):new f(a)}function g(a,b){if(a=p(a,0>b?0:0|q(b)),!f.TYPED_ARRAY_SUPPORT)for(var c=0;b>c;c++)a[c]=0;return a}function h(a,b,c){"string"==typeof c&&""!==c||(c="utf8");var d=0|s(b,c);return a=p(a,d),a.write(b,c),a}function i(a,b){if(f.isBuffer(b))return j(a,b);if(Y(b))return k(a,b);if(null==b)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(b.buffer instanceof ArrayBuffer)return l(a,b);if(b instanceof ArrayBuffer)return m(a,b)}return b.length?n(a,b):o(a,b)}function j(a,b){var c=0|q(b.length);return a=p(a,c),b.copy(a,0,0,c),a}function k(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function l(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function m(a,b){return b.byteLength,f.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(b),a.__proto__=f.prototype):a=l(a,new Uint8Array(b)),a}function n(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function o(a,b){var c,d=0;"Buffer"===b.type&&Y(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(var e=0;d>e;e+=1)a[e]=255&c[e];return a}function p(a,b){f.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(b),a.__proto__=f.prototype):a.length=b;var c=0!==b&&b<=f.poolSize>>>1;return c&&(a.parent=Z),a}function q(a){if(a>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|a}function r(a,b){if(!(this instanceof r))return new r(a,b);var c=new f(a,b);return delete c.parent,c}function s(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return R(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return U(a).length;default:if(d)return R(a).length;b=(""+b).toLowerCase(),d=!0}}function t(a,b,c){var d=!1;if(b=0|b,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),0>b&&(b=0),c>this.length&&(c=this.length),b>=c)return"";for(;;)switch(a){case"hex":return F(this,b,c);case"utf8":case"utf-8":return B(this,b,c);case"ascii":return D(this,b,c);case"binary":return E(this,b,c);case"base64":return A(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function u(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d),d>e&&(d=e)):d=e;var f=b.length;if(f%2!==0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;d>g;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function v(a,b,c,d){return V(R(b,a.length-c),a,c,d)}function w(a,b,c,d){return V(S(b),a,c,d)}function x(a,b,c,d){return w(a,b,c,d)}function y(a,b,c,d){return V(U(b),a,c,d)}function z(a,b,c,d){return V(T(b,a.length-c),a,c,d)}function A(a,b,c){return 0===b&&c===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(b,c))}function B(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;c>e;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(c>=e+h){var i,j,k,l;switch(h){case 1:128>f&&(g=f);break;case 2:i=a[e+1],128===(192&i)&&(l=(31&f)<<6|63&i,l>127&&(g=l));break;case 3:i=a[e+1],j=a[e+2],128===(192&i)&&128===(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j,l>2047&&(55296>l||l>57343)&&(g=l));break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128===(192&i)&&128===(192&j)&&128===(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k,l>65535&&1114112>l&&(g=l))}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return C(d)}function C(a){var b=a.length;if($>=b)return String.fromCharCode.apply(String,a);for(var c="",d=0;b>d;)c+=String.fromCharCode.apply(String,a.slice(d,d+=$));return c}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(127&a[e]);return d}function E(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(a[e]);return d}function F(a,b,c){var d=a.length;(!b||0>b)&&(b=0),(!c||0>c||c>d)&&(c=d);for(var e="",f=b;c>f;f++)e+=Q(a[f]);return e}function G(a,b,c){for(var d=a.slice(b,c),e="",f=0;fa)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function I(a,b,c,d,e,g){if(!f.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>e||g>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range")}function J(a,b,c,d){0>b&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);f>e;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function K(a,b,c,d){0>b&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);f>e;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function L(a,b,c,d,e,f){if(c+d>a.length)throw new RangeError("index out of range");if(0>c)throw new RangeError("index out of range")}function M(a,b,c,d,e){return e||L(a,b,c,4,0xf.fffff(e+31),-0xf.fffff(e+31)),X.write(a,b,c,d,23,4),c+4}function N(a,b,c,d,e){return e||L(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(a,b,c,d,52,8),c+8}function O(a){if(a=P(a).replace(_,""),a.length<2)return"";for(;a.length%4!==0;)a+="=";return a}function P(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Q(a){return 16>a?"0"+a.toString(16):a.toString(16)}function R(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;d>g;g++){if(c=a.charCodeAt(g),c>55295&&57344>c){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(56320>c){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=(e-55296<<10|c-56320)+65536}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,128>c){if((b-=1)<0)break;f.push(c)}else if(2048>c){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(65536>c){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(1114112>c))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function S(a){for(var b=[],c=0;c>8,e=c%256,f.push(e),f.push(d);return f}function U(a){return W.toByteArray(O(a))}function V(a,b,c,d){for(var e=0;d>e&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e];return e}var W=a("base64-js"),X=a("ieee754"),Y=a("isarray");c.Buffer=f,c.SlowBuffer=r,c.INSPECT_MAX_BYTES=50,f.poolSize=8192;var Z={};f.TYPED_ARRAY_SUPPORT=void 0!==b.TYPED_ARRAY_SUPPORT?b.TYPED_ARRAY_SUPPORT:d(),f._augment=function(a){return a.__proto__=f.prototype,a},f.TYPED_ARRAY_SUPPORT?(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})):(f.prototype.length=void 0,f.prototype.parent=void 0),f.isBuffer=function(a){return!(null==a||!a._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,g=Math.min(c,d);g>e&&a[e]===b[e];)++e;return e!==g&&(c=a[e],d=b[e]),d>c?-1:c>d?1:0},f.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(a,b){if(!Y(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new f(0);var c;if(void 0===b)for(b=0,c=0;c0&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... ")),""},f.prototype.compare=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?0:f.compare(this,a)},f.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e2147483647?b=2147483647:-2147483648>b&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(0>b&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(f.isBuffer(a))return c(this,a,b);if("number"==typeof a)return f.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},f.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;f.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),a>b&&(b=a);var d;if(f.TYPED_ARRAY_SUPPORT)d=this.subarray(a,b),d.__proto__=f.prototype;else{var e=b-a;d=new f(e,void 0);for(var g=0;e>g;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},f.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f0&&(e*=256);)d+=this[a+--b]*e;return d},f.prototype.readUInt8=function(a,b){return b||H(a,1,this.length),this[a]},f.prototype.readUInt16LE=function(a,b){return b||H(a,2,this.length),this[a]|this[a+1]<<8},f.prototype.readUInt16BE=function(a,b){return b||H(a,2,this.length),this[a]<<8|this[a+1]},f.prototype.readUInt32LE=function(a,b){return b||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},f.prototype.readUInt32BE=function(a,b){return b||H(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},f.prototype.readIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f=e&&(d-=Math.pow(2,8*b)),d},f.prototype.readIntBE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},f.prototype.readInt8=function(a,b){return b||H(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},f.prototype.readInt16LE=function(a,b){b||H(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt16BE=function(a,b){b||H(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt32LE=function(a,b){return b||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},f.prototype.readInt32BE=function(a,b){return b||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},f.prototype.readFloatLE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!0,23,4)},f.prototype.readFloatBE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!1,23,4)},f.prototype.readDoubleLE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!0,52,8)},f.prototype.readDoubleBE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!1,52,8)},f.prototype.writeUIntLE=function(a,b,c,d){a=+a,b=0|b,c=0|c,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f=0&&(f*=256);)this[b+e]=a/f&255;return b+c},f.prototype.writeUInt8=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,1,255,0),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=255&a,b+1},f.prototype.writeUInt16LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeUInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeUInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=255&a):K(this,a,b,!0),b+4},f.prototype.writeUInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=0,g=1,h=0>a?1:0;for(this[b]=255&a;++f>0)-h&255;return b+c},f.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=0>a?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeInt8=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,1,127,-128),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),0>a&&(a=255+a+1),this[b]=255&a,b+1},f.prototype.writeInt16LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):K(this,a,b,!0),b+4},f.prototype.writeInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),0>a&&(a=4294967295+a+1),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},f.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},f.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},f.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},f.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&c>d&&(d=c),d===c)return 0;if(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>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-bc&&d>b)for(e=g-1;e>=0;e--)a[e+b]=this[e+c];else if(1e3>g||!f.TYPED_ARRAY_SUPPORT)for(e=0;g>e;e++)a[e+b]=this[e+c];else Uint8Array.prototype.set.call(a,this.subarray(c,c+g),b);return g},f.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),b>c)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(0>b||b>=this.length)throw new RangeError("start out of bounds");if(0>c||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;c>d;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;c>d;d++)this[d]=e[d%f]}return this}};var _=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":2,ieee754:70,isarray:73}],6:[function(a,b,c){b.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],7:[function(a,b,c){b.exports=a("./lib/clean")},{"./lib/clean":8}],8:[function(a,b,c){(function(c){function d(a){return void 0===a?["all"]:a}function e(a){return!C.existsSync(a)&&!/\.css$/.test(a)}function f(a){return C.existsSync(a)&&C.statSync(a).isDirectory()}function g(a){return a?{hostname:E.parse(a).hostname,port:parseInt(E.parse(a).port)}:{}}function h(a,b){function c(c){return c=b.options.debug?j(b,c):l(b,c),c=i(b,c),a?a.call(null,b.errors.length>0?b.errors:null,c):c}return function(a){return b.options.sourceMap?b.inputSourceMapTracker.track(a,function(){return b.options.sourceMapInlineSources?b.inputSourceMapTracker.resolveSources(function(){return c(a)}):c(a)}):c(a)}}function i(a,b){return b.stats=a.stats,b.errors=a.errors,b.warnings=a.warnings,b}function j(a,b){var d=c.hrtime();a.stats.originalSize=a.sourceTracker.removeAll(b).length,b=l(a,b);var e=c.hrtime(d);return a.stats.timeSpent=~~(1e3*e[0]+e[1]/1e6),a.stats.efficiency=1-b.styles.length/a.stats.originalSize,a.stats.minifiedSize=b.styles.length,b}function k(a){return function(b,d){var e=b.constructor.name+"#"+d,f=c.hrtime();a(b,d);var g=c.hrtime(f);console.log("%d ms: "+e,1e3*g[0]+g[1]/1e6)}}function l(a,b){function c(b,c){return b=g.restore(b,c),b=h.restore(b),b=d.rebase?n(b,a):b,b=f.restore(b),e.restore(b)}var d=a.options,e=new t(a,d.keepSpecialComments,d.keepBreaks,d.sourceMap),f=new u(d.sourceMap),g=new v(d.sourceMap),h=new w(a,d.sourceMap,d.compatibility.properties.urlQuotes),i=d.sourceMap?s:r,j=function(a,c){b="function"==typeof a?a(b):a[c](b)};d.benchmark&&(j=k(j)),j(e,"escape"),j(f,"escape"),j(h,"escape"),j(g,"escape");var l=o(b,a);return p(l,d),d.advanced&&q(l,d,a.validator,!0),i(l,d,c,a.inputSourceMapTracker)}var m=a("./imports/inliner"),n=a("./urls/rebase"),o=a("./tokenizer/tokenize"),p=a("./selectors/simple"),q=a("./selectors/advanced"),r=a("./stringifier/simple"),s=a("./stringifier/source-maps"),t=a("./text/comments-processor"),u=a("./text/expressions-processor"),v=a("./text/free-text-processor"),w=a("./text/urls-processor"),x=a("./utils/compatibility"),y=a("./utils/input-source-map-tracker"),z=a("./utils/source-tracker"),A=a("./utils/source-reader"),B=a("./properties/validator"),C=a("fs"),D=a("path"),E=a("url"),F=a("./utils/object").override,G=5e3,H=b.exports=function(a){a=a||{},this.options={advanced:void 0===a.advanced?!0:!!a.advanced,aggressiveMerging:void 0===a.aggressiveMerging?!0:!!a.aggressiveMerging,benchmark:a.benchmark,compatibility:new x(a.compatibility).toOptions(),debug:a.debug,explicitRoot:!!a.root,explicitTarget:!!a.target,inliner:a.inliner||{},keepBreaks:a.keepBreaks||!1,keepSpecialComments:"keepSpecialComments"in a?a.keepSpecialComments:"*",mediaMerging:void 0===a.mediaMerging?!0:!!a.mediaMerging,processImport:void 0===a.processImport?!0:!!a.processImport,processImportFrom:d(a.processImportFrom),rebase:void 0===a.rebase?!0:!!a.rebase,relativeTo:a.relativeTo,restructuring:void 0===a.restructuring?!0:!!a.restructuring,root:a.root||c.cwd(),roundingPrecision:a.roundingPrecision,semanticMerging:void 0===a.semanticMerging?!1:!!a.semanticMerging,shorthandCompacting:void 0===a.shorthandCompacting?!0:!!a.shorthandCompacting,sourceMap:a.sourceMap,sourceMapInlineSources:!!a.sourceMapInlineSources,target:!a.target||e(a.target)||f(a.target)?a.target:D.dirname(a.target)},this.options.inliner.timeout=this.options.inliner.timeout||G,this.options.inliner.request=F(g(c.env.HTTP_PROXY||c.env.http_proxy),this.options.inliner.request||{})};H.prototype.minify=function(a,b){var d={stats:{},errors:[],warnings:[],options:this.options,debug:this.options.debug,localOnly:!b,sourceTracker:new z,validator:new B(this.options.compatibility)};if(d.options.sourceMap&&(d.inputSourceMapTracker=new y(d)),d.sourceReader=new A(d,a),a=d.sourceReader.toString(),d.options.processImport||a.indexOf("@shallow")>0){var e=b?c.nextTick:function(a){return a()};return e(function(){return new m(d).process(a,{localOnly:d.localOnly,imports:d.options.processImportFrom,whenDone:h(b,d)})})}return h(b,d)(a)}}).call(this,a("_process"))},{"./imports/inliner":12,"./properties/validator":26,"./selectors/advanced":29,"./selectors/simple":42,"./stringifier/simple":46,"./stringifier/source-maps":47,"./text/comments-processor":48,"./text/expressions-processor":50,"./text/free-text-processor":51,"./text/urls-processor":52,"./tokenizer/tokenize":55,"./urls/rebase":56,"./utils/compatibility":60,"./utils/input-source-map-tracker":61,"./utils/object":62,"./utils/source-reader":64,"./utils/source-tracker":65,_process:78,fs:4,path:76,url:140}],9:[function(a,b,c){function d(a,b,c,d){return b+h[c.toLowerCase()]+d}function e(a,b,c){return i[b.toLowerCase()]+c}var f={},g={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},h={},i={};for(var j in g){var k=g[j];j.length-1,c=a.replace(l,d);return c!=a&&(c=c.replace(l,d)),b?c.replace(m,e):c},b.exports=f},{}],10:[function(a,b,c){function d(a,b,c){this.hue=a,this.saturation=b,this.lightness=c}function e(a,b,c){var d,e,g;if(a%=360,0>a&&(a+=360),a=~~a/360,0>b?b=0:b>100&&(b=100),b=~~b/100,0>c?c=0:c>100&&(c=100),c=~~c/100,0===b)d=e=g=c;else{var h=.5>c?c*(1+b):c+b-c*b,i=2*c-h;d=f(i,h,a+1/3),e=f(i,h,a),g=f(i,h,a-1/3)}return[~~(255*d),~~(255*e),~~(255*g)]}function f(a,b,c){return 0>c&&(c+=1),c>1&&(c-=1),1/6>c?a+6*(b-a)*c:.5>c?b:2/3>c?a+(b-a)*(2/3-c)*6:a}d.prototype.toHex=function(){var a=e(this.hue,this.saturation,this.lightness),b=a[0].toString(16),c=a[1].toString(16),d=a[2].toString(16);return"#"+((1==b.length?"0":"")+b)+((1==c.length?"0":"")+c)+((1==d.length?"0":"")+d)},b.exports=d},{}],11:[function(a,b,c){function d(a,b,c){this.red=a,this.green=b,this.blue=c}d.prototype.toHex=function(){var a=Math.max(0,Math.min(~~this.red,255)),b=Math.max(0,Math.min(~~this.green,255)),c=Math.max(0,Math.min(~~this.blue,255));return"#"+("00000"+(a<<16|b<<8|c).toString(16)).slice(-6)},b.exports=d},{}],12:[function(a,b,c){(function(c){function d(a){this.outerContext=a}function e(a,b){if(b.shallow)return b.shallow=!1,b.done.push(a),h(b);for(var c=0,d=0,e=0,f=i(a);d-1&&-1==d?c:-1==c&&d>-1?d:Math.min(c,d)}function h(a){return a.left.length>0?e.apply(null,a.left.shift()):a.whenDone(a.done.join(""))}function i(a){var b=/(\/\*(?!\*\/)[\s\S]*?\*\/)/,c=0,d=0,e=!1;return function(f){var g,h=0,i=0,j=0,k=0; -if(e)return!1;do{if(f>c&&d>f)return!0;if(g=a.match(b),!g)return e=!0,!1;c=h=g.index,i=h+g[0].length,k=i+d,j=k-g[0].length,a=a.substring(i),d=k}while(f>k);return k>f&&f>j}}function j(a){for(var b=i(a),c=-1;;)if(c=a.indexOf("{",c+1),-1==c||!b(c))break;return c>-1}function k(a,b,c,d){d.shallow=a.indexOf("@shallow")>0;var e=a.substring(g(a,b)+"@import".length+1,c).replace(/@shallow\)$/,")").trim(),f=0===e.indexOf("url("),i=f?4:0,k=/^['"]/.exec(e.substring(i,i+2)),p=k?e.indexOf(k[0],i+1):v(e," ")[0].length-(f?1:0),q=e.substring(i,p).replace(/['"]/g,"").replace(/\)$/,"").trim(),r=e.substring(p+1).replace(/^\)/,"").trim(),s=d.isRemote||y.test(q);if(s&&(d.localOnly||!l(q,!0,d.imports)))return d.afterContent||j(d.done.join(""))?d.warnings.push('Ignoring remote @import of "'+q+'" as no callback given.'):o(q,r,d),h(d);if(!s&&!l(q,!1,d.imports))return d.afterImport?d.warnings.push('Ignoring local @import of "'+q+'" as after other inlined content.'):o(q,r,d),h(d);if(!s&&d.afterContent)return d.warnings.push('Ignoring local @import of "'+q+'" as after other CSS content.'),h(d);var t=s?m:n;return t(q,r,d)}function l(a,b,c){if(0===c.length)return!1;b&&z.test(a)&&(a="http:"+a);for(var d=b?t.parse(a).host:a,e=!0,f=0;f-1)return h(d);d.debug&&console.error("Inlining remote stylesheet: "+i),d.visited.push(i);var k=0===i.indexOf("http://")?r.get:s.get,l=!1,n=w(t.parse(i),d.inliner.request);void 0!==d.inliner.request.hostname&&(n.path=n.href),k(n,function(a){if(a.statusCode<200||a.statusCode>399)return g("error "+a.statusCode);if(a.statusCode>299){var h=t.resolve(i,a.headers.location);return m(h,b,d)}var k=[],l=t.parse(i);a.on("data",function(a){k.push(a.toString())}),a.on("end",function(){var a=k.join("");d.rebase&&(a=u(a,{toBase:j},d)),d.sourceReader.trackSource(i,a),a=d.sourceTracker.store(i,a),a=f(a,i),b.length>0&&(a="@media "+b+"{"+a+"}"),d.afterImport=!0;var g=w(d,{isRemote:!0,relativeTo:l.protocol+"//"+l.host+l.pathname});c.nextTick(function(){e(a,g)})})}).on("error",function(a){g(a.message)}).on("timeout",function(){g("timeout")}).setTimeout(d.inliner.timeout)}function n(a,b,c){var d="/"==a[0]?c.root:c.relativeTo,f=q.resolve(q.join(d,a));if(!p.existsSync(f)||!p.statSync(f).isFile())return c.errors.push('Broken @import declaration of "'+a+'"'),h(c);if(c.visited.indexOf(f)>-1)return h(c);c.debug&&console.error("Inlining local stylesheet: "+f),c.visited.push(f);var g=q.dirname(f),i=p.readFileSync(f,"utf8");if(c.rebase){var j={relative:!0,fromBase:g,toBase:c.baseRelativeTo};i=u(i,j,c)}var k=q.relative(c.root,f);c.sourceReader.trackSource(k,i),i=c.sourceTracker.store(k,i),b.length>0&&(i="@media "+b+"{"+i+"}"),c.afterImport=!0;var l=w(c,{relativeTo:g});return e(i,l)}function o(a,b,c){var d="@import url("+a+")"+(b.length>0?" "+b:"")+";";c.done.push(d)}var p=a("fs"),q=a("path"),r=a("http"),s=a("https"),t=a("url"),u=a("../urls/rewrite"),v=a("../utils/split"),w=a("../utils/object.js").override,x=/\/\*# sourceMappingURL=(\S+) \*\//,y=/^(https?:)?\/\//,z=/^\/\//;d.prototype.process=function(a,b){var c=this.outerContext.options.root;return b=w(b,{baseRelativeTo:this.outerContext.options.relativeTo||c,debug:this.outerContext.options.debug,done:[],errors:this.outerContext.errors,left:[],inliner:this.outerContext.options.inliner,rebase:this.outerContext.options.rebase,relativeTo:this.outerContext.options.relativeTo||c,root:c,sourceReader:this.outerContext.sourceReader,sourceTracker:this.outerContext.sourceTracker,warnings:this.outerContext.warnings,visited:[]}),e(a,b)},b.exports=d}).call(this,a("_process"))},{"../urls/rewrite":58,"../utils/object.js":62,"../utils/split":66,_process:78,fs:4,http:122,https:69,path:76,url:140}],13:[function(a,b,c){function d(a){return function(b){return"invert"==b[0]||a.isValidColor(b[0])}}function e(a){return function(b){return"inherit"!=b[0]&&a.isValidStyle(b[0])&&!a.isValidColorValue(b[0])}}function f(a,b,c){var d=c[a];return n(d.doubleValues&&2==d.defaultValue.length?[[a,b.important],[d.defaultValue[0]],[d.defaultValue[1]]]:d.doubleValues&&1==d.defaultValue.length?[[a,b.important],[d.defaultValue[0]]]:[[a,b.important],[d.defaultValue]])}function g(a){return function(b){return"inherit"!=b[0]&&a.isValidWidth(b[0])&&!a.isValidStyleKeyword(b[0])&&!a.isValidColorValue(b[0])}}function h(a,b,c){var d=f("background-image",a,b),e=f("background-position",a,b),g=f("background-size",a,b),h=f("background-repeat",a,b),i=f("background-attachment",a,b),j=f("background-origin",a,b),k=f("background-clip",a,b),l=f("background-color",a,b),m=[d,e,g,h,i,j,k,l],n=a.value,p=!1,q=!1,r=!1,s=!1;if(1==a.value.length&&"inherit"==a.value[0][0])return l.value=d.value=h.value=e.value=g.value=j.value=k.value=a.value,m;for(var t=n.length-1;t>=0;t--){var u=n[t];if(c.isValidBackgroundAttachment(u[0]))i.value=[u];else if(c.isValidBackgroundBox(u[0]))q?(j.value=[u],r=!0):(k.value=[u],q=!0);else if(c.isValidBackgroundRepeat(u[0]))s?h.value.unshift(u):(h.value=[u],s=!0);else if(c.isValidBackgroundPositionPart(u[0])||c.isValidBackgroundSizePart(u[0]))if(t>0){var v=n[t-1];if(v[0].indexOf("/")>0){var w=o(v[0],"/");g.value=[[w.pop()].concat(v.slice(1)),u],n[t-1]=[w.pop()].concat(v.slice(1))}else t>1&&"/"==n[t-2]?(g.value=[v,u],t-=2):"/"==v[0]?g.value=[u]:(p||(e.value=[]),e.value.unshift(u),p=!0)}else p||(e.value=[]),e.value.unshift(u),p=!0;else if(c.isValidBackgroundPositionAndSize(u[0])){var x=o(u[0],"/");g.value=[[x.pop()].concat(u.slice(1))],e.value=[[x.pop()].concat(u.slice(1))]}else l.value[0][0]!=b[l.name].defaultValue&&"none"!=l.value[0][0]||!c.isValidColor(u[0])?(c.isValidUrl(u[0])||c.isValidFunction(u[0]))&&(d.value=[u]):l.value=[u]}return q&&!r&&(j.value=k.value.slice(0)),m}function i(a,b){for(var c=a.value,d=-1,e=0,g=c.length;g>e;e++)if("/"==c[e][0]){d=e;break}if(-1==d)return j(a,b);var h=f(a.name,a,b);h.value=c.slice(0,d),h.components=j(h,b);var i=f(a.name,a,b);i.value=c.slice(d+1),i.components=j(i,b);for(var k=0;4>k;k++)h.components[k].multiplex=!0,h.components[k].value=h.components[k].value.concat([["/"]]).concat(i.components[k].value);return h.components}function j(a,b){var c=b[a.name].components,d=[],e=a.value;if(e.length<1)return[];e.length<2&&(e[1]=e[0].slice(0)),e.length<3&&(e[2]=e[0].slice(0)),e.length<4&&(e[3]=e[1].slice(0));for(var f=c.length-1;f>=0;f--){var g=n([[c[f],a.important]]);g.value=[e[f]],d.unshift(g)}return d}function k(a){return function(b,c,d){var e,g,h,i,j=[],k=b.value;for(e=0,h=k.length;h>e;e++)","==k[e][0]&&j.push(e);if(0===j.length)return a(b,c,d);var l=[];for(e=0,h=j.length;h>=e;e++){var m=0===e?0:j[e-1]+1,n=h>e?j[e]:k.length,o=f(b.name,b,c);o.value=k.slice(m,n),l.push(a(o,c,d))}var q=l[0];for(e=0,h=q.length;h>e;e++)for(q[e].multiplex=!0,g=1,i=l.length;i>g;g++)q[e].value.push([p]),Array.prototype.push.apply(q[e].value,l[g][e].value);return q}}function l(a,b,c){var d=f("list-style-type",a,b),e=f("list-style-position",a,b),g=f("list-style-image",a,b),h=[d,e,g];if(1==a.value.length&&"inherit"==a.value[0][0])return d.value=e.value=g.value=[a.value[0]],h;var i=a.value.slice(0),j=i.length,k=0;for(k=0,j=i.length;j>k;k++)if(c.isValidUrl(i[k][0])||"0"==i[k][0]){g.value=[i[k]],i.splice(k,1);break}for(k=0,j=i.length;j>k;k++)if(c.isValidListStyleType(i[k][0])){d.value=[i[k]],i.splice(k,1);break}return i.length>0&&c.isValidListStylePosition(i[0][0])&&(e.value=[i[0]]),h}function m(a,b,c){for(var h,i,j,k=b[a.name],l=[f(k.components[0],a,b),f(k.components[1],a,b),f(k.components[2],a,b)],m=0;3>m;m++){var n=l[m];n.name.indexOf("color")>0?h=n:n.name.indexOf("style")>0?i=n:j=n}if(1==a.value.length&&"inherit"==a.value[0][0]||3==a.value.length&&"inherit"==a.value[0][0]&&"inherit"==a.value[1][0]&&"inherit"==a.value[2][0])return h.value=i.value=j.value=[a.value[0]],l;var o,p,q=a.value.slice(0);return q.length>0&&(p=q.filter(g(c)),o=p.length>1&&("none"==p[0][0]||"auto"==p[0][0])?p[1]:p[0],o&&(j.value=[o],q.splice(q.indexOf(o),1))),q.length>0&&(o=q.filter(e(c))[0],o&&(i.value=[o],q.splice(q.indexOf(o),1))),q.length>0&&(o=q.filter(d(c))[0],o&&(h.value=[o],q.splice(q.indexOf(o),1))),l}var n=a("./wrap-for-optimizing").single,o=a("../utils/split"),p=",";b.exports={background:h,border:m,borderRadius:i,fourValues:j,listStyle:l,multiplex:k,outline:m}},{"../utils/split":66,"./wrap-for-optimizing":28}],14:[function(a,b,c){function d(){return!0}function e(a,b,c){var d=a.value[0][0],e=b.value[0][0];return"none"==e||"inherit"==e||c.isValidUrl(e)?!0:"none"==d||"inherit"==d||c.isValidUrl(d)?!1:j(a,b,c)}function f(a,b,c){return g(a.components[2],b.components[2],c)}function g(a,b,c){var d=a.value[0][0],e=b.value[0][0];return(c.colorOpacity||!c.isValidRgbaColor(d)&&!c.isValidHslaColor(d))&&(c.colorOpacity||!c.isValidRgbaColor(e)&&!c.isValidHslaColor(e))?c.isValidNamedColor(e)||c.isValidHexColor(e)?!0:c.isValidNamedColor(d)||c.isValidHexColor(d)?!1:c.isValidRgbaColor(e)||c.isValidHslaColor(e)?!0:c.isValidRgbaColor(d)||c.isValidHslaColor(d)?!1:j(a,b,c):!1}function h(a,b,c){var d=a.value[0][0],e=b.value[0][0];return!(c.isValidFunction(d)^c.isValidFunction(e))}function i(a,b){var c=a.value[0][0],d=b.value[0][0];return c===d}function j(a,b,c){var d=a.value[0][0],e=b.value[0][0];return c.areSameFunction(d,e)?!0:d===e}function k(a,b,c){var d=a.value[0][0],e=b.value[0][0];return c.isValidAndCompatibleUnitWithoutFunction(d)&&!c.isValidAndCompatibleUnitWithoutFunction(e)?!1:c.isValidUnitWithoutFunction(e)?!0:c.isValidUnitWithoutFunction(d)?!1:c.isValidFunctionWithoutVendorPrefix(e)&&c.isValidFunctionWithoutVendorPrefix(d)?!0:j(a,b,c)}b.exports={always:d,backgroundImage:e,border:f,color:g,sameValue:i,sameFunctionOrValue:j,twoOptionalFunctions:h,unit:k}},{}],15:[function(a,b,c){function d(a){for(var b=e(a),c=a.components.length-1;c>=0;c--){var d=e(a.components[c]);d.value=a.components[c].value.slice(0),b.components.unshift(d)}return b.dirty=!0,b.value=a.value.slice(0),b}function e(a){var b=f([[a.name,a.important,a.hack]]);return b.unused=!1,b}var f=a("./wrap-for-optimizing").single;b.exports={deep:d,shallow:e}},{"./wrap-for-optimizing":28}],16:[function(a,b,c){var d=a("./break-up"),e=a("./can-override"),f=a("./restore"),g={color:{canOverride:e.color,defaultValue:"transparent",shortestValue:"red"},background:{components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:d.multiplex(d.background),defaultValue:"0 0",restore:f.multiplex(f.background),shortestValue:"0",shorthand:!0},"background-clip":{canOverride:e.always,defaultValue:"border-box",shortestValue:"border-box"},"background-color":{canOverride:e.color,defaultValue:"transparent",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:e.backgroundImage,defaultValue:"none"},"background-origin":{canOverride:e.always,defaultValue:"padding-box",shortestValue:"border-box"},"background-repeat":{canOverride:e.always,defaultValue:["repeat"],doubleValues:!0},"background-position":{canOverride:e.always,defaultValue:["0","0"],doubleValues:!0,shortestValue:"0"},"background-size":{canOverride:e.always,defaultValue:["auto"],doubleValues:!0,shortestValue:"0 0"},"background-attachment":{canOverride:e.always,defaultValue:"scroll"},border:{breakUp:d.border,canOverride:e.border,components:["border-width","border-style","border-color"],defaultValue:"none",restore:f.withoutDefaults,shorthand:!0},"border-color":{canOverride:e.color,defaultValue:"none",shorthand:!0},"border-style":{canOverride:e.always,defaultValue:"none",shorthand:!0},"border-width":{canOverride:e.unit,defaultValue:"medium",shortestValue:"0",shorthand:!0},"list-style":{components:["list-style-type","list-style-position","list-style-image"],canOverride:e.always,breakUp:d.listStyle,restore:f.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-type":{canOverride:e.always,defaultValue:"__hack",shortestValue:"none"},"list-style-position":{canOverride:e.always,defaultValue:"outside",shortestValue:"inside"},"list-style-image":{canOverride:e.always,defaultValue:"none"},outline:{components:["outline-color","outline-style","outline-width"],breakUp:d.outline,restore:f.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:e.color,defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:e.always,defaultValue:"none"},"outline-width":{canOverride:e.unit,defaultValue:"medium",shortestValue:"0"},"-moz-transform":{canOverride:e.sameFunctionOrValue},"-ms-transform":{canOverride:e.sameFunctionOrValue},"-webkit-transform":{canOverride:e.sameFunctionOrValue},transform:{canOverride:e.sameFunctionOrValue}},h=function(a,b,c){c=c||{},g[a]={canOverride:c.canOverride,components:b,breakUp:c.breakUp||d.fourValues,defaultValue:c.defaultValue||"0",restore:c.restore||f.fourValues,shortestValue:c.shortestValue,shorthand:!0};for(var h=0;hj;j++)g[g[i].components[j]].componentOf=i;b.exports=g},{"./break-up":13,"./can-override":14,"./restore":24}],17:[function(a,b,c){function d(a,b,c,d){for(var g=e(b),h=e(c),i=0,j=b.value.length;j>i;i++)for(var k=0,l=c.value.length;l>k;k++)if(b.value[i][0]!=f&&c.value[k][0]!=f&&(g.value=[b.value[i]],h.value=[c.value[k]],!a(g,h,d)))return!1;return!0}var e=a("./clone").shallow,f=",";b.exports=d},{"./clone":15}],18:[function(a,b,c){function d(a){for(var b=a.value.length-1;b>=0;b--)if("inherit"==a.value[b][0])return!0;return!1}b.exports=d},{}],19:[function(a,b,c){function d(a,b,c,d){function e(a){return b===!1||b===!0?b:b.indexOf(a)>-1}function g(b){var c=a[b-1],d=a[b];return m(c.all,c.position)==m(d.all,d.position)}var h,i,j={},k=null;a:for(var l=0,o=a.length;o>l;l++){var p=a[l],q=!("-ms-filter"!=p.name&&"filter"!=p.name||"background"!=k&&"background-image"!=k)?k:p.name,r=p.important,s=p.hack;if(!p.unused)if(l>0&&h&&q==k&&r==h.important&&s==h.hack&&g(l)&&!h.unused)p.unused=!0;else{if(q in j&&(c&&q!=k||e(l))){var t=j[q],u=f[q]&&f[q].canOverride,v=!1;for(i=t.length-1;i>=0;i--){var w=a[t[i]],x=w.name!=q,y=w.important,z=w.hack;if(!w.unused&&(!x||!y)&&(y||!(z&&!s||!z&&s))&&(!y||"star"!=s&&"underscore"!=s)&&(z||s||x||!u||u(w,p,d))){if(y&&!r||y&&s){p.unused=!0,h=p;continue a}v=!0,w.unused=!0}}if(v){l=-1,h=null,k=null,j={};continue}}else{j[q]=j[q]||[],j[q].push(l);var A=n[q];if(A)for(i=A.length-1;i>=0;i--){var B=A[i];j[B]=j[B]||[],j[B].push(l)}}k=q,h=p}}}function e(a,b,c,f,m,n){var o=g(b);h(o,n),d(o,c,m.aggressiveMerging,n);for(var p=0,q=o.length;q>p;p++){var r=o[p];r.variable&&r.block&&e(a,r.value[0],c,f,m,n)}f&&m.shorthandCompacting&&(i(o,m.compatibility,n),j(o,m.sourceMap,n)),l(o),k(o)}var f=a("./compactable"),g=a("./wrap-for-optimizing").all,h=a("./populate-components"),i=a("./override-compactor"),j=a("./shorthand-compactor"),k=a("./remove-unused"),l=a("./restore-from-optimizing"),m=a("../stringifier/one-time").property,n={"animation-delay":["animation"],"animation-direction":["animation"],"animation-duration":["animation"],"animation-fill-mode":["animation"],"animation-iteration-count":["animation"],"animation-name":["animation"],"animation-play-state":["animation"],"animation-timing-function":["animation"],"-moz-animation-delay":["-moz-animation"],"-moz-animation-direction":["-moz-animation"],"-moz-animation-duration":["-moz-animation"],"-moz-animation-fill-mode":["-moz-animation"],"-moz-animation-iteration-count":["-moz-animation"],"-moz-animation-name":["-moz-animation"],"-moz-animation-play-state":["-moz-animation"],"-moz-animation-timing-function":["-moz-animation"],"-o-animation-delay":["-o-animation"],"-o-animation-direction":["-o-animation"],"-o-animation-duration":["-o-animation"],"-o-animation-fill-mode":["-o-animation"],"-o-animation-iteration-count":["-o-animation"],"-o-animation-name":["-o-animation"],"-o-animation-play-state":["-o-animation"],"-o-animation-timing-function":["-o-animation"],"-webkit-animation-delay":["-webkit-animation"],"-webkit-animation-direction":["-webkit-animation"],"-webkit-animation-duration":["-webkit-animation"],"-webkit-animation-fill-mode":["-webkit-animation"],"-webkit-animation-iteration-count":["-webkit-animation"],"-webkit-animation-name":["-webkit-animation"],"-webkit-animation-play-state":["-webkit-animation"],"-webkit-animation-timing-function":["-webkit-animation"],"border-color":["border"],"border-style":["border"],"border-width":["border"],"border-bottom":["border"],"border-bottom-color":["border-bottom","border-color","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left":["border"],"border-left-color":["border-left","border-color","border"],"border-left-style":["border-left","border-style","border"],"border-left-width":["border-left","border-width","border"],"border-right":["border"],"border-right-color":["border-right","border-color","border"],"border-right-style":["border-right","border-style","border"],"border-right-width":["border-right","border-width","border"],"border-top":["border"],"border-top-color":["border-top","border-color","border"],"border-top-style":["border-top","border-style","border"],"border-top-width":["border-top","border-width","border"],"font-family":["font"],"font-size":["font"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"transition-delay":["transition"],"transition-duration":["transition"],"transition-property":["transition"],"transition-timing-function":["transition"],"-moz-transition-delay":["-moz-transition"],"-moz-transition-duration":["-moz-transition"],"-moz-transition-property":["-moz-transition"],"-moz-transition-timing-function":["-moz-transition"],"-o-transition-delay":["-o-transition"],"-o-transition-duration":["-o-transition"],"-o-transition-property":["-o-transition"],"-o-transition-timing-function":["-o-transition"],"-webkit-transition-delay":["-webkit-transition"],"-webkit-transition-duration":["-webkit-transition"],"-webkit-transition-property":["-webkit-transition"],"-webkit-transition-timing-function":["-webkit-transition"]};b.exports=e},{"../stringifier/one-time":45,"./compactable":16,"./override-compactor":20,"./populate-components":21,"./remove-unused":22,"./restore-from-optimizing":23,"./shorthand-compactor":25,"./wrap-for-optimizing":28}],20:[function(a,b,c){function d(a){return function(b){return a.name===b.name}}function e(a,b){for(var c=0;c-1}function g(a,b){b.unused=!0,l(b,m(a)),a.value=b.value}function h(a,b){b.unused=!0,a.multiplex=!0,a.value=b.value}function i(a,b){b.unused=!0,a.value=b.value}function j(a,b){b.multiplex?h(a,b):a.multiplex?g(a,b):i(a,b)}function k(a,b){b.unused=!0;for(var c=0,d=a.components.length;d>c;c++)j(a.components[c],b.components[c],a.multiplex)}function l(a,b){a.multiplex=!0;for(var c=0,d=a.components.length;d>c;c++){var e=a.components[c];if(!e.multiplex)for(var f=e.value.slice(0),g=1;b>g;g++)e.value.push([G]),Array.prototype.push.apply(e.value,f)}}function m(a){for(var b=0,c=0,d=a.value.length;d>c;c++)a.value[c][0]==G&&b++;return b+1}function n(a){var b=[[a.name]].concat(a.value);return F([b],0).length}function o(a,b,c){for(var d=0,e=b;e>=0&&(a[e].name!=c||a[e].unused||d++,!(d>1));e--);return d>1}function p(a,b){for(var c=0,d=a.components.length;d>c;c++)if(q(b.isValidFunction,a.components[c]))return!0;return!1}function q(a,b){for(var c=0,d=b.value.length;d>c;c++)if(b.value[c][0]!=G&&a(b.value[c][0]))return!0;return!1}function r(a,b){if(!a.multiplex&&!b.multiplex||a.multiplex&&b.multiplex)return!1;var c,e=a.multiplex?a:b,f=a.multiplex?b:a,i=z(e);C([i]);var j=z(f);C([j]);var k=n(i)+1+n(j);a.multiplex?(c=i.components.filter(d(j))[0],g(c,j)):(c=j.components.filter(d(i))[0],l(j,m(i)),h(c,i)),C([j]);var o=n(j);return o>k}function s(a){return a.name in y}function t(a,b){return!a.multiplex&&("background"==a.name||"background-image"==a.name)&&b.multiplex&&("background"==b.name||"background-image"==b.name)&&u(b.value)}function u(a){for(var b=v(a),c=0,d=b.length;d>c;c++)if(1==b[c].length&&"none"==b[c][0][0])return!0;return!1}function v(a){for(var b=[],c=0,d=[],e=a.length;e>c;c++){var f=a[c];f[0]==G?(b.push(d),d=[]):d.push(f)}return b.push(d),b}function w(a,b,c){var g,h,i,n,u,v,w;a:for(u=a.length-1;u>=0;u--)if(h=a[u],s(h)&&!h.variable)for(g=y[h.name].canOverride||x.sameValue,v=u-1;v>=0;v--)if(i=a[v],s(i)&&!(i.variable||i.unused||h.unused||i.hack&&!h.hack||!i.hack&&h.hack||B(h)||t(i,h)))if(!i.shorthand&&h.shorthand&&f(h,i)){if(!h.important&&i.important)continue;if(!E([i],h.components))continue;if(!q(c.isValidFunction,i)&&p(h,c))continue;n=h.components.filter(d(i))[0],g=y[i.name]&&y[i.name].canOverride||x.sameValue,D(g,i,n,c)&&(i.unused=!0)}else if(i.shorthand&&!h.shorthand&&f(i,h)){if(h.important&&!i.important)continue;if(o(a,u-1,i.name))continue;if(p(i,c))continue;if(n=i.components.filter(d(h))[0],D(g,n,h,c)){var z=!b.properties.backgroundClipMerging&&n.name.indexOf("background-clip")>-1||!b.properties.backgroundOriginMerging&&n.name.indexOf("background-origin")>-1||!b.properties.backgroundSizeMerging&&n.name.indexOf("background-size")>-1,A=y[h.name].nonMergeableValue===h.value[0][0];if(z||A)continue;if(!b.properties.merging&&e(i,c))continue;if(n.value[0][0]!=h.value[0][0]&&(B(i)||B(h)))continue;if(r(i,h))continue;!i.multiplex&&h.multiplex&&l(i,m(h)),j(n,h),i.dirty=!0}}else if(i.shorthand&&h.shorthand&&i.name==h.name){if(!i.multiplex&&h.multiplex)continue;if(!h.important&&i.important){h.unused=!0;continue a}if(h.important&&!i.important){i.unused=!0;continue}for(w=i.components.length-1;w>=0;w--){var C=i.components[w],F=h.components[w];if(g=y[C.name].canOverride||x.sameValue,!D(g,C,F,c))continue a;if(!D(x.twoOptionalFunctions,C,F,c)&&c.isValidFunction(F))continue a}k(i,h),i.dirty=!0}else if(i.shorthand&&h.shorthand&&f(i,h)){if(!i.important&&h.important)continue;if(n=i.components.filter(d(h))[0],g=y[h.name].canOverride||x.sameValue,!D(g,n,h,c))continue;if(i.important&&!h.important){h.unused=!0;continue}var G=y[h.name].restore(h,y);if(G.length>1)continue;n=i.components.filter(d(h))[0],j(n,h),h.dirty=!0}else if(i.name==h.name){if(i.important&&!h.important){h.unused=!0;continue}if(g=y[h.name].canOverride||x.sameValue,!D(g,i,h,c))continue;i.unused=!0}}var x=a("./can-override"),y=a("./compactable"),z=a("./clone").deep,A=a("./clone").shallow,B=a("./has-inherit"),C=a("./restore-from-optimizing"),D=a("./every-combination"),E=a("./vendor-prefixes").same,F=a("../stringifier/one-time").property,G=",";b.exports=w},{"../stringifier/one-time":45,"./can-override":14,"./clone":15,"./compactable":16,"./every-combination":17,"./has-inherit":18,"./restore-from-optimizing":23,"./vendor-prefixes":27}],21:[function(a,b,c){function d(a,b){for(var c=a.length-1;c>=0;c--){var d=a[c],f=e[d.name];f&&f.shorthand&&(d.shorthand=!0,d.dirty=!0,d.components=f.breakUp(d,e,b),d.components.length>0?d.multiplex=d.components[0].multiplex:d.unused=!0)}}var e=a("./compactable");b.exports=d},{"./compactable":16}],22:[function(a,b,c){function d(a){for(var b=a.length-1;b>=0;b--){var c=a[b];c.unused&&c.all.splice(c.position,1)}}b.exports=d},{}],23:[function(a,b,c){function d(a){a.value[a.value.length-1][0]+=i}function e(a){"underscore"==a.hack?a.name=k+a.name:"star"==a.hack?a.name=j+a.name:"backslash"==a.hack?a.value[a.value.length-1][0]+=h:"bang"==a.hack&&(a.value[a.value.length-1][0]+=" "+l)}function f(a,b){for(var c=a.length-1;c>=0;c--){var f,h=a[c],i=g[h.name];if(!h.unused&&(h.dirty||h.important||h.hack)&&(!b&&i&&i.shorthand?(f=i.restore(h,g),h.value=f):f=h.value,h.important&&d(h),h.hack&&e(h),"all"in h)){var j=h.all[h.position];j[0][0]=h.name,j.splice(1,j.length-1),Array.prototype.push.apply(j,f)}}}var g=a("./compactable"),h="\\9",i="!important",j="*",k="_",l="!ie";b.exports=f},{"./compactable":16}],24:[function(a,b,c){function d(a){for(var b=0,c=a.length;c>b;b++){var d=a[b][0];if("inherit"!=d&&d!=k&&d!=l)return!1}return!0}function e(a,b,c){function e(a){Array.prototype.unshift.apply(j,a.value)}function f(a){var c=b[a.name];return c.doubleValues?1==c.defaultValue.length?a.value[0][0]==c.defaultValue[0]&&(a.value[1]?a.value[1][0]==c.defaultValue[0]:!0):a.value[0][0]==c.defaultValue[0]&&(a.value[1]?a.value[1][0]:a.value[0][0])==c.defaultValue[1]:a.value[0][0]==c.defaultValue}for(var g,h,i=a.components,j=[],k=i.length-1;k>=0;k--){var m=i[k],n=f(m);if("background-clip"==m.name){var o=i[k-1],p=f(o);g=m.value[0][0]==o.value[0][0],h=!g&&(p&&!n||!p&&!n||!p&&n&&m.value[0][0]!=o.value[0][0]),g?e(o):h&&(e(m),e(o)),k--}else if("background-size"==m.name){var q=i[k-1],r=f(q);g=!r&&n,h=!g&&(r&&!n||!r&&!n),g?e(q):h?(e(m),j.unshift([l]),e(q)):1==q.value.length&&e(q),k--}else{if(n||b[m.name].multiplexLastOnly&&!c)continue;e(m)}}return 0===j.length&&1==a.value.length&&"0"==a.value[0][0]&&j.push(a.value[0]),0===j.length&&j.push([b[a.name].defaultValue]),d(j)?[j[0]]:j}function f(a,b){if(a.multiplex){for(var c=j(a),d=j(a),e=0;4>e;e++){var f=a.components[e],h=j(a);h.value=[f.value[0]],c.components.push(h);var i=j(a);i.value=[f.value[2]],d.components.push(i)}var k=g(c,b),l=g(d,b);return k.length!=l.length||k[0][0]!=l[0][0]||(k.length>1?k[1][0]!=l[1][0]:0)||(k.length>2?k[2][0]!=l[2][0]:0)||(k.length>3?k[3][0]!=l[3][0]:0)?k.concat([["/"]]).concat(l):k}return g(a,b)}function g(a){var b=a.components,c=b[0].value[0],d=b[1].value[0],e=b[2].value[0],f=b[3].value[0];return c[0]==d[0]&&c[0]==e[0]&&c[0]==f[0]?[c]:c[0]==e[0]&&d[0]==f[0]?[c,d]:d[0]==f[0]?[c,d,e]:[c,d,e,f]}function h(a){return function(b,c){if(!b.multiplex)return a(b,c,!0);var d,e,f=0,g=[],h={};for(d=0,e=b.components[0].value.length;e>d;d++)b.components[0].value[d][0]==k&&f++;for(d=0;f>=d;d++){for(var i=j(b),l=0,m=b.components.length;m>l;l++){var n=b.components[l],o=j(n);i.components.push(o);for(var p=h[o.name]||0,q=n.value.length;q>p;p++){if(n.value[p][0]==k){h[o.name]=p+1;break}o.value.push(n.value[p])}}var r=d==f,s=a(i,c,r);Array.prototype.push.apply(g,s),f>d&&g.push([","])}return g}}function i(a,b){for(var c=a.components,e=[],f=c.length-1;f>=0;f--){var g=c[f],h=b[g.name];g.value[0][0]!=h.defaultValue&&e.unshift(g.value[0])}return 0===e.length&&e.push([b[a.name].defaultValue]),d(e)?[e[0]]:e}var j=a("./clone").shallow,k=",",l="/";b.exports={background:e,borderRadius:f,fourValues:g,multiplex:h,withoutDefaults:i}},{"./clone":15}],25:[function(a,b,c){function d(a){var b;for(var c in a){if(void 0!==b&&a[c].important!=b)return!0;b=a[c].important}return!1}function e(a){var b=[];for(var c in a){var d=a[c],e=d.all[d.position],f=e[0][e[0].length-1];Array.isArray(f)&&Array.prototype.push.apply(b,f)}return b}function f(a,b,c,d,f){var g,h=i[c],o=[[c],[h.defaultValue]],p=m(o);p.shorthand=!0,p.dirty=!0,l([p],f);for(var q=0,r=h.components.length;r>q;q++){var s=b[h.components[q]],t=i[s.name].canOverride;if(k(s))return;if(!n(t,p.components[q],s,f))return;p.components[q]=j(s),p.important=s.important,g=s.all}for(var u in b)b[u].unused=!0;if(d){var v=e(b);v.length>0&&o[0].push(v)}p.position=g.length,p.all=g,p.all.push(o),a.push(p)}function g(a,b,c,e,g){var h=a[b];for(var j in c)if(void 0===h||j!=h.name){var k=i[j],l=c[j];k.components.length>Object.keys(l).length?delete c[j]:d(l)||f(a,l,j,e,g)}}function h(a,b,c){var d={};if(!(a.length<3)){for(var e=0,f=a.length;f>e;e++){var h=a[e];if(!h.unused&&!h.hack&&!h.variable){var j=i[h.name];if(j&&j.componentOf)if(h.shorthand)g(a,e,d,b,c);else{var k=j.componentOf;d[k]=d[k]||{},d[k][h.name]=h}}}g(a,e,d,b,c)}}var i=a("./compactable"),j=a("./clone").deep,k=a("./has-inherit"),l=a("./populate-components"),m=a("./wrap-for-optimizing").single,n=a("./every-combination");b.exports=h},{"./clone":15,"./compactable":16,"./every-combination":17,"./has-inherit":18,"./populate-components":21,"./wrap-for-optimizing":28}],26:[function(a,b,c){function d(a){var b=g.slice(0).filter(function(b){return!(b in a.units)||a.units[b]===!0}),c="(\\-?\\.?\\d+\\.?\\d*("+b.join("|")+"|)|auto|inherit)";this.compatibleCssUnitRegex=new RegExp("^"+c+"$","i"),this.compatibleCssUnitAnyRegex=new RegExp("^(none|"+f.join("|")+"|"+c+"|"+l+"|"+j+"|"+k+")$","i"),this.colorOpacity=a.colors.opacity}var e=a("../utils/split"),f=["thin","thick","medium","inherit","initial"],g=["px","%","em","in","cm","mm","ex","pt","pc","ch","rem","vh","vm","vmin","vmax","vw"],h="(\\-?\\.?\\d+\\.?\\d*("+g.join("|")+"|)|auto|inherit)",i="(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)",j="[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)",k="\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)",l="var\\(\\-\\-[^\\)]+\\)",m="("+l+"|"+j+"|"+k+")",n="("+h+"|"+i+")",o="(none|"+f.join("|")+"|"+h+"|"+l+"|"+j+"|"+k+")",p=new RegExp("^"+j+"$","i"),q=new RegExp("^"+k+"$","i"),r=new RegExp("^"+l+"$","i"),s=new RegExp("^"+m+"$","i"),t=new RegExp("^"+h+"$","i"),u=new RegExp("^"+n+"$","i"),v=new RegExp("^"+o+"$","i"),w=["repeat","no-repeat","repeat-x","repeat-y","inherit"],x=["inherit","scroll","fixed","local"],y=["center","top","bottom","left","right"],z=["contain","cover"],A=["border-box","content-box","padding-box"],B=["auto","inherit","hidden","none","dotted","dashed","solid","double","groove","ridge","inset","outset"],C=["armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","disc","georgian","hebrew","hiragana","hiragana-iroha","inherit","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],D=["inside","outside","inherit"];d.prototype.isValidHexColor=function(a){return(4===a.length||7===a.length)&&"#"===a[0]},d.prototype.isValidRgbaColor=function(a){return a=a.split(" ").join(""),a.length>0&&0===a.indexOf("rgba(")&&a.indexOf(")")===a.length-1},d.prototype.isValidHslaColor=function(a){return a=a.split(" ").join(""),a.length>0&&0===a.indexOf("hsla(")&&a.indexOf(")")===a.length-1},d.prototype.isValidNamedColor=function(a){return"auto"!==a&&("transparent"===a||"inherit"===a||/^[a-zA-Z]+$/.test(a))},d.prototype.isValidVariable=function(a){return r.test(a)},d.prototype.isValidColor=function(a){return this.isValidNamedColor(a)||this.isValidColorValue(a)||this.isValidVariable(a)||this.isValidVendorPrefixedValue(a)},d.prototype.isValidColorValue=function(a){return this.isValidHexColor(a)||this.isValidRgbaColor(a)||this.isValidHslaColor(a)},d.prototype.isValidUrl=function(a){return 0===a.indexOf("__ESCAPED_URL_CLEAN_CSS")},d.prototype.isValidUnit=function(a){return v.test(a)},d.prototype.isValidUnitWithoutFunction=function(a){return t.test(a)},d.prototype.isValidAndCompatibleUnit=function(a){ -return this.compatibleCssUnitAnyRegex.test(a)},d.prototype.isValidAndCompatibleUnitWithoutFunction=function(a){return this.compatibleCssUnitRegex.test(a)},d.prototype.isValidFunctionWithoutVendorPrefix=function(a){return p.test(a)},d.prototype.isValidFunctionWithVendorPrefix=function(a){return q.test(a)},d.prototype.isValidFunction=function(a){return s.test(a)},d.prototype.isValidBackgroundRepeat=function(a){return w.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidBackgroundAttachment=function(a){return x.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidBackgroundBox=function(a){return A.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidBackgroundPositionPart=function(a){return y.indexOf(a)>=0||u.test(a)||this.isValidVariable(a)},d.prototype.isValidBackgroundPosition=function(a){if("inherit"===a)return!0;for(var b=a.split(" "),c=0,d=b.length;d>c;c++)if(""!==b[c]&&!this.isValidBackgroundPositionPart(b[c])&&!this.isValidVariable(b[c]))return!1;return!0},d.prototype.isValidBackgroundSizePart=function(a){return z.indexOf(a)>=0||t.test(a)||this.isValidVariable(a)},d.prototype.isValidBackgroundPositionAndSize=function(a){if(a.indexOf("/")<0)return!1;var b=e(a,"/");return this.isValidBackgroundSizePart(b.pop())&&this.isValidBackgroundPositionPart(b.pop())},d.prototype.isValidListStyleType=function(a){return C.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidListStylePosition=function(a){return D.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidStyle=function(a){return this.isValidStyleKeyword(a)||this.isValidVariable(a)},d.prototype.isValidStyleKeyword=function(a){return B.indexOf(a)>=0},d.prototype.isValidWidth=function(a){return this.isValidUnit(a)||this.isValidWidthKeyword(a)||this.isValidVariable(a)},d.prototype.isValidWidthKeyword=function(a){return f.indexOf(a)>=0},d.prototype.isValidVendorPrefixedValue=function(a){return/^-([A-Za-z0-9]|-)*$/gi.test(a)},d.prototype.areSameFunction=function(a,b){if(!this.isValidFunction(a)||!this.isValidFunction(b))return!1;var c=a.substring(0,a.indexOf("(")),d=b.substring(0,b.indexOf("("));return c===d},b.exports=d},{"../utils/split":66}],27:[function(a,b,c){function d(a){for(var b=[],c=0,d=a.length;d>c;c++)for(var e=a[c],g=0,h=e.value.length;h>g;g++){var i=f.exec(e.value[g][0]);i&&-1==b.indexOf(i[0])&&b.push(i[0])}return b}function e(a,b){return d(a).sort().join(",")==d(b).sort().join(",")}var f=/$\-moz\-|\-ms\-|\-o\-|\-webkit\-/;b.exports={same:e}},{}],28:[function(a,b,c){function d(a){for(var b=[],c=a.length-1;c>=0;c--)if("string"!=typeof a[c][0]){var d=k(a[c]);d.all=a,d.position=c,b.unshift(d)}return b}function e(a){for(var b=1,c=a.length;c>b;b++)if(","==a[b][0]||"/"==a[b][0])return!0;return!1}function f(a){var b=!1,c=a[0][0],d=a[a.length-1];return c[0]==o?b="underscore":c[0]==n?b="star":d[0][0]==p&&-1==d[0].indexOf("important")?b="bang":d[0].indexOf(p)>0&&-1==d[0].indexOf("important")?b="bang":d[0].indexOf(l)>0&&d[0].indexOf(l)==d[0].length-l.length-1?b="backslash":0===d[0].indexOf(l)&&2==d[0].length&&(b="backslash"),b}function g(a){return a.length>1?a[a.length-1][0].indexOf(m)>0:!1}function h(a){a.length>0&&(a[a.length-1][0]=a[a.length-1][0].replace(m,""))}function i(a){a[0][0]=a[0][0].substring(1)}function j(a,b){var c=a[a.length-1];c[0]=c[0].substring(0,c[0].indexOf("backslash"==b?l:p)).trim(),0===c[0].length&&a.pop()}function k(a){var b=g(a);b&&h(a);var c=f(a);"star"==c||"underscore"==c?i(a):"backslash"!=c&&"bang"!=c||j(a,c);var d=0===a[0][0].indexOf("--");return{block:d&&a[1]&&Array.isArray(a[1][0][0]),components:[],dirty:!1,hack:c,important:b,name:a[0][0],multiplex:a.length>2?e(a):!1,position:0,shorthand:!1,unused:a.length<2,value:a.slice(1),variable:d}}var l="\\",m="!important",n="*",o="_",p="!";b.exports={all:d,single:k}},{}],29:[function(a,b,c){function d(a){for(var b=0,c=a.length;c>b;b++){var e=a[b],f=!1;switch(e[0]){case"selector":f=0===e[1].length||0===e[2].length;break;case"block":d(e[2]),f=0===e[2].length}f&&(a.splice(b,1),b--,c--)}}function e(a,b,c){for(var d=0,e=a.length;e>d;d++){var f=a[d];if("block"==f[0]){var h=/@(-moz-|-o-|-webkit-)?keyframes/.test(f[1][0]);g(f[2],b,c,!h)}}}function f(a,b,c){for(var d=0,e=a.length;e>d;d++){var g=a[d];switch(g[0]){case"selector":h(g[1],g[2],!1,!0,b,c);break;case"block":f(g[2],b,c)}}}function g(a,b,c,h){if(e(a,b,c),f(a,b,c),i(a),j(a,b,c),k(a,b,c),l(a,b,c),m(a,b),b.restructuring&&h&&(n(a,b),j(a,b,c)),b.mediaMerging){o(a);for(var q=p(a),r=q.length-1;r>=0;r--)g(q[r][2],b,c,!1)}d(a)}var h=a("../properties/optimizer"),i=a("./remove-duplicates"),j=a("./merge-adjacent"),k=a("./reduce-non-adjacent"),l=a("./merge-non-adjacent-by-selector"),m=a("./merge-non-adjacent-by-body"),n=a("./restructure"),o=a("./remove-duplicate-media-queries"),p=a("./merge-media-queries");b.exports=g},{"../properties/optimizer":19,"./merge-adjacent":33,"./merge-media-queries":34,"./merge-non-adjacent-by-body":35,"./merge-non-adjacent-by-selector":36,"./reduce-non-adjacent":37,"./remove-duplicate-media-queries":38,"./remove-duplicates":39,"./restructure":41}],30:[function(a,b,c){function d(a,b){return"["+b.replace(/ /g,"")+"]"}function e(a,b){return a[0]>b[0]?1:-1}function f(a,b,c,d){return b&&c&&d.length?b+c+" ":b&&c?b+c:c}var g={selectors:function(a,b,c){for(var g=[],h=[],i=0,j=a.length;j>i;i++){var k=a[i],l=k[0].replace(/\s+/g," ").replace(/ ?, ?/g,",").replace(/\s*(\\)?([>+~])(\s*)/g,f).trim();c&&l.indexOf("nav")>0&&(l=l.replace(/\+nav(\S|$)/,"+ nav$1")),(!b||-1==l.indexOf("*+html ")&&-1==l.indexOf("*:first-child+html "))&&(l.indexOf("*")>-1&&(l=l.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),l.indexOf("[")>-1&&(l=l.replace(/\[([^\]]+)\]/g,d)),-1==h.indexOf(l)&&(k[0]=l,h.push(l),g.push(k)))}return g.sort(e)},selectorDuplicates:function(a){for(var b=[],c=[],d=0,f=a.length;f>d;d++){var g=a[d];-1==c.indexOf(g[0])&&(c.push(g[0]),b.push(g))}return b.sort(e)},block:function(a,b){a[0]=a[0].replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),b||(a[0]=a[0].replace(/\) /g,")"))},atRule:function(a){a[0]=a[0].replace(/\s+/g," ").trim()}};b.exports=g},{}],31:[function(a,b,c){function d(a){var b=[];if("selector"==a[0])for(var c=!/[\.\+>~]/.test(f(a[1])),i=0,j=a[2].length;j>i;i++){var k=a[2][i];if(0!==k.indexOf("__ESCAPED")&&k[0]!=h){var l=a[2][i][0][0];if(0!==l.length&&0!==l.indexOf("--")){var m=g(a[2],i);b.push([l,m,e(l),a[2][i],l+":"+m,a[1],c])}}}else if("block"==a[0])for(var n=0,o=a[2].length;o>n;n++)b=b.concat(d(a[2][n]));return b}function e(a){return"list-style"==a?a:a.indexOf("-radius")>0?"border-radius":"border-collapse"==a||"border-spacing"==a||"border-image"==a?a:0===a.indexOf("border-")&&/^border\-\w+\-\w+$/.test(a)?a.match(/border\-\w+/)[0]:0===a.indexOf("border-")&&/^border\-\w+$/.test(a)?"border":0===a.indexOf("text-")?a:a.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var f=a("../stringifier/one-time").selectors,g=a("../stringifier/one-time").value,h="at-rule";b.exports=d},{"../stringifier/one-time":45}],32:[function(a,b,c){function d(a,b){return a.compatibility.selectors.special.test(b)}b.exports=d},{}],33:[function(a,b,c){function d(a,b,c){for(var d=[null,[],[]],j=b.compatibility.selectors.adjacentSpace,k=0,l=a.length;l>k;k++){var m=a[k];if("selector"==m[0])if("selector"==d[0]&&g(m[1])==g(d[1])){var n=[d[2].length];Array.prototype.push.apply(d[2],m[2]),e(m[1],d[2],n,!0,b,c),m[2]=[]}else"selector"!=d[0]||f(m[2])!=f(d[2])||i(b,g(m[1]))||i(b,g(d[1]))?d=m:(d[1]=h(d[1].concat(m[1]),!1,j),m[2]=[]);else d=[null,[],[]]}}var e=a("../properties/optimizer"),f=a("../stringifier/one-time").body,g=a("../stringifier/one-time").selectors,h=a("./clean-up").selectors,i=a("./is-special");b.exports=d},{"../properties/optimizer":19,"../stringifier/one-time":45,"./clean-up":30,"./is-special":32}],34:[function(a,b,c){function d(a){for(var b={},c=[],d=a.length-1;d>=0;d--){var g=a[d];if("block"==g[0]){var h=b[g[1][0]];h||(h=[],b[g[1][0]]=h),h.push(d)}}for(var i in b){var j=b[i];a:for(var k=j.length-1;k>0;k--){var l=j[k],m=a[l],n=j[k-1],o=a[n];b:for(var p=1;p>=-1;p-=2){for(var q=1==p,r=q?l+1:n-1,s=q?n:l,t=q?1:-1,u=q?m:o,v=q?o:m,w=f(u);r!=s;){var x=f(a[r]);if(r+=t,!e(w,x))continue b}v[2]=q?u[2].concat(v[2]):v[2].concat(u[2]),u[2]=[],c.push(v);continue a}}}return c}var e=a("./reorderable").canReorder,f=a("./extractor");b.exports=d},{"./extractor":31,"./reorderable":40}],35:[function(a,b,c){function d(a){return/\.|\*| :/.test(a)}function e(a){var b=j(a[1]);return b.indexOf("__")>-1||b.indexOf("--")>-1}function f(a){return a.replace(/--[^ ,>\+~:]+/g,"")}function g(a,b){var c=f(j(a[1]));for(var d in b){var e=b[d],g=f(j(e[1]));(g.indexOf(c)>-1||c.indexOf(g)>-1)&&delete b[d]}}function h(a,b){for(var c={},f=b.compatibility.selectors.adjacentSpace,h=a.length-1;h>=0;h--){var m=a[h];if("selector"==m[0]){m[2].length>0&&!b.semanticMerging&&d(j(m[1]))&&(c={}),m[2].length>0&&b.semanticMerging&&e(m)&&g(m,c);var n=i(m[2]),o=c[n];!o||l(b,j(m[1]))||l(b,j(o[1]))||(m[1]=m[2].length>0?k(o[1].concat(m[1]),!1,f):o[1].concat(m[1]),o[2]=[],c[n]=null),c[i(m[2])]=m}}}var i=a("../stringifier/one-time").body,j=a("../stringifier/one-time").selectors,k=a("./clean-up").selectors,l=a("./is-special");b.exports=h},{"../stringifier/one-time":45,"./clean-up":30,"./is-special":32}],36:[function(a,b,c){function d(a,b,c){var d,i={},j=[];for(d=a.length-1;d>=0;d--)if("selector"==a[d][0]&&0!==a[d][2].length){var k=f(a[d][1]);i[k]=[d].concat(i[k]||[]),2==i[k].length&&j.push(k)}for(d=j.length-1;d>=0;d--){var l=i[j[d]];a:for(var m=l.length-1;m>0;m--){var n=l[m-1],o=a[n],p=l[m],q=a[p];b:for(var r=1;r>=-1;r-=2){for(var s,t=1==r,u=t?n+1:p-1,v=t?p:n,w=t?1:-1,x=t?o:q,y=t?q:o,z=g(x);u!=v;){var A=g(a[u]);u+=w;var B=t?h(z,A):h(A,z);if(!B&&!t)continue a;if(!B&&t)continue b}t?(s=[x[2].length],Array.prototype.push.apply(x[2],y[2]),y[2]=x[2]):(s=[y[2].length],Array.prototype.push.apply(y[2],x[2])),e(y[1],y[2],s,!0,b,c),x[2]=[]}}}}var e=a("../properties/optimizer"),f=a("../stringifier/one-time").selectors,g=a("./extractor"),h=a("./reorderable").canReorder;b.exports=d},{"../properties/optimizer":19,"../stringifier/one-time":45,"./extractor":31,"./reorderable":40}],37:[function(a,b,c){function d(a,b,c){for(var d={},h=[],i=a.length-1;i>=0;i--){var j=a[i];if("selector"==j[0]&&0!==j[2].length)for(var m=k(j[1]),n=j[1].length>1&&!l(b,m),o=b.sourceMap?e(j[1]):j[1],p=n?[m].concat(o):[m],q=0,r=p.length;r>q;q++){var s=p[q];d[s]?h.push(s):d[s]=[],d[s].push({where:i,list:o,isPartial:n&&q>0,isComplex:n&&0===q})}}f(a,h,d,b,c),g(a,d,b,c)}function e(a){for(var b=[],c=0;ci;i++){var k=b[i],l=c[k];h(a,k,l,{filterOut:f,callback:g},d,e)}}function g(a,b,c,d){function e(a){return g.data[a].whereq;q++){var s=p[q],t=b[s];if(t.length<2)continue a;if(g.data=t,h(a,s,t,{filterOut:e,callback:f},c,d),j(o[o.length-1])!=j(o[0]))continue a}n[2]=o[0]}}}function h(a,b,c,d,e,f){for(var g=[],h=[],j=[],k=[],l=c.length-1,n=0;l>=0;l--)if(!d.filterOut(l,g)){var o=c[l].where,p=a[o],q=m(p[2]);g=g.concat(q),h.push(q),k.push(o)}for(l=0,n=h.length;n>l;l++)h[l].length>0&&j.push((j[l-1]||0)+h[l].length);i(b,g,j,!1,e,f);for(var r=k.length,s=g.length-1,t=r-1;t>=0;)if((0===t||g[s]&&h[t].indexOf(g[s])>-1)&&s>-1)s--;else{var u=g.splice(s+1);d.callback(a[k[t]],u,r,t),t--}}var i=a("../properties/optimizer"),j=a("../stringifier/one-time").body,k=a("../stringifier/one-time").selectors,l=a("./is-special"),m=a("../utils/clone-array");b.exports=d},{"../properties/optimizer":19,"../stringifier/one-time":45,"../utils/clone-array":59,"./is-special":32}],38:[function(a,b,c){function d(a){for(var b={},c=0,d=a.length;d>c;c++){var f=a[c];if("block"==f[0]){var g=f[1][0]+"%"+e(f[2]),h=b[g];h&&(h[2]=[]),b[g]=f}}}var e=a("../stringifier/one-time").all;b.exports=d},{"../stringifier/one-time":45}],39:[function(a,b,c){function d(a){for(var b,c,d,g,h={},i=[],j=0,k=a.length;k>j;j++)c=a[j],"selector"==c[0]&&(b=f(c[1]),h[b]&&1==h[b].length?i.push(b):h[b]=h[b]||[],h[b].push(j));for(j=0,k=i.length;k>j;j++){b=i[j],g=[];for(var l=h[b].length-1;l>=0;l--)c=a[h[b][l]],d=e(c[2]),g.indexOf(d)>-1?c[2]=[]:g.push(d)}}var e=a("../stringifier/one-time").body,f=a("../stringifier/one-time").selectors;b.exports=d},{"../stringifier/one-time":45}],40:[function(a,b,c){function d(a,b){for(var c=b.length-1;c>=0;c--)for(var d=a.length-1;d>=0;d--)if(!e(a[d],b[c]))return!1;return!0}function e(a,b){var c=a[0],d=a[1],e=a[2],o=a[5],p=a[6],q=b[0],r=b[1],s=b[2],t=b[5],u=b[6];return"font"==c&&"line-height"==q||"font"==q&&"line-height"==c?!1:m.test(c)&&m.test(q)?!1:e==s&&g(c)==g(q)&&f(c)^f(q)?!1:("border"!=e||!n.test(s)||"border"!=c&&c!=s)&&("border"!=s||!n.test(e)||"border"!=q&&q!=e)?"border"==e&&"border"==s&&c!=q&&(h(c)&&i(q)||i(c)&&h(q))?!1:e!=s?!0:c!=q||e!=s||d!=r&&!j(d,r)?c!=q&&e==s&&c!=e&&q!=s?!0:c!=q&&e==s&&d==r?!0:!(!u||!p||l(e)||l(s)||!k(t,o)):!0:!1}function f(a){return/^\-(?:moz|webkit|ms|o)\-/.test(a)}function g(a){return a.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function h(a){return"border-top"==a||"border-right"==a||"border-bottom"==a||"border-left"==a}function i(a){return"border-color"==a||"border-style"==a||"border-width"==a}function j(a,b){return f(a)&&f(b)&&a.split("-")[1]!=b.split("-")[2]}function k(a,b){for(var c=0,d=a.length;d>c;c++)for(var e=0,f=b.length;f>e;e++)if(a[c][0]==b[e][0])return!1;return!0}function l(a){return"font"==a||"line-height"==a||"list-style"==a}var m=/align\-items|box\-align|box\-pack|flex|justify/,n=/^border\-(top|right|bottom|left|color|style|width|radius)/;b.exports={canReorder:d,canReorderSingle:e}},{}],41:[function(a,b,c){function d(a,b){return a>b}function e(a,b){var c=m(a);return c[5]=c[5].concat(b[5]),c}function f(a,b){function c(a,b,c){for(var d=c.length-1;d>=0;d--){var e=c[d][0],g=f(b,e);if(B[g].length>1&&x(a,B[g])){m(g);break}}}function f(a,b){var c=n(b);return B[c]=B[c]||[],B[c].push([a,b]),c}function m(a){var b,c=a.split(E),d=[];for(var e in B){var f=e.split(E);for(b=f.length-1;b>=0;b--)if(c.indexOf(f[b])>-1){d.push(e);break}}for(b=d.length-1;b>=0;b--)delete B[d[b]]}function n(a){for(var b=[],c=0,d=a.length;d>c;c++)b.push(j(a[c][1]));return b.join(E)}function o(a){for(var c=[],d=[],e=a.length-1;e>=0;e--)l(b,j(a[e][1]))||(d.unshift(a[e]),a[e][2].length>0&&-1==c.indexOf(a[e])&&c.push(a[e]));return c.length>1?d:[]}function p(a,b){var d=b[0],e=b[1],f=b[4],g=d.length+e.length+1,h=[],i=[],j=o(z[f]);if(!(j.length<2)){var l=r(j,g,1),m=l[0];if(m[1]>0)return c(a,b,l);for(var n=m[0].length-1;n>=0;n--)h=m[0][n][1].concat(h),i.unshift(m[0][n]);h=k(h),u(a,[b],h,i)}}function q(a,b){return a[1]>b[1]}function r(a,b,c){var d=s(a,b,c,D-1);return d.sort(q)}function s(a,b,c,d){var e=[[a,t(a,b,c)]];if(a.length>2&&d>0)for(var f=a.length-1;f>=0;f--){var g=Array.prototype.slice.call(a,0);g.splice(f,1),e=e.concat(s(g,b,c,d-1))}return e}function t(a,b,c){for(var d=0,e=a.length-1;e>=0;e--)d+=a[e][2].length>c?j(a[e][1]).length:-1;return d-(a.length-1)*b+1}function u(b,c,d,e){var f,g,h,j,k=[];for(f=e.length-1;f>=0;f--){var l=e[f];for(g=l[2].length-1;g>=0;g--){var m=l[2][g];for(h=0,j=c.length;j>h;h++){var n=c[h],o=m[0][0],p=n[0],q=n[4];if(o==p&&i([m])==q){l[2].splice(g,1);break}}}}for(f=c.length-1;f>=0;f--)k.unshift(c[f][3]);var r=["selector",d,k];a.splice(b,0,r)}function v(a,b){var c=b[4],d=z[c];d&&d.length>1&&(w(a,b)||p(a,b))}function w(a,b){var c,d,e=[],f=[],g=b[4],h=o(z[g]);if(!(h.length<2)){a:for(var i in z){var j=z[i];for(c=h.length-1;c>=0;c--)if(-1==j.indexOf(h[c]))continue a;e.push(i)}if(e.length<2)return!1;for(c=e.length-1;c>=0;c--)for(d=A.length-1;d>=0;d--)if(A[d][4]==e[c]){f.unshift([A[d],h]);break}return x(a,f)}}function x(a,b){for(var c,d=0,e=[],f=b.length-1;f>=0;f--){c=b[f][0];var g=c[4];d+=g.length+(f>0?1:0),e.push(c)}var h=b[0][1],i=r(h,d,e.length)[0];if(i[1]>0)return!1;var j=[],l=[];for(f=i[0].length-1;f>=0;f--)j=i[0][f][1].concat(j),l.unshift(i[0][f]);for(j=k(j),u(a,e,j,l),f=e.length-1;f>=0;f--){c=e[f];var m=A.indexOf(c);delete z[c[4]],m>-1&&-1==C.indexOf(m)&&C.push(m)}return!0}function y(a,b,c){var d=a[0],e=b[0];if(d!=e)return!1;var f=b[4],g=z[f];return g&&g.indexOf(c)>-1}for(var z={},A=[],B={},C=[],D=2,E="%",F=a.length-1;F>=0;F--){var G,H,I,J,K,L=a[F];if("selector"==L[0])G=!0;else{if("block"!=L[0])continue;G=!1}var M=A.length,N=g(L);C=[];var O=[];for(H=N.length-1;H>=0;H--)for(I=H-1;I>=0;I--)if(!h(N[H],N[I])){O.push(H);break}for(H=N.length-1;H>=0;H--){var P=N[H],Q=!1;for(I=0;M>I;I++){var R=A[I];-1!=C.indexOf(I)||h(P,R)||y(P,R,L)||(v(F+1,R,L),-1==C.indexOf(I)&&(C.push(I),delete z[R[4]])),Q||(Q=P[0]==R[0]&&P[1]==R[1],Q&&(K=I))}if(G&&!(O.indexOf(H)>-1)){var S=P[4];z[S]=z[S]||[],z[S].push(L),Q?A[K]=e(A[K],P):A.push(P)}}for(C=C.sort(d),H=0,J=C.length;J>H;H++){var T=C[H]-H;A.splice(T,1)}}for(var U=a[0]&&"at-rule"==a[0][0]&&0===a[0][1][0].indexOf("@charset")?1:0;U-1&&(b=b.replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2").replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2")),b.replace(/(^|\s)0+([1-9])/g,"$1$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/\.([1-9]*)0+(\D|$)/g,function(a,b,c){return(b.length>0?".":"")+b+c}).replace(/(^|\D)0\.(\d)/g,"$1.$2"))}function f(a,b){return-1==b.indexOf("0deg")?b:b.replace(/\(0deg\)/g,"(0)")}function g(a,b){return a.indexOf("filter")>-1||-1==b.indexOf(" ")?b:(b=b.replace(/\s+/g," "),b.indexOf("calc")>-1&&(b=b.replace(/\) ?\/ ?/g,")/ ")),b.replace(/\( /g,"(").replace(/ \)/g,")").replace(/, /g,","))}function h(a,b,c){return-1===c.value||-1===b.indexOf(".")?b:b.replace(c.regexp,function(a,b){return Math.round(parseFloat(b)*c.multiplier)/c.multiplier+"px"}).replace(/(\d)\.($|\D)/g,"$1$2")}function i(a,b,c){return/^(?:\-moz\-calc|\-webkit\-calc|calc)\(/.test(b)?b:"flex"==a||"-ms-flex"==a||"-webkit-flex"==a||"flex-basis"==a||"-webkit-flex-basis"==a?b:b.indexOf("%")>0&&("height"==a||"max-height"==a)?b:b.replace(c,"$10$2").replace(c,"$10$2")}function j(a){var b,c=a.value;4==c.length&&"0"===c[0][0]&&"0"===c[1][0]&&"0"===c[2][0]&&"0"===c[3][0]&&(b=a.name.indexOf("box-shadow")>-1?2:1),b&&(a.value.splice(b),a.dirty=!0)}function k(a,b,c){return-1===b.indexOf("#")&&-1==b.indexOf("rgb")&&-1==b.indexOf("hsl")?B.shorten(b):(b=b.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(a,b,c,d){return new z(b,c,d).toHex()}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(a,b,c,d){return new A(b,c,d).toHex()}).replace(/(^|[^='"])#([0-9a-f]{6})/gi,function(a,b,c){return c[0]==c[1]&&c[2]==c[3]&&c[4]==c[5]?b+"#"+c[0]+c[2]+c[4]:b+"#"+c}).replace(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(a,b,c){var d=c.split(","),e="hsl"==b&&3==d.length||"hsla"==b&&4==d.length||"rgb"==b&&3==d.length&&c.indexOf("%")>0||"rgba"==b&&4==d.length&&c.indexOf("%")>0;return e?(-1==d[1].indexOf("%")&&(d[1]+="%"),-1==d[2].indexOf("%")&&(d[2]+="%"),b+"("+d.join(",")+")"):a}),c.colors.opacity&&-1==a.indexOf("background")&&(b=b.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(a){return y(b,",").pop().indexOf("gradient(")>-1?a:"transparent"})),B.shorten(b))}function l(a,b,c){return L.test(b)?b.replace(L,function(a,b){var d,e=parseInt(b);return 0===e?a:(c.properties.shorterLengthUnits&&c.units.pt&&3*e%4===0&&(d=3*e/4+"pt"),c.properties.shorterLengthUnits&&c.units.pc&&e%16===0&&(d=e/16+"pc"),c.properties.shorterLengthUnits&&c.units["in"]&&e%96===0&&(d=e/96+"in"),d&&(d=a.substring(0,a.indexOf(b))+d),d&&d.length-1||b[1]&&I.indexOf(b[1][0])>-1||b[2]&&I.indexOf(b[2][0])>-1;if(!c&&"/"!=b[1]){var d=0;if("normal"==b[0][0]&&d++,b[1]&&"normal"==b[1][0]&&d++,b[2]&&"normal"==b[2][0]&&d++,!(d>1)){var e;K.indexOf(b[0][0])>-1?e=0:b[1]&&K.indexOf(b[1][0])>-1?e=1:b[2]&&K.indexOf(b[2][0])>-1?e=2:J.indexOf(b[0][0])>-1?e=0:b[1]&&J.indexOf(b[1][0])>-1?e=1:b[2]&&J.indexOf(b[2][0])>-1&&(e=2),void 0!==e&&(a.value[e][0]=N["font-weight"](b[e][0]),a.dirty=!0)}}}function q(a,b){for(var c,r,s,t=C(a),u=0,v=t.length;v>u;u++)if(c=t[u],r=c.name,c.hack&&(("star"==c.hack||"underscore"==c.hack)&&!b.compatibility.properties.iePrefixHack||"backslash"==c.hack&&!b.compatibility.properties.ieSuffixHack||"bang"==c.hack&&!b.compatibility.properties.ieBangHack)&&(c.unused=!0),0===r.indexOf("padding")&&(d(c,0)||d(c,1)||d(c,2)||d(c,3))&&(c.unused=!0),!c.unused)if(c.variable)c.block&&q(c.value[0],b);else{for(var w=0,x=c.value.length;x>w;w++)s=c.value[w][0],N[r]&&(s=N[r](s,w,x)),s=g(r,s),s=h(r,s,b.precision),s=l(r,s,b.compatibility),s=m(r,s),s=e(r,s),b.compatibility.properties.zeroUnits&&(s=f(r,s),s=i(r,s,b.unitsRegexp)),b.compatibility.properties.colors&&(s=k(r,s,b.compatibility)),c.value[w][0]=s;j(c),0===r.indexOf("border")&&r.indexOf("radius")>0?n(c):"filter"==r?o(c):"font"==r&&p(c)}D(t,!0),E(t)}function r(a){for(var b=!1,c=0,d=a.length;d>c;c++){var e=a[c];"at-rule"==e[0]&&H.test(e[1][0])&&(b||-1==e[1][0].indexOf(G)?(a.splice(c,1),c--,d--):(b=!0,a.splice(c,1),a.unshift(["at-rule",[e[1][0].replace(H,G)]])))}}function s(a){var b=["px","em","ex","cm","mm","in","pt","pc","%"],c=["ch","rem","vh","vm","vmax","vmin","vw"];return c.forEach(function(c){a.compatibility.units[c]&&b.push(c)}),new RegExp("(^|\\s|\\(|,)0(?:"+b.join("|")+")(\\W|$)","g")}function t(a){var b={};return b.value=void 0===a.roundingPrecision?F:a.roundingPrecision,b.multiplier=Math.pow(10,b.value),b.regexp=new RegExp("(\\d*\\.\\d{"+(b.value+1)+",})px","g"),b}function u(a,b){var c=b.compatibility.selectors.ie7Hack,d=b.compatibility.selectors.adjacentSpace,e=b.compatibility.properties.spaceAfterClosingBrace,f=!1;b.unitsRegexp=s(b),b.precision=t(b);for(var g=0,h=a.length;h>g;g++){var i=a[g];switch(i[0]){case"selector":i[1]=v(i[1],!c,d),q(i[2],b);break;case"block":w(i[1],e),u(i[2],b);break;case"flat-block":w(i[1],e),q(i[2],b);break;case"at-rule":x(i[1]),f=!0}(0===i[1].length||i[2]&&0===i[2].length)&&(a.splice(g,1),g--,h--)}f&&r(a)}var v=a("./clean-up").selectors,w=a("./clean-up").block,x=a("./clean-up").atRule,y=a("../utils/split"),z=a("../colors/rgb"),A=a("../colors/hsl"),B=a("../colors/hex-name-shortener"),C=a("../properties/wrap-for-optimizing").all,D=a("../properties/restore-from-optimizing"),E=a("../properties/remove-unused"),F=2,G="@charset",H=new RegExp("^"+G,"i"),I=["100","200","300","400","500","600","700","800","900"],J=["normal","bold","bolder","lighter"],K=["bold","bolder","lighter"],L=/(?:^|\s|\()(-?\d+)px/,M=/^(\-?[\d\.]+)(m?s)$/,N={background:function(a,b,c){return 0!==b||1!=c||"none"!=a&&"transparent"!=a?a:"0 0"},"font-weight":function(a){return"normal"==a?"400":"bold"==a?"700":a},outline:function(a,b,c){return 0===b&&1==c&&"none"==a?"0":a}};b.exports=u},{"../colors/hex-name-shortener":9,"../colors/hsl":10,"../colors/rgb":11,"../properties/remove-unused":22,"../properties/restore-from-optimizing":23,"../properties/wrap-for-optimizing":28,"../utils/split":66,"./clean-up":30}],43:[function(a,b,c){function d(a,b,c){if(!c&&-1==a.indexOf("\n"))return 0===a.indexOf(i)?a:void(b.column+=a.length);for(var d=0,e=a.split("\n"),f=e.length,g=0;;){if(d==f-1)break;var h=e[d];if(/\S/.test(h))break;g+=h.length+1,d++}return b.line+=d,b.column=d>0?0:b.column,b.column+=/^(\s)*/.exec(e[d])[0].length,a.substring(g).trimLeft()}function e(a,b,c){var d=a.source||b.source;return d&&c.resolvePath?c.resolvePath(b.source,d):d}function f(a,b,c){var d={line:b.line,column:b.column,source:b.source},f=null,g=b.sourceMapTracker.isTracking(d.source)?b.sourceMapTracker.originalPositionFor(d,a,c||0):{};if(d.line=g.line||d.line,d.column=g.column||d.column,d.source=g.sourceResolved?g.source:e(g,d,b),b.sourceMapInlineSources){var h=b.sourceMapTracker.sourcesContentFor(b.source);f=h&&h[d.source]?h:b.sourceReader.sourceAt(b.source)}return f?[d.line,d.column,d.source,f]:[d.line,d.column,d.source]}function g(a,b){for(var c=a.split("\n"),d=0,e=c.length;e>d;d++){var f=c[d],g=0;for(d>0&&(b.line++,b.column=0);;){var h=f.indexOf(i,g);if(-1==h){b.column+=f.substring(g).length;break}b.column+=h-g,g+=h-g;var j=f.substring(h,f.indexOf("__",h+1)+2),k=j.substring(j.indexOf("(")+1,j.indexOf(")")).split(",");b.line+=~~k[0],b.column=(0===~~k[0]?b.column:0)+~~k[1],g+=j.length}}}function h(a,b,c,e){var h=d(a,b,c),i=c?f(h,b,e):[];return h&&g(h,b),i}var i="__ESCAPED_";b.exports=h},{}],44:[function(a,b,c){function d(a,b){for(var c=b,d=a.length;d>c;c++)if("string"!=typeof a[c])return!0;return!1}function e(a){return"background"==a[0][0]||"transform"==a[0][0]||"src"==a[0][0]}function f(a,b){return 0===a[b][0].indexOf("var(")}function g(a,b){return")"==a[b][0][a[b][0].length-1]||0===a[b][0].indexOf("__ESCAPED_URL_CLEAN_CSS")}function h(a,b){return","==a[b][0]}function i(a,b){return"/"==a[b][0]}function j(a,b){return a[b+1]&&","==a[b+1][0]}function k(a,b){return a[b+1]&&"/"==a[b+1][0]}function l(a){return"filter"==a[0][0]||"-ms-filter"==a[0][0]}function m(a,b,c){return(!c.spaceAfterClosingBrace&&e(a)||f(a,b))&&g(a,b)||k(a,b)||i(a,b)||j(a,b)||h(a,b)}function n(a,b){for(var c=b.store,d=0,e=a.length;e>d;d++)c(a[d],b),e-1>d&&c(",",b)}function o(a,b){for(var c=0,d=a.length;d>c;c++)p(a,c,c==d-1,b)}function p(a,b,c,d){var e=d.store,f=a[b];"string"==typeof f?e(f,d):f[0]==v?q(f[1],c,d):(e(f[0],d),e(":",d),r(a,b,c,d))}function q(a,b,c){var d=c.store;d(a,c),b||d(w,c)}function r(a,b,c,e){var f=e.store,g=a[b],h=0===g[0][0].indexOf("--");if(h&&s(g[1]))return f("{",e),o(g[1],e),void f("};",e);for(var i=1,j=g.length;j>i;i++)f(g[i],e),j-1>i&&(l(g)||!m(g,i,e))?f(" ",e):i==j-1&&!c&&d(a,b+1)&&f(w,e)}function s(a){for(var b=0,c=a.length;c>b;b++)if(a[b][0]==v||Array.isArray(a[b][0]))return!0;return!1}function t(a,b){for(var c=b.keepBreaks?u:"",d=b.store,e=0,f=a.length;f>e;e++){var g=a[e];switch(g[0]){case"at-rule":case"text":d(g[1][0],b),d(c,b);break;case"block":n([g[1]],b),d("{",b),t(g[2],b),d("}",b),d(c,b);break;case"flat-block":n([g[1]],b),d("{",b),o(g[2],b),d("}",b),d(c,b);break;default:n(g[1],b),d("{",b),o(g[2],b),d("}",b),d(c,b)}}}var u=a("os").EOL,v="at-rule",w=";";b.exports={all:t,body:o,property:p,selectors:n,value:r}},{os:75}],45:[function(a,b,c){function d(a,b){b.output.push("string"==typeof a?a:a[0])}function e(){return{output:[],store:d}}function f(a){var b=e();return k.all(a,b),b.output.join("")}function g(a){var b=e();return k.body(a,b),b.output.join("")}function h(a,b){var c=e();return k.property(a,b,!0,c),c.output.join("")}function i(a){var b=e();return k.selectors(a,b),b.output.join("")}function j(a,b){var c=e();return k.value(a,b,!0,c),c.output.join("")}var k=a("./helpers");b.exports={all:f,body:g,property:h,selectors:i,value:j}},{"./helpers":44}],46:[function(a,b,c){function d(a,b){b.output.push("string"==typeof a?a:a[0])}function e(a,b,c){var e={keepBreaks:b.keepBreaks,output:[],spaceAfterClosingBrace:b.compatibility.properties.spaceAfterClosingBrace,store:d};return f(a,e,!1),{styles:c(e.output.join("")).trim()}}var f=a("./helpers").all;b.exports=e},{"./helpers":44}],47:[function(a,b,c){(function(c){function d(a,b){var c="string"==typeof a,d=c?a:a[0];d.indexOf("_")>-1&&(d=b.restore(d,e(b.output))),f(d,c?null:a,b),b.output.push(d)}function e(a){for(var b=[],c=a.length-1;c>=0;c--){var d=a[c];if(b.unshift(d),"{"==d||";"==d)break}return b.join("")}function f(a,b,c){b&&g(b,c);var d=a.split("\n");c.line+=d.length-1,c.column=d.length>1?0:c.column+d.pop().length}function g(a,b){var c=a[a.length-1];if(Array.isArray(c))for(var d=0,e=c.length;e>d;d++)h(c[d],b)}function h(a,b){var c=a[2]||m;l&&(c=c.replace(/\\/g,"/")),b.outputMap.addMapping({generated:{line:b.line,column:b.column},source:c,original:{line:a[0],column:a[1]}}),a[3]&&b.outputMap.setSourceContent(c,a[3][a[2]])}function i(a,b,c,e){var f={column:0,inputMapTracker:e,keepBreaks:b.keepBreaks,line:1,output:[],outputMap:new j,restore:c,sourceMapInlineSources:b.sourceMapInlineSources,spaceAfterClosingBrace:b.compatibility.properties.spaceAfterClosingBrace,store:d};return k(a,f,!1),{sourceMap:f.outputMap,styles:f.output.join("").trim()}}var j=a("source-map").SourceMapGenerator,k=a("./helpers").all,l="win32"==c.platform,m="$stdin";b.exports=i}).call(this,a("_process"))},{"./helpers":44,_process:78,"source-map":110}],48:[function(a,b,c){function d(a,b,c,d){this.comments=new g("COMMENT"),this.specialComments=new g("COMMENT_SPECIAL"),this.context=a,this.restored=0,this.keepAll="*"==b,this.keepOne="1"==b||1===b,this.keepBreaks=c,this.saveWaypoints=d}function e(a){var b=[];return new h(a).each(function(a,c,d){b.push([d,d+a.length])}),function(a){for(var c=0,d=b.length;d>c;c++)if(b[c][0]a)return!0;return!1}}function f(a,b,c,d){for(var e=[],f=0;f0?e.join("")+b.substring(f,b.length):b}var g=a("./escape-store"),h=a("../utils/quote-scanner"),i="/*!",j="/*",k="*/",l=a("os").EOL;d.prototype.escape=function(a){for(var b,c,d,f=[],g=0,h=0,m=0,n=0,o=e(a),p=this.saveWaypoints;h0?q.substring(c+l.length).length:n+q.length),p||r){var s=p?[b,d]:null,t=r?this.specialComments.store(q,s):this.comments.store(q,s);f.push(t)}p&&(n=d+1),m=h+k.length}return f.length>0?f.join("")+a.substring(m,a.length):a},d.prototype.restore=function(a){return a=f(this,a,this.comments,!1),a=f(this,a,this.specialComments,!0)},b.exports=d},{"../utils/quote-scanner":63,"./escape-store":49,os:75}],49:[function(a,b,c){function d(a){this.placeholderRoot="ESCAPED_"+a+"_CLEAN_CSS",this.placeholderToData={},this.dataToPlaceholder={},this.count=0,this.restoreMatcher=new RegExp(this.placeholderRoot+"(\\d+)")}var e="__";d.prototype._nextPlaceholder=function(a){return{index:this.count,value:e+this.placeholderRoot+this.count++ +a+e}},d.prototype.store=function(a,b){var c=b?"("+b.join(",")+")":"",d=this.dataToPlaceholder[a];if(!d){var e=this._nextPlaceholder(c);d=e.value,this.placeholderToData[e.index]=a,this.dataToPlaceholder[a]=e.value; -}return b&&(d=d.replace(/\([^\)]+\)/,c)),d},d.prototype.nextMatch=function(a,b){var c={};return c.start=a.indexOf(this.placeholderRoot,b)-e.length,c.end=a.indexOf(e,c.start+e.length)+e.length,c.start>-1&&c.end>-1&&(c.match=a.substring(c.start,c.end)),c},d.prototype.restore=function(a){var b=this.restoreMatcher.exec(a)[1];return this.placeholderToData[b]},b.exports=d},{}],50:[function(a,b,c){function d(a,b){for(var c=b+g.length,d=0,e=!1,f=!1;;){var j=a[c++];if(e?e="'"!=j&&'"'!=j:(e="'"==j||'"'==j,j==h&&d++,j==i&&d--,j==k&&(f=!0),j!=l||f||1!=d||(c--,d--)),0===d&&j==i)break;if(!j){c=a.substring(0,c).lastIndexOf(l);break}}return c}function e(a){this.expressions=new f("EXPRESSION"),this.saveWaypoints=a}var f=a("./escape-store"),g="expression",h="(",i=")",j=g+h,k="{",l="}",m=a("os").EOL;e.prototype.escape=function(a){for(var b,c,e,f=0,g=0,h=0,i=[],k=0,l=this.saveWaypoints;g0?n.substring(c+m.length).length:k+n.length);var o=l?[b,e]:null,p=this.expressions.store(n,o);i.push(a.substring(h,f)),i.push(p),l&&(k=e+1),h=g}return i.length>0?i.join("")+a.substring(h,a.length):a},e.prototype.restore=function(a){for(var b=[],c=0;c0?b.join("")+a.substring(c,a.length):a},b.exports=e},{"./escape-store":49,os:75}],51:[function(a,b,c){function d(a){this.matches=new f("FREE_TEXT"),this.saveWaypoints=a}function e(a,b,c,d){var e=b;c&&(e=c+b.substring(0,b.indexOf("__ESCAPED_FREE_TEXT_CLEAN_CSS")),d=e.length);var f=e.lastIndexOf(";",d),g=e.lastIndexOf("{",d),h=0;h=f>-1&&g>-1?Math.max(f,g):-1==f?g:f;var i=e.substring(h+1,d);if(/\[[\w\d\-]+[\*\|\~\^\$]?=$/.test(i)&&(a=a.replace(/\\\n|\\\r\n/g,"").replace(/\n|\r\n/g,"")),/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/.test(a)&&!/format\($/.test(i)){var j=/^(font|font\-family):/.test(i),k=/\[[\w\d\-]+[\*\|\~\^\$]?=$/.test(i),l=/@(-moz-|-o-|-webkit-)?keyframes /.test(i),m=/^(-moz-|-o-|-webkit-)?animation(-name)?:/.test(i);(j||k||l||m)&&(a=a.substring(1,a.length-1))}return a}var f=a("./escape-store"),g=a("../utils/quote-scanner"),h=a("os").EOL;d.prototype.escape=function(a){var b,c,d,e,f=this,i=this.saveWaypoints;return new g(a).each(function(a,g){i&&(b=a.split(h).length-1,c=a.lastIndexOf(h),d=c>0?a.substring(c+h.length).length:a.length,e=[b,d]);var j=f.matches.store(a,e);g.push(j)})},d.prototype.restore=function(a,b){for(var c=[],d=0;d0?c.join("")+a.substring(d,a.length):a},b.exports=d},{"../utils/quote-scanner":63,"./escape-store":49,os:75}],52:[function(a,b,c){function d(a,b,c){this.urls=new f("URL"),this.context=a,this.saveWaypoints=b,this.keepUrlQuotes=c}function e(a,b){return a=a.replace(/^url/gi,"url").replace(/\\?\n|\\?\r\n/g,"").replace(/(\s{2,}|\s)/g," ").replace(/^url\((['"])? /,"url($1").replace(/ (['"])?\)$/,"$1)"),b||/^['"].+['"]$/.test(a)||/url\(.*[\s\(\)].*\)/.test(a)||/url\(['"]data:[^;]+;charset/.test(a)||(a=a.replace(/["']/g,"")),a}var f=a("./escape-store"),g=a("../urls/reduce"),h=a("os").EOL;d.prototype.escape=function(a){var b,c,d,e=this.saveWaypoints,f=this;return g(a,this.context,function(a,g){e&&(b=a.split(h).length-1,c=a.lastIndexOf(h),d=c>0?a.substring(c+h.length).length:a.length);var i=f.urls.store(a,e?[b,d]:null);g.push(i)})},d.prototype.restore=function(a){for(var b=[],c=0;c0?b.join("")+a.substring(c,a.length):a},b.exports=d},{"../urls/reduce":57,"./escape-store":49,os:75}],53:[function(a,b,c){function d(a){return a[0]}function e(){}function f(a,b,c,d){for(var f=c?/^__ESCAPED_COMMENT_/:/__ESCAPED_COMMENT_/,g=c?d.track:e;f.test(a);){var h=a.indexOf("__"),i=a.indexOf("__",h+1)+2,j=a.substring(h,i);a=a.substring(0,h)+a.substring(i),g(j),b.push(j)}return a}function g(a,b,c){return f(a,b,!0,c)}function h(a,b,c){return f(a,b,!1,c)}function i(a,b,c){for(var d=0,e=a.length;e>d;d++)c.track(a[d]),b.push(a[d])}function j(a,b,c){var e=[],f=[],o=/[ ,\/]/;if("string"!=typeof a)return[];a.indexOf(")")>-1&&(a=a.replace(/\)([^\s_;:,\)])/g,c.sourceMap?") __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__ $1":") $1")),a.indexOf("ESCAPED_URL_CLEAN_CSS")>-1&&(a=a.replace(/(ESCAPED_URL_CLEAN_CSS[^_]+?__)/g,c.sourceMap?"$1 __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__ ":"$1 "));for(var p=k(a,";",!1,"{","}"),q=0,r=p.length;r>q;q++){var s=p[q],t=s.indexOf(":"),u="@"==s.trim()[0];if(u)c.track(s),e.push([n,s.trim()]);else if(-1!=t)if(s.indexOf("{")>0&&s.indexOf("{")-1&&(w=g(w,e,c)),w.indexOf("__ESCAPED_COMMENT")>-1&&(w=h(w,f,c)),v.push([w.trim()].concat(c.track(w,!0))),c.track(":"),i(f,e,c);var x=s.indexOf("{"),y=0===w.trim().indexOf("--");if(y&&x>0){var z=s.substring(t+1,x+1),A=s.substring(s.indexOf("}")),B=s.substring(x+1,s.length-A.length);c.track(z),v.push(j(B,b,c)),e.push(v),c.track(A),c.track(r-1>q?";":"")}else{var C=k(s.substring(t+1),o,!0);if(1!=C.length||""!==C[0]){for(var D=0,E=C.length;E>D;D++){var F=C[D],G=F.trim();if(0!==G.length){var H=G[G.length-1],I=G.length>1&&(H==l||H==m);if(I&&(G=G.substring(0,G.length-1)),G.indexOf("__ESCAPED_COMMENT_CLEAN_CSS(0,-")>-1)c.track(G);else if(f=[],G.indexOf("__ESCAPED_COMMENT")>-1&&(G=g(G,e,c)),G.indexOf("__ESCAPED_COMMENT")>-1&&(G=h(G,f,c)),0!==G.length){var J=v.length-1;"important"!=G||"!"!=v[J][0]?"!important"==G||"important"==G&&"!"==v[J][0][v[J][0].length-1]?(c.track(G),v[J][0]+=G):(v.push([G].concat(c.track(F,!0))),i(f,e,c),I&&(v.push([H]),c.track(H))):(c.track(G),v[J-1][0]+="!important",v.pop())}else i(f,e,c)}}r-1>q&&c.track(";"),e.push(v)}else c.warnings.push("Empty property '"+w+"' inside '"+b.filter(d).join(",")+"' selector. Ignoring.")}}else c.track(s),s.indexOf("__ESCAPED_COMMENT_SPECIAL")>-1&&e.push(s.trim())}return e}var k=a("../utils/split"),l=",",m="/",n="at-rule";b.exports=j},{"../utils/split":66}],54:[function(a,b,c){function d(a,b){for(var c,d=[],f=e(a,","),g=0,h=f.length;h>g;g++)c=b.track(f[g],!0,g),b.track(","),d.push([f[g].trim()].concat(c));return d}var e=a("../utils/split");b.exports=d},{"../utils/split":66}],55:[function(a,b,c){function d(a,b){var c=l(e(a),"}",!0,"{","}");if(0===c.length)return[];var d={chunk:c.shift(),chunks:c,column:0,cursor:0,line:1,mode:"top",resolvePath:b.options.explicitTarget?f(b.options.root,b.options.target):null,source:void 0,sourceMap:b.options.sourceMap,sourceMapInlineSources:b.options.sourceMapInlineSources,sourceMapTracker:b.inputSourceMapTracker,sourceReader:b.sourceReader,sourceTracker:b.sourceTracker,state:[],track:b.options.sourceMap?function(a,b,c){return[[k(a,d,b,c)]]}:function(){return[]},warnings:b.warnings};return h(d)}function e(a){return a.replace(/\r\n/g,"\n")}function f(a,b){var c=m.relative(a,b);return function(a,b){return a!=b?m.normalize(m.join(m.relative(c,m.dirname(a)),b)):b}}function g(a){var b,c=a.mode,d=a.chunk;if(d.length==a.cursor){if(0===a.chunks.length)return null;a.chunk=d=a.chunks.shift(),a.cursor=0}if("body"==c)return"}"==d[a.cursor]?[a.cursor,"bodyEnd"]:-1==d.indexOf("}",a.cursor)?null:(b=a.cursor+l(d.substring(a.cursor-1),"}",!0,"{","}")[0].length-2,[b,"bodyEnd"]);var e=d.indexOf("@",a.cursor),f=d.indexOf("__ESCAPED_",a.cursor),g=d.indexOf("{",a.cursor),h=d.indexOf("}",a.cursor);return f>-1&&/\S/.test(d.substring(a.cursor,f))&&(f=-1),b=e,(-1==b||f>-1&&b>f)&&(b=f),(-1==b||g>-1&&b>g)&&(b=g),(-1==b||h>-1&&b>h)&&(b=h),-1!=b?f===b?[b,"escape"]:g===b?[b,"bodyStart"]:h===b?[b,"bodyEnd"]:e===b?[b,"special"]:void 0:void 0}function h(a){for(var b,c,d=a.chunk,e=[];;){var f=g(a);if(!f){var k=a.chunk.substring(a.cursor);k.trim().length>0&&("body"==a.mode?a.warnings.push("Missing '}' after '"+k+"'. Ignoring."):e.push(["text",[k]]),a.cursor+=k.length);break}var l,m,o=f[0],p=f[1];if(d=a.chunk,a.cursor!=o&&"bodyEnd"!=p){var q=d.substring(a.cursor,o),r=/^\s+/.exec(q);r&&(a.cursor+=r[0].length,a.track(r[0]))}if("special"==p){var s=d.indexOf("{",o),t=d.indexOf(";",o),u=t>-1&&(-1==s||s>t),v=-1==s&&-1==t;if(v)a.warnings.push("Broken declaration: '"+d.substring(a.cursor)+"'."),a.cursor=d.length;else if(u)l=d.indexOf(";",o+1),c=d.substring(a.cursor,l+1),e.push(["at-rule",[c].concat(a.track(c,!0))]),a.track(";"),a.cursor=l+1;else{l=d.indexOf("{",o+1),c=d.substring(a.cursor,l);var w=c.trim(),x=n.test(w);m=a.mode,a.cursor=l+1,a.mode=x?"body":"block",b=[x?"flat-block":"block"],b.push([w].concat(a.track(c,!0))),a.track("{"),b.push(h(a)),"string"==typeof b[2]&&(b[2]=i(b[2],[[w]],a)),a.mode=m,a.track("}"),e.push(b)}}else if("escape"==p){l=d.indexOf("__",o+1);var y=d.substring(a.cursor,l+2),z=!!a.sourceTracker.nextStart(y),A=!!a.sourceTracker.nextEnd(y);if(z)a.track(y),a.state.push({source:a.source,line:a.line,column:a.column}),a.source=a.sourceTracker.nextStart(y).filename,a.line=1,a.column=0;else if(A){var B=a.state.pop();a.source=B.source,a.line=B.line,a.column=B.column,a.track(y)}else 0===y.indexOf("__ESCAPED_COMMENT_SPECIAL")&&e.push(["text",[y]]),a.track(y);a.cursor=l+2}else if("bodyStart"==p){var C=j(d.substring(a.cursor,o),a);m=a.mode,a.cursor=o+1,a.mode="body";var D=i(h(a),C,a);a.track("{"),a.mode=m,e.push(["selector",C,D])}else if("bodyEnd"==p){if("top"==a.mode){var E=a.cursor,F="}"==d[a.cursor]?"Unexpected '}' in '"+d.substring(E-20,E+20)+"'. Ignoring.":"Unexpected content: '"+d.substring(E,o+1)+"'. Ignoring.";a.warnings.push(F),a.cursor=o+1;continue}"block"==a.mode&&a.track(d.substring(a.cursor,o)),"block"!=a.mode&&(e=d.substring(a.cursor,o)),a.cursor=o+1;break}}return e}var i=a("./extract-properties"),j=a("./extract-selectors"),k=a("../source-maps/track"),l=a("../utils/split"),m=a("path"),n=/(@(font\-face|page|\-ms\-viewport|\-o\-viewport|viewport|counter\-style)|\\@.+?)/;b.exports=d},{"../source-maps/track":43,"../utils/split":66,"./extract-properties":53,"./extract-selectors":54,path:76}],56:[function(a,b,c){function d(a,b){var c={absolute:b.options.explicitRoot,relative:!b.options.explicitRoot&&b.options.explicitTarget,fromBase:b.options.relativeTo};return c.absolute||c.relative?(c.absolute&&b.options.explicitTarget&&b.warnings.push("Both 'root' and output file given so rebasing URLs as absolute paths"),c.absolute&&(c.toBase=e.resolve(b.options.root)),c.relative&&(c.toBase=e.resolve(b.options.target)),c.fromBase&&c.toBase?f(a,c,b):a):a}var e=a("path"),f=a("./rewrite");b.exports=d},{"./rewrite":58,path:76}],57:[function(a,b,c){function d(a,b,c){for(var d=0,e=0,f=0,k=0,l=!1,m=0,n=[],o=a.indexOf(h)>-1;f-1&&(d=e),'"'==a[d+g.length])f=a.indexOf('"',d+g.length+1);else if("'"==a[d+g.length])f=a.indexOf("'",d+g.length+1);else if(l=0===a.substring(d+g.length).trim().indexOf(j),f=a.indexOf(i,d),l)for(;;){if(k=a.indexOf(i,f+1),-1==k||/[\s\{\};]/.test(a.substring(f,k)))break;f=k}-1==f?(f=a.indexOf("}",d),-1==f?f=a.length:f--,b.warnings.push("Broken URL declaration: '"+a.substring(d,f+1)+"'.")):a[f]!=i&&(f=a.indexOf(i,f)),n.push(a.substring(m,d));var p=a.substring(d,f+1);c(p,n),m=f+1}return n.length>0?n.join("")+a.substring(m,a.length):a}function e(a,b,c){for(var d,e,f=0,g=0,h=0,i=0,j=0,n=[],o=0,p=0,q="'",r='"';i-1&&g>-1&&f>g&&(f=g),o=a.indexOf(q,f),p=a.indexOf(r,f),o>-1&&p>-1&&p>o)h=o,e=q;else if(o>-1&&p>-1&&o>p)h=p,e=r;else if(o>-1)h=o,e=q;else{if(!(p>-1))break;h=p,e=r}if(n.push(a.substring(j,h)),i=a.indexOf(e,h+1),d=a.substring(f,i),-1==i||/^@import\s+(url\(|__ESCAPED)/i.test(d)||m.test(d)){j=h;break}var s=a.substring(h,i+1);c(s,n),j=i+1}return n.length>0?n.join("")+a.substring(j,a.length):a}function f(a,b,c){return a=d(a,b,c),a=e(a,b,c)}var g="url(",h="URL(",i=")",j="data:",k="@import",l="@IMPORT",m=/\*\//;b.exports=f},{}],58:[function(a,b,c){(function(c){function d(a){return"/"==a[0]}function e(a){return"#"==a[0]}function f(a){return 0===a.indexOf("__ESCAPED_URL_CLEAN_CSS__")}function g(a){return/^\w+:\w+/.test(a)}function h(a){return/^[^:]+?:\/\//.test(a)||0===a.indexOf("//")}function i(a,b){return s.parse(a).protocol==s.parse(b).protocol&&s.parse(a).host==s.parse(b).host}function j(a){return a.lastIndexOf(".css")===a.length-4}function k(a){return 0===a.indexOf("data:")}function l(a,b){return r.resolve(r.join(b.fromBase||"",a)).replace(b.toBase,"")}function m(a,b){return r.relative(b.toBase,r.join(b.fromBase||"",a))}function n(a){return u?a.replace(/\\/g,"/"):a}function o(a,b){return d(a)||e(a)||f(a)||g(a)?a:b.rebase!==!1||j(a)?!b.imports&&j(a)?a:k(a)?"'"+a+"'":h(a)&&!h(b.toBase)?a:h(a)&&!i(a,b.toBase)?a:!h(a)&&h(b.toBase)?s.resolve(b.toBase,a):n(b.absolute?l(a,b):m(a,b)):a}function p(a){return a.indexOf("'")>-1?'"':a.indexOf('"')>-1?"'":/\s/.test(a)||/[\(\)]/.test(a)?"'":""}function q(a,b,c){return t(a,c,function(a,c){var d,e=a.replace(/^(url\()?\s*['"]?|['"]?\s*\)?$/g,""),f=a.match(/^(url\()?\s*(['"]).*?(['"])\s*\)?$/);d=b.urlQuotes&&f&&f[2]===f[3]?f[2]:p(e),c.push("url("+d+o(e,b)+d+")")})}var r=a("path"),s=a("url"),t=a("./reduce"),u="win32"==c.platform;b.exports=q}).call(this,a("_process"))},{"./reduce":57,_process:78,path:76,url:140}],59:[function(a,b,c){function d(a){for(var b=a.slice(0),c=0,e=b.length;e>c;c++)Array.isArray(b[c])&&(b[c]=d(b[c]));return b}b.exports=d},{}],60:[function(a,b,c){function d(a){this.source=a||{}}function e(a,b){for(var c in a){var d=a[c];"object"!=typeof d||g.isRegExp(d)?b[c]=c in b?b[c]:d:b[c]=e(d,b[c]||{})}return b}function f(a){if("object"==typeof a)return a;if(!/[,\+\-]/.test(a))return h[a]||h["*"];var b=a.split(","),c=b[0]in h?h[b.shift()]:h["*"];return a={},b.forEach(function(b){var c="+"==b[0],d=b.substring(1).split("."),e=d[0],f=d[1];a[e]=a[e]||{},a[e][f]=c}),e(c,a)}var g=a("util"),h={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!1,iePrefixHack:!1,ieSuffixHack:!0,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:dir\([a-z-]*\)|:first(?![a-z-])|:fullscreen|:left|:read-only|:read-write|:right|:placeholder|:host|::content|\/deep\/|::shadow)/},units:{ch:!0,"in":!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}},ie8:{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!1,iePrefixHack:!0,ieSuffixHack:!0,merging:!1,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not|:placeholder|:host|::content|\/deep\/|::shadow)/},units:{ch:!1,"in":!0,pc:!0,pt:!0,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}},ie7:{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!0,iePrefixHack:!0,ieSuffixHack:!0,merging:!1,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!0,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:focus|:before|:after|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not|:placeholder|:host|::content|\/deep\/|::shadow)/},units:{ch:!1,"in":!0,pc:!0,pt:!0,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}};d.prototype.toOptions=function(){return e(h["*"],f(this.source))},b.exports=d},{util:144}],61:[function(a,b,c){(function(c,d,e){function f(a){this.options=a.options,this.errors=a.errors,this.warnings=a.warnings,this.sourceTracker=a.sourceTracker,this.timeout=this.options.inliner.timeout,this.requestOptions=this.options.inliner.request,this.localOnly=a.localOnly,this.relativeTo=a.options.target||c.cwd(),this.maps={},this.sourcesContent={}}function g(a,b,c){return a.trackLoaded(void 0,void 0,a.options.sourceMap),c()}function h(a,b,c,d){function e(){d.cursor+=f+1,h(a,b,c,d)}for(var f=0;d.cursor-1&&(f=k.index),l.index>-1&&l.index-1&&m.index299)return d(a.statusCode);var b=[];a.on("data",function(a){b.push(a.toString())}),a.on("end",function(){c(b.join(""))})}).on("error",function(a){g||(d(a.message),g=!0)}).on("timeout",function(){g||(d("timeout"),g=!0)}).setTimeout(a.timeout)}function l(a,b,c,d,e){for(var f,g=d.length,h={line:b,column:c+g};g-- >0&&(h.column--,!(f=a.data.originalPositionFor(h))););return null===f.line&&b>1&&e>0?l(a,b-1,c,d,e-1):(a.path&&f.source&&(f.source=w.test(a.path)?t.resolve(a.path,f.source):q.join(a.path,f.source),f.sourceResolved=!0),f)}function m(a,b){var c=a.maps[b].data,d=w.test(b),e={};c.sources.forEach(function(f,g){var h=d?t.resolve(q.dirname(b),f):q.relative(a.relativeTo,q.resolve(q.dirname(b),f));e[h]=c.sourcesContent&&c.sourcesContent[g]}),a.sourcesContent[b]=e}function n(a,b,c){function d(){return n(a,b,c)}if(0===b.length)return c();var e=b.shift(),f=e[0],g=e[1],h=w.test(f);if(h&&a.localOnly)return a.warnings.push('No callback given to `#minify` method, cannot fetch a remote file from "'+g+'"'),d();if(!h){var i=q.join(a.options.root,g);return p.existsSync(i)?a.sourcesContent[f][g]=p.readFileSync(i,"utf-8"):a.warnings.push('Missing original source file at "'+i+'".'),d()}k(a,g,function(b){a.sourcesContent[f][g]=b,d()},function(b){a.warnings.push('Broken original source file at "'+g+'" - '+b),d()})}var o=a("source-map").SourceMapConsumer,p=a("fs"),q=a("path"),r=a("http"),s=a("https"),t=a("url"),u=a("../utils/object.js").override,v=/\/\*# sourceMappingURL=(\S+) \*\//,w=/^(https?:)?\/\//,x=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/,y=d.unescape;f.prototype.track=function(a,b){return"string"==typeof this.options.sourceMap?g(this,a,b):h(this,a,b,{files:[],cursor:0,errors:this.errors})},f.prototype.trackLoaded=function(a,b,c){var d=this.options.explicitTarget?this.options.target:this.options.root,e=w.test(a);b&&(b=e?q.dirname(b):q.dirname(q.relative(d,b))),this.maps[a]={path:b,data:new o(c)},m(this,a)},f.prototype.isTracking=function(a){return!!this.maps[a]},f.prototype.originalPositionFor=function(a,b,c){return l(this.maps[a.source],a.line,a.column,b,c)},f.prototype.sourcesContentFor=function(a){return this.sourcesContent[a]},f.prototype.resolveSources=function(a){var b=[];for(var c in this.sourcesContent){var d=this.sourcesContent[c];for(var e in d)d[e]||b.push([c,e])}return n(this,b,a)},b.exports=f}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"../utils/object.js":62,_process:78,buffer:5,fs:4,http:122,https:69,path:76,"source-map":110,url:140}],62:[function(a,b,c){b.exports={override:function(a,b){var c={};for(var d in a)c[d]=a[d];for(var e in b)c[e]=b[e];return c}}},{}],63:[function(a,b,c){function d(a){this.data=a}function e(a,b,c){for(var d="\\",e=c;;){if(e=a.indexOf(b,e+1),-1==e)return-1;if(a[e-1]!=d)return e}}var f=function(a,b,c,d){var e="/*",f="*/",g="\\",h="}",i=a.substring(d,c),j=i.lastIndexOf(f,c),k=i.lastIndexOf(e,c),l=!1;if(j>=c&&k>-1&&(l=!0),c>k&&k>j&&(l=!0),l){var m=a.indexOf(f,c);return m>-1?m:(m=a.indexOf(h,c),m>-1?m-1:a.length)}for(;;){if(void 0===a[c])break;if(a[c]==b&&(a[c-1]!=g||a[c-2]==g))break;c++}return c};d.prototype.each=function(a){for(var b=this.data,c=[],d=0,g=0,h=0,i=null,j="'",k='"',l=b.length;gm?(d=m,i=j):(d=n,i=k),-1==d)break;if(g=f(b,i,d+1,h),-1==g)break;var o=b.substring(d,g+1);c.push(b.substring(h,d)),o.length>0&&a(o,c,d),h=g+1}return c.length>0?c.join("")+b.substring(h,b.length):b},b.exports=d},{}],64:[function(a,b,c){(function(c){function d(a,b){this.outerContext=a,this.data=b,this.sources={}}function e(a){var b=a.data;return a.trackSource(void 0,b),b}function f(a){var b=a.data.toString();return a.trackSource(void 0,b),b}function g(a){return a.data.map(function(b){return a.outerContext.options.processImport===!1?b+"@shallow":b}).map(function(b){return!a.outerContext.options.relativeTo||/^https?:\/\//.test(b)?b:i.relative(a.outerContext.options.relativeTo,b)}).map(function(a){return"@import url("+a+");"}).join("")}function h(a){var b=[],c=i.resolve(a.outerContext.options.target||a.outerContext.options.root);for(var d in a.data){var e=a.data[d].styles,f=a.data[d].sourceMap,g=k.test(d),h=g?d:i.resolve(d),l=i.dirname(h),m={absolute:a.outerContext.options.explicitRoot,relative:!a.outerContext.options.explicitRoot,imports:!0,rebase:a.outerContext.options.rebase,fromBase:l,toBase:g?l:c,urlQuotes:a.outerContext.options.compatibility.properties.urlQuotes};e=j(e,m,a.outerContext),a.trackSource(d,e),e=a.outerContext.sourceTracker.store(d,e),a.outerContext.options.sourceMap&&f&&a.outerContext.inputSourceMapTracker.trackLoaded(d,d,f),b.push(e)}return b.join("")}var i=a("path"),j=a("../urls/rewrite"),k=/^(https?:)?\/\//;d.prototype.sourceAt=function(a){return this.sources[a]},d.prototype.trackSource=function(a,b){this.sources[a]={},this.sources[a][a]=b},d.prototype.toString=function(){return"string"==typeof this.data?e(this):c.isBuffer(this.data)?f(this):Array.isArray(this.data)?g(this):h(this)},b.exports=d}).call(this,{isBuffer:a("../../../is-buffer/index.js")})},{"../../../is-buffer/index.js":72,"../urls/rewrite":58,path:76}],65:[function(a,b,c){function d(){this.sources=[]}d.prototype.store=function(a,b){return this.sources.push(a),"__ESCAPED_SOURCE_CLEAN_CSS"+(this.sources.length-1)+"__"+b+"__ESCAPED_SOURCE_END_CLEAN_CSS__"},d.prototype.nextStart=function(a){var b=/__ESCAPED_SOURCE_CLEAN_CSS(\d+)__/.exec(a);return b?{index:b.index,filename:this.sources[~~b[1]]}:null},d.prototype.nextEnd=function(a){return/__ESCAPED_SOURCE_END_CLEAN_CSS__/g.exec(a)},d.prototype.removeAll=function(a){return a.replace(/__ESCAPED_SOURCE_CLEAN_CSS\d+__/g,"").replace(/__ESCAPED_SOURCE_END_CLEAN_CSS__/g,"")},b.exports=d},{}],66:[function(a,b,c){function d(a,b,c,d,e){var f="string"!=typeof b,g=f?b.test(a):a.indexOf(b);if(!g)return[a];if(d=d||"(",e=e||")",-1==a.indexOf(d)&&!c)return a.split(b);for(var h=0,i=0,j=0,k=a.length,l=[];k>i;)a[i]==d?h++:a[i]==e&&h--,0===h&&i>0&&k>i+1&&(f?b.test(a[i]):a[i]==b)&&(l.push(a.substring(j,i+(c?1:0))),j=i+1),i++;if(i+1>j){var m=a.substring(j),n=m[m.length-1];!c&&(f?b.test(n):n==b)&&(m=m.substring(0,m.length-1)),l.push(m)}return l}b.exports=d},{}],67:[function(a,b,c){(function(a){function b(a){return Array.isArray?Array.isArray(a):"[object Array]"===q(a)}function d(a){return"boolean"==typeof a}function e(a){return null===a}function f(a){return null==a}function g(a){return"number"==typeof a}function h(a){return"string"==typeof a}function i(a){return"symbol"==typeof a}function j(a){return void 0===a}function k(a){return"[object RegExp]"===q(a)}function l(a){return"object"==typeof a&&null!==a}function m(a){return"[object Date]"===q(a)}function n(a){return"[object Error]"===q(a)||a instanceof Error}function o(a){return"function"==typeof a}function p(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function q(a){return Object.prototype.toString.call(a)}c.isArray=b,c.isBoolean=d,c.isNull=e,c.isNullOrUndefined=f,c.isNumber=g,c.isString=h,c.isSymbol=i,c.isUndefined=j,c.isRegExp=k,c.isObject=l,c.isDate=m,c.isError=n,c.isFunction=o,c.isPrimitive=p,c.isBuffer=a.isBuffer}).call(this,{isBuffer:a("../../is-buffer/index.js")})},{"../../is-buffer/index.js":72}],68:[function(a,b,c){function d(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function e(a){return"function"==typeof a}function f(a){return"number"==typeof a}function g(a){return"object"==typeof a&&null!==a}function h(a){return void 0===a}b.exports=d,d.EventEmitter=d,d.prototype._events=void 0,d.prototype._maxListeners=void 0,d.defaultMaxListeners=10,d.prototype.setMaxListeners=function(a){if(!f(a)||0>a||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},d.prototype.emit=function(a){var b,c,d,f,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if(b=arguments[1],b instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],h(c))return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:f=Array.prototype.slice.call(arguments,1),c.apply(this,f)}else if(g(c))for(f=Array.prototype.slice.call(arguments,1),j=c.slice(),d=j.length,i=0;d>i;i++)j[i].apply(this,f);return!0},d.prototype.addListener=function(a,b){var c;if(!e(b))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,e(b.listener)?b.listener:b),this._events[a]?g(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,g(this._events[a])&&!this._events[a].warned&&(c=h(this._maxListeners)?d.defaultMaxListeners:this._maxListeners,c&&c>0&&this._events[a].length>c&&(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())),this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){this.removeListener(a,c),d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function");var d=!1;return c.listener=b,this.on(a,c),this},d.prototype.removeListener=function(a,b){var c,d,f,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],f=c.length,d=-1,c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(h=f;h-- >0;)if(c[h]===b||c[h].listener&&c[h].listener===b){d=h;break}if(0>d)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(d,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},d.prototype.removeAllListeners=function(a){var b,c;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(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],e(c))this.removeListener(a,c);else if(c)for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},d.prototype.listeners=function(a){var b;return b=this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]},d.prototype.listenerCount=function(a){if(this._events){var b=this._events[a];if(e(b))return 1;if(b)return b.length}return 0},d.listenerCount=function(a,b){return a.listenerCount(b)}},{}],69:[function(a,b,c){var d=a("http"),e=b.exports;for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);e.request=function(a,b){return a||(a={}),a.scheme="https",a.protocol="https:",d.request.call(this,a,b)}},{http:122}],70:[function(a,b,c){c.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*(1/0);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=0>b||0===b&&0>1/b?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},{}],71:[function(a,b,c){"function"==typeof Object.create?b.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:b.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],72:[function(a,b,c){b.exports=function(a){return!(null==a||!(a._isBuffer||a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)))}},{}],73:[function(a,b,c){var d={}.toString;b.exports=Array.isArray||function(a){return"[object Array]"==d.call(a)}},{}],74:[function(a,b,c){"use strict";function d(a){return a.source.slice(1,-1)}var e=a("xml-char-classes");b.exports=new RegExp("^["+d(e.letter)+"_]["+d(e.letter)+d(e.digit)+"\\.\\-_"+d(e.combiningChar)+d(e.extender)+"]*$")},{"xml-char-classes":145}],75:[function(a,b,c){c.endianness=function(){return"LE"},c.hostname=function(){return"undefined"!=typeof location?location.hostname:""},c.loadavg=function(){return[]},c.uptime=function(){return 0},c.freemem=function(){return Number.MAX_VALUE},c.totalmem=function(){return Number.MAX_VALUE},c.cpus=function(){return[]},c.type=function(){return"Browser"},c.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},c.networkInterfaces=c.getNetworkInterfaces=function(){return{}},c.arch=function(){return"javascript"},c.platform=function(){return"browser"},c.tmpdir=c.tmpDir=function(){return"/tmp"},c.EOL="\n"},{}],76:[function(a,b,c){(function(a){function b(a,b){for(var c=0,d=a.length-1;d>=0;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}function d(a,b){if(a.filter)return a.filter(b);for(var c=[],d=0;d=-1&&!e;f--){var g=f>=0?arguments[f]:a.cwd();if("string"!=typeof g)throw new TypeError("Arguments to path.resolve must be strings");g&&(c=g+"/"+c,e="/"===g.charAt(0))}return c=b(d(c.split("/"),function(a){return!!a}),!e).join("/"),(e?"/":"")+c||"."},c.normalize=function(a){var e=c.isAbsolute(a),f="/"===g(a,-1);return a=b(d(a.split("/"),function(a){return!!a}),!e).join("/"),a||e||(a="."),a&&f&&(a+="/"),(e?"/":"")+a},c.isAbsolute=function(a){return"/"===a.charAt(0)},c.join=function(){ -var a=Array.prototype.slice.call(arguments,0);return c.normalize(d(a,function(a,b){if("string"!=typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))},c.relative=function(a,b){function d(a){for(var b=0;b=0&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=c.resolve(a).substr(1),b=c.resolve(b).substr(1);for(var e=d(a.split("/")),f=d(b.split("/")),g=Math.min(e.length,f.length),h=g,i=0;g>i;i++)if(e[i]!==f[i]){h=i;break}for(var j=[],i=h;ib&&(b=a.length+b),a.substr(b,c)}}).call(this,a("_process"))},{_process:78}],77:[function(a,b,c){(function(a){"use strict";function c(b){for(var c=new Array(arguments.length-1),d=0;d1)for(var c=1;c1&&(d=c[0]+"@",a=c[1]),a=a.replace(G,".");var e=a.split("."),g=f(e,b).join(".");return d+g}function h(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function i(a){return f(a,function(a){var b="";return a>65535&&(a-=65536,b+=K(a>>>10&1023|55296),a=56320|1023&a),b+=K(a)}).join("")}function j(a){return 10>a-48?a-22:26>a-65?a-65:26>a-97?a-97:w}function k(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function l(a,b,c){var d=0;for(a=c?J(a/A):a>>1,a+=J(a/b);a>I*y>>1;d+=w)a=J(a/I);return J(d+(I+1)*a/(a+z))}function m(a){var b,c,d,f,g,h,k,m,n,o,p=[],q=a.length,r=0,s=C,t=B;for(c=a.lastIndexOf(D),0>c&&(c=0),d=0;c>d;++d)a.charCodeAt(d)>=128&&e("not-basic"),p.push(a.charCodeAt(d));for(f=c>0?c+1:0;q>f;){for(g=r,h=1,k=w;f>=q&&e("invalid-input"),m=j(a.charCodeAt(f++)),(m>=w||m>J((v-r)/h))&&e("overflow"),r+=m*h,n=t>=k?x:k>=t+y?y:k-t,!(n>m);k+=w)o=w-n,h>J(v/o)&&e("overflow"),h*=o;b=p.length+1,t=l(r-g,b,0==g),J(r/b)>v-s&&e("overflow"),s+=J(r/b),r%=b,p.splice(r++,0,s)}return i(p)}function n(a){var b,c,d,f,g,i,j,m,n,o,p,q,r,s,t,u=[];for(a=h(a),q=a.length,b=C,c=0,g=B,i=0;q>i;++i)p=a[i],128>p&&u.push(K(p));for(d=f=u.length,f&&u.push(D);q>d;){for(j=v,i=0;q>i;++i)p=a[i],p>=b&&j>p&&(j=p);for(r=d+1,j-b>J((v-c)/r)&&e("overflow"),c+=(j-b)*r,b=j,i=0;q>i;++i)if(p=a[i],b>p&&++c>v&&e("overflow"),p==b){for(m=c,n=w;o=g>=n?x:n>=g+y?y:n-g,!(o>m);n+=w)t=m-o,s=w-o,u.push(K(k(o+t%s,0))),m=J(t/s);u.push(K(k(m,0))),g=l(c,r,d==f),c=0,++d}++c,++b}return u.join("")}function o(a){return g(a,function(a){return E.test(a)?m(a.slice(4).toLowerCase()):a})}function p(a){return g(a,function(a){return F.test(a)?"xn--"+n(a):a})}var q="object"==typeof c&&c&&!c.nodeType&&c,r="object"==typeof b&&b&&!b.nodeType&&b,s="object"==typeof a&&a;s.global!==s&&s.window!==s&&s.self!==s||(d=s);var t,u,v=2147483647,w=36,x=1,y=26,z=38,A=700,B=72,C=128,D="-",E=/^xn--/,F=/[^\x20-\x7E]/,G=/[\x2E\u3002\uFF0E\uFF61]/g,H={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=w-x,J=Math.floor,K=String.fromCharCode;if(t={version:"1.4.1",ucs2:{decode:h,encode:i},decode:m,encode:n,toASCII:p,toUnicode:o},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return t});else if(q&&r)if(b.exports==q)r.exports=t;else for(u in t)t.hasOwnProperty(u)&&(q[u]=t[u]);else d.punycode=t}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],80:[function(a,b,c){"use strict";function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}b.exports=function(a,b,c,f){b=b||"&",c=c||"=";var g={};if("string"!=typeof a||0===a.length)return g;var h=/\+/g;a=a.split(b);var i=1e3;f&&"number"==typeof f.maxKeys&&(i=f.maxKeys);var j=a.length;i>0&&j>i&&(j=i);for(var k=0;j>k;++k){var l,m,n,o,p=a[k].replace(h,"%20"),q=p.indexOf(c);q>=0?(l=p.substr(0,q),m=p.substr(q+1)):(l=p,m=""),n=decodeURIComponent(l),o=decodeURIComponent(m),d(g,n)?e(g[n])?g[n].push(o):g[n]=[g[n],o]:g[n]=o}return g};var e=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},{}],81:[function(a,b,c){"use strict";function d(a,b){if(a.map)return a.map(b);for(var c=[],d=0;d0)if(b.ended&&!e){var h=new Error("stream.push() after EOF");a.emit("error",h)}else if(b.endEmitted&&e){var h=new Error("stream.unshift() after end event");a.emit("error",h)}else{var i;!b.decoder||e||d||(c=b.decoder.write(c),i=!b.objectMode&&0===c.length),e||(b.reading=!1),i||(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&&l(a))),n(a,b)}else e||(b.reading=!1);return g(b)}function g(a){return!a.ended&&(a.needReadable||a.length=J?a=J:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a}function i(a,b){return 0===b.length&&b.ended?0:b.objectMode?0===a?0:1:null===a||isNaN(a)?b.flowing&&b.buffer.length?b.buffer[0].length:b.length:0>=a?0:(a>b.highWaterMark&&(b.highWaterMark=h(a)),a>b.length?b.ended?b.length:(b.needReadable=!0,0):a)}function j(a,b){var c=null;return B.isBuffer(b)||"string"==typeof b||null===b||void 0===b||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function k(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,l(a)}}function l(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(G("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?z(m,a):m(a))}function m(a){G("emit readable"),a.emit("readable"),t(a)}function n(a,b){b.readingMore||(b.readingMore=!0,z(o,a,b))}function o(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=e)c=f?d.join(""):1===d.length?d[0]:B.concat(d,e),d.length=0;else if(aj&&a>i;j++){var h=d[0],l=Math.min(a-i,h.length);f?c+=h.slice(0,l):h.copy(c,i,0,l),l0)throw new Error("endReadable called on non-empty stream");b.endEmitted||(b.ended=!0,z(w,b,a))}function w(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function x(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function y(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}b.exports=e;var z=a("process-nextick-args"),A=a("isarray"),B=a("buffer").Buffer;e.ReadableState=d;var C,D=(a("events"),function(a,b){return a.listeners(b).length});!function(){try{C=a("stream")}catch(b){}finally{C||(C=a("events").EventEmitter)}}();var B=a("buffer").Buffer,E=a("core-util-is");E.inherits=a("inherits");var F=a("util"),G=void 0;G=F&&F.debuglog?F.debuglog("stream"):function(){};var H;E.inherits(e,C);var I,I;e.prototype.push=function(a,b){var c=this._readableState;return c.objectMode||"string"!=typeof a||(b=b||c.defaultEncoding,b!==c.encoding&&(a=new B(a,b),b="")),f(this,c,a,b,!1)},e.prototype.unshift=function(a){var b=this._readableState;return f(this,b,a,"",!0)},e.prototype.isPaused=function(){return this._readableState.flowing===!1},e.prototype.setEncoding=function(b){return H||(H=a("string_decoder/").StringDecoder),this._readableState.decoder=new H(b),this._readableState.encoding=b,this};var J=8388608;e.prototype.read=function(a){G("read",a);var b=this._readableState,c=a;if(("number"!=typeof a||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return G("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?v(this):l(this),null;if(a=i(a,b),0===a&&b.ended)return 0===b.length&&v(this),null;var d=b.needReadable;G("need readable",d),(0===b.length||b.length-a0?u(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&&0===b.length&&v(this),null!==e&&this.emit("data",e),e},e.prototype._read=function(a){this.emit("error",new Error("not implemented"))},e.prototype.pipe=function(a,b){function d(a){G("onunpipe"),a===l&&f()}function e(){G("onend"),a.end()}function f(){G("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",q),a.removeListener("error",h),a.removeListener("unpipe",d),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),r=!0,!m.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function g(b){G("ondata");var c=a.write(b);!1===c&&(1!==m.pipesCount||m.pipes[0]!==a||1!==l.listenerCount("data")||r||(G("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++),l.pause())}function h(b){G("onerror",b),k(),a.removeListener("error",h),0===D(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){G("onfinish"),a.removeListener("close",i),k()}function k(){G("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,G("pipe count=%d opts=%j",m.pipesCount,b);var n=(!b||b.end!==!1)&&a!==c.stdout&&a!==c.stderr,o=n?e:f;m.endEmitted?z(o):l.once("end",o),a.on("unpipe",d);var q=p(l);a.on("drain",q);var r=!1;return l.on("data",g),a._events&&a._events.error?A(a._events.error)?a._events.error.unshift(h):a._events.error=[h,a._events.error]:a.on("error",h),a.once("close",i),a.once("finish",j),a.emit("pipe",l),m.flowing||(G("pipe resume"),l.resume()),a},e.prototype.unpipe=function(a){var b=this._readableState;if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this),this);if(!a){var c=b.pipes,d=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var e=0;d>e;e++)c[e].emit("unpipe",this);return this}var f=y(b.pipes,a);return-1===f?this:(b.pipes.splice(f,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this),this)},e.prototype.on=function(a,b){var c=C.prototype.on.call(this,a,b);if("data"===a&&!1!==this._readableState.flowing&&this.resume(),"readable"===a&&!this._readableState.endEmitted){var d=this._readableState;d.readableListening||(d.readableListening=!0,d.emittedReadable=!1,d.needReadable=!0,d.reading?d.length&&l(this,d):z(q,this))}return c},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var a=this._readableState;return a.flowing||(G("resume"),a.flowing=!0,r(this,a)),this},e.prototype.pause=function(){return G("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(G("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(a){var b=this._readableState,c=!1,d=this;a.on("end",function(){if(G("wrapped end"),b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&d.push(a)}d.push(null)}),a.on("data",function(e){if(G("wrapped data"),b.decoder&&(e=b.decoder.write(e)),(!b.objectMode||null!==e&&void 0!==e)&&(b.objectMode||e&&e.length)){var f=d.push(e);f||(c=!0,a.pause())}});for(var e in a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));var f=["error","close","destroy","pause","resume"];return x(f,function(b){a.on(b,d.emit.bind(d,b))}),d._read=function(b){G("wrapped _read",b),c&&(c=!1,a.resume())},d},e._fromList=u}).call(this,a("_process"))},{"./_stream_duplex":84,_process:78,buffer:5,"core-util-is":67,events:68,inherits:71,isarray:73,"process-nextick-args":77,"string_decoder/":126,util:3}],87:[function(a,b,c){"use strict";function d(a){this.afterTransform=function(b,c){return e(a,b,c)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function e(a,b,c){var d=a._transformState;d.transforming=!1;var e=d.writecb;if(!e)return a.emit("error",new Error("no writecb in Transform class"));d.writechunk=null,d.writecb=null,null!==c&&void 0!==c&&a.push(c),e(b);var f=a._readableState;f.reading=!1,(f.needReadable||f.length-1?setImmediate:x,z=a("buffer").Buffer;g.WritableState=f;var A=a("core-util-is");A.inherits=a("inherits");var B,C={deprecate:a("util-deprecate")};!function(){try{B=a("stream")}catch(b){}finally{B||(B=a("events").EventEmitter)}}();var z=a("buffer").Buffer;A.inherits(g,B);var D;f.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(f.prototype,"buffer",{get:C.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(a){}}();var D;g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},g.prototype.write=function(a,b,c){var e=this._writableState,f=!1;return"function"==typeof b&&(c=b,b=null),z.isBuffer(a)?b="buffer":b||(b=e.defaultEncoding),"function"!=typeof c&&(c=d),e.ended?h(this,c):i(this,e,a,c)&&(e.pendingcb++,f=k(this,e,a,b,c)),f},g.prototype.cork=function(){var a=this._writableState;a.corked++},g.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||r(this,a))},g.prototype.setDefaultEncoding=function(a){if("string"==typeof a&&(a=a.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((a+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+a);this._writableState.defaultEncoding=a},g.prototype._write=function(a,b,c){c(new Error("not implemented"))},g.prototype._writev=null,g.prototype.end=function(a,b,c){var d=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!==a&&void 0!==a&&this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||v(this,d,c)}}).call(this,a("_process"))},{"./_stream_duplex":84,_process:78,buffer:5,"core-util-is":67,events:68,inherits:71,"process-nextick-args":77,"util-deprecate":142}],89:[function(a,b,c){b.exports=a("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":85}],90:[function(a,b,c){var d=function(){try{return a("stream")}catch(b){}}();c=b.exports=a("./lib/_stream_readable.js"),c.Stream=d||c,c.Readable=c,c.Writable=a("./lib/_stream_writable.js"),c.Duplex=a("./lib/_stream_duplex.js"),c.Transform=a("./lib/_stream_transform.js"),c.PassThrough=a("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":84,"./lib/_stream_passthrough.js":85,"./lib/_stream_readable.js":86,"./lib/_stream_transform.js":87,"./lib/_stream_writable.js":88}],91:[function(a,b,c){b.exports=a("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":87}],92:[function(a,b,c){b.exports=a("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":88}],93:[function(a,b,c){"use strict";b.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],94:[function(a,b,c){"use strict";function d(a,b){return!a.auth||b.removeAuth||!a.extra.relation.maximumHost&&b.output!==p.ABSOLUTE?"":a.auth+"@"}function e(a,b){return a.hash?a.hash:""}function f(a,b){return a.host.full&&(a.extra.relation.maximumAuth||b.output===p.ABSOLUTE)?a.host.full:""}function g(a,b){var c="",d=a.path.absolute.string,e=a.path.relative.string,f=o(a,b);if(a.extra.relation.maximumHost||b.output===p.ABSOLUTE||b.output===p.ROOT_RELATIVE)c=d;else if(e.length<=d.length&&b.output===p.SHORTEST||b.output===p.PATH_RELATIVE){if(c=e,""===c){var g=n(a,b)&&!!m(a,b);a.extra.relation.maximumPath&&!f?c="./":!a.extra.relation.overridesQuery||f||g||(c="./")}}else c=d;return"/"!==c||f||!b.removeRootTrailingSlash||a.extra.relation.minimumPort&&b.output!==p.ABSOLUTE||(c=""),c}function h(a,b){return a.port&&!a.extra.portIsDefault&&a.extra.relation.maximumHost?":"+a.port:""}function i(a,b){return n(a,b)?m(a,b):""}function j(a,b){return o(a,b)?a.resource:""}function k(a,b){var c="";return(a.extra.relation.maximumHost||b.output===p.ABSOLUTE)&&(c+=a.extra.relation.minimumScheme&&b.schemeRelative&&b.output!==p.ABSOLUTE?"//":a.scheme+"://"),c}function l(a,b){var c="";return c+=k(a,b),c+=d(a,b),c+=f(a,b),c+=h(a,b),c+=g(a,b),c+=j(a,b),c+=i(a,b),c+=e(a,b)}function m(a,b){var c=b.removeEmptyQueries&&a.extra.relation.minimumPort;return a.query.string[c?"stripped":"full"]}function n(a,b){return!a.extra.relation.minimumQuery||b.output===p.ABSOLUTE||b.output===p.ROOT_RELATIVE}function o(a,b){var c=b.removeDirectoryIndexes&&a.extra.resourceIsIndex,d=a.extra.relation.minimumResource&&b.output!==p.ABSOLUTE&&b.output!==p.ROOT_RELATIVE;return!!a.resource&&!d&&!c}var p=a("./constants");b.exports=l},{"./constants":93}],95:[function(a,b,c){"use strict";function d(a,b){this.options=g(b,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:d.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=i.from(a,this.options,null)}var e=a("./constants"),f=a("./format"),g=a("./options"),h=a("./util/object"),i=a("./parse"),j=a("./relate");d.prototype.relate=function(a,b,c){if(h.isPlainObject(b)?(c=b,b=a,a=null):b||(b=a,a=null),c=g(c,this.options),a=a||c.site,a=i.from(a,c,this.from),!a||!a.href)throw new Error("from value not defined.");if(a.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+a.href);return b=i.to(b,c),b.valid===!1?b.href:(b=j(a,b,c),b=f(b,c))},d.relate=function(a,b,c){return(new d).relate(a,b,c)},h.shallowMerge(d,e),b.exports=d},{"./constants":93,"./format":94,"./options":96,"./parse":99,"./relate":106,"./util/object":108}],96:[function(a,b,c){"use strict";function d(a,b){if(f.isPlainObject(a)){var c={};for(var d in b)b.hasOwnProperty(d)&&(void 0!==a[d]?c[d]=e(a[d],b[d]):c[d]=b[d]);return c}return b}function e(a,b){return b instanceof Object&&a instanceof Object?b instanceof Array&&a instanceof Array?b.concat(a):f.shallowMerge(a,b):a}var f=a("./util/object");b.exports=d},{"./util/object":108}],97:[function(a,b,c){"use strict";function d(a,b){if(b.ignore_www){var c=a.host.full;if(c){var d=c;0===c.indexOf("www.")&&(d=c.substr(4)),a.host.stripped=d}}}b.exports=d},{}],98:[function(a,b,c){"use strict";function d(a){var b=!(a.scheme||a.auth||a.host.full||a.port),c=b&&!a.path.absolute.string,d=c&&!a.resource,e=d&&!a.query.string.full.length,f=e&&!a.hash;a.extra.hrefInfo.minimumPathOnly=b,a.extra.hrefInfo.minimumResourceOnly=c,a.extra.hrefInfo.minimumQueryOnly=d,a.extra.hrefInfo.minimumHashOnly=e,a.extra.hrefInfo.empty=f}b.exports=d},{}],99:[function(a,b,c){"use strict";function d(a,b,c){if(a){var d=e(a,b),f=l.resolveDotSegments(d.path.absolute.array);return d.path.absolute.array=f,d.path.absolute.string="/"+l.join(f),d}return c}function e(a,b){var c=k(a,b);return c.valid===!1?c:(g(c,b),i(c,b),h(c,b),j(c,b),f(c),c)}var f=a("./hrefInfo"),g=a("./host"),h=a("./path"),i=a("./port"),j=a("./query"),k=a("./urlstring"),l=a("../util/path");b.exports={from:d,to:e}},{"../util/path":109,"./host":97,"./hrefInfo":98,"./path":100,"./port":101,"./query":102,"./urlstring":103}],100:[function(a,b,c){"use strict";function d(a,b){var c=!1;return b.directoryIndexes.every(function(b){return b===a?(c=!0,!1):!0}),c}function e(a,b){var c=a.path.absolute.string;if(c){var e=c.lastIndexOf("/");if(e>-1){if(++e-1&&(c=c.toString(),null===a.port&&(a.port=c),a.extra.portIsDefault=a.port===c)}b.exports=d},{}],102:[function(a,b,c){"use strict";function d(a,b){a.query.string.full=e(a.query.object,!1),b.removeEmptyQueries&&(a.query.string.stripped=e(a.query.object,!0))}function e(a,b){var c=0,d="";for(var e in a)if(""!==e&&a.hasOwnProperty(e)){var f=a[e];""===f&&b||(d+=1===++c?"?":"&",e=encodeURIComponent(e),d+=""!==f?e+"="+encodeURIComponent(f).replace(/%20/g,"+"):e)}return d}b.exports=d},{}],103:[function(a,b,c){"use strict";function d(a){var b=a.protocol;return b&&b.indexOf(":")===b.length-1&&(b=b.substr(0,b.length-1)),a.host={full:a.hostname,stripped:null},a.path={absolute:{array:null, -string:a.pathname},relative:{array:null,string:null}},a.query={object:a.query,string:{full:null,stripped:null}},a.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===a.search},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:a.slashes},a.resource=null,a.scheme=b,delete a.hostname,delete a.pathname,delete a.protocol,delete a.search,delete a.slashes,a}function e(a,b){var c=!0;return b.rejectedSchemes.every(function(b){return c=!(0===a.indexOf(b+":"))}),c}function f(a,b){return e(a,b)?d(g(a,!0,b.slashesDenoteHost)):{href:a,valid:!1}}var g=a("url").parse;b.exports=f},{url:140}],104:[function(a,b,c){"use strict";function d(a,b,c){h.upToPath(a,b,c),a.extra.relation.minimumScheme&&(a.scheme=b.scheme),a.extra.relation.minimumAuth&&(a.auth=b.auth),a.extra.relation.minimumHost&&(a.host=i.clone(b.host)),a.extra.relation.minimumPort&&f(a,b),a.extra.relation.minimumScheme&&e(a,b),h.pathOn(a,b,c),a.extra.relation.minimumResource&&g(a,b),a.extra.relation.minimumQuery&&(a.query=i.clone(b.query)),a.extra.relation.minimumHash&&(a.hash=b.hash)}function e(a,b){if(a.extra.relation.maximumHost||!a.extra.hrefInfo.minimumResourceOnly){var c=a.path.absolute.array,d="/";c?(a.extra.hrefInfo.minimumPathOnly&&0!==a.path.absolute.string.indexOf("/")&&(c=b.path.absolute.array.concat(c)),c=j.resolveDotSegments(c),d+=j.join(c)):c=[],a.path.absolute.array=c,a.path.absolute.string=d}else a.path=i.clone(b.path)}function f(a,b){a.port=b.port,a.extra.portIsDefault=b.extra.portIsDefault}function g(a,b){a.resource=b.resource,a.extra.resourceIsIndex=b.extra.resourceIsIndex}var h=a("./findRelation"),i=a("../util/object"),j=a("../util/path");b.exports=d},{"../util/object":108,"../util/path":109,"./findRelation":105}],105:[function(a,b,c){"use strict";function d(a,b,c){var d=a.extra.hrefInfo.minimumPathOnly,e=a.scheme===b.scheme||!a.scheme,f=e&&(a.auth===b.auth||c.removeAuth||d),g=c.ignore_www?"stripped":"full",h=f&&(a.host[g]===b.host[g]||d),i=h&&(a.port===b.port||d);a.extra.relation.minimumScheme=e,a.extra.relation.minimumAuth=f,a.extra.relation.minimumHost=h,a.extra.relation.minimumPort=i,a.extra.relation.maximumScheme=!e||e&&!f,a.extra.relation.maximumAuth=!e||e&&!h,a.extra.relation.maximumHost=!e||e&&!i}function e(a,b,c){var d=a.extra.hrefInfo.minimumQueryOnly,e=a.extra.hrefInfo.minimumHashOnly,f=a.extra.hrefInfo.empty,g=a.extra.relation.minimumPort,h=a.extra.relation.minimumScheme,i=g&&a.path.absolute.string===b.path.absolute.string,j=a.resource===b.resource||!a.resource&&b.extra.resourceIsIndex||c.removeDirectoryIndexes&&a.extra.resourceIsIndex&&!b.resource,k=i&&(j||d||e||f),l=c.removeEmptyQueries?"stripped":"full",m=a.query.string[l],n=b.query.string[l],o=k&&!!m&&m===n||(e||f)&&!a.extra.hrefInfo.separatorOnlyQuery,p=o&&a.hash===b.hash;a.extra.relation.minimumPath=i,a.extra.relation.minimumResource=k,a.extra.relation.minimumQuery=o,a.extra.relation.minimumHash=p,a.extra.relation.maximumPort=!h||h&&!i,a.extra.relation.maximumPath=!h||h&&!k,a.extra.relation.maximumResource=!h||h&&!o,a.extra.relation.maximumQuery=!h||h&&!p,a.extra.relation.maximumHash=!h||h&&!p,a.extra.relation.overridesQuery=i&&a.extra.relation.maximumResource&&!o&&!!n}b.exports={pathOn:e,upToPath:d}},{}],106:[function(a,b,c){"use strict";function d(a,b,c){return e(b,a,c),f(b,a,c),b}var e=a("./absolutize"),f=a("./relativize");b.exports=d},{"./absolutize":104,"./relativize":107}],107:[function(a,b,c){"use strict";function d(a,b){var c=[],d=!0,e=-1;return b.forEach(function(b,f){d&&(a[f]!==b?d=!1:e=f),d||c.push("..")}),a.forEach(function(a,b){b>e&&c.push(a)}),c}function e(a,b,c){if(a.extra.relation.minimumScheme){var e=d(a.path.absolute.array,b.path.absolute.array);a.path.relative.array=e,a.path.relative.string=f.join(e)}}var f=a("../util/path");b.exports=e},{"../util/path":109}],108:[function(a,b,c){"use strict";function d(a){if(a instanceof Object){var b=a instanceof Array?[]:{};for(var c in a)a.hasOwnProperty(c)&&(b[c]=d(a[c]));return b}return a}function e(a){return!!a&&"object"==typeof a&&a.constructor===Object}function f(a,b){if(a instanceof Object&&b instanceof Object)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}b.exports={clone:d,isPlainObject:e,shallowMerge:f}},{}],109:[function(a,b,c){"use strict";function d(a){return a.length?a.join("/")+"/":""}function e(a){var b=[];return a.forEach(function(a){".."!==a?"."!==a&&b.push(a):b.length&&b.splice(b.length-1,1)}),b}b.exports={join:d,resolveDotSegments:e}},{}],110:[function(a,b,c){c.SourceMapGenerator=a("./source-map/source-map-generator").SourceMapGenerator,c.SourceMapConsumer=a("./source-map/source-map-consumer").SourceMapConsumer,c.SourceNode=a("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":117,"./source-map/source-map-generator":118,"./source-map/source-node":119}],111:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(){this._array=[],this._set={}}var e=a("./util");d.fromArray=function(a,b){for(var c=new d,e=0,f=a.length;f>e;e++)c.add(a[e],b);return c},d.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},d.prototype.add=function(a,b){var c=this.has(a),d=this._array.length;c&&!b||this._array.push(a),c||(this._set[e.toSetString(a)]=d)},d.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this._set,e.toSetString(a))},d.prototype.indexOf=function(a){if(this.has(a))return this._set[e.toSetString(a)];throw new Error('"'+a+'" is not in the set.')},d.prototype.at=function(a){if(a>=0&&aa?(-a<<1)+1:(a<<1)+0}function e(a){var b=1===(1&a),c=a>>1;return b?-c:c}var f=a("./base64"),g=5,h=1<>>=g,e>0&&(b|=j),c+=f.encode(b);while(e>0);return c},b.decode=function(a,b,c){var d,h,k=a.length,l=0,m=0;do{if(b>=k)throw new Error("Expected more digits in base 64 VLQ value.");if(h=f.decode(a.charCodeAt(b++)),-1===h)throw new Error("Invalid base64 digit: "+a.charAt(b-1));d=!!(h&j),h&=i,l+=h<=0&&a=b&&c>=a?a-b:a>=d&&e>=a?a-d+j:a>=f&&g>=a?a-f+k:a==h?62:a==i?63:-1}})},{amdefine:1}],114:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,c,e,f,g,h){var i=Math.floor((c-a)/2)+a,j=g(e,f[i],!0);return 0===j?i:j>0?c-i>1?d(i,c,e,f,g,h):h==b.LEAST_UPPER_BOUND?c1?d(a,i,e,f,g,h):h==b.LEAST_UPPER_BOUND?i:0>a?-1:a}b.GREATEST_LOWER_BOUND=1,b.LEAST_UPPER_BOUND=2,b.search=function(a,c,e,f){if(0===c.length)return-1;var g=d(-1,c.length,a,c,e,f||b.GREATEST_LOWER_BOUND);if(0>g)return-1;for(;g-1>=0&&0===e(c[g],c[g-1],!0);)--g;return g}})},{amdefine:1}],115:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b){var c=a.generatedLine,d=b.generatedLine,e=a.generatedColumn,g=b.generatedColumn;return d>c||d==c&&g>=e||f.compareByGeneratedPositionsInflated(a,b)<=0}function e(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var f=a("./util");e.prototype.unsortedForEach=function(a,b){this._array.forEach(a,b)},e.prototype.add=function(a){d(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},e.prototype.toArray=function(){return this._sorted||(this._array.sort(f.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},b.MappingList=e})},{"./util":120,amdefine:1}],116:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b,c){var d=a[b];a[b]=a[c],a[c]=d}function e(a,b){return Math.round(a+Math.random()*(b-a))}function f(a,b,c,g){if(g>c){var h=e(c,g),i=c-1;d(a,h,g);for(var j=a[g],k=c;g>k;k++)b(a[k],j)<=0&&(i+=1,d(a,i,k));d(a,i+1,k);var l=i+1;f(a,b,c,l-1),f(a,b,l+1,g)}}b.quickSort=function(a,b){f(a,b,0,a.length-1)}})},{amdefine:1}],117:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a){var b=a;return"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,""))),null!=b.sections?new g(b):new e(b)}function e(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),d=h.getArg(b,"sources"),e=h.getArg(b,"names",[]),f=h.getArg(b,"sourceRoot",null),g=h.getArg(b,"sourcesContent",null),i=h.getArg(b,"mappings"),k=h.getArg(b,"file",null);if(c!=this._version)throw new Error("Unsupported version: "+c);d=d.map(h.normalize),this._names=j.fromArray(e,!0),this._sources=j.fromArray(d,!0),this.sourceRoot=f,this.sourcesContent=g,this._mappings=i,this.file=k}function f(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function g(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),e=h.getArg(b,"sections");if(c!=this._version)throw new Error("Unsupported version: "+c);this._sources=new j,this._names=new j;var f={line:-1,column:0};this._sections=e.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var b=h.getArg(a,"offset"),c=h.getArg(b,"line"),e=h.getArg(b,"column");if(c=0){var f=this._originalMappings[e];if(void 0===a.column)for(var g=f.originalLine;f&&f.originalLine===g;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e];else for(var j=f.originalColumn;f&&f.originalLine===b&&f.originalColumn==j;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e]}return d},b.SourceMapConsumer=d,e.prototype=Object.create(d.prototype),e.prototype.consumer=d,e.fromSourceMap=function(a){var b=Object.create(e.prototype),c=b._names=j.fromArray(a._names.toArray(),!0),d=b._sources=j.fromArray(a._sources.toArray(),!0);b.sourceRoot=a._sourceRoot,b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot),b.file=a._file;for(var g=a._mappings.toArray().slice(),i=b.__generatedMappings=[],k=b.__originalMappings=[],m=0,n=g.length;n>m;m++){var o=g[m],p=new f;p.generatedLine=o.generatedLine,p.generatedColumn=o.generatedColumn,o.source&&(p.source=d.indexOf(o.source),p.originalLine=o.originalLine,p.originalColumn=o.originalColumn,o.name&&(p.name=c.indexOf(o.name)),k.push(p)),i.push(p)}return l(b.__originalMappings,h.compareByOriginalPositions),b},e.prototype._version=3,Object.defineProperty(e.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return null!=this.sourceRoot?h.join(this.sourceRoot,a):a},this)}}),e.prototype._parseMappings=function(a,b){for(var c,d,e,g,i,j=1,m=0,n=0,o=0,p=0,q=0,r=a.length,s=0,t={},u={},v=[],w=[];r>s;)if(";"===a.charAt(s))j++,s++,m=0;else if(","===a.charAt(s))s++;else{for(c=new f,c.generatedLine=j,g=s;r>g&&!this._charIsMappingSeparator(a,g);g++);if(d=a.slice(s,g),e=t[d])s+=d.length;else{for(e=[];g>s;)k.decode(a,s,u),i=u.value,s=u.rest,e.push(i);if(2===e.length)throw new Error("Found a source, but no line and column");if(3===e.length)throw new Error("Found a source and line, but no column");t[d]=e}c.generatedColumn=m+e[0],m=c.generatedColumn,e.length>1&&(c.source=p+e[1],p+=e[1],c.originalLine=n+e[2],n=c.originalLine,c.originalLine+=1,c.originalColumn=o+e[3],o=c.originalColumn,e.length>4&&(c.name=q+e[4],q+=e[4])),w.push(c),"number"==typeof c.originalLine&&v.push(c)}l(w,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,l(v,h.compareByOriginalPositions),this.__originalMappings=v},e.prototype._findMapping=function(a,b,c,d,e,f){if(a[c]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+a[c]);if(a[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return i.search(a,b,e,f)},e.prototype.computeColumnSpans=function(){for(var a=0;a=0){var e=this._generatedMappings[c];if(e.generatedLine===b.generatedLine){var f=h.getArg(e,"source",null);null!==f&&(f=this._sources.at(f),null!=this.sourceRoot&&(f=h.join(this.sourceRoot,f)));var g=h.getArg(e,"name",null);return null!==g&&(g=this._names.at(g)),{source:f,line:h.getArg(e,"originalLine",null),column:h.getArg(e,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==a}):!1},e.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(a=h.relative(this.sourceRoot,a)),this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var c;if(null!=this.sourceRoot&&(c=h.urlParse(this.sourceRoot))){var d=a.replace(/^file:\/\//,"");if("file"==c.scheme&&this._sources.has(d))return this.sourcesContent[this._sources.indexOf(d)];if((!c.path||"/"==c.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(b)return null;throw new Error('"'+a+'" is not in the SourceMap.')},e.prototype.generatedPositionFor=function(a){var b=h.getArg(a,"source");if(null!=this.sourceRoot&&(b=h.relative(this.sourceRoot,b)),!this._sources.has(b))return{line:null,column:null,lastColumn:null};b=this._sources.indexOf(b);var c={source:b,originalLine:h.getArg(a,"line"),originalColumn:h.getArg(a,"column")},e=this._findMapping(c,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(a,"bias",d.GREATEST_LOWER_BOUND));if(e>=0){var f=this._originalMappings[e];if(f.source===c.source)return{line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},b.BasicSourceMapConsumer=e,g.prototype=Object.create(d.prototype),g.prototype.constructor=d,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var a=[],b=0;b0&&a.column>=0)||b||c||d)&&!(a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&a.line>0&&a.column>=0&&b.line>0&&b.column>=0&&c))throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:c,original:b,name:d}))},d.prototype._serializeMappings=function(){for(var a,b=0,c=1,d=0,g=0,h=0,i=0,j="",k=this._mappings.toArray(),l=0,m=k.length;m>l;l++){if(a=k[l],a.generatedLine!==c)for(b=0;a.generatedLine!==c;)j+=";",c++;else if(l>0){if(!f.compareByGeneratedPositionsInflated(a,k[l-1]))continue;j+=","}j+=e.encode(a.generatedColumn-b),b=a.generatedColumn,null!=a.source&&(j+=e.encode(this._sources.indexOf(a.source)-i),i=this._sources.indexOf(a.source),j+=e.encode(a.originalLine-1-g),g=a.originalLine-1,j+=e.encode(a.originalColumn-d),d=a.originalColumn,null!=a.name&&(j+=e.encode(this._names.indexOf(a.name)-h),h=this._names.indexOf(a.name)))}return j},d.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=f.relative(b,a));var c=f.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},d.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(a.file=this._file),null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},d.prototype.toString=function(){return JSON.stringify(this.toJSON())},b.SourceMapGenerator=d})},{"./array-set":111,"./base64-vlq":112,"./mapping-list":115,"./util":120,amdefine:1}],119:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b,c,d,e){this.children=[],this.sourceContents={},this.line=null==a?null:a,this.column=null==b?null:b,this.source=null==c?null:c,this.name=null==e?null:e,this[i]=!0,null!=d&&this.add(d)}var e=a("./source-map-generator").SourceMapGenerator,f=a("./util"),g=/(\r?\n)/,h=10,i="$$$isSourceNode$$$";d.fromStringWithSourceMap=function(a,b,c){function e(a,b){if(null===a||void 0===a.source)h.add(b);else{var e=c?f.join(c,a.source):a.source;h.add(new d(a.originalLine,a.originalColumn,e,b,a.name))}}var h=new d,i=a.split(g),j=function(){var a=i.shift(),b=i.shift()||"";return a+b},k=1,l=0,m=null;return b.eachMapping(function(a){if(null!==m){if(!(k0&&(m&&e(m,j()),h.add(i.join(""))),b.sources.forEach(function(a){var d=b.sourceContentFor(a);null!=d&&(null!=c&&(a=f.join(c,a)),h.setSourceContent(a,d))}),h},d.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(a){this.add(a)},this);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);a&&this.children.push(a)}return this},d.prototype.prepend=function(a){if(Array.isArray(a))for(var b=a.length-1;b>=0;b--)this.prepend(a[b]);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);this.children.unshift(a)}return this},d.prototype.walk=function(a){for(var b,c=0,d=this.children.length;d>c;c++)b=this.children[c],b[i]?b.walk(a):""!==b&&a(b,{source:this.source,line:this.line,column:this.column,name:this.name})},d.prototype.join=function(a){var b,c,d=this.children.length;if(d>0){for(b=[],c=0;d-1>c;c++)b.push(this.children[c]),b.push(a);b.push(this.children[c]),this.children=b}return this},d.prototype.replaceRight=function(a,b){var c=this.children[this.children.length-1];return c[i]?c.replaceRight(a,b):"string"==typeof c?this.children[this.children.length-1]=c.replace(a,b):this.children.push("".replace(a,b)),this},d.prototype.setSourceContent=function(a,b){this.sourceContents[f.toSetString(a)]=b},d.prototype.walkSourceContents=function(a){for(var b=0,c=this.children.length;c>b;b++)this.children[b][i]&&this.children[b].walkSourceContents(a);for(var d=Object.keys(this.sourceContents),b=0,c=d.length;c>b;b++)a(f.fromSetString(d[b]),this.sourceContents[d[b]])},d.prototype.toString=function(){var a="";return this.walk(function(b){a+=b}),a},d.prototype.toStringWithSourceMap=function(a){var b={code:"",line:1,column:0},c=new e(a),d=!1,f=null,g=null,i=null,j=null;return this.walk(function(a,e){b.code+=a,null!==e.source&&null!==e.line&&null!==e.column?(f===e.source&&g===e.line&&i===e.column&&j===e.name||c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name}),f=e.source,g=e.line,i=e.column,j=e.name,d=!0):d&&(c.addMapping({generated:{line:b.line,column:b.column}}),f=null,d=!1);for(var k=0,l=a.length;l>k;k++)a.charCodeAt(k)===h?(b.line++,b.column=0,k+1===l?(f=null,d=!1):d&&c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name})):b.column++}),this.walkSourceContents(function(a,b){c.setSourceContent(a,b)}),{code:b.code,map:c}},b.SourceNode=d})},{"./source-map-generator":118,"./util":120,amdefine:1}],120:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b,c){if(b in a)return a[b];if(3===arguments.length)return c;throw new Error('"'+b+'" is a required argument.')}function e(a){var b=a.match(p);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}function f(a){var b="";return 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),b}function g(a){var b=a,c=e(a);if(c){if(!c.path)return a;b=c.path}for(var d,g="/"===b.charAt(0),h=b.split(/\/+/),i=0,j=h.length-1;j>=0;j--)d=h[j],"."===d?h.splice(j,1):".."===d?i++:i>0&&(""===d?(h.splice(j+1,i),i=0):(h.splice(j,2),i--));return b=h.join("/"),""===b&&(b=g?"/":"."),c?(c.path=b,f(c)):b}function h(a,b){""===a&&(a="."),""===b&&(b=".");var c=e(b),d=e(a);if(d&&(a=d.path||"/"),c&&!c.scheme)return d&&(c.scheme=d.scheme),f(c);if(c||b.match(q))return b;if(d&&!d.host&&!d.path)return d.host=b,f(d);var h="/"===b.charAt(0)?b:g(a.replace(/\/+$/,"")+"/"+b);return d?(d.path=h,f(d)):h}function i(a,b){""===a&&(a="."),a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;if(a=a.slice(0,d),a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join("../")+b.substr(a.length+1)}function j(a){return"$"+a}function k(a){return a.substr(1)}function l(a,b,c){var d=a.source-b.source;return 0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d||c?d:(d=a.generatedColumn-b.generatedColumn,0!==d?d:(d=a.generatedLine-b.generatedLine,0!==d?d:a.name-b.name))))}function m(a,b,c){var d=a.generatedLine-b.generatedLine;return 0!==d?d:(d=a.generatedColumn-b.generatedColumn,0!==d||c?d:(d=a.source-b.source,0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d?d:a.name-b.name))))}function n(a,b){return a===b?0:a>b?1:-1}function o(a,b){var c=a.generatedLine-b.generatedLine;return 0!==c?c:(c=a.generatedColumn-b.generatedColumn,0!==c?c:(c=n(a.source,b.source),0!==c?c:(c=a.originalLine-b.originalLine,0!==c?c:(c=a.originalColumn-b.originalColumn,0!==c?c:n(a.name,b.name)))))}b.getArg=d;var p=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,q=/^data:.+\,.+$/;b.urlParse=e,b.urlGenerate=f,b.normalize=g,b.join=h,b.relative=i,b.toSetString=j,b.fromSetString=k,b.compareByOriginalPositions=l,b.compareByGeneratedPositionsDeflated=m,b.compareByGeneratedPositionsInflated=o})},{amdefine:1}],121:[function(a,b,c){function d(){e.call(this)}b.exports=d;var e=a("events").EventEmitter,f=a("inherits");f(d,e),d.Readable=a("readable-stream/readable.js"),d.Writable=a("readable-stream/writable.js"),d.Duplex=a("readable-stream/duplex.js"),d.Transform=a("readable-stream/transform.js"),d.PassThrough=a("readable-stream/passthrough.js"),d.Stream=d,d.prototype.pipe=function(a,b){function c(b){a.writable&&!1===a.write(b)&&j.pause&&j.pause()}function d(){j.readable&&j.resume&&j.resume()}function f(){k||(k=!0,a.end())}function g(){k||(k=!0,"function"==typeof a.destroy&&a.destroy())}function h(a){if(i(),0===e.listenerCount(this,"error"))throw a}function i(){j.removeListener("data",c),a.removeListener("drain",d),j.removeListener("end",f),j.removeListener("close",g),j.removeListener("error",h),a.removeListener("error",h),j.removeListener("end",i),j.removeListener("close",i),a.removeListener("close",i)}var j=this;j.on("data",c),a.on("drain",d),a._isStdio||b&&b.end===!1||(j.on("end",f),j.on("close",g));var k=!1;return j.on("error",h),a.on("error",h),j.on("end",i),j.on("close",i),a.on("close",i), -a.emit("pipe",j),a}},{events:68,inherits:71,"readable-stream/duplex.js":83,"readable-stream/passthrough.js":89,"readable-stream/readable.js":90,"readable-stream/transform.js":91,"readable-stream/writable.js":92}],122:[function(a,b,c){(function(b){var d=a("./lib/request"),e=a("xtend"),f=a("builtin-status-codes"),g=a("url"),h=c;h.request=function(a,c){a="string"==typeof a?g.parse(a):e(a);var f=-1===b.location.protocol.search(/^https?:$/)?"http:":"",h=a.protocol||f,i=a.hostname||a.host,j=a.port,k=a.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),a.url=(i?h+"//"+i:"")+(j?":"+j:"")+k,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var l=new d(a);return c&&l.on("response",c),l},h.get=function(a,b){var c=h.request(a,b);return c.end(),c},h.Agent=function(){},h.Agent.defaultMaxSockets=4,h.STATUS_CODES=f,h.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":124,"builtin-status-codes":6,url:140,xtend:146}],123:[function(a,b,c){(function(a){function b(a){try{return f.responseType=a,f.responseType===a}catch(b){}return!1}function d(a){return"function"==typeof a}c.fetch=d(a.fetch)&&d(a.ReadableByteStream),c.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),c.blobConstructor=!0}catch(e){}var f=new a.XMLHttpRequest;f.open("GET",a.location.host?"/":"https://example.com");var g="undefined"!=typeof a.ArrayBuffer,h=g&&d(a.ArrayBuffer.prototype.slice);c.arraybuffer=g&&b("arraybuffer"),c.msstream=!c.fetch&&h&&b("ms-stream"),c.mozchunkedarraybuffer=!c.fetch&&g&&b("moz-chunked-arraybuffer"),c.overrideMimeType=d(f.overrideMimeType),c.vbArray=d(a.VBArray),f=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],124:[function(a,b,c){(function(c,d,e){function f(a){return h.fetch?"fetch":h.mozchunkedarraybuffer?"moz-chunked-arraybuffer":h.msstream?"ms-stream":h.arraybuffer&&a?"arraybuffer":h.vbArray&&a?"text:vbarray":"text"}function g(a){try{var b=a.status;return null!==b&&0!==b}catch(c){return!1}}var h=a("./capability"),i=a("inherits"),j=a("./response"),k=a("stream"),l=a("to-arraybuffer"),m=j.IncomingMessage,n=j.readyStates,o=b.exports=function(a){var b=this;k.Writable.call(b),b._opts=a,b._body=[],b._headers={},a.auth&&b.setHeader("Authorization","Basic "+new e(a.auth).toString("base64")),Object.keys(a.headers).forEach(function(c){b.setHeader(c,a.headers[c])});var c;if("prefer-streaming"===a.mode)c=!1;else if("allow-wrong-content-type"===a.mode)c=!h.overrideMimeType;else{if(a.mode&&"default"!==a.mode&&"prefer-fast"!==a.mode)throw new Error("Invalid value for opts.mode");c=!0}b._mode=f(c),b.on("finish",function(){b._onFinish()})};i(o,k.Writable),o.prototype.setHeader=function(a,b){var c=this,d=a.toLowerCase();-1===p.indexOf(d)&&(c._headers[d]={name:a,value:b})},o.prototype.getHeader=function(a){var b=this;return b._headers[a.toLowerCase()].value},o.prototype.removeHeader=function(a){var b=this;delete b._headers[a.toLowerCase()]},o.prototype._onFinish=function(){var a=this;if(!a._destroyed){var b,f=a._opts,g=a._headers;if("POST"!==f.method&&"PUT"!==f.method&&"PATCH"!==f.method||(b=h.blobConstructor?new d.Blob(a._body.map(function(a){return l(a)}),{type:(g["content-type"]||{}).value||""}):e.concat(a._body).toString()),"fetch"===a._mode){var i=Object.keys(g).map(function(a){return[g[a].name,g[a].value]});d.fetch(a._opts.url,{method:a._opts.method,headers:i,body:b,mode:"cors",credentials:f.withCredentials?"include":"same-origin"}).then(function(b){a._fetchResponse=b,a._connect()},function(b){a.emit("error",b)})}else{var j=a._xhr=new d.XMLHttpRequest;try{j.open(a._opts.method,a._opts.url,!0)}catch(k){return void c.nextTick(function(){a.emit("error",k)})}"responseType"in j&&(j.responseType=a._mode.split(":")[0]),"withCredentials"in j&&(j.withCredentials=!!f.withCredentials),"text"===a._mode&&"overrideMimeType"in j&&j.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(g).forEach(function(a){j.setRequestHeader(g[a].name,g[a].value)}),a._response=null,j.onreadystatechange=function(){switch(j.readyState){case n.LOADING:case n.DONE:a._onXHRProgress()}},"moz-chunked-arraybuffer"===a._mode&&(j.onprogress=function(){a._onXHRProgress()}),j.onerror=function(){a._destroyed||a.emit("error",new Error("XHR error"))};try{j.send(b)}catch(k){return void c.nextTick(function(){a.emit("error",k)})}}}},o.prototype._onXHRProgress=function(){var a=this;g(a._xhr)&&!a._destroyed&&(a._response||a._connect(),a._response._onXHRProgress())},o.prototype._connect=function(){var a=this;a._destroyed||(a._response=new m(a._xhr,a._fetchResponse,a._mode),a.emit("response",a._response))},o.prototype._write=function(a,b,c){var d=this;d._body.push(a),c()},o.prototype.abort=o.prototype.destroy=function(){var a=this;a._destroyed=!0,a._response&&(a._response._destroyed=!0),a._xhr&&a._xhr.abort()},o.prototype.end=function(a,b,c){var d=this;"function"==typeof a&&(c=a,a=void 0),k.Writable.prototype.end.call(d,a,b,c)},o.prototype.flushHeaders=function(){},o.prototype.setTimeout=function(){},o.prototype.setNoDelay=function(){},o.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./capability":123,"./response":125,_process:78,buffer:5,inherits:71,stream:121,"to-arraybuffer":127}],125:[function(a,b,c){(function(b,d,e){var f=a("./capability"),g=a("inherits"),h=a("stream"),i=c.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},j=c.IncomingMessage=function(a,c,d){function g(){m.read().then(function(a){if(!i._destroyed){if(a.done)return void i.push(null);i.push(new e(a.value)),g()}})}var i=this;if(h.Readable.call(i),i._mode=d,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){b.nextTick(function(){i.emit("close")})}),"fetch"===d){i._fetchResponse=c,i.statusCode=c.status,i.statusMessage=c.statusText;for(var j,k,l=c.headers[Symbol.iterator]();j=(k=l.next()).value,!k.done;)i.headers[j[0].toLowerCase()]=j[1],i.rawHeaders.push(j[0],j[1]);var m=c.body.getReader();g()}else{i._xhr=a,i._pos=0,i.statusCode=a.status,i.statusMessage=a.statusText;var n=a.getAllResponseHeaders().split(/\r?\n/);if(n.forEach(function(a){var b=a.match(/^([^:]+):\s*(.*)/);if(b){var c=b[1].toLowerCase();"set-cookie"===c?(void 0===i.headers[c]&&(i.headers[c]=[]),i.headers[c].push(b[2])):void 0!==i.headers[c]?i.headers[c]+=", "+b[2]:i.headers[c]=b[2],i.rawHeaders.push(b[1],b[2])}}),i._charset="x-user-defined",!f.overrideMimeType){var o=i.rawHeaders["mime-type"];if(o){var p=o.match(/;\s*charset=([^;])(;|$)/);p&&(i._charset=p[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};g(j,h.Readable),j.prototype._read=function(){},j.prototype._onXHRProgress=function(){var a=this,b=a._xhr,c=null;switch(a._mode){case"text:vbarray":if(b.readyState!==i.DONE)break;try{c=new d.VBArray(b.responseBody).toArray()}catch(f){}if(null!==c){a.push(new e(c));break}case"text":try{c=b.responseText}catch(f){a._mode="text:vbarray";break}if(c.length>a._pos){var g=c.substr(a._pos);if("x-user-defined"===a._charset){for(var h=new e(g.length),j=0;ja._pos&&(a.push(new e(new Uint8Array(k.result.slice(a._pos)))),a._pos=k.result.byteLength)},k.onload=function(){a.push(null)},k.readAsArrayBuffer(c)}a._xhr.readyState===i.DONE&&"ms-stream"!==a._mode&&a.push(null)}}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./capability":123,_process:78,buffer:5,inherits:71,stream:121}],126:[function(a,b,c){function d(a){if(a&&!i(a))throw new Error("Unknown encoding: "+a)}function e(a){return a.toString(this.encoding)}function f(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function g(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var h=a("buffer").Buffer,i=h.isEncoding||function(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}},j=c.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:return void(this.write=e)}this.charBuffer=new h(6),this.charReceived=0,this.charLength=0};j.prototype.write=function(a){for(var b="";this.charLength;){var c=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived=55296&&56319>=d)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&56319>=d){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},j.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(2>=b&&c>>4==14){this.charLength=3;break}if(3>=b&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}},{buffer:5}],127:[function(a,b,c){var d=a("buffer").Buffer;b.exports=function(a){if(a instanceof Uint8Array){if(0===a.byteOffset&&a.byteLength===a.buffer.byteLength)return a.buffer;if("function"==typeof a.buffer.slice)return a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength)}if(d.isBuffer(a)){for(var b=new Uint8Array(a.length),c=a.length,e=0;c>e;e++)b[e]=a[e];return b.buffer}throw new Error("Argument must be a Buffer")}},{buffer:5}],128:[function(a,b,c){function d(){this._array=[],this._set={}}var e=a("./util");d.fromArray=function(a,b){for(var c=new d,e=0,f=a.length;f>e;e++)c.add(a[e],b);return c},d.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},d.prototype.add=function(a,b){var c=e.toSetString(a),d=this._set.hasOwnProperty(c),f=this._array.length;d&&!b||this._array.push(a),d||(this._set[c]=f)},d.prototype.has=function(a){var b=e.toSetString(a);return this._set.hasOwnProperty(b)},d.prototype.indexOf=function(a){var b=e.toSetString(a);if(this._set.hasOwnProperty(b))return this._set[b];throw new Error('"'+a+'" is not in the set.')},d.prototype.at=function(a){if(a>=0&&aa?(-a<<1)+1:(a<<1)+0}function e(a){var b=1===(1&a),c=a>>1;return b?-c:c}var f=a("./base64"),g=5,h=1<>>=g,e>0&&(b|=j),c+=f.encode(b);while(e>0);return c},c.decode=function(a,b,c){var d,h,k=a.length,l=0,m=0;do{if(b>=k)throw new Error("Expected more digits in base 64 VLQ value.");if(h=f.decode(a.charCodeAt(b++)),-1===h)throw new Error("Invalid base64 digit: "+a.charAt(b-1));d=!!(h&j),h&=i,l+=h<=0&&a=b&&c>=a?a-b:a>=d&&e>=a?a-d+j:a>=f&&g>=a?a-f+k:a==h?62:a==i?63:-1}},{}],131:[function(a,b,c){function d(a,b,e,f,g,h){var i=Math.floor((b-a)/2)+a,j=g(e,f[i],!0);return 0===j?i:j>0?b-i>1?d(i,b,e,f,g,h):h==c.LEAST_UPPER_BOUND?b1?d(a,i,e,f,g,h):h==c.LEAST_UPPER_BOUND?i:0>a?-1:a}c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.search=function(a,b,e,f){if(0===b.length)return-1;var g=d(-1,b.length,a,b,e,f||c.GREATEST_LOWER_BOUND);if(0>g)return-1;for(;g-1>=0&&0===e(b[g],b[g-1],!0);)--g;return g}},{}],132:[function(a,b,c){function d(a,b){var c=a.generatedLine,d=b.generatedLine,e=a.generatedColumn,g=b.generatedColumn;return d>c||d==c&&g>=e||f.compareByGeneratedPositionsInflated(a,b)<=0}function e(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var f=a("./util");e.prototype.unsortedForEach=function(a,b){this._array.forEach(a,b)},e.prototype.add=function(a){d(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},e.prototype.toArray=function(){return this._sorted||(this._array.sort(f.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},c.MappingList=e},{"./util":137}],133:[function(a,b,c){function d(a,b,c){var d=a[b];a[b]=a[c],a[c]=d}function e(a,b){return Math.round(a+Math.random()*(b-a))}function f(a,b,c,g){if(g>c){var h=e(c,g),i=c-1;d(a,h,g);for(var j=a[g],k=c;g>k;k++)b(a[k],j)<=0&&(i+=1,d(a,i,k));d(a,i+1,k);var l=i+1;f(a,b,c,l-1),f(a,b,l+1,g)}}c.quickSort=function(a,b){f(a,b,0,a.length-1)}},{}],134:[function(a,b,c){function d(a){var b=a;return"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,""))),null!=b.sections?new g(b):new e(b)}function e(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),d=h.getArg(b,"sources"),e=h.getArg(b,"names",[]),f=h.getArg(b,"sourceRoot",null),g=h.getArg(b,"sourcesContent",null),i=h.getArg(b,"mappings"),k=h.getArg(b,"file",null);if(c!=this._version)throw new Error("Unsupported version: "+c);d=d.map(h.normalize).map(function(a){return f&&h.isAbsolute(f)&&h.isAbsolute(a)?h.relative(f,a):a}),this._names=j.fromArray(e,!0),this._sources=j.fromArray(d,!0),this.sourceRoot=f,this.sourcesContent=g,this._mappings=i,this.file=k}function f(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function g(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),e=h.getArg(b,"sections");if(c!=this._version)throw new Error("Unsupported version: "+c);this._sources=new j,this._names=new j;var f={line:-1,column:0};this._sections=e.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var b=h.getArg(a,"offset"),c=h.getArg(b,"line"),e=h.getArg(b,"column");if(c=0){var f=this._originalMappings[e];if(void 0===a.column)for(var g=f.originalLine;f&&f.originalLine===g;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e];else for(var j=f.originalColumn;f&&f.originalLine===b&&f.originalColumn==j;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e]}return d},c.SourceMapConsumer=d,e.prototype=Object.create(d.prototype),e.prototype.consumer=d,e.fromSourceMap=function(a){var b=Object.create(e.prototype),c=b._names=j.fromArray(a._names.toArray(),!0),d=b._sources=j.fromArray(a._sources.toArray(),!0);b.sourceRoot=a._sourceRoot,b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot),b.file=a._file;for(var g=a._mappings.toArray().slice(),i=b.__generatedMappings=[],k=b.__originalMappings=[],m=0,n=g.length;n>m;m++){var o=g[m],p=new f;p.generatedLine=o.generatedLine,p.generatedColumn=o.generatedColumn,o.source&&(p.source=d.indexOf(o.source),p.originalLine=o.originalLine,p.originalColumn=o.originalColumn,o.name&&(p.name=c.indexOf(o.name)),k.push(p)),i.push(p)}return l(b.__originalMappings,h.compareByOriginalPositions),b},e.prototype._version=3,Object.defineProperty(e.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return null!=this.sourceRoot?h.join(this.sourceRoot,a):a},this)}}),e.prototype._parseMappings=function(a,b){for(var c,d,e,g,i,j=1,m=0,n=0,o=0,p=0,q=0,r=a.length,s=0,t={},u={},v=[],w=[];r>s;)if(";"===a.charAt(s))j++,s++,m=0;else if(","===a.charAt(s))s++;else{for(c=new f,c.generatedLine=j,g=s;r>g&&!this._charIsMappingSeparator(a,g);g++);if(d=a.slice(s,g),e=t[d])s+=d.length;else{for(e=[];g>s;)k.decode(a,s,u),i=u.value,s=u.rest,e.push(i);if(2===e.length)throw new Error("Found a source, but no line and column");if(3===e.length)throw new Error("Found a source and line, but no column");t[d]=e}c.generatedColumn=m+e[0],m=c.generatedColumn,e.length>1&&(c.source=p+e[1],p+=e[1],c.originalLine=n+e[2],n=c.originalLine,c.originalLine+=1,c.originalColumn=o+e[3],o=c.originalColumn,e.length>4&&(c.name=q+e[4],q+=e[4])),w.push(c),"number"==typeof c.originalLine&&v.push(c)}l(w,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,l(v,h.compareByOriginalPositions),this.__originalMappings=v},e.prototype._findMapping=function(a,b,c,d,e,f){if(a[c]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+a[c]);if(a[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return i.search(a,b,e,f)},e.prototype.computeColumnSpans=function(){for(var a=0;a=0){var e=this._generatedMappings[c];if(e.generatedLine===b.generatedLine){var f=h.getArg(e,"source",null);null!==f&&(f=this._sources.at(f),null!=this.sourceRoot&&(f=h.join(this.sourceRoot,f)));var g=h.getArg(e,"name",null);return null!==g&&(g=this._names.at(g)),{source:f,line:h.getArg(e,"originalLine",null),column:h.getArg(e,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==a}):!1},e.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(a=h.relative(this.sourceRoot,a)),this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var c;if(null!=this.sourceRoot&&(c=h.urlParse(this.sourceRoot))){var d=a.replace(/^file:\/\//,"");if("file"==c.scheme&&this._sources.has(d))return this.sourcesContent[this._sources.indexOf(d)];if((!c.path||"/"==c.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(b)return null;throw new Error('"'+a+'" is not in the SourceMap.')},e.prototype.generatedPositionFor=function(a){var b=h.getArg(a,"source");if(null!=this.sourceRoot&&(b=h.relative(this.sourceRoot,b)),!this._sources.has(b))return{line:null,column:null,lastColumn:null};b=this._sources.indexOf(b);var c={source:b,originalLine:h.getArg(a,"line"),originalColumn:h.getArg(a,"column")},e=this._findMapping(c,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(a,"bias",d.GREATEST_LOWER_BOUND));if(e>=0){var f=this._originalMappings[e];if(f.source===c.source)return{line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},c.BasicSourceMapConsumer=e,g.prototype=Object.create(d.prototype),g.prototype.constructor=d,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var a=[],b=0;b0&&a.column>=0)||b||c||d)&&!(a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&a.line>0&&a.column>=0&&b.line>0&&b.column>=0&&c))throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:c,original:b,name:d}))},d.prototype._serializeMappings=function(){for(var a,b,c,d=0,g=1,h=0,i=0,j=0,k=0,l="",m=this._mappings.toArray(),n=0,o=m.length;o>n;n++){if(a=m[n],a.generatedLine!==g)for(d=0;a.generatedLine!==g;)l+=";",g++;else if(n>0){if(!f.compareByGeneratedPositionsInflated(a,m[n-1]))continue;l+=","}l+=e.encode(a.generatedColumn-d),d=a.generatedColumn,null!=a.source&&(c=this._sources.indexOf(a.source),l+=e.encode(c-k),k=c,l+=e.encode(a.originalLine-1-i),i=a.originalLine-1,l+=e.encode(a.originalColumn-h),h=a.originalColumn,null!=a.name&&(b=this._names.indexOf(a.name),l+=e.encode(b-j),j=b))}return l},d.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=f.relative(b,a));var c=f.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},d.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(a.file=this._file),null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},d.prototype.toString=function(){return JSON.stringify(this.toJSON())},c.SourceMapGenerator=d},{"./array-set":128,"./base64-vlq":129,"./mapping-list":132,"./util":137}],136:[function(a,b,c){function d(a,b,c,d,e){this.children=[],this.sourceContents={},this.line=null==a?null:a,this.column=null==b?null:b,this.source=null==c?null:c,this.name=null==e?null:e,this[i]=!0,null!=d&&this.add(d)}var e=a("./source-map-generator").SourceMapGenerator,f=a("./util"),g=/(\r?\n)/,h=10,i="$$$isSourceNode$$$";d.fromStringWithSourceMap=function(a,b,c){function e(a,b){if(null===a||void 0===a.source)h.add(b);else{var e=c?f.join(c,a.source):a.source;h.add(new d(a.originalLine,a.originalColumn,e,b,a.name))}}var h=new d,i=a.split(g),j=function(){var a=i.shift(),b=i.shift()||"";return a+b},k=1,l=0,m=null;return b.eachMapping(function(a){if(null!==m){if(!(k0&&(m&&e(m,j()),h.add(i.join(""))),b.sources.forEach(function(a){var d=b.sourceContentFor(a);null!=d&&(null!=c&&(a=f.join(c,a)),h.setSourceContent(a,d))}),h},d.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(a){this.add(a)},this);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);a&&this.children.push(a)}return this},d.prototype.prepend=function(a){if(Array.isArray(a))for(var b=a.length-1;b>=0;b--)this.prepend(a[b]);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);this.children.unshift(a); -}return this},d.prototype.walk=function(a){for(var b,c=0,d=this.children.length;d>c;c++)b=this.children[c],b[i]?b.walk(a):""!==b&&a(b,{source:this.source,line:this.line,column:this.column,name:this.name})},d.prototype.join=function(a){var b,c,d=this.children.length;if(d>0){for(b=[],c=0;d-1>c;c++)b.push(this.children[c]),b.push(a);b.push(this.children[c]),this.children=b}return this},d.prototype.replaceRight=function(a,b){var c=this.children[this.children.length-1];return c[i]?c.replaceRight(a,b):"string"==typeof c?this.children[this.children.length-1]=c.replace(a,b):this.children.push("".replace(a,b)),this},d.prototype.setSourceContent=function(a,b){this.sourceContents[f.toSetString(a)]=b},d.prototype.walkSourceContents=function(a){for(var b=0,c=this.children.length;c>b;b++)this.children[b][i]&&this.children[b].walkSourceContents(a);for(var d=Object.keys(this.sourceContents),b=0,c=d.length;c>b;b++)a(f.fromSetString(d[b]),this.sourceContents[d[b]])},d.prototype.toString=function(){var a="";return this.walk(function(b){a+=b}),a},d.prototype.toStringWithSourceMap=function(a){var b={code:"",line:1,column:0},c=new e(a),d=!1,f=null,g=null,i=null,j=null;return this.walk(function(a,e){b.code+=a,null!==e.source&&null!==e.line&&null!==e.column?(f===e.source&&g===e.line&&i===e.column&&j===e.name||c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name}),f=e.source,g=e.line,i=e.column,j=e.name,d=!0):d&&(c.addMapping({generated:{line:b.line,column:b.column}}),f=null,d=!1);for(var k=0,l=a.length;l>k;k++)a.charCodeAt(k)===h?(b.line++,b.column=0,k+1===l?(f=null,d=!1):d&&c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name})):b.column++}),this.walkSourceContents(function(a,b){c.setSourceContent(a,b)}),{code:b.code,map:c}},c.SourceNode=d},{"./source-map-generator":135,"./util":137}],137:[function(a,b,c){function d(a,b,c){if(b in a)return a[b];if(3===arguments.length)return c;throw new Error('"'+b+'" is a required argument.')}function e(a){var b=a.match(p);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}function f(a){var b="";return 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),b}function g(a){var b=a,d=e(a);if(d){if(!d.path)return a;b=d.path}for(var g,h=c.isAbsolute(b),i=b.split(/\/+/),j=0,k=i.length-1;k>=0;k--)g=i[k],"."===g?i.splice(k,1):".."===g?j++:j>0&&(""===g?(i.splice(k+1,j),j=0):(i.splice(k,2),j--));return b=i.join("/"),""===b&&(b=h?"/":"."),d?(d.path=b,f(d)):b}function h(a,b){""===a&&(a="."),""===b&&(b=".");var c=e(b),d=e(a);if(d&&(a=d.path||"/"),c&&!c.scheme)return d&&(c.scheme=d.scheme),f(c);if(c||b.match(q))return b;if(d&&!d.host&&!d.path)return d.host=b,f(d);var h="/"===b.charAt(0)?b:g(a.replace(/\/+$/,"")+"/"+b);return d?(d.path=h,f(d)):h}function i(a,b){""===a&&(a="."),a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;if(a=a.slice(0,d),a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join("../")+b.substr(a.length+1)}function j(a){return"$"+a}function k(a){return a.substr(1)}function l(a,b,c){var d=a.source-b.source;return 0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d||c?d:(d=a.generatedColumn-b.generatedColumn,0!==d?d:(d=a.generatedLine-b.generatedLine,0!==d?d:a.name-b.name))))}function m(a,b,c){var d=a.generatedLine-b.generatedLine;return 0!==d?d:(d=a.generatedColumn-b.generatedColumn,0!==d||c?d:(d=a.source-b.source,0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d?d:a.name-b.name))))}function n(a,b){return a===b?0:a>b?1:-1}function o(a,b){var c=a.generatedLine-b.generatedLine;return 0!==c?c:(c=a.generatedColumn-b.generatedColumn,0!==c?c:(c=n(a.source,b.source),0!==c?c:(c=a.originalLine-b.originalLine,0!==c?c:(c=a.originalColumn-b.originalColumn,0!==c?c:n(a.name,b.name)))))}c.getArg=d;var p=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,q=/^data:.+\,.+$/;c.urlParse=e,c.urlGenerate=f,c.normalize=g,c.join=h,c.isAbsolute=function(a){return"/"===a.charAt(0)||!!a.match(p)},c.relative=i,c.toSetString=j,c.fromSetString=k,c.compareByOriginalPositions=l,c.compareByGeneratedPositionsDeflated=m,c.compareByGeneratedPositionsInflated=o},{}],138:[function(a,b,c){c.SourceMapGenerator=a("./lib/source-map-generator").SourceMapGenerator,c.SourceMapConsumer=a("./lib/source-map-consumer").SourceMapConsumer,c.SourceNode=a("./lib/source-node").SourceNode},{"./lib/source-map-consumer":134,"./lib/source-map-generator":135,"./lib/source-node":136}],139:[function(a,b,c){function d(a){for(var b=Object.create(null),c=0;c=0;)if(b[c]==a)return!0;return!1}function h(a,b){for(var c=0,d=b.length;d>c;++c)if(a(b[c]))return b[c]}function i(a,b){if(0>=b)return"";if(1==b)return a;var c=i(a,b>>1);return c+=c,1&b&&(c+=a),c}function j(a,b){Error.call(this,a),this.msg=a,this.defs=b}function k(a,b,c){a===!0&&(a={});var d=a||{};if(c)for(var e in d)d.hasOwnProperty(e)&&!b.hasOwnProperty(e)&&j.croak("`"+e+"` is not a supported option",b);for(var e in b)b.hasOwnProperty(e)&&(d[e]=a&&a.hasOwnProperty(e)?a[e]:b[e]);return d}function l(a,b){var c=0;for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d],c++);return c}function m(){}function n(a,b){a.indexOf(b)<0&&a.push(b)}function o(a,b){return a.replace(/\{(.+?)\}/g,function(a,c){return b[c]})}function p(a,b){for(var c=a.length;--c>=0;)a[c]===b&&a.splice(c,1)}function q(a,b){function c(a,c){for(var d=[],e=0,f=0,g=0;e=0})}function t(a){function b(a){if(1==a.length)return c+="return str === "+JSON.stringify(a[0])+";";c+="switch(str){";for(var b=0;b3){d.sort(function(a,b){return b.length-a.length}),c+="switch(str.length){";for(var e=0;e=0;)if(!b(a[c]))return!1;return!0}function v(){this._values=Object.create(null),this._size=0}function w(a,b,d,e){arguments.length<4&&(e=_),b=b?b.split(/\s+/):[];var f=b;e&&e.PROPS&&(b=b.concat(e.PROPS));for(var g="return function AST_"+a+"(props){ if (props) { ",h=b.length;--h>=0;)g+="this."+b[h]+" = props."+b[h]+";";var i=e&&new e;(i&&i.initialize||d&&d.initialize)&&(g+="this.initialize();"),g+="}}";var j=new Function(g)();if(i&&(j.prototype=i,j.BASE=e),e&&e.SUBCLASSES.push(j),j.prototype.CTOR=j,j.PROPS=b||null,j.SELF_PROPS=f,j.SUBCLASSES=[],a&&(j.prototype.TYPE=j.TYPE=a),d)for(h in d)d.hasOwnProperty(h)&&(/^\$/.test(h)?j[h.substr(1)]=d[h]:j.prototype[h]=d[h]);return j.DEFMETHOD=function(a,b){this.prototype[a]=b},c["AST_"+a]=j,j}function x(a,b){a.body instanceof aa?a.body._walk(b):a.body.forEach(function(a){a._walk(b)})}function y(a){this.visit=a,this.stack=[],this.directives=Object.create(null)}function z(a){return a>=97&&122>=a||a>=65&&90>=a||a>=170&&Rb.letter.test(String.fromCharCode(a))}function A(a){return a>=48&&57>=a}function B(a){return A(a)||z(a)}function C(a){return Rb.digit.test(String.fromCharCode(a))}function D(a){return Rb.non_spacing_mark.test(a)||Rb.space_combining_mark.test(a)}function E(a){return Rb.connector_punctuation.test(a)}function F(a){return!Hb(a)&&/^[a-z_$][a-z0-9_$]*$/i.test(a)}function G(a){return 36==a||95==a||z(a)}function H(a){var b=a.charCodeAt(0);return G(b)||A(b)||8204==b||8205==b||D(a)||E(a)||C(b)}function I(a){return/^[a-z_$][a-z0-9_$]*$/i.test(a)}function J(a){if(Kb.test(a))return parseInt(a.substr(2),16);if(Lb.test(a))return parseInt(a.substr(1),8);var b=parseFloat(a);return b==a?b:void 0}function K(a,b,c,d,e){this.message=a,this.filename=b,this.line=c,this.col=d,this.pos=e,this.stack=(new Error).stack}function L(a,b,c,d,e){throw new K(a,b,c,d,e)}function M(a,b,c){return a.type==b&&(null==c||a.value==c)}function N(a,b,c,d){function e(){return z.text.charAt(z.pos)}function f(a,b){var c=z.text.charAt(z.pos++);if(a&&!c)throw Sb;return"\r\n\u2028\u2029".indexOf(c)>=0?(z.newline_before=z.newline_before||!b,++z.line,z.col=0,b||"\r"!=c||"\n"!=e()||(++z.pos,c="\n")):++z.col,c}function g(a){for(;a-- >0;)f()}function h(a){return z.text.substr(z.pos,a.length)==a}function i(a,b){var c=z.text.indexOf(a,z.pos);if(b&&-1==c)throw Sb;return c}function j(){z.tokline=z.line,z.tokcol=z.col,z.tokpos=z.pos}function k(c,d,e){z.regex_allowed="operator"==c&&!Ub(d)||"keyword"==c&&Ib(d)||"punc"==c&&Ob(d),C="punc"==c&&"."==d;var f={type:c,value:d,line:z.tokline,col:z.tokcol,pos:z.tokpos,endline:z.line,endcol:z.col,endpos:z.pos,nlb:z.newline_before,file:b};if(/^(?:num|string|regexp)$/i.test(c)&&(f.raw=a.substring(f.pos,f.endpos)),!e){f.comments_before=z.comments_before,z.comments_before=[];for(var g=0,h=f.comments_before.length;h>g;g++)f.nlb=f.nlb||f.comments_before[g].nlb}return z.newline_before=!1,new $(f)}function l(){for(var a;Nb(a=e())||"\u2028"==a||"\u2029"==a;)f()}function m(a){for(var b,c="",d=0;(b=e())&&a(b,d++);)c+=f();return c}function n(a){L(a,b,z.tokline,z.tokcol,z.tokpos)}function o(a){var b=!1,c=!1,d=!1,e="."==a,f=m(function(f,g){var h=f.charCodeAt(0);switch(h){case 120:case 88:return d?!1:d=!0;case 101:case 69:return d?!0:b?!1:b=c=!0;case 45:return c||0==g&&!a;case 43:return c;case c=!1,46:return e||d||b?!1:e=!0}return B(h)});a&&(f=a+f);var g=J(f);return isNaN(g)?void n("Invalid syntax: "+f):k("num",g)}function p(a){var b=f(!0,a);switch(b.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\x0B";case 102:return"\f";case 48:return"\x00";case 120:return String.fromCharCode(q(2));case 117:return String.fromCharCode(q(4));case 10:return"";case 13:if("\n"==e())return f(!0,a),""}return b}function q(a){for(var b=0;a>0;--a){var c=parseInt(f(!0),16);isNaN(c)&&n("Invalid hex-character pattern in string"),b=b<<4|c}return b}function r(a){var b,c=z.regex_allowed,d=i("\n");return-1==d?(b=z.text.substr(z.pos),z.pos=z.text.length):(b=z.text.substring(z.pos,d),z.pos=d),z.col=z.tokcol+(z.pos-z.tokpos),z.comments_before.push(k(a,b,!0)),z.regex_allowed=c,y()}function s(){for(var a,b,c=!1,d="",g=!1;null!=(a=e());)if(c)"u"!=a&&n("Expecting UnicodeEscapeSequence -- uXXXX"),a=p(),H(a)||n("Unicode char: "+a.charCodeAt(0)+" is not valid in identifier"),d+=a,c=!1;else if("\\"==a)g=c=!0,f();else{if(!H(a))break;d+=f()}return Fb(d)&&g&&(b=d.charCodeAt(0).toString(16).toUpperCase(),d="\\u"+"0000".substr(b.length)+b+d.slice(1)),d}function t(a){function b(a){if(!e())return a;var c=a+e();return Mb(c)?(f(),b(c)):a}return k("operator",b(a||f()))}function u(){switch(f(),e()){case"/":return f(),r("comment1");case"*":return f(),E()}return z.regex_allowed?F(""):t("/")}function v(){return f(),A(e().charCodeAt(0))?o("."):k("punc",".")}function w(){var a=s();return C?k("name",a):Gb(a)?k("atom",a):Fb(a)?Mb(a)?k("operator",a):k("keyword",a):k("name",a)}function x(a,b){return function(c){try{return b(c)}catch(d){if(d!==Sb)throw d;n(a)}}}function y(a){if(null!=a)return F(a);if(l(),j(),c){if(h("")&&z.newline_before)return g(3),r("comment4")}var b=e();if(!b)return k("eof");var i=b.charCodeAt(0);switch(i){case 34:case 39:return D(b);case 46:return v();case 47:return u()}return A(i)?o():Pb(b)?k("punc",f()):Jb(b)?t():92==i||G(i)?w():d&&0==z.pos&&h("#!")?(g(2),r("comment5")):void n("Unexpected character '"+b+"'")}var z={text:a,filename:b,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[]},C=!1,D=x("Unterminated string constant",function(a){for(var b=f(),c="";;){var d=f(!0,!0);if("\\"==d){var e=0,g=null;d=m(function(a){if(a>="0"&&"7">=a){if(!g)return g=a,++e;if("3">=g&&2>=e)return++e;if(g>="4"&&1>=e)return++e}return!1}),d=e>0?String.fromCharCode(parseInt(d,8)):p(!0)}else if("\r\n\u2028\u2029".indexOf(d)>=0)n("Unterminated string constant");else if(d==b)break;c+=d}var h=k("string",c);return h.quote=a,h}),E=x("Unterminated multiline comment",function(){var a=z.regex_allowed,b=i("*/",!0),c=z.text.substring(z.pos,b),d=c.split("\n"),e=d.length;z.pos=b+2,z.line+=e-1,e>1?z.col=d[e-1].length:z.col+=d[e-1].length,z.col+=2;var f=z.newline_before=z.newline_before||c.indexOf("\n")>=0;return z.comments_before.push(k("comment2",c,!0)),z.regex_allowed=a,z.newline_before=f,y()}),F=x("Unterminated regular expression",function(a){for(var b,c=!1,d=!1;b=f(!0);)if(c)a+="\\"+b,c=!1;else if("["==b)d=!0,a+=b;else if("]"==b&&d)d=!1,a+=b;else{if("/"==b&&!d)break;"\\"==b?c=!0:a+=b}var e=s();try{return k("regexp",new RegExp(a,e))}catch(g){n(g.message)}});return y.context=function(a){return a&&(z=a),z},y}function O(a,b){function c(a,b){return M(S.token,a,b)}function d(){return S.peeked||(S.peeked=S.input())}function e(){return S.prev=S.token,S.peeked?(S.token=S.peeked,S.peeked=null):S.token=S.input(),S.in_directives=S.in_directives&&("string"==S.token.type||c("punc",";")),S.token}function f(){return S.prev}function g(a,b,c,d){var e=S.input.context();L(a,e.filename,null!=b?b:e.tokline,null!=c?c:e.tokcol,null!=d?d:e.tokpos)}function i(a,b){g(b,a.line,a.col)}function j(a){null==a&&(a=S.token),i(a,"Unexpected token: "+a.type+" ("+a.value+")")}function l(a,b){return c(a,b)?e():void i(S.token,"Unexpected token "+S.token.type+" «"+S.token.value+"», expected "+a+" «"+b+"»")}function m(a){return l("punc",a)}function n(){return!b.strict&&(S.token.nlb||c("eof")||c("punc","}"))}function o(a){c("punc",";")?e():a||n()||j()}function p(){m("(");var a=qa(!0);return m(")"),a}function q(a){return function(){var b=S.token,c=a(),d=f();return c.start=b,c.end=d,c}}function r(){(c("operator","/")||c("operator","/="))&&(S.peeked=null,S.token=S.input(S.token.value.substr(1)))}function s(){var a=J(ob);h(function(b){return b.name==a.name},S.labels)&&g("Label "+a.name+" defined twice"),m(":"),S.labels.push(a);var b=T();return S.labels.pop(),b instanceof ja||a.references.forEach(function(b){b instanceof Ca&&(b=b.label.start,g("Continue label `"+a.name+"` refers to non-IterationStatement.",b.line,b.col,b.pos))}),new ia({body:b,label:a})}function t(a){return new da({body:(a=qa(!0),o(),a)})}function u(a){var b,c=null;n()||(c=J(qb,!0)),null!=c?(b=h(function(a){return a.name==c.name},S.labels),b||g("Undefined label "+c.name),c.thedef=b):0==S.in_loop&&g(a.TYPE+" not inside a loop or switch"),o();var d=new a({label:c});return b&&b.references.push(d),d}function v(){m("(");var a=null;return!c("punc",";")&&(a=c("keyword","var")?(e(),V(!0)):qa(!0,!0),c("operator","in"))?(a instanceof Ma&&a.definitions.length>1&&g("Only one variable declaration allowed in for..in loop"),e(),x(a)):w(a)}function w(a){m(";");var b=c("punc",";")?null:qa(!0);m(";");var d=c("punc",")")?null:qa(!0);return m(")"),new na({init:a,condition:b,step:d,body:R(T)})}function x(a){var b=a instanceof Ma?a.definitions[0].name:null,c=qa(!0);return m(")"),new oa({init:a,name:b,object:c,body:R(T)})}function y(){var a=p(),b=T(),d=null;return c("keyword","else")&&(e(),d=T()),new Da({condition:a,body:b,alternative:d})}function z(){m("{");for(var a=[];!c("punc","}");)c("eof")&&j(),a.push(T());return e(),a}function A(){m("{");for(var a,b=[],d=null,g=null;!c("punc","}");)c("eof")&&j(),c("keyword","case")?(g&&(g.end=f()),d=[],g=new Ha({start:(a=S.token,e(),a),expression:qa(!0),body:d}),b.push(g),m(":")):c("keyword","default")?(g&&(g.end=f()),d=[],g=new Ga({start:(a=S.token,e(),m(":"),a),body:d}),b.push(g)):(d||j(),d.push(T()));return g&&(g.end=f()),e(),b}function B(){var a=z(),b=null,d=null;if(c("keyword","catch")){var h=S.token;e(),m("(");var i=J(nb);m(")"),b=new Ja({start:h,argname:i,body:z(),end:f()})}if(c("keyword","finally")){var h=S.token;e(),d=new Ka({start:h,body:z(),end:f()})}return b||d||g("Missing catch/finally blocks"),new Ia({body:a,bcatch:b,bfinally:d})}function C(a,b){for(var d=[];d.push(new Oa({start:S.token,name:J(b?jb:ib),value:c("operator","=")?(e(),qa(!1,a)):null,end:f()})),c("punc",",");)e();return d}function D(){var a,b=S.token;switch(b.type){case"name":case"keyword":a=H(pb);break;case"num":a=new ub({start:b,end:b,value:b.value});break;case"string":a=new tb({start:b,end:b,value:b.value,quote:b.quote});break;case"regexp":a=new vb({start:b,end:b,value:b.value});break;case"atom":switch(b.value){case"false":a=new Db({start:b,end:b});break;case"true":a=new Eb({start:b,end:b});break;case"null":a=new xb({start:b,end:b})}break;case"operator":if(!I(b.value))throw new K("Invalid getter/setter name: "+b.value,b.file,b.line,b.col,b.pos);a=H(pb)}return e(),a}function E(a,b,d){for(var f=!0,g=[];!c("punc",a)&&(f?f=!1:m(","),!b||!c("punc",a));)c("punc",",")&&d?g.push(new Ab({start:S.token,end:S.token})):g.push(qa(!1));return e(),g}function F(){var a=S.token;switch(e(),a.type){case"num":case"string":case"name":case"operator":case"keyword":case"atom":return a.value;default:j()}}function G(){var a=S.token;switch(e(),a.type){case"name":case"operator":case"keyword":case"atom":return a.value;default:j()}}function H(a){var b=S.token.value;return new("this"==b?rb:a)({name:String(b),start:S.token,end:S.token})}function J(a,b){if(!c("name"))return b||g("Name expected"),null;var d=H(a);return e(),d}function O(a,b,c){return"++"!=b&&"--"!=b||Q(c)||g("Invalid use of "+b+" operator"),new a({operator:b,expression:c})}function P(a){return ea(aa(!0),0,a)}function Q(a){return b.strict?a instanceof rb?!1:a instanceof Sa||a instanceof fb:!0}function R(a){++S.in_loop;var b=a();return--S.in_loop,b}b=k(b,{strict:!1,filename:null,toplevel:null,expression:!1,html5_comments:!0,bare_returns:!1,shebang:!0});var S={input:"string"==typeof a?N(a,b.filename,b.html5_comments,b.shebang):a,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};S.token=e();var T=q(function(){var a;switch(r(),S.token.type){case"string":var h=S.in_directives,i=t();return h&&i.body instanceof tb&&!c("punc",",")?new ca({start:i.body.start,end:i.body.end,quote:i.body.quote,value:i.body.value}):i;case"num":case"regexp":case"operator":case"atom":return t();case"name":return M(d(),"punc",":")?s():t();case"punc":switch(S.token.value){case"{":return new fa({start:S.token,body:z(),end:f()});case"[":case"(":return t();case";":return e(),new ga;default:j()}case"keyword":switch(a=S.token.value,e(),a){case"break":return u(Ba);case"continue":return u(Ca);case"debugger":return o(),new ba;case"do":return new la({body:R(T),condition:(l("keyword","while"),a=p(),o(!0),a)});case"while":return new ma({condition:p(),body:R(T)});case"for":return v();case"function":return U(va);case"if":return y();case"return":return 0!=S.in_function||b.bare_returns||g("'return' outside of function"),new ya({value:c("punc",";")?(e(),null):n()?null:(a=qa(!0),o(),a)});case"switch":return new Ea({expression:p(),body:R(A)});case"throw":return S.token.nlb&&g("Illegal newline after 'throw'"),new za({value:(a=qa(!0),o(),a)});case"try":return B();case"var":return a=V(),o(),a;case"const":return a=W(),o(),a;case"with":return new pa({expression:p(),body:T()});default:j()}}}),U=function(a){var b=a===va,d=c("name")?J(b?lb:mb):null;return b&&!d&&j(),m("("),new a({name:d,argnames:function(a,b){for(;!c("punc",")");)a?a=!1:m(","),b.push(J(kb));return e(),b}(!0,[]),body:function(a,b){++S.in_function,S.in_directives=!0,S.in_loop=0,S.labels=[];var c=z();return--S.in_function,S.in_loop=a,S.labels=b,c}(S.in_loop,S.labels)})},V=function(a){return new Ma({start:f(),definitions:C(a,!1),end:f()})},W=function(){return new Na({start:f(),definitions:C(!1,!0),end:f()})},X=function(a){var b=S.token;l("operator","new");var d,g=Y(!1);return c("punc","(")?(e(),d=E(")")):d=[],_(new Qa({start:b,expression:g,args:d,end:f()}),a)},Y=function(a){if(c("operator","new"))return X(a);var b=S.token;if(c("punc")){switch(b.value){case"(":e();var d=qa(!0);return d.start=b,d.end=S.token,m(")"),_(d,a);case"[":return _(Z(),a);case"{":return _($(),a)}j()}if(c("keyword","function")){e();var g=U(ua);return g.start=b,g.end=f(),_(g,a)}return Yb[S.token.type]?_(D(),a):void j()},Z=q(function(){return m("["),new _a({elements:E("]",!b.strict,!0)})}),$=q(function(){m("{");for(var a=!0,d=[];!c("punc","}")&&(a?a=!1:m(","),b.strict||!c("punc","}"));){var g=S.token,h=g.type,i=F();if("name"==h&&!c("punc",":")){if("get"==i){d.push(new eb({start:g,key:D(),value:U(ta),end:f()}));continue}if("set"==i){d.push(new db({start:g,key:D(),value:U(ta),end:f()}));continue}}m(":"),d.push(new cb({start:g,quote:g.quote,key:i,value:qa(!1),end:f()}))}return e(),new ab({properties:d})}),_=function(a,b){var d=a.start;if(c("punc","."))return e(),_(new Ta({start:d,expression:a,property:G(),end:f()}),b);if(c("punc","[")){e();var g=qa(!0);return m("]"),_(new Ua({start:d,expression:a,property:g,end:f()}),b)}return b&&c("punc","(")?(e(),_(new Pa({start:d,expression:a,args:E(")"),end:f()}),!0)):a},aa=function(a){var b=S.token;if(c("operator")&&Tb(b.value)){e(),r();var d=O(Wa,b.value,aa(a));return d.start=b,d.end=f(),d}for(var g=Y(a);c("operator")&&Ub(S.token.value)&&!S.token.nlb;)g=O(Xa,S.token.value,g),g.start=b,g.end=S.token,e();return g},ea=function(a,b,d){var f=c("operator")?S.token.value:null;"in"==f&&d&&(f=null);var g=null!=f?Wb[f]:null;if(null!=g&&g>b){e();var h=ea(aa(!0),g,d);return ea(new Ya({start:a.start,left:a,operator:f,right:h,end:h.end}),b,d)}return a},ha=function(a){var b=S.token,d=P(a);if(c("operator","?")){e();var g=qa(!1);return m(":"),new Za({start:b,condition:d,consequent:g,alternative:qa(!1,a),end:f()})}return d},ka=function(a){var b=S.token,d=ha(a),h=S.token.value;if(c("operator")&&Vb(h)){if(Q(d))return e(),new $a({start:b,left:d,operator:h,right:ka(a),end:f()});g("Invalid assignment")}return d},qa=function(a,b){var f=S.token,g=ka(b);return a&&c("punc",",")?(e(),new Ra({start:f,car:g,cdr:qa(!0,b),end:d()})):g};return b.expression?qa(!0):function(){for(var a=S.token,d=[];!c("eof");)d.push(T());var e=f(),g=b.toplevel;return g?(g.body=g.body.concat(d),g.end=e):g=new ra({start:a,body:d,end:e}),g}()}function P(a,b){y.call(this),this.before=a,this.after=b}function Q(a,b,c){this.name=c.name,this.orig=[c],this.scope=a,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.constant=!1,this.index=b}function R(a){function b(a,b){return a.replace(/[\u0080-\uffff]/g,function(a){var c=a.charCodeAt(0).toString(16);if(c.length<=2&&!b){for(;c.length<2;)c="0"+c;return"\\x"+c}for(;c.length<4;)c="0"+c;return"\\u"+c})}function c(c,d){function e(){return"'"+c.replace(/\x27/g,"\\'")+"'"}function f(){return'"'+c.replace(/\x22/g,'\\"')+'"'}var g=0,h=0;switch(c=c.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(b){switch(b){case"\\":return"\\\\";case"\b":return"\\b";case"\f":return"\\f";case"\n":return"\\n";case"\r":return"\\r";case"\x0B":return a.screw_ie8?"\\v":"\\x0B";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case'"':return++g,'"';case"'":return++h,"'";case"\x00":return"\\x00";case"\ufeff":return"\\ufeff"}return b}),a.ascii_only&&(c=b(c)),a.quote_style){case 1:return e();case 2:return f();case 3:return"'"==d?e():f();default:return g>h?e():f()}}function d(b,d){var e=c(b,d);return a.inline_script&&(e=e.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1"),e=e.replace(/\x3c!--/g,"\\x3c!--"),e=e.replace(/--\x3e/g,"--\\x3e")),e}function e(c){return c=c.toString(),a.ascii_only&&(c=b(c,!0)),c}function f(b){return i(" ",a.indent_start+v-b*a.indent_level)}function g(){return C.charAt(C.length-1)}function h(){a.max_line_len&&w>a.max_line_len&&j("\n")}function j(b){b=String(b);var c=b.charAt(0);if(B&&(B=!1,c&&!(";}".indexOf(c)<0)||/[;]$/.test(C)||(a.semicolons||D(c)?(z+=";",w++,y++):(z+="\n",y++,x++,w=0,/^\s+$/.test(b)&&(B=!0)),a.beautify||(A=!1))),!a.beautify&&a.preserve_line&&L[L.length-1])for(var d=L[L.length-1].start.line;d>x;)z+="\n",y++,x++,w=0,A=!1;if(A){var e=g();(H(e)&&(H(c)||"\\"==c)||/^[\+\-\/]$/.test(c)&&c==e)&&(z+=" ",w++,y++),A=!1}var f=b.split(/\r?\n/),h=f.length-1;x+=h,0==h?w+=f[h].length:w=f[h].length,y+=b.length,C=b,z+=b}function l(){B=!1,j(";")}function n(){return v+a.indent_level}function o(a){var b;return j("{"),I(),G(n(),function(){b=a()}),F(),j("}"),b}function p(a){j("(");var b=a();return j(")"),b}function q(a){j("[");var b=a();return j("]"),b}function r(){j(","),E()}function s(){j(":"),a.space_colon&&E()}function u(){return z}a=k(a,{indent_start:0,indent_level:4,quote_keys:!1,space_colon:!0,ascii_only:!1,unescape_regexps:!1,inline_script:!1,width:80,max_line_len:32e3,beautify:!1,source_map:null,bracketize:!1,semicolons:!0,comments:!1,shebang:!0,preserve_line:!1,screw_ie8:!1,preamble:null,quote_style:0},!0);var v=0,w=0,x=1,y=0,z="",A=!1,B=!1,C=null,D=t("( [ + * / - , ."),E=a.beautify?function(){j(" ")}:function(){A=!0},F=a.beautify?function(b){a.beautify&&j(f(b?.5:0))}:m,G=a.beautify?function(a,b){a===!0&&(a=n());var c=v;v=a;var d=b();return v=c,d}:function(a,b){return b()},I=a.beautify?function(){j("\n")}:h,J=a.beautify?function(){j(";")}:function(){B=!0},K=a.source_map?function(b,c){try{b&&a.source_map.add(b.file||"?",x,w,b.line,b.col,c||"name"!=b.type?c:b.value)}catch(d){_.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:b.file,line:b.line,col:b.col,cline:x,ccol:w,name:c||""})}}:m;a.preamble&&j(a.preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"));var L=[];return{get:u,toString:u,indent:F,indentation:function(){return v},current_width:function(){return w-v},should_break:function(){return a.width&&this.current_width()>=a.width},newline:I,print:j,space:E,comma:r,colon:s,last:function(){return C},semicolon:J,force_semicolon:l,to_ascii:b,print_name:function(a){j(e(a))},print_string:function(a,b){j(d(a,b))},next_indent:n,with_indent:G,with_block:o,with_parens:p,with_square:q,add_mapping:K,option:function(b){return a[b]},line:function(){return x},col:function(){return w},pos:function(){return y},push_node:function(a){L.push(a)},pop_node:function(){return L.pop()},stack:function(){return L},parent:function(a){return L[L.length-2-(a||0)]}}}function S(a,b){return this instanceof S?(P.call(this,this.before,this.after),void(this.options=k(a,{sequences:!b,properties:!b,dead_code:!b,drop_debugger:!b,unsafe:!1,unsafe_comps:!1,conditionals:!b,comparisons:!b,evaluate:!b,booleans:!b,loops:!b,unused:!b,hoist_funs:!b,keep_fargs:!0,keep_fnames:!1,hoist_vars:!1,if_return:!b,join_vars:!b,collapse_vars:!1,cascade:!b,side_effects:!b,pure_getters:!1,pure_funcs:null,negate_iife:!b,screw_ie8:!1,drop_console:!1,angular:!1,warnings:!0,global_defs:{}},!0))):new S(a,b)}function T(a){function b(b,e,f,g,h,i){if(d){var j=d.originalPositionFor({line:g,column:h});if(null===j.source)return;b=j.source,g=j.line,h=j.column,i=j.name||i}c.addMapping({generated:{line:e+a.dest_line_diff,column:f},original:{line:g+a.orig_line_diff,column:h},source:b,name:i})}a=k(a,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var c=new X.SourceMapGenerator({file:a.file,sourceRoot:a.root}),d=a.orig&&new X.SourceMapConsumer(a.orig);return{add:b,get:function(){return c},toString:function(){return JSON.stringify(c.toJSON())}}}function U(){function a(a){n(b,a)}var b=[];return[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(b){Object.getOwnPropertyNames(b).map(a),b.prototype&&Object.getOwnPropertyNames(b.prototype).map(a)}),b}function V(a,b){function c(a){return o.indexOf(a)>=0?!1:i.indexOf(a)>=0?!1:b.only_cache?j.props.has(a):!/^[0-9.]+$/.test(a)}function d(a){return l&&!l.test(a)?!1:i.indexOf(a)>=0?!1:j.props.has(a)||m.indexOf(a)>=0}function e(a){c(a)&&n(m,a),d(a)||n(o,a)}function f(a){if(!d(a))return a;var b=j.props.get(a);if(!b){do b=Zb(++j.cname);while(!c(b));j.props.set(a,b)}return b}function g(a){var b={};try{!function d(a){a.walk(new y(function(a){if(a instanceof Ra)return d(a.cdr),!0;if(a instanceof tb)return e(a.value),!0;if(a instanceof Za)return d(a.consequent),d(a.alternative),!0;throw b}))}(a)}catch(c){if(c!==b)throw c}}function h(a){return a.transform(new P(function(a){return a instanceof Ra?a.cdr=h(a.cdr):a instanceof tb?a.value=f(a.value):a instanceof Za&&(a.consequent=h(a.consequent),a.alternative=h(a.alternative)),a}))}b=k(b,{reserved:null,cache:null,only_cache:!1,regex:null});var i=b.reserved;null==i&&(i=U());var j=b.cache;null==j&&(j={cname:-1,props:new v});var l=b.regex,m=[],o=[];return a.walk(new y(function(a){a instanceof cb?e(a.key):a instanceof bb?e(a.key.name):a instanceof Ta?this.parent()instanceof $a&&e(a.property):a instanceof Ua&&this.parent()instanceof $a&&g(a.property)})),a.transform(new P(function(a){a instanceof cb?a.key=f(a.key):a instanceof bb?a.key.name=f(a.key.name):a instanceof Ta?a.property=f(a.property):a instanceof Ua&&(a.property=h(a.property))}))}var W=a("util"),X=a("source-map"),Y=c;j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j.croak=function(a,b){throw new j(a,b)};var Z=function(){function a(a,f,g){function h(){var h=f(a[i],i),l=h instanceof d;return l&&(h=h.v),h instanceof b?(h=h.v,h instanceof c?k.push.apply(k,g?h.v.slice().reverse():h.v):k.push(h)):h!==e&&(h instanceof c?j.push.apply(j,g?h.v.slice().reverse():h.v):j.push(h)),l}var i,j=[],k=[];if(a instanceof Array)if(g){for(i=a.length;--i>=0&&!h(););j.reverse(),k.reverse()}else for(i=0;i0&&(a.splice(b-1,2),b-=2)}}function g(a,b){var c;return a&&"."===a.charAt(0)&&b&&(c=b.split("/"),c=c.slice(0,c.length-1),c=c.concat(a.split("/")),f(c),a=c.join("/")),a}function h(a){return function(b){return g(b,a)}}function i(a){function b(b){o[a]=b}return b.fromText=function(a,b){throw new Error("amdefine does not implement load.fromText")},b}function j(a,c,f){var g,h,i,j;if(a)h=o[a]={},i={id:a,uri:d,exports:h},g=l(e,h,i,a);else{if(p)throw new Error("amdefine with no module ID cannot be called more than once per file.");p=!0,h=b.exports,i=b,g=l(e,h,i,b.id)}c&&(c=c.map(function(a){return g(a)})),j="function"==typeof f?f.apply(i.exports,c):f,void 0!==j&&(i.exports=j,a&&(o[a]=i.exports))}function k(a,b,c){Array.isArray(a)?(c=b,b=a,a=void 0):"string"!=typeof a&&(c=a,a=b=void 0),b&&!Array.isArray(b)&&(c=b,b=void 0),b||(b=["require","exports","module"]),a?n[a]=[a,b,c]:j(a,b,c)}var l,m,n={},o={},p=!1,q=a("path");return l=function(a,b,d,e){function f(f,g){return"string"==typeof f?m(a,b,d,f,e):(f=f.map(function(c){return m(a,b,d,c,e)}),void(g&&c.nextTick(function(){g.apply(null,f)})))}return f.toUrl=function(a){return 0===a.indexOf(".")?g(a,q.dirname(d.filename)):a},f},e=e||function(){return b.require.apply(b,arguments)},m=function(a,b,c,d,e){var f,k,p=d.indexOf("!"),q=d;if(-1===p){if(d=g(d,e),"require"===d)return l(a,b,c,e);if("exports"===d)return b;if("module"===d)return c;if(o.hasOwnProperty(d))return o[d];if(n[d])return j.apply(null,n[d]),o[d];if(a)return a(q);throw new Error("No module with ID: "+d)}return f=d.substring(0,p),d=d.substring(p+1,d.length),k=m(a,b,c,f,e),d=k.normalize?k.normalize(d,h(e)):g(d,e),o[d]?o[d]:(k.load(d,l(a,b,c,e),i(d),{}),o[d])},k.require=function(a){return o[a]?o[a]:n[a]?(j.apply(null,n[a]),o[a]):void 0},k.amd={},k}b.exports=e}).call(this,a("_process"),"/node_modules\\amdefine\\amdefine.js")},{_process:78,path:76}],2:[function(a,b,c){"use strict";function d(){for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,c=a.length;c>b;++b)i[b]=a[b],j[a.charCodeAt(b)]=b;j["-".charCodeAt(0)]=62,j["_".charCodeAt(0)]=63}function e(a){var b,c,d,e,f,g,h=a.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");f="="===a[h-2]?2:"="===a[h-1]?1:0,g=new k(3*h/4-f),d=f>0?h-4:h;var i=0;for(b=0,c=0;d>b;b+=4,c+=3)e=j[a.charCodeAt(b)]<<18|j[a.charCodeAt(b+1)]<<12|j[a.charCodeAt(b+2)]<<6|j[a.charCodeAt(b+3)],g[i++]=e>>16&255,g[i++]=e>>8&255,g[i++]=255&e;return 2===f?(e=j[a.charCodeAt(b)]<<2|j[a.charCodeAt(b+1)]>>4,g[i++]=255&e):1===f&&(e=j[a.charCodeAt(b)]<<10|j[a.charCodeAt(b+1)]<<4|j[a.charCodeAt(b+2)]>>2,g[i++]=e>>8&255,g[i++]=255&e),g}function f(a){return i[a>>18&63]+i[a>>12&63]+i[a>>6&63]+i[63&a]}function g(a,b,c){for(var d,e=[],g=b;c>g;g+=3)d=(a[g]<<16)+(a[g+1]<<8)+a[g+2],e.push(f(d));return e.join("")}function h(a){for(var b,c=a.length,d=c%3,e="",f=[],h=16383,j=0,k=c-d;k>j;j+=h)f.push(g(a,j,j+h>k?k:j+h));return 1===d?(b=a[c-1],e+=i[b>>2],e+=i[b<<4&63],e+="=="):2===d&&(b=(a[c-2]<<8)+a[c-1],e+=i[b>>10],e+=i[b>>4&63],e+=i[b<<2&63],e+="="),f.push(e),f.join("")}c.toByteArray=e,c.fromByteArray=h;var i=[],j=[],k="undefined"!=typeof Uint8Array?Uint8Array:Array;d()},{}],3:[function(a,b,c){},{}],4:[function(a,b,c){arguments[4][3][0].apply(c,arguments)},{dup:3}],5:[function(a,b,c){(function(b){"use strict";function d(){try{var a=new Uint8Array(1);return a.foo=function(){return 42},42===a.foo()&&"function"==typeof a.subarray&&0===a.subarray(1,1).byteLength}catch(b){return!1}}function e(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(a){return this instanceof f?(f.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof a?g(this,a):"string"==typeof a?h(this,a,arguments.length>1?arguments[1]:"utf8"):i(this,a)):arguments.length>1?new f(a,arguments[1]):new f(a)}function g(a,b){if(a=p(a,0>b?0:0|q(b)),!f.TYPED_ARRAY_SUPPORT)for(var c=0;b>c;c++)a[c]=0;return a}function h(a,b,c){"string"==typeof c&&""!==c||(c="utf8");var d=0|s(b,c);return a=p(a,d),a.write(b,c),a}function i(a,b){if(f.isBuffer(b))return j(a,b);if(Y(b))return k(a,b);if(null==b)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(b.buffer instanceof ArrayBuffer)return l(a,b);if(b instanceof ArrayBuffer)return m(a,b)}return b.length?n(a,b):o(a,b)}function j(a,b){var c=0|q(b.length);return a=p(a,c),b.copy(a,0,0,c),a}function k(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function l(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function m(a,b){return b.byteLength,f.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(b),a.__proto__=f.prototype):a=l(a,new Uint8Array(b)),a}function n(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function o(a,b){var c,d=0;"Buffer"===b.type&&Y(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(var e=0;d>e;e+=1)a[e]=255&c[e];return a}function p(a,b){f.TYPED_ARRAY_SUPPORT?(a=new Uint8Array(b),a.__proto__=f.prototype):a.length=b;var c=0!==b&&b<=f.poolSize>>>1;return c&&(a.parent=Z),a}function q(a){if(a>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|a}function r(a,b){if(!(this instanceof r))return new r(a,b);var c=new f(a,b);return delete c.parent,c}function s(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return R(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return U(a).length;default:if(d)return R(a).length;b=(""+b).toLowerCase(),d=!0}}function t(a,b,c){var d=!1;if(b=0|b,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),0>b&&(b=0),c>this.length&&(c=this.length),b>=c)return"";for(;;)switch(a){case"hex":return F(this,b,c);case"utf8":case"utf-8":return B(this,b,c);case"ascii":return D(this,b,c);case"binary":return E(this,b,c);case"base64":return A(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function u(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d),d>e&&(d=e)):d=e;var f=b.length;if(f%2!==0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;d>g;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function v(a,b,c,d){return V(R(b,a.length-c),a,c,d)}function w(a,b,c,d){return V(S(b),a,c,d)}function x(a,b,c,d){return w(a,b,c,d)}function y(a,b,c,d){return V(U(b),a,c,d)}function z(a,b,c,d){return V(T(b,a.length-c),a,c,d)}function A(a,b,c){return 0===b&&c===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(b,c))}function B(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;c>e;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(c>=e+h){var i,j,k,l;switch(h){case 1:128>f&&(g=f);break;case 2:i=a[e+1],128===(192&i)&&(l=(31&f)<<6|63&i,l>127&&(g=l));break;case 3:i=a[e+1],j=a[e+2],128===(192&i)&&128===(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j,l>2047&&(55296>l||l>57343)&&(g=l));break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128===(192&i)&&128===(192&j)&&128===(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k,l>65535&&1114112>l&&(g=l))}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return C(d)}function C(a){var b=a.length;if($>=b)return String.fromCharCode.apply(String,a);for(var c="",d=0;b>d;)c+=String.fromCharCode.apply(String,a.slice(d,d+=$));return c}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(127&a[e]);return d}function E(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(a[e]);return d}function F(a,b,c){var d=a.length;(!b||0>b)&&(b=0),(!c||0>c||c>d)&&(c=d);for(var e="",f=b;c>f;f++)e+=Q(a[f]);return e}function G(a,b,c){for(var d=a.slice(b,c),e="",f=0;fa)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function I(a,b,c,d,e,g){if(!f.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>e||g>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range")}function J(a,b,c,d){0>b&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);f>e;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function K(a,b,c,d){0>b&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);f>e;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function L(a,b,c,d,e,f){if(c+d>a.length)throw new RangeError("index out of range");if(0>c)throw new RangeError("index out of range")}function M(a,b,c,d,e){return e||L(a,b,c,4,0xf.fffff(e+31),-0xf.fffff(e+31)),X.write(a,b,c,d,23,4),c+4}function N(a,b,c,d,e){return e||L(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(a,b,c,d,52,8),c+8}function O(a){if(a=P(a).replace(_,""),a.length<2)return"";for(;a.length%4!==0;)a+="=";return a}function P(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Q(a){return 16>a?"0"+a.toString(16):a.toString(16)}function R(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;d>g;g++){if(c=a.charCodeAt(g),c>55295&&57344>c){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(56320>c){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=(e-55296<<10|c-56320)+65536}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,128>c){if((b-=1)<0)break;f.push(c)}else if(2048>c){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(65536>c){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(1114112>c))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function S(a){for(var b=[],c=0;c>8,e=c%256,f.push(e),f.push(d);return f}function U(a){return W.toByteArray(O(a))}function V(a,b,c,d){for(var e=0;d>e&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e];return e}var W=a("base64-js"),X=a("ieee754"),Y=a("isarray");c.Buffer=f,c.SlowBuffer=r,c.INSPECT_MAX_BYTES=50,f.poolSize=8192;var Z={};f.TYPED_ARRAY_SUPPORT=void 0!==b.TYPED_ARRAY_SUPPORT?b.TYPED_ARRAY_SUPPORT:d(),f._augment=function(a){return a.__proto__=f.prototype,a},f.TYPED_ARRAY_SUPPORT?(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})):(f.prototype.length=void 0,f.prototype.parent=void 0),f.isBuffer=function(a){return!(null==a||!a._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,g=Math.min(c,d);g>e;++e)if(a[e]!==b[e]){c=a[e],d=b[e];break}return d>c?-1:c>d?1:0},f.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(a,b){if(!Y(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new f(0);var c;if(void 0===b)for(b=0,c=0;c0&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... ")),""},f.prototype.compare=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return f.compare(this,a)},f.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e2147483647?b=2147483647:-2147483648>b&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(0>b&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(f.isBuffer(a))return c(this,a,b);if("number"==typeof a)return f.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},f.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;f.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),a>b&&(b=a);var d;if(f.TYPED_ARRAY_SUPPORT)d=this.subarray(a,b),d.__proto__=f.prototype;else{var e=b-a;d=new f(e,void 0);for(var g=0;e>g;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},f.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f0&&(e*=256);)d+=this[a+--b]*e;return d},f.prototype.readUInt8=function(a,b){return b||H(a,1,this.length),this[a]},f.prototype.readUInt16LE=function(a,b){return b||H(a,2,this.length),this[a]|this[a+1]<<8},f.prototype.readUInt16BE=function(a,b){return b||H(a,2,this.length),this[a]<<8|this[a+1]},f.prototype.readUInt32LE=function(a,b){return b||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},f.prototype.readUInt32BE=function(a,b){return b||H(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},f.prototype.readIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f=e&&(d-=Math.pow(2,8*b)),d},f.prototype.readIntBE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},f.prototype.readInt8=function(a,b){return b||H(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},f.prototype.readInt16LE=function(a,b){b||H(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt16BE=function(a,b){b||H(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt32LE=function(a,b){return b||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},f.prototype.readInt32BE=function(a,b){return b||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},f.prototype.readFloatLE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!0,23,4)},f.prototype.readFloatBE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!1,23,4)},f.prototype.readDoubleLE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!0,52,8)},f.prototype.readDoubleBE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!1,52,8)},f.prototype.writeUIntLE=function(a,b,c,d){a=+a,b=0|b,c=0|c,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f=0&&(f*=256);)this[b+e]=a/f&255;return b+c},f.prototype.writeUInt8=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,1,255,0),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=255&a,b+1},f.prototype.writeUInt16LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeUInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeUInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=255&a):K(this,a,b,!0),b+4},f.prototype.writeUInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=0,g=1,h=0>a?1:0;for(this[b]=255&a;++f>0)-h&255;return b+c},f.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=0>a?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeInt8=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,1,127,-128),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),0>a&&(a=255+a+1),this[b]=255&a,b+1},f.prototype.writeInt16LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):K(this,a,b,!0),b+4},f.prototype.writeInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),0>a&&(a=4294967295+a+1),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},f.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},f.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},f.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},f.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&c>d&&(d=c),d===c)return 0;if(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>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-bc&&d>b)for(e=g-1;e>=0;e--)a[e+b]=this[e+c];else if(1e3>g||!f.TYPED_ARRAY_SUPPORT)for(e=0;g>e;e++)a[e+b]=this[e+c];else Uint8Array.prototype.set.call(a,this.subarray(c,c+g),b);return g},f.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),b>c)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(0>b||b>=this.length)throw new RangeError("start out of bounds");if(0>c||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;c>d;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;c>d;d++)this[d]=e[d%f]}return this}};var _=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":2,ieee754:70,isarray:73}],6:[function(a,b,c){b.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],7:[function(a,b,c){b.exports=a("./lib/clean")},{"./lib/clean":8}],8:[function(a,b,c){(function(c){function d(a){return void 0===a?["all"]:a}function e(a){return!C.existsSync(a)&&!/\.css$/.test(a)}function f(a){return C.existsSync(a)&&C.statSync(a).isDirectory()}function g(a){return a?{hostname:E.parse(a).hostname,port:parseInt(E.parse(a).port)}:{}}function h(a,b){function c(c){return c=b.options.debug?j(b,c):l(b,c),c=i(b,c),a?a.call(null,b.errors.length>0?b.errors:null,c):c}return function(a){return b.options.sourceMap?b.inputSourceMapTracker.track(a,function(){return b.options.sourceMapInlineSources?b.inputSourceMapTracker.resolveSources(function(){return c(a)}):c(a)}):c(a)}}function i(a,b){return b.stats=a.stats,b.errors=a.errors,b.warnings=a.warnings,b}function j(a,b){var d=c.hrtime();a.stats.originalSize=a.sourceTracker.removeAll(b).length,b=l(a,b);var e=c.hrtime(d);return a.stats.timeSpent=~~(1e3*e[0]+e[1]/1e6),a.stats.efficiency=1-b.styles.length/a.stats.originalSize,a.stats.minifiedSize=b.styles.length,b}function k(a){return function(b,d){var e=b.constructor.name+"#"+d,f=c.hrtime();a(b,d);var g=c.hrtime(f);console.log("%d ms: "+e,1e3*g[0]+g[1]/1e6)}}function l(a,b){function c(b,c){return b=g.restore(b,c),b=h.restore(b),b=d.rebase?n(b,a):b,b=f.restore(b),e.restore(b)}var d=a.options,e=new t(a,d.keepSpecialComments,d.keepBreaks,d.sourceMap),f=new u(d.sourceMap),g=new v(d.sourceMap),h=new w(a,d.sourceMap,d.compatibility.properties.urlQuotes),i=d.sourceMap?s:r,j=function(a,c){b="function"==typeof a?a(b):a[c](b)};d.benchmark&&(j=k(j)),j(e,"escape"),j(f,"escape"),j(h,"escape"),j(g,"escape");var l=o(b,a);return p(l,d),d.advanced&&q(l,d,a.validator,!0),i(l,d,c,a.inputSourceMapTracker)}var m=a("./imports/inliner"),n=a("./urls/rebase"),o=a("./tokenizer/tokenize"),p=a("./selectors/simple"),q=a("./selectors/advanced"),r=a("./stringifier/simple"),s=a("./stringifier/source-maps"),t=a("./text/comments-processor"),u=a("./text/expressions-processor"),v=a("./text/free-text-processor"),w=a("./text/urls-processor"),x=a("./utils/compatibility"),y=a("./utils/input-source-map-tracker"),z=a("./utils/source-tracker"),A=a("./utils/source-reader"),B=a("./properties/validator"),C=a("fs"),D=a("path"),E=a("url"),F=a("./utils/object").override,G=5e3,H=b.exports=function(a){a=a||{},this.options={advanced:void 0===a.advanced?!0:!!a.advanced,aggressiveMerging:void 0===a.aggressiveMerging?!0:!!a.aggressiveMerging,benchmark:a.benchmark,compatibility:new x(a.compatibility).toOptions(),debug:a.debug,explicitRoot:!!a.root,explicitTarget:!!a.target,inliner:a.inliner||{},keepBreaks:a.keepBreaks||!1,keepSpecialComments:"keepSpecialComments"in a?a.keepSpecialComments:"*",mediaMerging:void 0===a.mediaMerging?!0:!!a.mediaMerging,processImport:void 0===a.processImport?!0:!!a.processImport,processImportFrom:d(a.processImportFrom),rebase:void 0===a.rebase?!0:!!a.rebase,relativeTo:a.relativeTo,restructuring:void 0===a.restructuring?!0:!!a.restructuring,root:a.root||c.cwd(),roundingPrecision:a.roundingPrecision,semanticMerging:void 0===a.semanticMerging?!1:!!a.semanticMerging,shorthandCompacting:void 0===a.shorthandCompacting?!0:!!a.shorthandCompacting,sourceMap:a.sourceMap,sourceMapInlineSources:!!a.sourceMapInlineSources,target:!a.target||e(a.target)||f(a.target)?a.target:D.dirname(a.target)},this.options.inliner.timeout=this.options.inliner.timeout||G,this.options.inliner.request=F(g(c.env.HTTP_PROXY||c.env.http_proxy),this.options.inliner.request||{})};H.prototype.minify=function(a,b){var d={stats:{},errors:[],warnings:[],options:this.options,debug:this.options.debug,localOnly:!b,sourceTracker:new z,validator:new B(this.options.compatibility)};if(d.options.sourceMap&&(d.inputSourceMapTracker=new y(d)),d.sourceReader=new A(d,a),a=d.sourceReader.toString(),d.options.processImport||a.indexOf("@shallow")>0){var e=b?c.nextTick:function(a){return a()};return e(function(){return new m(d).process(a,{localOnly:d.localOnly,imports:d.options.processImportFrom,whenDone:h(b,d)})})}return h(b,d)(a)}}).call(this,a("_process"))},{"./imports/inliner":12,"./properties/validator":26,"./selectors/advanced":29,"./selectors/simple":42,"./stringifier/simple":46,"./stringifier/source-maps":47,"./text/comments-processor":48,"./text/expressions-processor":50,"./text/free-text-processor":51,"./text/urls-processor":52,"./tokenizer/tokenize":55,"./urls/rebase":56,"./utils/compatibility":60,"./utils/input-source-map-tracker":61,"./utils/object":62,"./utils/source-reader":64,"./utils/source-tracker":65,_process:78,fs:4,path:76,url:140}],9:[function(a,b,c){function d(a,b,c,d){return b+h[c.toLowerCase()]+d}function e(a,b,c){return i[b.toLowerCase()]+c}var f={},g={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},h={},i={};for(var j in g){var k=g[j];j.length-1,c=a.replace(l,d);return c!=a&&(c=c.replace(l,d)),b?c.replace(m,e):c},b.exports=f},{}],10:[function(a,b,c){function d(a,b,c){this.hue=a,this.saturation=b,this.lightness=c}function e(a,b,c){var d,e,g;if(a%=360,0>a&&(a+=360),a=~~a/360,0>b?b=0:b>100&&(b=100),b=~~b/100,0>c?c=0:c>100&&(c=100),c=~~c/100,0===b)d=e=g=c;else{var h=.5>c?c*(1+b):c+b-c*b,i=2*c-h;d=f(i,h,a+1/3),e=f(i,h,a),g=f(i,h,a-1/3)}return[~~(255*d),~~(255*e),~~(255*g)]}function f(a,b,c){return 0>c&&(c+=1),c>1&&(c-=1),1/6>c?a+6*(b-a)*c:.5>c?b:2/3>c?a+(b-a)*(2/3-c)*6:a}d.prototype.toHex=function(){var a=e(this.hue,this.saturation,this.lightness),b=a[0].toString(16),c=a[1].toString(16),d=a[2].toString(16);return"#"+((1==b.length?"0":"")+b)+((1==c.length?"0":"")+c)+((1==d.length?"0":"")+d)},b.exports=d},{}],11:[function(a,b,c){function d(a,b,c){this.red=a,this.green=b,this.blue=c}d.prototype.toHex=function(){var a=Math.max(0,Math.min(~~this.red,255)),b=Math.max(0,Math.min(~~this.green,255)),c=Math.max(0,Math.min(~~this.blue,255));return"#"+("00000"+(a<<16|b<<8|c).toString(16)).slice(-6)},b.exports=d},{}],12:[function(a,b,c){(function(c){function d(a){this.outerContext=a}function e(a,b){if(b.shallow)return b.shallow=!1,b.done.push(a),h(b);for(var c=0,d=0,e=0,f=i(a);d-1&&-1==d?c:-1==c&&d>-1?d:Math.min(c,d)}function h(a){return a.left.length>0?e.apply(null,a.left.shift()):a.whenDone(a.done.join(""))}function i(a){var b=/(\/\*(?!\*\/)[\s\S]*?\*\/)/,c=0,d=0,e=!1;return function(f){var g,h=0,i=0,j=0,k=0;if(e)return!1;do{if(f>c&&d>f)return!0; +if(g=a.match(b),!g)return e=!0,!1;c=h=g.index,i=h+g[0].length,k=i+d,j=k-g[0].length,a=a.substring(i),d=k}while(f>k);return k>f&&f>j}}function j(a){for(var b=i(a),c=-1;;)if(c=a.indexOf("{",c+1),-1==c||!b(c))break;return c>-1}function k(a,b,c,d){d.shallow=a.indexOf("@shallow")>0;var e=a.substring(g(a,b)+"@import".length+1,c).replace(/@shallow\)$/,")").trim(),f=0===e.indexOf("url("),i=f?4:0,k=/^['"]/.exec(e.substring(i,i+2)),p=k?e.indexOf(k[0],i+1):v(e," ")[0].length-(f?1:0),q=e.substring(i,p).replace(/['"]/g,"").replace(/\)$/,"").trim(),r=e.substring(p+1).replace(/^\)/,"").trim(),s=d.isRemote||y.test(q);if(s&&(d.localOnly||!l(q,!0,d.imports)))return d.afterContent||j(d.done.join(""))?d.warnings.push('Ignoring remote @import of "'+q+'" as no callback given.'):o(q,r,d),h(d);if(!s&&!l(q,!1,d.imports))return d.afterImport?d.warnings.push('Ignoring local @import of "'+q+'" as after other inlined content.'):o(q,r,d),h(d);if(!s&&d.afterContent)return d.warnings.push('Ignoring local @import of "'+q+'" as after other CSS content.'),h(d);var t=s?m:n;return t(q,r,d)}function l(a,b,c){if(0===c.length)return!1;b&&z.test(a)&&(a="http:"+a);for(var d=b?t.parse(a).host:a,e=!0,f=0;f-1)return h(d);d.debug&&console.error("Inlining remote stylesheet: "+i),d.visited.push(i);var k=0===i.indexOf("http://")?r.get:s.get,l=!1,n=w(t.parse(i),d.inliner.request);void 0!==d.inliner.request.hostname&&(n.path=n.href),k(n,function(a){if(a.statusCode<200||a.statusCode>399)return g("error "+a.statusCode);if(a.statusCode>299){var h=t.resolve(i,a.headers.location);return m(h,b,d)}var k=[],l=t.parse(i);a.on("data",function(a){k.push(a.toString())}),a.on("end",function(){var a=k.join("");d.rebase&&(a=u(a,{toBase:j},d)),d.sourceReader.trackSource(i,a),a=d.sourceTracker.store(i,a),a=f(a,i),b.length>0&&(a="@media "+b+"{"+a+"}"),d.afterImport=!0;var g=w(d,{isRemote:!0,relativeTo:l.protocol+"//"+l.host+l.pathname});c.nextTick(function(){e(a,g)})})}).on("error",function(a){g(a.message)}).on("timeout",function(){g("timeout")}).setTimeout(d.inliner.timeout)}function n(a,b,c){var d="/"==a[0]?c.root:c.relativeTo,f=q.resolve(q.join(d,a));if(!p.existsSync(f)||!p.statSync(f).isFile())return c.errors.push('Broken @import declaration of "'+a+'"'),h(c);if(c.visited.indexOf(f)>-1)return h(c);c.debug&&console.error("Inlining local stylesheet: "+f),c.visited.push(f);var g=q.dirname(f),i=p.readFileSync(f,"utf8");if(c.rebase){var j={relative:!0,fromBase:g,toBase:c.baseRelativeTo};i=u(i,j,c)}var k=q.relative(c.root,f);c.sourceReader.trackSource(k,i),i=c.sourceTracker.store(k,i),b.length>0&&(i="@media "+b+"{"+i+"}"),c.afterImport=!0;var l=w(c,{relativeTo:g});return e(i,l)}function o(a,b,c){var d="@import url("+a+")"+(b.length>0?" "+b:"")+";";c.done.push(d)}var p=a("fs"),q=a("path"),r=a("http"),s=a("https"),t=a("url"),u=a("../urls/rewrite"),v=a("../utils/split"),w=a("../utils/object.js").override,x=/\/\*# sourceMappingURL=(\S+) \*\//,y=/^(https?:)?\/\//,z=/^\/\//;d.prototype.process=function(a,b){var c=this.outerContext.options.root;return b=w(b,{baseRelativeTo:this.outerContext.options.relativeTo||c,debug:this.outerContext.options.debug,done:[],errors:this.outerContext.errors,left:[],inliner:this.outerContext.options.inliner,rebase:this.outerContext.options.rebase,relativeTo:this.outerContext.options.relativeTo||c,root:c,sourceReader:this.outerContext.sourceReader,sourceTracker:this.outerContext.sourceTracker,warnings:this.outerContext.warnings,visited:[]}),e(a,b)},b.exports=d}).call(this,a("_process"))},{"../urls/rewrite":58,"../utils/object.js":62,"../utils/split":66,_process:78,fs:4,http:122,https:69,path:76,url:140}],13:[function(a,b,c){function d(a){return function(b){return"invert"==b[0]||a.isValidColor(b[0])}}function e(a){return function(b){return"inherit"!=b[0]&&a.isValidStyle(b[0])&&!a.isValidColorValue(b[0])}}function f(a,b,c){var d=c[a];return n(d.doubleValues&&2==d.defaultValue.length?[[a,b.important],[d.defaultValue[0]],[d.defaultValue[1]]]:d.doubleValues&&1==d.defaultValue.length?[[a,b.important],[d.defaultValue[0]]]:[[a,b.important],[d.defaultValue]])}function g(a){return function(b){return"inherit"!=b[0]&&a.isValidWidth(b[0])&&!a.isValidStyleKeyword(b[0])&&!a.isValidColorValue(b[0])}}function h(a,b,c){var d=f("background-image",a,b),e=f("background-position",a,b),g=f("background-size",a,b),h=f("background-repeat",a,b),i=f("background-attachment",a,b),j=f("background-origin",a,b),k=f("background-clip",a,b),l=f("background-color",a,b),m=[d,e,g,h,i,j,k,l],n=a.value,p=!1,q=!1,r=!1,s=!1;if(1==a.value.length&&"inherit"==a.value[0][0])return l.value=d.value=h.value=e.value=g.value=j.value=k.value=a.value,m;for(var t=n.length-1;t>=0;t--){var u=n[t];if(c.isValidBackgroundAttachment(u[0]))i.value=[u];else if(c.isValidBackgroundBox(u[0]))q?(j.value=[u],r=!0):(k.value=[u],q=!0);else if(c.isValidBackgroundRepeat(u[0]))s?h.value.unshift(u):(h.value=[u],s=!0);else if(c.isValidBackgroundPositionPart(u[0])||c.isValidBackgroundSizePart(u[0]))if(t>0){var v=n[t-1];if(v[0].indexOf("/")>0){var w=o(v[0],"/");g.value=[[w.pop()].concat(v.slice(1)),u],n[t-1]=[w.pop()].concat(v.slice(1))}else t>1&&"/"==n[t-2]?(g.value=[v,u],t-=2):"/"==v[0]?g.value=[u]:(p||(e.value=[]),e.value.unshift(u),p=!0)}else p||(e.value=[]),e.value.unshift(u),p=!0;else if(c.isValidBackgroundPositionAndSize(u[0])){var x=o(u[0],"/");g.value=[[x.pop()].concat(u.slice(1))],e.value=[[x.pop()].concat(u.slice(1))]}else l.value[0][0]!=b[l.name].defaultValue&&"none"!=l.value[0][0]||!c.isValidColor(u[0])?(c.isValidUrl(u[0])||c.isValidFunction(u[0]))&&(d.value=[u]):l.value=[u]}return q&&!r&&(j.value=k.value.slice(0)),m}function i(a,b){for(var c=a.value,d=-1,e=0,g=c.length;g>e;e++)if("/"==c[e][0]){d=e;break}if(-1==d)return j(a,b);var h=f(a.name,a,b);h.value=c.slice(0,d),h.components=j(h,b);var i=f(a.name,a,b);i.value=c.slice(d+1),i.components=j(i,b);for(var k=0;4>k;k++)h.components[k].multiplex=!0,h.components[k].value=h.components[k].value.concat([["/"]]).concat(i.components[k].value);return h.components}function j(a,b){var c=b[a.name].components,d=[],e=a.value;if(e.length<1)return[];e.length<2&&(e[1]=e[0].slice(0)),e.length<3&&(e[2]=e[0].slice(0)),e.length<4&&(e[3]=e[1].slice(0));for(var f=c.length-1;f>=0;f--){var g=n([[c[f],a.important]]);g.value=[e[f]],d.unshift(g)}return d}function k(a){return function(b,c,d){var e,g,h,i,j=[],k=b.value;for(e=0,h=k.length;h>e;e++)","==k[e][0]&&j.push(e);if(0===j.length)return a(b,c,d);var l=[];for(e=0,h=j.length;h>=e;e++){var m=0===e?0:j[e-1]+1,n=h>e?j[e]:k.length,o=f(b.name,b,c);o.value=k.slice(m,n),l.push(a(o,c,d))}var q=l[0];for(e=0,h=q.length;h>e;e++)for(q[e].multiplex=!0,g=1,i=l.length;i>g;g++)q[e].value.push([p]),Array.prototype.push.apply(q[e].value,l[g][e].value);return q}}function l(a,b,c){var d=f("list-style-type",a,b),e=f("list-style-position",a,b),g=f("list-style-image",a,b),h=[d,e,g];if(1==a.value.length&&"inherit"==a.value[0][0])return d.value=e.value=g.value=[a.value[0]],h;var i=a.value.slice(0),j=i.length,k=0;for(k=0,j=i.length;j>k;k++)if(c.isValidUrl(i[k][0])||"0"==i[k][0]){g.value=[i[k]],i.splice(k,1);break}for(k=0,j=i.length;j>k;k++)if(c.isValidListStyleType(i[k][0])){d.value=[i[k]],i.splice(k,1);break}return i.length>0&&c.isValidListStylePosition(i[0][0])&&(e.value=[i[0]]),h}function m(a,b,c){for(var h,i,j,k=b[a.name],l=[f(k.components[0],a,b),f(k.components[1],a,b),f(k.components[2],a,b)],m=0;3>m;m++){var n=l[m];n.name.indexOf("color")>0?h=n:n.name.indexOf("style")>0?i=n:j=n}if(1==a.value.length&&"inherit"==a.value[0][0]||3==a.value.length&&"inherit"==a.value[0][0]&&"inherit"==a.value[1][0]&&"inherit"==a.value[2][0])return h.value=i.value=j.value=[a.value[0]],l;var o,p,q=a.value.slice(0);return q.length>0&&(p=q.filter(g(c)),o=p.length>1&&("none"==p[0][0]||"auto"==p[0][0])?p[1]:p[0],o&&(j.value=[o],q.splice(q.indexOf(o),1))),q.length>0&&(o=q.filter(e(c))[0],o&&(i.value=[o],q.splice(q.indexOf(o),1))),q.length>0&&(o=q.filter(d(c))[0],o&&(h.value=[o],q.splice(q.indexOf(o),1))),l}var n=a("./wrap-for-optimizing").single,o=a("../utils/split"),p=",";b.exports={background:h,border:m,borderRadius:i,fourValues:j,listStyle:l,multiplex:k,outline:m}},{"../utils/split":66,"./wrap-for-optimizing":28}],14:[function(a,b,c){function d(){return!0}function e(a,b,c){var d=a.value[0][0],e=b.value[0][0];return"none"==e||"inherit"==e||c.isValidUrl(e)?!0:"none"==d||"inherit"==d||c.isValidUrl(d)?!1:j(a,b,c)}function f(a,b,c){return g(a.components[2],b.components[2],c)}function g(a,b,c){var d=a.value[0][0],e=b.value[0][0];return(c.colorOpacity||!c.isValidRgbaColor(d)&&!c.isValidHslaColor(d))&&(c.colorOpacity||!c.isValidRgbaColor(e)&&!c.isValidHslaColor(e))?c.isValidNamedColor(e)||c.isValidHexColor(e)?!0:c.isValidNamedColor(d)||c.isValidHexColor(d)?!1:c.isValidRgbaColor(e)||c.isValidHslaColor(e)?!0:c.isValidRgbaColor(d)||c.isValidHslaColor(d)?!1:j(a,b,c):!1}function h(a,b,c){var d=a.value[0][0],e=b.value[0][0];return!(c.isValidFunction(d)^c.isValidFunction(e))}function i(a,b){var c=a.value[0][0],d=b.value[0][0];return c===d}function j(a,b,c){var d=a.value[0][0],e=b.value[0][0];return c.areSameFunction(d,e)?!0:d===e}function k(a,b,c){var d=a.value[0][0],e=b.value[0][0];return c.isValidAndCompatibleUnitWithoutFunction(d)&&!c.isValidAndCompatibleUnitWithoutFunction(e)?!1:c.isValidUnitWithoutFunction(e)?!0:c.isValidUnitWithoutFunction(d)?!1:c.isValidFunctionWithoutVendorPrefix(e)&&c.isValidFunctionWithoutVendorPrefix(d)?!0:j(a,b,c)}b.exports={always:d,backgroundImage:e,border:f,color:g,sameValue:i,sameFunctionOrValue:j,twoOptionalFunctions:h,unit:k}},{}],15:[function(a,b,c){function d(a){for(var b=e(a),c=a.components.length-1;c>=0;c--){var d=e(a.components[c]);d.value=a.components[c].value.slice(0),b.components.unshift(d)}return b.dirty=!0,b.value=a.value.slice(0),b}function e(a){var b=f([[a.name,a.important,a.hack]]);return b.unused=!1,b}var f=a("./wrap-for-optimizing").single;b.exports={deep:d,shallow:e}},{"./wrap-for-optimizing":28}],16:[function(a,b,c){var d=a("./break-up"),e=a("./can-override"),f=a("./restore"),g={color:{canOverride:e.color,defaultValue:"transparent",shortestValue:"red"},background:{components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:d.multiplex(d.background),defaultValue:"0 0",restore:f.multiplex(f.background),shortestValue:"0",shorthand:!0},"background-clip":{canOverride:e.always,defaultValue:"border-box",shortestValue:"border-box"},"background-color":{canOverride:e.color,defaultValue:"transparent",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:e.backgroundImage,defaultValue:"none"},"background-origin":{canOverride:e.always,defaultValue:"padding-box",shortestValue:"border-box"},"background-repeat":{canOverride:e.always,defaultValue:["repeat"],doubleValues:!0},"background-position":{canOverride:e.always,defaultValue:["0","0"],doubleValues:!0,shortestValue:"0"},"background-size":{canOverride:e.always,defaultValue:["auto"],doubleValues:!0,shortestValue:"0 0"},"background-attachment":{canOverride:e.always,defaultValue:"scroll"},border:{breakUp:d.border,canOverride:e.border,components:["border-width","border-style","border-color"],defaultValue:"none",restore:f.withoutDefaults,shorthand:!0},"border-color":{canOverride:e.color,defaultValue:"none",shorthand:!0},"border-style":{canOverride:e.always,defaultValue:"none",shorthand:!0},"border-width":{canOverride:e.unit,defaultValue:"medium",shortestValue:"0",shorthand:!0},"list-style":{components:["list-style-type","list-style-position","list-style-image"],canOverride:e.always,breakUp:d.listStyle,restore:f.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-type":{canOverride:e.always,defaultValue:"__hack",shortestValue:"none"},"list-style-position":{canOverride:e.always,defaultValue:"outside",shortestValue:"inside"},"list-style-image":{canOverride:e.always,defaultValue:"none"},outline:{components:["outline-color","outline-style","outline-width"],breakUp:d.outline,restore:f.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:e.color,defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:e.always,defaultValue:"none"},"outline-width":{canOverride:e.unit,defaultValue:"medium",shortestValue:"0"},"-moz-transform":{canOverride:e.sameFunctionOrValue},"-ms-transform":{canOverride:e.sameFunctionOrValue},"-webkit-transform":{canOverride:e.sameFunctionOrValue},transform:{canOverride:e.sameFunctionOrValue}},h=function(a,b,c){c=c||{},g[a]={canOverride:c.canOverride,components:b,breakUp:c.breakUp||d.fourValues,defaultValue:c.defaultValue||"0",restore:c.restore||f.fourValues,shortestValue:c.shortestValue,shorthand:!0};for(var h=0;hj;j++)g[g[i].components[j]].componentOf=i;b.exports=g},{"./break-up":13,"./can-override":14,"./restore":24}],17:[function(a,b,c){function d(a,b,c,d){for(var g=e(b),h=e(c),i=0,j=b.value.length;j>i;i++)for(var k=0,l=c.value.length;l>k;k++)if(b.value[i][0]!=f&&c.value[k][0]!=f&&(g.value=[b.value[i]],h.value=[c.value[k]],!a(g,h,d)))return!1;return!0}var e=a("./clone").shallow,f=",";b.exports=d},{"./clone":15}],18:[function(a,b,c){function d(a){for(var b=a.value.length-1;b>=0;b--)if("inherit"==a.value[b][0])return!0;return!1}b.exports=d},{}],19:[function(a,b,c){function d(a,b,c,d){function e(a){return b===!1||b===!0?b:b.indexOf(a)>-1}function g(b){var c=a[b-1],d=a[b];return m(c.all,c.position)==m(d.all,d.position)}var h,i,j={},k=null;a:for(var l=0,o=a.length;o>l;l++){var p=a[l],q=!("-ms-filter"!=p.name&&"filter"!=p.name||"background"!=k&&"background-image"!=k)?k:p.name,r=p.important,s=p.hack;if(!p.unused)if(l>0&&h&&q==k&&r==h.important&&s==h.hack&&g(l)&&!h.unused)p.unused=!0;else{if(q in j&&(c&&q!=k||e(l))){var t=j[q],u=f[q]&&f[q].canOverride,v=!1;for(i=t.length-1;i>=0;i--){var w=a[t[i]],x=w.name!=q,y=w.important,z=w.hack;if(!w.unused&&(!x||!y)&&(y||!(z&&!s||!z&&s))&&(!y||"star"!=s&&"underscore"!=s)&&(z||s||x||!u||u(w,p,d))){if(y&&!r||y&&s){p.unused=!0,h=p;continue a}v=!0,w.unused=!0}}if(v){l=-1,h=null,k=null,j={};continue}}else{j[q]=j[q]||[],j[q].push(l);var A=n[q];if(A)for(i=A.length-1;i>=0;i--){var B=A[i];j[B]=j[B]||[],j[B].push(l)}}k=q,h=p}}}function e(a,b,c,f,m,n){var o=g(b);h(o,n),d(o,c,m.aggressiveMerging,n);for(var p=0,q=o.length;q>p;p++){var r=o[p];r.variable&&r.block&&e(a,r.value[0],c,f,m,n)}f&&m.shorthandCompacting&&(i(o,m.compatibility,n),j(o,m.sourceMap,n)),l(o),k(o)}var f=a("./compactable"),g=a("./wrap-for-optimizing").all,h=a("./populate-components"),i=a("./override-compactor"),j=a("./shorthand-compactor"),k=a("./remove-unused"),l=a("./restore-from-optimizing"),m=a("../stringifier/one-time").property,n={"animation-delay":["animation"],"animation-direction":["animation"],"animation-duration":["animation"],"animation-fill-mode":["animation"],"animation-iteration-count":["animation"],"animation-name":["animation"],"animation-play-state":["animation"],"animation-timing-function":["animation"],"-moz-animation-delay":["-moz-animation"],"-moz-animation-direction":["-moz-animation"],"-moz-animation-duration":["-moz-animation"],"-moz-animation-fill-mode":["-moz-animation"],"-moz-animation-iteration-count":["-moz-animation"],"-moz-animation-name":["-moz-animation"],"-moz-animation-play-state":["-moz-animation"],"-moz-animation-timing-function":["-moz-animation"],"-o-animation-delay":["-o-animation"],"-o-animation-direction":["-o-animation"],"-o-animation-duration":["-o-animation"],"-o-animation-fill-mode":["-o-animation"],"-o-animation-iteration-count":["-o-animation"],"-o-animation-name":["-o-animation"],"-o-animation-play-state":["-o-animation"],"-o-animation-timing-function":["-o-animation"],"-webkit-animation-delay":["-webkit-animation"],"-webkit-animation-direction":["-webkit-animation"],"-webkit-animation-duration":["-webkit-animation"],"-webkit-animation-fill-mode":["-webkit-animation"],"-webkit-animation-iteration-count":["-webkit-animation"],"-webkit-animation-name":["-webkit-animation"],"-webkit-animation-play-state":["-webkit-animation"],"-webkit-animation-timing-function":["-webkit-animation"],"border-color":["border"],"border-style":["border"],"border-width":["border"],"border-bottom":["border"],"border-bottom-color":["border-bottom","border-color","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left":["border"],"border-left-color":["border-left","border-color","border"],"border-left-style":["border-left","border-style","border"],"border-left-width":["border-left","border-width","border"],"border-right":["border"],"border-right-color":["border-right","border-color","border"],"border-right-style":["border-right","border-style","border"],"border-right-width":["border-right","border-width","border"],"border-top":["border"],"border-top-color":["border-top","border-color","border"],"border-top-style":["border-top","border-style","border"],"border-top-width":["border-top","border-width","border"],"font-family":["font"],"font-size":["font"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"transition-delay":["transition"],"transition-duration":["transition"],"transition-property":["transition"],"transition-timing-function":["transition"],"-moz-transition-delay":["-moz-transition"],"-moz-transition-duration":["-moz-transition"],"-moz-transition-property":["-moz-transition"],"-moz-transition-timing-function":["-moz-transition"],"-o-transition-delay":["-o-transition"],"-o-transition-duration":["-o-transition"],"-o-transition-property":["-o-transition"],"-o-transition-timing-function":["-o-transition"],"-webkit-transition-delay":["-webkit-transition"],"-webkit-transition-duration":["-webkit-transition"],"-webkit-transition-property":["-webkit-transition"],"-webkit-transition-timing-function":["-webkit-transition"]};b.exports=e},{"../stringifier/one-time":45,"./compactable":16,"./override-compactor":20,"./populate-components":21,"./remove-unused":22,"./restore-from-optimizing":23,"./shorthand-compactor":25,"./wrap-for-optimizing":28}],20:[function(a,b,c){function d(a){return function(b){return a.name===b.name}}function e(a,b){for(var c=0;c-1}function g(a,b){b.unused=!0,l(b,m(a)),a.value=b.value}function h(a,b){b.unused=!0,a.multiplex=!0,a.value=b.value}function i(a,b){b.unused=!0,a.value=b.value}function j(a,b){b.multiplex?h(a,b):a.multiplex?g(a,b):i(a,b)}function k(a,b){b.unused=!0;for(var c=0,d=a.components.length;d>c;c++)j(a.components[c],b.components[c],a.multiplex)}function l(a,b){a.multiplex=!0;for(var c=0,d=a.components.length;d>c;c++){var e=a.components[c];if(!e.multiplex)for(var f=e.value.slice(0),g=1;b>g;g++)e.value.push([G]),Array.prototype.push.apply(e.value,f)}}function m(a){for(var b=0,c=0,d=a.value.length;d>c;c++)a.value[c][0]==G&&b++;return b+1}function n(a){var b=[[a.name]].concat(a.value);return F([b],0).length}function o(a,b,c){for(var d=0,e=b;e>=0&&(a[e].name!=c||a[e].unused||d++,!(d>1));e--);return d>1}function p(a,b){for(var c=0,d=a.components.length;d>c;c++)if(q(b.isValidFunction,a.components[c]))return!0;return!1}function q(a,b){for(var c=0,d=b.value.length;d>c;c++)if(b.value[c][0]!=G&&a(b.value[c][0]))return!0;return!1}function r(a,b){if(!a.multiplex&&!b.multiplex||a.multiplex&&b.multiplex)return!1;var c,e=a.multiplex?a:b,f=a.multiplex?b:a,i=z(e);C([i]);var j=z(f);C([j]);var k=n(i)+1+n(j);a.multiplex?(c=i.components.filter(d(j))[0],g(c,j)):(c=j.components.filter(d(i))[0],l(j,m(i)),h(c,i)),C([j]);var o=n(j);return o>k}function s(a){return a.name in y}function t(a,b){return!a.multiplex&&("background"==a.name||"background-image"==a.name)&&b.multiplex&&("background"==b.name||"background-image"==b.name)&&u(b.value)}function u(a){for(var b=v(a),c=0,d=b.length;d>c;c++)if(1==b[c].length&&"none"==b[c][0][0])return!0;return!1}function v(a){for(var b=[],c=0,d=[],e=a.length;e>c;c++){var f=a[c];f[0]==G?(b.push(d),d=[]):d.push(f)}return b.push(d),b}function w(a,b,c){var g,h,i,n,u,v,w;a:for(u=a.length-1;u>=0;u--)if(h=a[u],s(h)&&!h.variable)for(g=y[h.name].canOverride||x.sameValue,v=u-1;v>=0;v--)if(i=a[v],s(i)&&!(i.variable||i.unused||h.unused||i.hack&&!h.hack||!i.hack&&h.hack||B(h)||t(i,h)))if(!i.shorthand&&h.shorthand&&f(h,i)){if(!h.important&&i.important)continue;if(!E([i],h.components))continue;if(!q(c.isValidFunction,i)&&p(h,c))continue;n=h.components.filter(d(i))[0],g=y[i.name]&&y[i.name].canOverride||x.sameValue,D(g,i,n,c)&&(i.unused=!0)}else if(i.shorthand&&!h.shorthand&&f(i,h)){if(h.important&&!i.important)continue;if(o(a,u-1,i.name))continue;if(p(i,c))continue;if(n=i.components.filter(d(h))[0],D(g,n,h,c)){var z=!b.properties.backgroundClipMerging&&n.name.indexOf("background-clip")>-1||!b.properties.backgroundOriginMerging&&n.name.indexOf("background-origin")>-1||!b.properties.backgroundSizeMerging&&n.name.indexOf("background-size")>-1,A=y[h.name].nonMergeableValue===h.value[0][0];if(z||A)continue;if(!b.properties.merging&&e(i,c))continue;if(n.value[0][0]!=h.value[0][0]&&(B(i)||B(h)))continue;if(r(i,h))continue;!i.multiplex&&h.multiplex&&l(i,m(h)),j(n,h),i.dirty=!0}}else if(i.shorthand&&h.shorthand&&i.name==h.name){if(!i.multiplex&&h.multiplex)continue;if(!h.important&&i.important){h.unused=!0;continue a}if(h.important&&!i.important){i.unused=!0;continue}for(w=i.components.length-1;w>=0;w--){var C=i.components[w],F=h.components[w];if(g=y[C.name].canOverride||x.sameValue,!D(g,C,F,c))continue a;if(!D(x.twoOptionalFunctions,C,F,c)&&c.isValidFunction(F))continue a}k(i,h),i.dirty=!0}else if(i.shorthand&&h.shorthand&&f(i,h)){if(!i.important&&h.important)continue;if(n=i.components.filter(d(h))[0],g=y[h.name].canOverride||x.sameValue,!D(g,n,h,c))continue;if(i.important&&!h.important){h.unused=!0;continue}var G=y[h.name].restore(h,y);if(G.length>1)continue;n=i.components.filter(d(h))[0],j(n,h),h.dirty=!0}else if(i.name==h.name){if(i.important&&!h.important){h.unused=!0;continue}if(g=y[h.name].canOverride||x.sameValue,!D(g,i,h,c))continue;i.unused=!0}}var x=a("./can-override"),y=a("./compactable"),z=a("./clone").deep,A=a("./clone").shallow,B=a("./has-inherit"),C=a("./restore-from-optimizing"),D=a("./every-combination"),E=a("./vendor-prefixes").same,F=a("../stringifier/one-time").property,G=",";b.exports=w},{"../stringifier/one-time":45,"./can-override":14,"./clone":15,"./compactable":16,"./every-combination":17,"./has-inherit":18,"./restore-from-optimizing":23,"./vendor-prefixes":27}],21:[function(a,b,c){function d(a,b){for(var c=a.length-1;c>=0;c--){var d=a[c],f=e[d.name];f&&f.shorthand&&(d.shorthand=!0,d.dirty=!0,d.components=f.breakUp(d,e,b),d.components.length>0?d.multiplex=d.components[0].multiplex:d.unused=!0)}}var e=a("./compactable");b.exports=d},{"./compactable":16}],22:[function(a,b,c){function d(a){for(var b=a.length-1;b>=0;b--){var c=a[b];c.unused&&c.all.splice(c.position,1)}}b.exports=d},{}],23:[function(a,b,c){function d(a){a.value[a.value.length-1][0]+=i}function e(a){"underscore"==a.hack?a.name=k+a.name:"star"==a.hack?a.name=j+a.name:"backslash"==a.hack?a.value[a.value.length-1][0]+=h:"bang"==a.hack&&(a.value[a.value.length-1][0]+=" "+l)}function f(a,b){for(var c=a.length-1;c>=0;c--){var f,h=a[c],i=g[h.name];if(!h.unused&&(h.dirty||h.important||h.hack)&&(!b&&i&&i.shorthand?(f=i.restore(h,g),h.value=f):f=h.value,h.important&&d(h),h.hack&&e(h),"all"in h)){var j=h.all[h.position];j[0][0]=h.name,j.splice(1,j.length-1),Array.prototype.push.apply(j,f)}}}var g=a("./compactable"),h="\\9",i="!important",j="*",k="_",l="!ie";b.exports=f},{"./compactable":16}],24:[function(a,b,c){function d(a){for(var b=0,c=a.length;c>b;b++){var d=a[b][0];if("inherit"!=d&&d!=k&&d!=l)return!1}return!0}function e(a,b,c){function e(a){Array.prototype.unshift.apply(j,a.value)}function f(a){var c=b[a.name];return c.doubleValues?1==c.defaultValue.length?a.value[0][0]==c.defaultValue[0]&&(a.value[1]?a.value[1][0]==c.defaultValue[0]:!0):a.value[0][0]==c.defaultValue[0]&&(a.value[1]?a.value[1][0]:a.value[0][0])==c.defaultValue[1]:a.value[0][0]==c.defaultValue}for(var g,h,i=a.components,j=[],k=i.length-1;k>=0;k--){var m=i[k],n=f(m);if("background-clip"==m.name){var o=i[k-1],p=f(o);g=m.value[0][0]==o.value[0][0],h=!g&&(p&&!n||!p&&!n||!p&&n&&m.value[0][0]!=o.value[0][0]),g?e(o):h&&(e(m),e(o)),k--}else if("background-size"==m.name){var q=i[k-1],r=f(q);g=!r&&n,h=!g&&(r&&!n||!r&&!n),g?e(q):h?(e(m),j.unshift([l]),e(q)):1==q.value.length&&e(q),k--}else{if(n||b[m.name].multiplexLastOnly&&!c)continue;e(m)}}return 0===j.length&&1==a.value.length&&"0"==a.value[0][0]&&j.push(a.value[0]),0===j.length&&j.push([b[a.name].defaultValue]),d(j)?[j[0]]:j}function f(a,b){if(a.multiplex){for(var c=j(a),d=j(a),e=0;4>e;e++){var f=a.components[e],h=j(a);h.value=[f.value[0]],c.components.push(h);var i=j(a);i.value=[f.value[2]],d.components.push(i)}var k=g(c,b),l=g(d,b);return k.length!=l.length||k[0][0]!=l[0][0]||(k.length>1?k[1][0]!=l[1][0]:0)||(k.length>2?k[2][0]!=l[2][0]:0)||(k.length>3?k[3][0]!=l[3][0]:0)?k.concat([["/"]]).concat(l):k}return g(a,b)}function g(a){var b=a.components,c=b[0].value[0],d=b[1].value[0],e=b[2].value[0],f=b[3].value[0];return c[0]==d[0]&&c[0]==e[0]&&c[0]==f[0]?[c]:c[0]==e[0]&&d[0]==f[0]?[c,d]:d[0]==f[0]?[c,d,e]:[c,d,e,f]}function h(a){return function(b,c){if(!b.multiplex)return a(b,c,!0);var d,e,f=0,g=[],h={};for(d=0,e=b.components[0].value.length;e>d;d++)b.components[0].value[d][0]==k&&f++;for(d=0;f>=d;d++){for(var i=j(b),l=0,m=b.components.length;m>l;l++){var n=b.components[l],o=j(n);i.components.push(o);for(var p=h[o.name]||0,q=n.value.length;q>p;p++){if(n.value[p][0]==k){h[o.name]=p+1;break}o.value.push(n.value[p])}}var r=d==f,s=a(i,c,r);Array.prototype.push.apply(g,s),f>d&&g.push([","])}return g}}function i(a,b){for(var c=a.components,e=[],f=c.length-1;f>=0;f--){var g=c[f],h=b[g.name];g.value[0][0]!=h.defaultValue&&e.unshift(g.value[0])}return 0===e.length&&e.push([b[a.name].defaultValue]),d(e)?[e[0]]:e}var j=a("./clone").shallow,k=",",l="/";b.exports={background:e,borderRadius:f,fourValues:g,multiplex:h,withoutDefaults:i}},{"./clone":15}],25:[function(a,b,c){function d(a){var b;for(var c in a){if(void 0!==b&&a[c].important!=b)return!0;b=a[c].important}return!1}function e(a){var b=[];for(var c in a){var d=a[c],e=d.all[d.position],f=e[0][e[0].length-1];Array.isArray(f)&&Array.prototype.push.apply(b,f)}return b}function f(a,b,c,d,f){var g,h=i[c],o=[[c],[h.defaultValue]],p=m(o);p.shorthand=!0,p.dirty=!0,l([p],f);for(var q=0,r=h.components.length;r>q;q++){var s=b[h.components[q]],t=i[s.name].canOverride;if(k(s))return;if(!n(t,p.components[q],s,f))return;p.components[q]=j(s),p.important=s.important,g=s.all}for(var u in b)b[u].unused=!0;if(d){var v=e(b);v.length>0&&o[0].push(v)}p.position=g.length,p.all=g,p.all.push(o),a.push(p)}function g(a,b,c,e,g){var h=a[b];for(var j in c)if(void 0===h||j!=h.name){var k=i[j],l=c[j];k.components.length>Object.keys(l).length?delete c[j]:d(l)||f(a,l,j,e,g)}}function h(a,b,c){var d={};if(!(a.length<3)){for(var e=0,f=a.length;f>e;e++){var h=a[e];if(!h.unused&&!h.hack&&!h.variable){var j=i[h.name];if(j&&j.componentOf)if(h.shorthand)g(a,e,d,b,c);else{var k=j.componentOf;d[k]=d[k]||{},d[k][h.name]=h}}}g(a,e,d,b,c)}}var i=a("./compactable"),j=a("./clone").deep,k=a("./has-inherit"),l=a("./populate-components"),m=a("./wrap-for-optimizing").single,n=a("./every-combination");b.exports=h},{"./clone":15,"./compactable":16,"./every-combination":17,"./has-inherit":18,"./populate-components":21,"./wrap-for-optimizing":28}],26:[function(a,b,c){function d(a){var b=g.slice(0).filter(function(b){return!(b in a.units)||a.units[b]===!0}),c="(\\-?\\.?\\d+\\.?\\d*("+b.join("|")+"|)|auto|inherit)";this.compatibleCssUnitRegex=new RegExp("^"+c+"$","i"),this.compatibleCssUnitAnyRegex=new RegExp("^(none|"+f.join("|")+"|"+c+"|"+l+"|"+j+"|"+k+")$","i"),this.colorOpacity=a.colors.opacity}var e=a("../utils/split"),f=["thin","thick","medium","inherit","initial"],g=["px","%","em","in","cm","mm","ex","pt","pc","ch","rem","vh","vm","vmin","vmax","vw"],h="(\\-?\\.?\\d+\\.?\\d*("+g.join("|")+"|)|auto|inherit)",i="(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)",j="[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)",k="\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)",l="var\\(\\-\\-[^\\)]+\\)",m="("+l+"|"+j+"|"+k+")",n="("+h+"|"+i+")",o="(none|"+f.join("|")+"|"+h+"|"+l+"|"+j+"|"+k+")",p=new RegExp("^"+j+"$","i"),q=new RegExp("^"+k+"$","i"),r=new RegExp("^"+l+"$","i"),s=new RegExp("^"+m+"$","i"),t=new RegExp("^"+h+"$","i"),u=new RegExp("^"+n+"$","i"),v=new RegExp("^"+o+"$","i"),w=["repeat","no-repeat","repeat-x","repeat-y","inherit"],x=["inherit","scroll","fixed","local"],y=["center","top","bottom","left","right"],z=["contain","cover"],A=["border-box","content-box","padding-box"],B=["auto","inherit","hidden","none","dotted","dashed","solid","double","groove","ridge","inset","outset"],C=["armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","disc","georgian","hebrew","hiragana","hiragana-iroha","inherit","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],D=["inside","outside","inherit"];d.prototype.isValidHexColor=function(a){return(4===a.length||7===a.length)&&"#"===a[0]},d.prototype.isValidRgbaColor=function(a){return a=a.split(" ").join(""),a.length>0&&0===a.indexOf("rgba(")&&a.indexOf(")")===a.length-1},d.prototype.isValidHslaColor=function(a){return a=a.split(" ").join(""),a.length>0&&0===a.indexOf("hsla(")&&a.indexOf(")")===a.length-1},d.prototype.isValidNamedColor=function(a){return"auto"!==a&&("transparent"===a||"inherit"===a||/^[a-zA-Z]+$/.test(a))},d.prototype.isValidVariable=function(a){return r.test(a)},d.prototype.isValidColor=function(a){return this.isValidNamedColor(a)||this.isValidColorValue(a)||this.isValidVariable(a)||this.isValidVendorPrefixedValue(a)},d.prototype.isValidColorValue=function(a){return this.isValidHexColor(a)||this.isValidRgbaColor(a)||this.isValidHslaColor(a)},d.prototype.isValidUrl=function(a){return 0===a.indexOf("__ESCAPED_URL_CLEAN_CSS")},d.prototype.isValidUnit=function(a){return v.test(a)},d.prototype.isValidUnitWithoutFunction=function(a){return t.test(a)},d.prototype.isValidAndCompatibleUnit=function(a){return this.compatibleCssUnitAnyRegex.test(a); +},d.prototype.isValidAndCompatibleUnitWithoutFunction=function(a){return this.compatibleCssUnitRegex.test(a)},d.prototype.isValidFunctionWithoutVendorPrefix=function(a){return p.test(a)},d.prototype.isValidFunctionWithVendorPrefix=function(a){return q.test(a)},d.prototype.isValidFunction=function(a){return s.test(a)},d.prototype.isValidBackgroundRepeat=function(a){return w.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidBackgroundAttachment=function(a){return x.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidBackgroundBox=function(a){return A.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidBackgroundPositionPart=function(a){return y.indexOf(a)>=0||u.test(a)||this.isValidVariable(a)},d.prototype.isValidBackgroundPosition=function(a){if("inherit"===a)return!0;for(var b=a.split(" "),c=0,d=b.length;d>c;c++)if(""!==b[c]&&!this.isValidBackgroundPositionPart(b[c])&&!this.isValidVariable(b[c]))return!1;return!0},d.prototype.isValidBackgroundSizePart=function(a){return z.indexOf(a)>=0||t.test(a)||this.isValidVariable(a)},d.prototype.isValidBackgroundPositionAndSize=function(a){if(a.indexOf("/")<0)return!1;var b=e(a,"/");return this.isValidBackgroundSizePart(b.pop())&&this.isValidBackgroundPositionPart(b.pop())},d.prototype.isValidListStyleType=function(a){return C.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidListStylePosition=function(a){return D.indexOf(a)>=0||this.isValidVariable(a)},d.prototype.isValidStyle=function(a){return this.isValidStyleKeyword(a)||this.isValidVariable(a)},d.prototype.isValidStyleKeyword=function(a){return B.indexOf(a)>=0},d.prototype.isValidWidth=function(a){return this.isValidUnit(a)||this.isValidWidthKeyword(a)||this.isValidVariable(a)},d.prototype.isValidWidthKeyword=function(a){return f.indexOf(a)>=0},d.prototype.isValidVendorPrefixedValue=function(a){return/^-([A-Za-z0-9]|-)*$/gi.test(a)},d.prototype.areSameFunction=function(a,b){if(!this.isValidFunction(a)||!this.isValidFunction(b))return!1;var c=a.substring(0,a.indexOf("(")),d=b.substring(0,b.indexOf("("));return c===d},b.exports=d},{"../utils/split":66}],27:[function(a,b,c){function d(a){for(var b=[],c=0,d=a.length;d>c;c++)for(var e=a[c],g=0,h=e.value.length;h>g;g++){var i=f.exec(e.value[g][0]);i&&-1==b.indexOf(i[0])&&b.push(i[0])}return b}function e(a,b){return d(a).sort().join(",")==d(b).sort().join(",")}var f=/$\-moz\-|\-ms\-|\-o\-|\-webkit\-/;b.exports={same:e}},{}],28:[function(a,b,c){function d(a){for(var b=[],c=a.length-1;c>=0;c--)if("string"!=typeof a[c][0]){var d=k(a[c]);d.all=a,d.position=c,b.unshift(d)}return b}function e(a){for(var b=1,c=a.length;c>b;b++)if(","==a[b][0]||"/"==a[b][0])return!0;return!1}function f(a){var b=!1,c=a[0][0],d=a[a.length-1];return c[0]==o?b="underscore":c[0]==n?b="star":d[0][0]==p&&-1==d[0].indexOf("important")?b="bang":d[0].indexOf(p)>0&&-1==d[0].indexOf("important")?b="bang":d[0].indexOf(l)>0&&d[0].indexOf(l)==d[0].length-l.length-1?b="backslash":0===d[0].indexOf(l)&&2==d[0].length&&(b="backslash"),b}function g(a){return a.length>1?a[a.length-1][0].indexOf(m)>0:!1}function h(a){a.length>0&&(a[a.length-1][0]=a[a.length-1][0].replace(m,""))}function i(a){a[0][0]=a[0][0].substring(1)}function j(a,b){var c=a[a.length-1];c[0]=c[0].substring(0,c[0].indexOf("backslash"==b?l:p)).trim(),0===c[0].length&&a.pop()}function k(a){var b=g(a);b&&h(a);var c=f(a);"star"==c||"underscore"==c?i(a):"backslash"!=c&&"bang"!=c||j(a,c);var d=0===a[0][0].indexOf("--");return{block:d&&a[1]&&Array.isArray(a[1][0][0]),components:[],dirty:!1,hack:c,important:b,name:a[0][0],multiplex:a.length>2?e(a):!1,position:0,shorthand:!1,unused:a.length<2,value:a.slice(1),variable:d}}var l="\\",m="!important",n="*",o="_",p="!";b.exports={all:d,single:k}},{}],29:[function(a,b,c){function d(a){for(var b=0,c=a.length;c>b;b++){var e=a[b],f=!1;switch(e[0]){case"selector":f=0===e[1].length||0===e[2].length;break;case"block":d(e[2]),f=0===e[2].length}f&&(a.splice(b,1),b--,c--)}}function e(a,b,c){for(var d=0,e=a.length;e>d;d++){var f=a[d];if("block"==f[0]){var h=/@(-moz-|-o-|-webkit-)?keyframes/.test(f[1][0]);g(f[2],b,c,!h)}}}function f(a,b,c){for(var d=0,e=a.length;e>d;d++){var g=a[d];switch(g[0]){case"selector":h(g[1],g[2],!1,!0,b,c);break;case"block":f(g[2],b,c)}}}function g(a,b,c,h){if(e(a,b,c),f(a,b,c),i(a),j(a,b,c),k(a,b,c),l(a,b,c),m(a,b),b.restructuring&&h&&(n(a,b),j(a,b,c)),b.mediaMerging){o(a);for(var q=p(a),r=q.length-1;r>=0;r--)g(q[r][2],b,c,!1)}d(a)}var h=a("../properties/optimizer"),i=a("./remove-duplicates"),j=a("./merge-adjacent"),k=a("./reduce-non-adjacent"),l=a("./merge-non-adjacent-by-selector"),m=a("./merge-non-adjacent-by-body"),n=a("./restructure"),o=a("./remove-duplicate-media-queries"),p=a("./merge-media-queries");b.exports=g},{"../properties/optimizer":19,"./merge-adjacent":33,"./merge-media-queries":34,"./merge-non-adjacent-by-body":35,"./merge-non-adjacent-by-selector":36,"./reduce-non-adjacent":37,"./remove-duplicate-media-queries":38,"./remove-duplicates":39,"./restructure":41}],30:[function(a,b,c){function d(a,b){return"["+b.replace(/ /g,"")+"]"}function e(a,b){return a[0]>b[0]?1:-1}function f(a,b,c,d){return b&&c&&d.length?b+c+" ":b&&c?b+c:c}var g={selectors:function(a,b,c){for(var g=[],h=[],i=0,j=a.length;j>i;i++){var k=a[i],l=k[0].replace(/\s+/g," ").replace(/ ?, ?/g,",").replace(/\s*(\\)?([>+~])(\s*)/g,f).trim();c&&l.indexOf("nav")>0&&(l=l.replace(/\+nav(\S|$)/,"+ nav$1")),(!b||-1==l.indexOf("*+html ")&&-1==l.indexOf("*:first-child+html "))&&(l.indexOf("*")>-1&&(l=l.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),l.indexOf("[")>-1&&(l=l.replace(/\[([^\]]+)\]/g,d)),-1==h.indexOf(l)&&(k[0]=l,h.push(l),g.push(k)))}return g.sort(e)},selectorDuplicates:function(a){for(var b=[],c=[],d=0,f=a.length;f>d;d++){var g=a[d];-1==c.indexOf(g[0])&&(c.push(g[0]),b.push(g))}return b.sort(e)},block:function(a,b){a[0]=a[0].replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),b||(a[0]=a[0].replace(/\) /g,")"))},atRule:function(a){a[0]=a[0].replace(/\s+/g," ").trim()}};b.exports=g},{}],31:[function(a,b,c){function d(a){var b=[];if("selector"==a[0])for(var c=!/[\.\+>~]/.test(f(a[1])),i=0,j=a[2].length;j>i;i++){var k=a[2][i];if(0!==k.indexOf("__ESCAPED")&&k[0]!=h){var l=a[2][i][0][0];if(0!==l.length&&0!==l.indexOf("--")){var m=g(a[2],i);b.push([l,m,e(l),a[2][i],l+":"+m,a[1],c])}}}else if("block"==a[0])for(var n=0,o=a[2].length;o>n;n++)b=b.concat(d(a[2][n]));return b}function e(a){return"list-style"==a?a:a.indexOf("-radius")>0?"border-radius":"border-collapse"==a||"border-spacing"==a||"border-image"==a?a:0===a.indexOf("border-")&&/^border\-\w+\-\w+$/.test(a)?a.match(/border\-\w+/)[0]:0===a.indexOf("border-")&&/^border\-\w+$/.test(a)?"border":0===a.indexOf("text-")?a:a.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var f=a("../stringifier/one-time").selectors,g=a("../stringifier/one-time").value,h="at-rule";b.exports=d},{"../stringifier/one-time":45}],32:[function(a,b,c){function d(a,b){return a.compatibility.selectors.special.test(b)}b.exports=d},{}],33:[function(a,b,c){function d(a,b,c){for(var d=[null,[],[]],j=b.compatibility.selectors.adjacentSpace,k=0,l=a.length;l>k;k++){var m=a[k];if("selector"==m[0])if("selector"==d[0]&&g(m[1])==g(d[1])){var n=[d[2].length];Array.prototype.push.apply(d[2],m[2]),e(m[1],d[2],n,!0,b,c),m[2]=[]}else"selector"!=d[0]||f(m[2])!=f(d[2])||i(b,g(m[1]))||i(b,g(d[1]))?d=m:(d[1]=h(d[1].concat(m[1]),!1,j),m[2]=[]);else d=[null,[],[]]}}var e=a("../properties/optimizer"),f=a("../stringifier/one-time").body,g=a("../stringifier/one-time").selectors,h=a("./clean-up").selectors,i=a("./is-special");b.exports=d},{"../properties/optimizer":19,"../stringifier/one-time":45,"./clean-up":30,"./is-special":32}],34:[function(a,b,c){function d(a){for(var b={},c=[],d=a.length-1;d>=0;d--){var g=a[d];if("block"==g[0]){var h=b[g[1][0]];h||(h=[],b[g[1][0]]=h),h.push(d)}}for(var i in b){var j=b[i];a:for(var k=j.length-1;k>0;k--){var l=j[k],m=a[l],n=j[k-1],o=a[n];b:for(var p=1;p>=-1;p-=2){for(var q=1==p,r=q?l+1:n-1,s=q?n:l,t=q?1:-1,u=q?m:o,v=q?o:m,w=f(u);r!=s;){var x=f(a[r]);if(r+=t,!e(w,x))continue b}v[2]=q?u[2].concat(v[2]):v[2].concat(u[2]),u[2]=[],c.push(v);continue a}}}return c}var e=a("./reorderable").canReorder,f=a("./extractor");b.exports=d},{"./extractor":31,"./reorderable":40}],35:[function(a,b,c){function d(a){return/\.|\*| :/.test(a)}function e(a){var b=j(a[1]);return b.indexOf("__")>-1||b.indexOf("--")>-1}function f(a){return a.replace(/--[^ ,>\+~:]+/g,"")}function g(a,b){var c=f(j(a[1]));for(var d in b){var e=b[d],g=f(j(e[1]));(g.indexOf(c)>-1||c.indexOf(g)>-1)&&delete b[d]}}function h(a,b){for(var c={},f=b.compatibility.selectors.adjacentSpace,h=a.length-1;h>=0;h--){var m=a[h];if("selector"==m[0]){m[2].length>0&&!b.semanticMerging&&d(j(m[1]))&&(c={}),m[2].length>0&&b.semanticMerging&&e(m)&&g(m,c);var n=i(m[2]),o=c[n];!o||l(b,j(m[1]))||l(b,j(o[1]))||(m[1]=m[2].length>0?k(o[1].concat(m[1]),!1,f):o[1].concat(m[1]),o[2]=[],c[n]=null),c[i(m[2])]=m}}}var i=a("../stringifier/one-time").body,j=a("../stringifier/one-time").selectors,k=a("./clean-up").selectors,l=a("./is-special");b.exports=h},{"../stringifier/one-time":45,"./clean-up":30,"./is-special":32}],36:[function(a,b,c){function d(a,b,c){var d,i={},j=[];for(d=a.length-1;d>=0;d--)if("selector"==a[d][0]&&0!==a[d][2].length){var k=f(a[d][1]);i[k]=[d].concat(i[k]||[]),2==i[k].length&&j.push(k)}for(d=j.length-1;d>=0;d--){var l=i[j[d]];a:for(var m=l.length-1;m>0;m--){var n=l[m-1],o=a[n],p=l[m],q=a[p];b:for(var r=1;r>=-1;r-=2){for(var s,t=1==r,u=t?n+1:p-1,v=t?p:n,w=t?1:-1,x=t?o:q,y=t?q:o,z=g(x);u!=v;){var A=g(a[u]);u+=w;var B=t?h(z,A):h(A,z);if(!B&&!t)continue a;if(!B&&t)continue b}t?(s=[x[2].length],Array.prototype.push.apply(x[2],y[2]),y[2]=x[2]):(s=[y[2].length],Array.prototype.push.apply(y[2],x[2])),e(y[1],y[2],s,!0,b,c),x[2]=[]}}}}var e=a("../properties/optimizer"),f=a("../stringifier/one-time").selectors,g=a("./extractor"),h=a("./reorderable").canReorder;b.exports=d},{"../properties/optimizer":19,"../stringifier/one-time":45,"./extractor":31,"./reorderable":40}],37:[function(a,b,c){function d(a,b,c){for(var d={},h=[],i=a.length-1;i>=0;i--){var j=a[i];if("selector"==j[0]&&0!==j[2].length)for(var m=k(j[1]),n=j[1].length>1&&!l(b,m),o=b.sourceMap?e(j[1]):j[1],p=n?[m].concat(o):[m],q=0,r=p.length;r>q;q++){var s=p[q];d[s]?h.push(s):d[s]=[],d[s].push({where:i,list:o,isPartial:n&&q>0,isComplex:n&&0===q})}}f(a,h,d,b,c),g(a,d,b,c)}function e(a){for(var b=[],c=0;ci;i++){var k=b[i],l=c[k];h(a,k,l,{filterOut:f,callback:g},d,e)}}function g(a,b,c,d){function e(a){return g.data[a].whereq;q++){var s=p[q],t=b[s];if(t.length<2)continue a;if(g.data=t,h(a,s,t,{filterOut:e,callback:f},c,d),j(o[o.length-1])!=j(o[0]))continue a}n[2]=o[0]}}}function h(a,b,c,d,e,f){for(var g=[],h=[],j=[],k=[],l=c.length-1,n=0;l>=0;l--)if(!d.filterOut(l,g)){var o=c[l].where,p=a[o],q=m(p[2]);g=g.concat(q),h.push(q),k.push(o)}for(l=0,n=h.length;n>l;l++)h[l].length>0&&j.push((j[l-1]||0)+h[l].length);i(b,g,j,!1,e,f);for(var r=k.length,s=g.length-1,t=r-1;t>=0;)if((0===t||g[s]&&h[t].indexOf(g[s])>-1)&&s>-1)s--;else{var u=g.splice(s+1);d.callback(a[k[t]],u,r,t),t--}}var i=a("../properties/optimizer"),j=a("../stringifier/one-time").body,k=a("../stringifier/one-time").selectors,l=a("./is-special"),m=a("../utils/clone-array");b.exports=d},{"../properties/optimizer":19,"../stringifier/one-time":45,"../utils/clone-array":59,"./is-special":32}],38:[function(a,b,c){function d(a){for(var b={},c=0,d=a.length;d>c;c++){var f=a[c];if("block"==f[0]){var g=f[1][0]+"%"+e(f[2]),h=b[g];h&&(h[2]=[]),b[g]=f}}}var e=a("../stringifier/one-time").all;b.exports=d},{"../stringifier/one-time":45}],39:[function(a,b,c){function d(a){for(var b,c,d,g,h={},i=[],j=0,k=a.length;k>j;j++)c=a[j],"selector"==c[0]&&(b=f(c[1]),h[b]&&1==h[b].length?i.push(b):h[b]=h[b]||[],h[b].push(j));for(j=0,k=i.length;k>j;j++){b=i[j],g=[];for(var l=h[b].length-1;l>=0;l--)c=a[h[b][l]],d=e(c[2]),g.indexOf(d)>-1?c[2]=[]:g.push(d)}}var e=a("../stringifier/one-time").body,f=a("../stringifier/one-time").selectors;b.exports=d},{"../stringifier/one-time":45}],40:[function(a,b,c){function d(a,b){for(var c=b.length-1;c>=0;c--)for(var d=a.length-1;d>=0;d--)if(!e(a[d],b[c]))return!1;return!0}function e(a,b){var c=a[0],d=a[1],e=a[2],o=a[5],p=a[6],q=b[0],r=b[1],s=b[2],t=b[5],u=b[6];return"font"==c&&"line-height"==q||"font"==q&&"line-height"==c?!1:m.test(c)&&m.test(q)?!1:e==s&&g(c)==g(q)&&f(c)^f(q)?!1:("border"!=e||!n.test(s)||"border"!=c&&c!=s)&&("border"!=s||!n.test(e)||"border"!=q&&q!=e)?"border"==e&&"border"==s&&c!=q&&(h(c)&&i(q)||i(c)&&h(q))?!1:e!=s?!0:c!=q||e!=s||d!=r&&!j(d,r)?c!=q&&e==s&&c!=e&&q!=s?!0:c!=q&&e==s&&d==r?!0:!(!u||!p||l(e)||l(s)||!k(t,o)):!0:!1}function f(a){return/^\-(?:moz|webkit|ms|o)\-/.test(a)}function g(a){return a.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function h(a){return"border-top"==a||"border-right"==a||"border-bottom"==a||"border-left"==a}function i(a){return"border-color"==a||"border-style"==a||"border-width"==a}function j(a,b){return f(a)&&f(b)&&a.split("-")[1]!=b.split("-")[2]}function k(a,b){for(var c=0,d=a.length;d>c;c++)for(var e=0,f=b.length;f>e;e++)if(a[c][0]==b[e][0])return!1;return!0}function l(a){return"font"==a||"line-height"==a||"list-style"==a}var m=/align\-items|box\-align|box\-pack|flex|justify/,n=/^border\-(top|right|bottom|left|color|style|width|radius)/;b.exports={canReorder:d,canReorderSingle:e}},{}],41:[function(a,b,c){function d(a,b){return a>b}function e(a,b){var c=m(a);return c[5]=c[5].concat(b[5]),c}function f(a,b){function c(a,b,c){for(var d=c.length-1;d>=0;d--){var e=c[d][0],g=f(b,e);if(B[g].length>1&&x(a,B[g])){m(g);break}}}function f(a,b){var c=n(b);return B[c]=B[c]||[],B[c].push([a,b]),c}function m(a){var b,c=a.split(E),d=[];for(var e in B){var f=e.split(E);for(b=f.length-1;b>=0;b--)if(c.indexOf(f[b])>-1){d.push(e);break}}for(b=d.length-1;b>=0;b--)delete B[d[b]]}function n(a){for(var b=[],c=0,d=a.length;d>c;c++)b.push(j(a[c][1]));return b.join(E)}function o(a){for(var c=[],d=[],e=a.length-1;e>=0;e--)l(b,j(a[e][1]))||(d.unshift(a[e]),a[e][2].length>0&&-1==c.indexOf(a[e])&&c.push(a[e]));return c.length>1?d:[]}function p(a,b){var d=b[0],e=b[1],f=b[4],g=d.length+e.length+1,h=[],i=[],j=o(z[f]);if(!(j.length<2)){var l=r(j,g,1),m=l[0];if(m[1]>0)return c(a,b,l);for(var n=m[0].length-1;n>=0;n--)h=m[0][n][1].concat(h),i.unshift(m[0][n]);h=k(h),u(a,[b],h,i)}}function q(a,b){return a[1]>b[1]}function r(a,b,c){var d=s(a,b,c,D-1);return d.sort(q)}function s(a,b,c,d){var e=[[a,t(a,b,c)]];if(a.length>2&&d>0)for(var f=a.length-1;f>=0;f--){var g=Array.prototype.slice.call(a,0);g.splice(f,1),e=e.concat(s(g,b,c,d-1))}return e}function t(a,b,c){for(var d=0,e=a.length-1;e>=0;e--)d+=a[e][2].length>c?j(a[e][1]).length:-1;return d-(a.length-1)*b+1}function u(b,c,d,e){var f,g,h,j,k=[];for(f=e.length-1;f>=0;f--){var l=e[f];for(g=l[2].length-1;g>=0;g--){var m=l[2][g];for(h=0,j=c.length;j>h;h++){var n=c[h],o=m[0][0],p=n[0],q=n[4];if(o==p&&i([m])==q){l[2].splice(g,1);break}}}}for(f=c.length-1;f>=0;f--)k.unshift(c[f][3]);var r=["selector",d,k];a.splice(b,0,r)}function v(a,b){var c=b[4],d=z[c];d&&d.length>1&&(w(a,b)||p(a,b))}function w(a,b){var c,d,e=[],f=[],g=b[4],h=o(z[g]);if(!(h.length<2)){a:for(var i in z){var j=z[i];for(c=h.length-1;c>=0;c--)if(-1==j.indexOf(h[c]))continue a;e.push(i)}if(e.length<2)return!1;for(c=e.length-1;c>=0;c--)for(d=A.length-1;d>=0;d--)if(A[d][4]==e[c]){f.unshift([A[d],h]);break}return x(a,f)}}function x(a,b){for(var c,d=0,e=[],f=b.length-1;f>=0;f--){c=b[f][0];var g=c[4];d+=g.length+(f>0?1:0),e.push(c)}var h=b[0][1],i=r(h,d,e.length)[0];if(i[1]>0)return!1;var j=[],l=[];for(f=i[0].length-1;f>=0;f--)j=i[0][f][1].concat(j),l.unshift(i[0][f]);for(j=k(j),u(a,e,j,l),f=e.length-1;f>=0;f--){c=e[f];var m=A.indexOf(c);delete z[c[4]],m>-1&&-1==C.indexOf(m)&&C.push(m)}return!0}function y(a,b,c){var d=a[0],e=b[0];if(d!=e)return!1;var f=b[4],g=z[f];return g&&g.indexOf(c)>-1}for(var z={},A=[],B={},C=[],D=2,E="%",F=a.length-1;F>=0;F--){var G,H,I,J,K,L=a[F];if("selector"==L[0])G=!0;else{if("block"!=L[0])continue;G=!1}var M=A.length,N=g(L);C=[];var O=[];for(H=N.length-1;H>=0;H--)for(I=H-1;I>=0;I--)if(!h(N[H],N[I])){O.push(H);break}for(H=N.length-1;H>=0;H--){var P=N[H],Q=!1;for(I=0;M>I;I++){var R=A[I];-1!=C.indexOf(I)||h(P,R)||y(P,R,L)||(v(F+1,R,L),-1==C.indexOf(I)&&(C.push(I),delete z[R[4]])),Q||(Q=P[0]==R[0]&&P[1]==R[1],Q&&(K=I))}if(G&&!(O.indexOf(H)>-1)){var S=P[4];z[S]=z[S]||[],z[S].push(L),Q?A[K]=e(A[K],P):A.push(P)}}for(C=C.sort(d),H=0,J=C.length;J>H;H++){var T=C[H]-H;A.splice(T,1)}}for(var U=a[0]&&"at-rule"==a[0][0]&&0===a[0][1][0].indexOf("@charset")?1:0;U-1&&(b=b.replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2").replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2")),b.replace(/(^|\s)0+([1-9])/g,"$1$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/\.([1-9]*)0+(\D|$)/g,function(a,b,c){return(b.length>0?".":"")+b+c}).replace(/(^|\D)0\.(\d)/g,"$1.$2"))}function f(a,b){return-1==b.indexOf("0deg")?b:b.replace(/\(0deg\)/g,"(0)")}function g(a,b){return a.indexOf("filter")>-1||-1==b.indexOf(" ")?b:(b=b.replace(/\s+/g," "),b.indexOf("calc")>-1&&(b=b.replace(/\) ?\/ ?/g,")/ ")),b.replace(/\( /g,"(").replace(/ \)/g,")").replace(/, /g,","))}function h(a,b,c){return-1===c.value||-1===b.indexOf(".")?b:b.replace(c.regexp,function(a,b){return Math.round(parseFloat(b)*c.multiplier)/c.multiplier+"px"}).replace(/(\d)\.($|\D)/g,"$1$2")}function i(a,b,c){return/^(?:\-moz\-calc|\-webkit\-calc|calc)\(/.test(b)?b:"flex"==a||"-ms-flex"==a||"-webkit-flex"==a||"flex-basis"==a||"-webkit-flex-basis"==a?b:b.indexOf("%")>0&&("height"==a||"max-height"==a)?b:b.replace(c,"$10$2").replace(c,"$10$2")}function j(a){var b,c=a.value;4==c.length&&"0"===c[0][0]&&"0"===c[1][0]&&"0"===c[2][0]&&"0"===c[3][0]&&(b=a.name.indexOf("box-shadow")>-1?2:1),b&&(a.value.splice(b),a.dirty=!0)}function k(a,b,c){return-1===b.indexOf("#")&&-1==b.indexOf("rgb")&&-1==b.indexOf("hsl")?B.shorten(b):(b=b.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(a,b,c,d){return new z(b,c,d).toHex()}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(a,b,c,d){return new A(b,c,d).toHex()}).replace(/(^|[^='"])#([0-9a-f]{6})/gi,function(a,b,c){return c[0]==c[1]&&c[2]==c[3]&&c[4]==c[5]?b+"#"+c[0]+c[2]+c[4]:b+"#"+c}).replace(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(a,b,c){var d=c.split(","),e="hsl"==b&&3==d.length||"hsla"==b&&4==d.length||"rgb"==b&&3==d.length&&c.indexOf("%")>0||"rgba"==b&&4==d.length&&c.indexOf("%")>0;return e?(-1==d[1].indexOf("%")&&(d[1]+="%"),-1==d[2].indexOf("%")&&(d[2]+="%"),b+"("+d.join(",")+")"):a}),c.colors.opacity&&-1==a.indexOf("background")&&(b=b.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(a){return y(b,",").pop().indexOf("gradient(")>-1?a:"transparent"})),B.shorten(b))}function l(a,b,c){return L.test(b)?b.replace(L,function(a,b){var d,e=parseInt(b);return 0===e?a:(c.properties.shorterLengthUnits&&c.units.pt&&3*e%4===0&&(d=3*e/4+"pt"),c.properties.shorterLengthUnits&&c.units.pc&&e%16===0&&(d=e/16+"pc"),c.properties.shorterLengthUnits&&c.units["in"]&&e%96===0&&(d=e/96+"in"),d&&(d=a.substring(0,a.indexOf(b))+d),d&&d.length-1||b[1]&&I.indexOf(b[1][0])>-1||b[2]&&I.indexOf(b[2][0])>-1;if(!c&&"/"!=b[1]){var d=0;if("normal"==b[0][0]&&d++,b[1]&&"normal"==b[1][0]&&d++,b[2]&&"normal"==b[2][0]&&d++,!(d>1)){var e;K.indexOf(b[0][0])>-1?e=0:b[1]&&K.indexOf(b[1][0])>-1?e=1:b[2]&&K.indexOf(b[2][0])>-1?e=2:J.indexOf(b[0][0])>-1?e=0:b[1]&&J.indexOf(b[1][0])>-1?e=1:b[2]&&J.indexOf(b[2][0])>-1&&(e=2),void 0!==e&&(a.value[e][0]=N["font-weight"](b[e][0]),a.dirty=!0)}}}function q(a,b){for(var c,r,s,t=C(a),u=0,v=t.length;v>u;u++)if(c=t[u],r=c.name,c.hack&&(("star"==c.hack||"underscore"==c.hack)&&!b.compatibility.properties.iePrefixHack||"backslash"==c.hack&&!b.compatibility.properties.ieSuffixHack||"bang"==c.hack&&!b.compatibility.properties.ieBangHack)&&(c.unused=!0),0===r.indexOf("padding")&&(d(c,0)||d(c,1)||d(c,2)||d(c,3))&&(c.unused=!0),!c.unused)if(c.variable)c.block&&q(c.value[0],b);else{for(var w=0,x=c.value.length;x>w;w++)s=c.value[w][0],N[r]&&(s=N[r](s,w,x)),s=g(r,s),s=h(r,s,b.precision),s=l(r,s,b.compatibility),s=m(r,s),s=e(r,s),b.compatibility.properties.zeroUnits&&(s=f(r,s),s=i(r,s,b.unitsRegexp)),b.compatibility.properties.colors&&(s=k(r,s,b.compatibility)),c.value[w][0]=s;j(c),0===r.indexOf("border")&&r.indexOf("radius")>0?n(c):"filter"==r?o(c):"font"==r&&p(c)}D(t,!0),E(t)}function r(a){for(var b=!1,c=0,d=a.length;d>c;c++){var e=a[c];"at-rule"==e[0]&&H.test(e[1][0])&&(b||-1==e[1][0].indexOf(G)?(a.splice(c,1),c--,d--):(b=!0,a.splice(c,1),a.unshift(["at-rule",[e[1][0].replace(H,G)]])))}}function s(a){var b=["px","em","ex","cm","mm","in","pt","pc","%"],c=["ch","rem","vh","vm","vmax","vmin","vw"];return c.forEach(function(c){a.compatibility.units[c]&&b.push(c)}),new RegExp("(^|\\s|\\(|,)0(?:"+b.join("|")+")(\\W|$)","g")}function t(a){var b={};return b.value=void 0===a.roundingPrecision?F:a.roundingPrecision,b.multiplier=Math.pow(10,b.value),b.regexp=new RegExp("(\\d*\\.\\d{"+(b.value+1)+",})px","g"),b}function u(a,b){var c=b.compatibility.selectors.ie7Hack,d=b.compatibility.selectors.adjacentSpace,e=b.compatibility.properties.spaceAfterClosingBrace,f=!1;b.unitsRegexp=s(b),b.precision=t(b);for(var g=0,h=a.length;h>g;g++){var i=a[g];switch(i[0]){case"selector":i[1]=v(i[1],!c,d),q(i[2],b);break;case"block":w(i[1],e),u(i[2],b);break;case"flat-block":w(i[1],e),q(i[2],b);break;case"at-rule":x(i[1]),f=!0}(0===i[1].length||i[2]&&0===i[2].length)&&(a.splice(g,1),g--,h--)}f&&r(a)}var v=a("./clean-up").selectors,w=a("./clean-up").block,x=a("./clean-up").atRule,y=a("../utils/split"),z=a("../colors/rgb"),A=a("../colors/hsl"),B=a("../colors/hex-name-shortener"),C=a("../properties/wrap-for-optimizing").all,D=a("../properties/restore-from-optimizing"),E=a("../properties/remove-unused"),F=2,G="@charset",H=new RegExp("^"+G,"i"),I=["100","200","300","400","500","600","700","800","900"],J=["normal","bold","bolder","lighter"],K=["bold","bolder","lighter"],L=/(?:^|\s|\()(-?\d+)px/,M=/^(\-?[\d\.]+)(m?s)$/,N={background:function(a,b,c){return 0!==b||1!=c||"none"!=a&&"transparent"!=a?a:"0 0"},"font-weight":function(a){return"normal"==a?"400":"bold"==a?"700":a},outline:function(a,b,c){return 0===b&&1==c&&"none"==a?"0":a}};b.exports=u},{"../colors/hex-name-shortener":9,"../colors/hsl":10,"../colors/rgb":11,"../properties/remove-unused":22,"../properties/restore-from-optimizing":23,"../properties/wrap-for-optimizing":28,"../utils/split":66,"./clean-up":30}],43:[function(a,b,c){function d(a,b,c){if(!c&&-1==a.indexOf("\n"))return 0===a.indexOf(i)?a:void(b.column+=a.length);for(var d=0,e=a.split("\n"),f=e.length,g=0;;){if(d==f-1)break;var h=e[d];if(/\S/.test(h))break;g+=h.length+1,d++}return b.line+=d,b.column=d>0?0:b.column,b.column+=/^(\s)*/.exec(e[d])[0].length,a.substring(g).trimLeft()}function e(a,b,c){var d=a.source||b.source;return d&&c.resolvePath?c.resolvePath(b.source,d):d}function f(a,b,c){var d={line:b.line,column:b.column,source:b.source},f=null,g=b.sourceMapTracker.isTracking(d.source)?b.sourceMapTracker.originalPositionFor(d,a,c||0):{};if(d.line=g.line||d.line,d.column=g.column||d.column,d.source=g.sourceResolved?g.source:e(g,d,b),b.sourceMapInlineSources){var h=b.sourceMapTracker.sourcesContentFor(b.source);f=h&&h[d.source]?h:b.sourceReader.sourceAt(b.source)}return f?[d.line,d.column,d.source,f]:[d.line,d.column,d.source]}function g(a,b){for(var c=a.split("\n"),d=0,e=c.length;e>d;d++){var f=c[d],g=0;for(d>0&&(b.line++,b.column=0);;){var h=f.indexOf(i,g);if(-1==h){b.column+=f.substring(g).length;break}b.column+=h-g,g+=h-g;var j=f.substring(h,f.indexOf("__",h+1)+2),k=j.substring(j.indexOf("(")+1,j.indexOf(")")).split(",");b.line+=~~k[0],b.column=(0===~~k[0]?b.column:0)+~~k[1],g+=j.length}}}function h(a,b,c,e){var h=d(a,b,c),i=c?f(h,b,e):[];return h&&g(h,b),i}var i="__ESCAPED_";b.exports=h},{}],44:[function(a,b,c){function d(a,b){for(var c=b,d=a.length;d>c;c++)if("string"!=typeof a[c])return!0;return!1}function e(a){return"background"==a[0][0]||"transform"==a[0][0]||"src"==a[0][0]}function f(a,b){return 0===a[b][0].indexOf("var(")}function g(a,b){return")"==a[b][0][a[b][0].length-1]||0===a[b][0].indexOf("__ESCAPED_URL_CLEAN_CSS")}function h(a,b){return","==a[b][0]}function i(a,b){return"/"==a[b][0]}function j(a,b){return a[b+1]&&","==a[b+1][0]}function k(a,b){return a[b+1]&&"/"==a[b+1][0]}function l(a){return"filter"==a[0][0]||"-ms-filter"==a[0][0]}function m(a,b,c){return(!c.spaceAfterClosingBrace&&e(a)||f(a,b))&&g(a,b)||k(a,b)||i(a,b)||j(a,b)||h(a,b)}function n(a,b){for(var c=b.store,d=0,e=a.length;e>d;d++)c(a[d],b),e-1>d&&c(",",b)}function o(a,b){for(var c=0,d=a.length;d>c;c++)p(a,c,c==d-1,b)}function p(a,b,c,d){var e=d.store,f=a[b];"string"==typeof f?e(f,d):f[0]==v?q(f[1],c,d):(e(f[0],d),e(":",d),r(a,b,c,d))}function q(a,b,c){var d=c.store;d(a,c),b||d(w,c)}function r(a,b,c,e){var f=e.store,g=a[b],h=0===g[0][0].indexOf("--");if(h&&s(g[1]))return f("{",e),o(g[1],e),void f("};",e);for(var i=1,j=g.length;j>i;i++)f(g[i],e),j-1>i&&(l(g)||!m(g,i,e))?f(" ",e):i==j-1&&!c&&d(a,b+1)&&f(w,e)}function s(a){for(var b=0,c=a.length;c>b;b++)if(a[b][0]==v||Array.isArray(a[b][0]))return!0;return!1}function t(a,b){for(var c=b.keepBreaks?u:"",d=b.store,e=0,f=a.length;f>e;e++){var g=a[e];switch(g[0]){case"at-rule":case"text":d(g[1][0],b),d(c,b);break;case"block":n([g[1]],b),d("{",b),t(g[2],b),d("}",b),d(c,b);break;case"flat-block":n([g[1]],b),d("{",b),o(g[2],b),d("}",b),d(c,b);break;default:n(g[1],b),d("{",b),o(g[2],b),d("}",b),d(c,b)}}}var u=a("os").EOL,v="at-rule",w=";";b.exports={all:t,body:o,property:p,selectors:n,value:r}},{os:75}],45:[function(a,b,c){function d(a,b){b.output.push("string"==typeof a?a:a[0])}function e(){return{output:[],store:d}}function f(a){var b=e();return k.all(a,b),b.output.join("")}function g(a){var b=e();return k.body(a,b),b.output.join("")}function h(a,b){var c=e();return k.property(a,b,!0,c),c.output.join("")}function i(a){var b=e();return k.selectors(a,b),b.output.join("")}function j(a,b){var c=e();return k.value(a,b,!0,c),c.output.join("")}var k=a("./helpers");b.exports={all:f,body:g,property:h,selectors:i,value:j}},{"./helpers":44}],46:[function(a,b,c){function d(a,b){b.output.push("string"==typeof a?a:a[0])}function e(a,b,c){var e={keepBreaks:b.keepBreaks,output:[],spaceAfterClosingBrace:b.compatibility.properties.spaceAfterClosingBrace,store:d};return f(a,e,!1),{styles:c(e.output.join("")).trim()}}var f=a("./helpers").all;b.exports=e},{"./helpers":44}],47:[function(a,b,c){(function(c){function d(a,b){var c="string"==typeof a,d=c?a:a[0];d.indexOf("_")>-1&&(d=b.restore(d,e(b.output))),f(d,c?null:a,b),b.output.push(d)}function e(a){for(var b=[],c=a.length-1;c>=0;c--){var d=a[c];if(b.unshift(d),"{"==d||";"==d)break}return b.join("")}function f(a,b,c){b&&g(b,c);var d=a.split("\n");c.line+=d.length-1,c.column=d.length>1?0:c.column+d.pop().length}function g(a,b){var c=a[a.length-1];if(Array.isArray(c))for(var d=0,e=c.length;e>d;d++)h(c[d],b)}function h(a,b){var c=a[2]||m;l&&(c=c.replace(/\\/g,"/")),b.outputMap.addMapping({generated:{line:b.line,column:b.column},source:c,original:{line:a[0],column:a[1]}}),a[3]&&b.outputMap.setSourceContent(c,a[3][a[2]])}function i(a,b,c,e){var f={column:0,inputMapTracker:e,keepBreaks:b.keepBreaks,line:1,output:[],outputMap:new j,restore:c,sourceMapInlineSources:b.sourceMapInlineSources,spaceAfterClosingBrace:b.compatibility.properties.spaceAfterClosingBrace,store:d};return k(a,f,!1),{sourceMap:f.outputMap,styles:f.output.join("").trim()}}var j=a("source-map").SourceMapGenerator,k=a("./helpers").all,l="win32"==c.platform,m="$stdin";b.exports=i}).call(this,a("_process"))},{"./helpers":44,_process:78,"source-map":110}],48:[function(a,b,c){function d(a,b,c,d){this.comments=new g("COMMENT"),this.specialComments=new g("COMMENT_SPECIAL"),this.context=a,this.restored=0,this.keepAll="*"==b,this.keepOne="1"==b||1===b,this.keepBreaks=c,this.saveWaypoints=d}function e(a){var b=[];return new h(a).each(function(a,c,d){b.push([d,d+a.length])}),function(a){for(var c=0,d=b.length;d>c;c++)if(b[c][0]a)return!0;return!1}}function f(a,b,c,d){for(var e=[],f=0;f0?e.join("")+b.substring(f,b.length):b}var g=a("./escape-store"),h=a("../utils/quote-scanner"),i="/*!",j="/*",k="*/",l=a("os").EOL;d.prototype.escape=function(a){for(var b,c,d,f=[],g=0,h=0,m=0,n=0,o=e(a),p=this.saveWaypoints;h0?q.substring(c+l.length).length:n+q.length),p||r){var s=p?[b,d]:null,t=r?this.specialComments.store(q,s):this.comments.store(q,s);f.push(t)}p&&(n=d+1),m=h+k.length}return f.length>0?f.join("")+a.substring(m,a.length):a},d.prototype.restore=function(a){return a=f(this,a,this.comments,!1),a=f(this,a,this.specialComments,!0)},b.exports=d},{"../utils/quote-scanner":63,"./escape-store":49,os:75}],49:[function(a,b,c){function d(a){this.placeholderRoot="ESCAPED_"+a+"_CLEAN_CSS",this.placeholderToData={},this.dataToPlaceholder={},this.count=0,this.restoreMatcher=new RegExp(this.placeholderRoot+"(\\d+)")}var e="__";d.prototype._nextPlaceholder=function(a){return{index:this.count,value:e+this.placeholderRoot+this.count++ +a+e}},d.prototype.store=function(a,b){var c=b?"("+b.join(",")+")":"",d=this.dataToPlaceholder[a];if(!d){var e=this._nextPlaceholder(c);d=e.value,this.placeholderToData[e.index]=a,this.dataToPlaceholder[a]=e.value}return b&&(d=d.replace(/\([^\)]+\)/,c)),d}, +d.prototype.nextMatch=function(a,b){var c={};return c.start=a.indexOf(this.placeholderRoot,b)-e.length,c.end=a.indexOf(e,c.start+e.length)+e.length,c.start>-1&&c.end>-1&&(c.match=a.substring(c.start,c.end)),c},d.prototype.restore=function(a){var b=this.restoreMatcher.exec(a)[1];return this.placeholderToData[b]},b.exports=d},{}],50:[function(a,b,c){function d(a,b){for(var c=b+g.length,d=0,e=!1,f=!1;;){var j=a[c++];if(e?e="'"!=j&&'"'!=j:(e="'"==j||'"'==j,j==h&&d++,j==i&&d--,j==k&&(f=!0),j!=l||f||1!=d||(c--,d--)),0===d&&j==i)break;if(!j){c=a.substring(0,c).lastIndexOf(l);break}}return c}function e(a){this.expressions=new f("EXPRESSION"),this.saveWaypoints=a}var f=a("./escape-store"),g="expression",h="(",i=")",j=g+h,k="{",l="}",m=a("os").EOL;e.prototype.escape=function(a){for(var b,c,e,f=0,g=0,h=0,i=[],k=0,l=this.saveWaypoints;g0?n.substring(c+m.length).length:k+n.length);var o=l?[b,e]:null,p=this.expressions.store(n,o);i.push(a.substring(h,f)),i.push(p),l&&(k=e+1),h=g}return i.length>0?i.join("")+a.substring(h,a.length):a},e.prototype.restore=function(a){for(var b=[],c=0;c0?b.join("")+a.substring(c,a.length):a},b.exports=e},{"./escape-store":49,os:75}],51:[function(a,b,c){function d(a){this.matches=new f("FREE_TEXT"),this.saveWaypoints=a}function e(a,b,c,d){var e=b;c&&(e=c+b.substring(0,b.indexOf("__ESCAPED_FREE_TEXT_CLEAN_CSS")),d=e.length);var f=e.lastIndexOf(";",d),g=e.lastIndexOf("{",d),h=0;h=f>-1&&g>-1?Math.max(f,g):-1==f?g:f;var i=e.substring(h+1,d);if(/\[[\w\d\-]+[\*\|\~\^\$]?=$/.test(i)&&(a=a.replace(/\\\n|\\\r\n/g,"").replace(/\n|\r\n/g,"")),/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/.test(a)&&!/format\($/.test(i)){var j=/^(font|font\-family):/.test(i),k=/\[[\w\d\-]+[\*\|\~\^\$]?=$/.test(i),l=/@(-moz-|-o-|-webkit-)?keyframes /.test(i),m=/^(-moz-|-o-|-webkit-)?animation(-name)?:/.test(i);(j||k||l||m)&&(a=a.substring(1,a.length-1))}return a}var f=a("./escape-store"),g=a("../utils/quote-scanner"),h=a("os").EOL;d.prototype.escape=function(a){var b,c,d,e,f=this,i=this.saveWaypoints;return new g(a).each(function(a,g){i&&(b=a.split(h).length-1,c=a.lastIndexOf(h),d=c>0?a.substring(c+h.length).length:a.length,e=[b,d]);var j=f.matches.store(a,e);g.push(j)})},d.prototype.restore=function(a,b){for(var c=[],d=0;d0?c.join("")+a.substring(d,a.length):a},b.exports=d},{"../utils/quote-scanner":63,"./escape-store":49,os:75}],52:[function(a,b,c){function d(a,b,c){this.urls=new f("URL"),this.context=a,this.saveWaypoints=b,this.keepUrlQuotes=c}function e(a,b){return a=a.replace(/^url/gi,"url").replace(/\\?\n|\\?\r\n/g,"").replace(/(\s{2,}|\s)/g," ").replace(/^url\((['"])? /,"url($1").replace(/ (['"])?\)$/,"$1)"),b||/^['"].+['"]$/.test(a)||/url\(.*[\s\(\)].*\)/.test(a)||/url\(['"]data:[^;]+;charset/.test(a)||(a=a.replace(/["']/g,"")),a}var f=a("./escape-store"),g=a("../urls/reduce"),h=a("os").EOL;d.prototype.escape=function(a){var b,c,d,e=this.saveWaypoints,f=this;return g(a,this.context,function(a,g){e&&(b=a.split(h).length-1,c=a.lastIndexOf(h),d=c>0?a.substring(c+h.length).length:a.length);var i=f.urls.store(a,e?[b,d]:null);g.push(i)})},d.prototype.restore=function(a){for(var b=[],c=0;c0?b.join("")+a.substring(c,a.length):a},b.exports=d},{"../urls/reduce":57,"./escape-store":49,os:75}],53:[function(a,b,c){function d(a){return a[0]}function e(){}function f(a,b,c,d){for(var f=c?/^__ESCAPED_COMMENT_/:/__ESCAPED_COMMENT_/,g=c?d.track:e;f.test(a);){var h=a.indexOf("__"),i=a.indexOf("__",h+1)+2,j=a.substring(h,i);a=a.substring(0,h)+a.substring(i),g(j),b.push(j)}return a}function g(a,b,c){return f(a,b,!0,c)}function h(a,b,c){return f(a,b,!1,c)}function i(a,b,c){for(var d=0,e=a.length;e>d;d++)c.track(a[d]),b.push(a[d])}function j(a,b,c){var e=[],f=[],o=/[ ,\/]/;if("string"!=typeof a)return[];a.indexOf(")")>-1&&(a=a.replace(/\)([^\s_;:,\)])/g,c.sourceMap?") __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__ $1":") $1")),a.indexOf("ESCAPED_URL_CLEAN_CSS")>-1&&(a=a.replace(/(ESCAPED_URL_CLEAN_CSS[^_]+?__)/g,c.sourceMap?"$1 __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__ ":"$1 "));for(var p=k(a,";",!1,"{","}"),q=0,r=p.length;r>q;q++){var s=p[q],t=s.indexOf(":"),u="@"==s.trim()[0];if(u)c.track(s),e.push([n,s.trim()]);else if(-1!=t)if(s.indexOf("{")>0&&s.indexOf("{")-1&&(w=g(w,e,c)),w.indexOf("__ESCAPED_COMMENT")>-1&&(w=h(w,f,c)),v.push([w.trim()].concat(c.track(w,!0))),c.track(":"),i(f,e,c);var x=s.indexOf("{"),y=0===w.trim().indexOf("--");if(y&&x>0){var z=s.substring(t+1,x+1),A=s.substring(s.indexOf("}")),B=s.substring(x+1,s.length-A.length);c.track(z),v.push(j(B,b,c)),e.push(v),c.track(A),c.track(r-1>q?";":"")}else{var C=k(s.substring(t+1),o,!0);if(1!=C.length||""!==C[0]){for(var D=0,E=C.length;E>D;D++){var F=C[D],G=F.trim();if(0!==G.length){var H=G[G.length-1],I=G.length>1&&(H==l||H==m);if(I&&(G=G.substring(0,G.length-1)),G.indexOf("__ESCAPED_COMMENT_CLEAN_CSS(0,-")>-1)c.track(G);else if(f=[],G.indexOf("__ESCAPED_COMMENT")>-1&&(G=g(G,e,c)),G.indexOf("__ESCAPED_COMMENT")>-1&&(G=h(G,f,c)),0!==G.length){var J=v.length-1;"important"!=G||"!"!=v[J][0]?"!important"==G||"important"==G&&"!"==v[J][0][v[J][0].length-1]?(c.track(G),v[J][0]+=G):(v.push([G].concat(c.track(F,!0))),i(f,e,c),I&&(v.push([H]),c.track(H))):(c.track(G),v[J-1][0]+="!important",v.pop())}else i(f,e,c)}}r-1>q&&c.track(";"),e.push(v)}else c.warnings.push("Empty property '"+w+"' inside '"+b.filter(d).join(",")+"' selector. Ignoring.")}}else c.track(s),s.indexOf("__ESCAPED_COMMENT_SPECIAL")>-1&&e.push(s.trim())}return e}var k=a("../utils/split"),l=",",m="/",n="at-rule";b.exports=j},{"../utils/split":66}],54:[function(a,b,c){function d(a,b){for(var c,d=[],f=e(a,","),g=0,h=f.length;h>g;g++)c=b.track(f[g],!0,g),b.track(","),d.push([f[g].trim()].concat(c));return d}var e=a("../utils/split");b.exports=d},{"../utils/split":66}],55:[function(a,b,c){function d(a,b){var c=l(e(a),"}",!0,"{","}");if(0===c.length)return[];var d={chunk:c.shift(),chunks:c,column:0,cursor:0,line:1,mode:"top",resolvePath:b.options.explicitTarget?f(b.options.root,b.options.target):null,source:void 0,sourceMap:b.options.sourceMap,sourceMapInlineSources:b.options.sourceMapInlineSources,sourceMapTracker:b.inputSourceMapTracker,sourceReader:b.sourceReader,sourceTracker:b.sourceTracker,state:[],track:b.options.sourceMap?function(a,b,c){return[[k(a,d,b,c)]]}:function(){return[]},warnings:b.warnings};return h(d)}function e(a){return a.replace(/\r\n/g,"\n")}function f(a,b){var c=m.relative(a,b);return function(a,b){return a!=b?m.normalize(m.join(m.relative(c,m.dirname(a)),b)):b}}function g(a){var b,c=a.mode,d=a.chunk;if(d.length==a.cursor){if(0===a.chunks.length)return null;a.chunk=d=a.chunks.shift(),a.cursor=0}if("body"==c)return"}"==d[a.cursor]?[a.cursor,"bodyEnd"]:-1==d.indexOf("}",a.cursor)?null:(b=a.cursor+l(d.substring(a.cursor-1),"}",!0,"{","}")[0].length-2,[b,"bodyEnd"]);var e=d.indexOf("@",a.cursor),f=d.indexOf("__ESCAPED_",a.cursor),g=d.indexOf("{",a.cursor),h=d.indexOf("}",a.cursor);return f>-1&&/\S/.test(d.substring(a.cursor,f))&&(f=-1),b=e,(-1==b||f>-1&&b>f)&&(b=f),(-1==b||g>-1&&b>g)&&(b=g),(-1==b||h>-1&&b>h)&&(b=h),-1!=b?f===b?[b,"escape"]:g===b?[b,"bodyStart"]:h===b?[b,"bodyEnd"]:e===b?[b,"special"]:void 0:void 0}function h(a){for(var b,c,d=a.chunk,e=[];;){var f=g(a);if(!f){var k=a.chunk.substring(a.cursor);k.trim().length>0&&("body"==a.mode?a.warnings.push("Missing '}' after '"+k+"'. Ignoring."):e.push(["text",[k]]),a.cursor+=k.length);break}var l,m,o=f[0],p=f[1];if(d=a.chunk,a.cursor!=o&&"bodyEnd"!=p){var q=d.substring(a.cursor,o),r=/^\s+/.exec(q);r&&(a.cursor+=r[0].length,a.track(r[0]))}if("special"==p){var s=d.indexOf("{",o),t=d.indexOf(";",o),u=t>-1&&(-1==s||s>t),v=-1==s&&-1==t;if(v)a.warnings.push("Broken declaration: '"+d.substring(a.cursor)+"'."),a.cursor=d.length;else if(u)l=d.indexOf(";",o+1),c=d.substring(a.cursor,l+1),e.push(["at-rule",[c].concat(a.track(c,!0))]),a.track(";"),a.cursor=l+1;else{l=d.indexOf("{",o+1),c=d.substring(a.cursor,l);var w=c.trim(),x=n.test(w);m=a.mode,a.cursor=l+1,a.mode=x?"body":"block",b=[x?"flat-block":"block"],b.push([w].concat(a.track(c,!0))),a.track("{"),b.push(h(a)),"string"==typeof b[2]&&(b[2]=i(b[2],[[w]],a)),a.mode=m,a.track("}"),e.push(b)}}else if("escape"==p){l=d.indexOf("__",o+1);var y=d.substring(a.cursor,l+2),z=!!a.sourceTracker.nextStart(y),A=!!a.sourceTracker.nextEnd(y);if(z)a.track(y),a.state.push({source:a.source,line:a.line,column:a.column}),a.source=a.sourceTracker.nextStart(y).filename,a.line=1,a.column=0;else if(A){var B=a.state.pop();a.source=B.source,a.line=B.line,a.column=B.column,a.track(y)}else 0===y.indexOf("__ESCAPED_COMMENT_SPECIAL")&&e.push(["text",[y]]),a.track(y);a.cursor=l+2}else if("bodyStart"==p){var C=j(d.substring(a.cursor,o),a);m=a.mode,a.cursor=o+1,a.mode="body";var D=i(h(a),C,a);a.track("{"),a.mode=m,e.push(["selector",C,D])}else if("bodyEnd"==p){if("top"==a.mode){var E=a.cursor,F="}"==d[a.cursor]?"Unexpected '}' in '"+d.substring(E-20,E+20)+"'. Ignoring.":"Unexpected content: '"+d.substring(E,o+1)+"'. Ignoring.";a.warnings.push(F),a.cursor=o+1;continue}"block"==a.mode&&a.track(d.substring(a.cursor,o)),"block"!=a.mode&&(e=d.substring(a.cursor,o)),a.cursor=o+1;break}}return e}var i=a("./extract-properties"),j=a("./extract-selectors"),k=a("../source-maps/track"),l=a("../utils/split"),m=a("path"),n=/(@(font\-face|page|\-ms\-viewport|\-o\-viewport|viewport|counter\-style)|\\@.+?)/;b.exports=d},{"../source-maps/track":43,"../utils/split":66,"./extract-properties":53,"./extract-selectors":54,path:76}],56:[function(a,b,c){function d(a,b){var c={absolute:b.options.explicitRoot,relative:!b.options.explicitRoot&&b.options.explicitTarget,fromBase:b.options.relativeTo};return c.absolute||c.relative?(c.absolute&&b.options.explicitTarget&&b.warnings.push("Both 'root' and output file given so rebasing URLs as absolute paths"),c.absolute&&(c.toBase=e.resolve(b.options.root)),c.relative&&(c.toBase=e.resolve(b.options.target)),c.fromBase&&c.toBase?f(a,c,b):a):a}var e=a("path"),f=a("./rewrite");b.exports=d},{"./rewrite":58,path:76}],57:[function(a,b,c){function d(a,b,c){for(var d=0,e=0,f=0,k=0,l=!1,m=0,n=[],o=a.indexOf(h)>-1;f-1&&(d=e),'"'==a[d+g.length])f=a.indexOf('"',d+g.length+1);else if("'"==a[d+g.length])f=a.indexOf("'",d+g.length+1);else if(l=0===a.substring(d+g.length).trim().indexOf(j),f=a.indexOf(i,d),l)for(;;){if(k=a.indexOf(i,f+1),-1==k||/[\s\{\};]/.test(a.substring(f,k)))break;f=k}-1==f?(f=a.indexOf("}",d),-1==f?f=a.length:f--,b.warnings.push("Broken URL declaration: '"+a.substring(d,f+1)+"'.")):a[f]!=i&&(f=a.indexOf(i,f)),n.push(a.substring(m,d));var p=a.substring(d,f+1);c(p,n),m=f+1}return n.length>0?n.join("")+a.substring(m,a.length):a}function e(a,b,c){for(var d,e,f=0,g=0,h=0,i=0,j=0,n=[],o=0,p=0,q="'",r='"';i-1&&g>-1&&f>g&&(f=g),o=a.indexOf(q,f),p=a.indexOf(r,f),o>-1&&p>-1&&p>o)h=o,e=q;else if(o>-1&&p>-1&&o>p)h=p,e=r;else if(o>-1)h=o,e=q;else{if(!(p>-1))break;h=p,e=r}if(n.push(a.substring(j,h)),i=a.indexOf(e,h+1),d=a.substring(f,i),-1==i||/^@import\s+(url\(|__ESCAPED)/i.test(d)||m.test(d)){j=h;break}var s=a.substring(h,i+1);c(s,n),j=i+1}return n.length>0?n.join("")+a.substring(j,a.length):a}function f(a,b,c){return a=d(a,b,c),a=e(a,b,c)}var g="url(",h="URL(",i=")",j="data:",k="@import",l="@IMPORT",m=/\*\//;b.exports=f},{}],58:[function(a,b,c){(function(c){function d(a){return"/"==a[0]}function e(a){return"#"==a[0]}function f(a){return 0===a.indexOf("__ESCAPED_URL_CLEAN_CSS__")}function g(a){return/^\w+:\w+/.test(a)}function h(a){return/^[^:]+?:\/\//.test(a)||0===a.indexOf("//")}function i(a,b){return s.parse(a).protocol==s.parse(b).protocol&&s.parse(a).host==s.parse(b).host}function j(a){return a.lastIndexOf(".css")===a.length-4}function k(a){return 0===a.indexOf("data:")}function l(a,b){return r.resolve(r.join(b.fromBase||"",a)).replace(b.toBase,"")}function m(a,b){return r.relative(b.toBase,r.join(b.fromBase||"",a))}function n(a){return u?a.replace(/\\/g,"/"):a}function o(a,b){return d(a)||e(a)||f(a)||g(a)?a:b.rebase!==!1||j(a)?!b.imports&&j(a)?a:k(a)?"'"+a+"'":h(a)&&!h(b.toBase)?a:h(a)&&!i(a,b.toBase)?a:!h(a)&&h(b.toBase)?s.resolve(b.toBase,a):n(b.absolute?l(a,b):m(a,b)):a}function p(a){return a.indexOf("'")>-1?'"':a.indexOf('"')>-1?"'":/\s/.test(a)||/[\(\)]/.test(a)?"'":""}function q(a,b,c){return t(a,c,function(a,c){var d,e=a.replace(/^(url\()?\s*['"]?|['"]?\s*\)?$/g,""),f=a.match(/^(url\()?\s*(['"]).*?(['"])\s*\)?$/);d=b.urlQuotes&&f&&f[2]===f[3]?f[2]:p(e),c.push("url("+d+o(e,b)+d+")")})}var r=a("path"),s=a("url"),t=a("./reduce"),u="win32"==c.platform;b.exports=q}).call(this,a("_process"))},{"./reduce":57,_process:78,path:76,url:140}],59:[function(a,b,c){function d(a){for(var b=a.slice(0),c=0,e=b.length;e>c;c++)Array.isArray(b[c])&&(b[c]=d(b[c]));return b}b.exports=d},{}],60:[function(a,b,c){function d(a){this.source=a||{}}function e(a,b){for(var c in a){var d=a[c];"object"!=typeof d||g.isRegExp(d)?b[c]=c in b?b[c]:d:b[c]=e(d,b[c]||{})}return b}function f(a){if("object"==typeof a)return a;if(!/[,\+\-]/.test(a))return h[a]||h["*"];var b=a.split(","),c=b[0]in h?h[b.shift()]:h["*"];return a={},b.forEach(function(b){var c="+"==b[0],d=b.substring(1).split("."),e=d[0],f=d[1];a[e]=a[e]||{},a[e][f]=c}),e(c,a)}var g=a("util"),h={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!1,iePrefixHack:!1,ieSuffixHack:!0,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:dir\([a-z-]*\)|:first(?![a-z-])|:fullscreen|:left|:read-only|:read-write|:right|:placeholder|:host|::content|\/deep\/|::shadow)/},units:{ch:!0,"in":!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}},ie8:{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!1,iePrefixHack:!0,ieSuffixHack:!0,merging:!1,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not|:placeholder|:host|::content|\/deep\/|::shadow)/},units:{ch:!1,"in":!0,pc:!0,pt:!0,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}},ie7:{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!0,iePrefixHack:!0,ieSuffixHack:!0,merging:!1,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!0,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:focus|:before|:after|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not|:placeholder|:host|::content|\/deep\/|::shadow)/},units:{ch:!1,"in":!0,pc:!0,pt:!0,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}};d.prototype.toOptions=function(){return e(h["*"],f(this.source))},b.exports=d},{util:144}],61:[function(a,b,c){(function(c,d,e){function f(a){this.options=a.options,this.errors=a.errors,this.warnings=a.warnings,this.sourceTracker=a.sourceTracker,this.timeout=this.options.inliner.timeout,this.requestOptions=this.options.inliner.request,this.localOnly=a.localOnly,this.relativeTo=a.options.target||c.cwd(),this.maps={},this.sourcesContent={}}function g(a,b,c){return a.trackLoaded(void 0,void 0,a.options.sourceMap),c()}function h(a,b,c,d){function e(){d.cursor+=f+1,h(a,b,c,d)}for(var f=0;d.cursor-1&&(f=k.index),l.index>-1&&l.index-1&&m.index299)return d(a.statusCode);var b=[];a.on("data",function(a){b.push(a.toString())}),a.on("end",function(){c(b.join(""))})}).on("error",function(a){g||(d(a.message),g=!0)}).on("timeout",function(){g||(d("timeout"),g=!0)}).setTimeout(a.timeout)}function l(a,b,c,d,e){for(var f,g=d.length,h={line:b,column:c+g};g-- >0&&(h.column--,!(f=a.data.originalPositionFor(h))););return null===f.line&&b>1&&e>0?l(a,b-1,c,d,e-1):(a.path&&f.source&&(f.source=w.test(a.path)?t.resolve(a.path,f.source):q.join(a.path,f.source),f.sourceResolved=!0),f)}function m(a,b){var c=a.maps[b].data,d=w.test(b),e={};c.sources.forEach(function(f,g){var h=d?t.resolve(q.dirname(b),f):q.relative(a.relativeTo,q.resolve(q.dirname(b),f));e[h]=c.sourcesContent&&c.sourcesContent[g]}),a.sourcesContent[b]=e}function n(a,b,c){function d(){return n(a,b,c)}if(0===b.length)return c();var e=b.shift(),f=e[0],g=e[1],h=w.test(f);if(h&&a.localOnly)return a.warnings.push('No callback given to `#minify` method, cannot fetch a remote file from "'+g+'"'),d();if(!h){var i=q.join(a.options.root,g);return p.existsSync(i)?a.sourcesContent[f][g]=p.readFileSync(i,"utf-8"):a.warnings.push('Missing original source file at "'+i+'".'),d()}k(a,g,function(b){a.sourcesContent[f][g]=b,d()},function(b){a.warnings.push('Broken original source file at "'+g+'" - '+b),d()})}var o=a("source-map").SourceMapConsumer,p=a("fs"),q=a("path"),r=a("http"),s=a("https"),t=a("url"),u=a("../utils/object.js").override,v=/\/\*# sourceMappingURL=(\S+) \*\//,w=/^(https?:)?\/\//,x=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/,y=d.unescape;f.prototype.track=function(a,b){return"string"==typeof this.options.sourceMap?g(this,a,b):h(this,a,b,{files:[],cursor:0,errors:this.errors})},f.prototype.trackLoaded=function(a,b,c){var d=this.options.explicitTarget?this.options.target:this.options.root,e=w.test(a);b&&(b=e?q.dirname(b):q.dirname(q.relative(d,b))),this.maps[a]={path:b,data:new o(c)},m(this,a)},f.prototype.isTracking=function(a){return!!this.maps[a]},f.prototype.originalPositionFor=function(a,b,c){return l(this.maps[a.source],a.line,a.column,b,c)},f.prototype.sourcesContentFor=function(a){return this.sourcesContent[a]},f.prototype.resolveSources=function(a){var b=[];for(var c in this.sourcesContent){var d=this.sourcesContent[c];for(var e in d)d[e]||b.push([c,e])}return n(this,b,a)},b.exports=f}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"../utils/object.js":62,_process:78,buffer:5,fs:4,http:122,https:69,path:76,"source-map":110,url:140}],62:[function(a,b,c){b.exports={override:function(a,b){var c={};for(var d in a)c[d]=a[d];for(var e in b)c[e]=b[e];return c}}},{}],63:[function(a,b,c){function d(a){this.data=a}function e(a,b,c){for(var d="\\",e=c;;){if(e=a.indexOf(b,e+1),-1==e)return-1;if(a[e-1]!=d)return e}}var f=function(a,b,c,d){var e="/*",f="*/",g="\\",h="}",i=a.substring(d,c),j=i.lastIndexOf(f,c),k=i.lastIndexOf(e,c),l=!1;if(j>=c&&k>-1&&(l=!0),c>k&&k>j&&(l=!0),l){var m=a.indexOf(f,c);return m>-1?m:(m=a.indexOf(h,c),m>-1?m-1:a.length)}for(;;){if(void 0===a[c])break;if(a[c]==b&&(a[c-1]!=g||a[c-2]==g))break;c++}return c};d.prototype.each=function(a){for(var b=this.data,c=[],d=0,g=0,h=0,i=null,j="'",k='"',l=b.length;gm?(d=m,i=j):(d=n,i=k),-1==d)break;if(g=f(b,i,d+1,h),-1==g)break;var o=b.substring(d,g+1);c.push(b.substring(h,d)),o.length>0&&a(o,c,d),h=g+1}return c.length>0?c.join("")+b.substring(h,b.length):b},b.exports=d},{}],64:[function(a,b,c){(function(c){function d(a,b){this.outerContext=a,this.data=b,this.sources={}}function e(a){var b=a.data;return a.trackSource(void 0,b),b}function f(a){var b=a.data.toString();return a.trackSource(void 0,b),b}function g(a){return a.data.map(function(b){return a.outerContext.options.processImport===!1?b+"@shallow":b}).map(function(b){return!a.outerContext.options.relativeTo||/^https?:\/\//.test(b)?b:i.relative(a.outerContext.options.relativeTo,b)}).map(function(a){return"@import url("+a+");"}).join("")}function h(a){var b=[],c=i.resolve(a.outerContext.options.target||a.outerContext.options.root);for(var d in a.data){var e=a.data[d].styles,f=a.data[d].sourceMap,g=k.test(d),h=g?d:i.resolve(d),l=i.dirname(h),m={absolute:a.outerContext.options.explicitRoot,relative:!a.outerContext.options.explicitRoot,imports:!0,rebase:a.outerContext.options.rebase,fromBase:l,toBase:g?l:c,urlQuotes:a.outerContext.options.compatibility.properties.urlQuotes};e=j(e,m,a.outerContext),a.trackSource(d,e),e=a.outerContext.sourceTracker.store(d,e),a.outerContext.options.sourceMap&&f&&a.outerContext.inputSourceMapTracker.trackLoaded(d,d,f),b.push(e)}return b.join("")}var i=a("path"),j=a("../urls/rewrite"),k=/^(https?:)?\/\//;d.prototype.sourceAt=function(a){return this.sources[a]},d.prototype.trackSource=function(a,b){this.sources[a]={},this.sources[a][a]=b},d.prototype.toString=function(){return"string"==typeof this.data?e(this):c.isBuffer(this.data)?f(this):Array.isArray(this.data)?g(this):h(this)},b.exports=d}).call(this,{isBuffer:a("../../../is-buffer/index.js")})},{"../../../is-buffer/index.js":72,"../urls/rewrite":58,path:76}],65:[function(a,b,c){function d(){this.sources=[]}d.prototype.store=function(a,b){return this.sources.push(a),"__ESCAPED_SOURCE_CLEAN_CSS"+(this.sources.length-1)+"__"+b+"__ESCAPED_SOURCE_END_CLEAN_CSS__"},d.prototype.nextStart=function(a){var b=/__ESCAPED_SOURCE_CLEAN_CSS(\d+)__/.exec(a);return b?{index:b.index,filename:this.sources[~~b[1]]}:null},d.prototype.nextEnd=function(a){return/__ESCAPED_SOURCE_END_CLEAN_CSS__/g.exec(a)},d.prototype.removeAll=function(a){return a.replace(/__ESCAPED_SOURCE_CLEAN_CSS\d+__/g,"").replace(/__ESCAPED_SOURCE_END_CLEAN_CSS__/g,"")},b.exports=d},{}],66:[function(a,b,c){function d(a,b,c,d,e){var f="string"!=typeof b,g=f?b.test(a):a.indexOf(b);if(!g)return[a];if(d=d||"(",e=e||")",-1==a.indexOf(d)&&!c)return a.split(b);for(var h=0,i=0,j=0,k=a.length,l=[];k>i;)a[i]==d?h++:a[i]==e&&h--,0===h&&i>0&&k>i+1&&(f?b.test(a[i]):a[i]==b)&&(l.push(a.substring(j,i+(c?1:0))),j=i+1),i++;if(i+1>j){var m=a.substring(j),n=m[m.length-1];!c&&(f?b.test(n):n==b)&&(m=m.substring(0,m.length-1)),l.push(m)}return l}b.exports=d},{}],67:[function(a,b,c){(function(a){function b(a){return Array.isArray?Array.isArray(a):"[object Array]"===q(a)}function d(a){return"boolean"==typeof a}function e(a){return null===a}function f(a){return null==a}function g(a){return"number"==typeof a}function h(a){return"string"==typeof a}function i(a){return"symbol"==typeof a}function j(a){return void 0===a}function k(a){return"[object RegExp]"===q(a)}function l(a){return"object"==typeof a&&null!==a}function m(a){return"[object Date]"===q(a)}function n(a){return"[object Error]"===q(a)||a instanceof Error}function o(a){return"function"==typeof a}function p(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function q(a){return Object.prototype.toString.call(a)}c.isArray=b,c.isBoolean=d,c.isNull=e,c.isNullOrUndefined=f,c.isNumber=g,c.isString=h,c.isSymbol=i,c.isUndefined=j,c.isRegExp=k,c.isObject=l,c.isDate=m,c.isError=n,c.isFunction=o,c.isPrimitive=p,c.isBuffer=a.isBuffer}).call(this,{isBuffer:a("../../is-buffer/index.js")})},{"../../is-buffer/index.js":72}],68:[function(a,b,c){function d(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function e(a){return"function"==typeof a}function f(a){return"number"==typeof a}function g(a){return"object"==typeof a&&null!==a}function h(a){return void 0===a}b.exports=d,d.EventEmitter=d,d.prototype._events=void 0,d.prototype._maxListeners=void 0,d.defaultMaxListeners=10,d.prototype.setMaxListeners=function(a){if(!f(a)||0>a||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},d.prototype.emit=function(a){var b,c,d,f,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if(b=arguments[1],b instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],h(c))return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:f=Array.prototype.slice.call(arguments,1),c.apply(this,f)}else if(g(c))for(f=Array.prototype.slice.call(arguments,1),j=c.slice(),d=j.length,i=0;d>i;i++)j[i].apply(this,f);return!0},d.prototype.addListener=function(a,b){var c;if(!e(b))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,e(b.listener)?b.listener:b),this._events[a]?g(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,g(this._events[a])&&!this._events[a].warned&&(c=h(this._maxListeners)?d.defaultMaxListeners:this._maxListeners,c&&c>0&&this._events[a].length>c&&(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())),this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){this.removeListener(a,c),d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function");var d=!1;return c.listener=b,this.on(a,c),this},d.prototype.removeListener=function(a,b){var c,d,f,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],f=c.length,d=-1,c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(h=f;h-- >0;)if(c[h]===b||c[h].listener&&c[h].listener===b){d=h;break}if(0>d)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(d,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},d.prototype.removeAllListeners=function(a){var b,c;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(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],e(c))this.removeListener(a,c);else if(c)for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},d.prototype.listeners=function(a){var b;return b=this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]},d.prototype.listenerCount=function(a){if(this._events){var b=this._events[a];if(e(b))return 1;if(b)return b.length}return 0},d.listenerCount=function(a,b){return a.listenerCount(b)}},{}],69:[function(a,b,c){var d=a("http"),e=b.exports;for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);e.request=function(a,b){return a||(a={}),a.scheme="https",a.protocol="https:",d.request.call(this,a,b)}},{http:122}],70:[function(a,b,c){c.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*(1/0);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=0>b||0===b&&0>1/b?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},{}],71:[function(a,b,c){"function"==typeof Object.create?b.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:b.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],72:[function(a,b,c){b.exports=function(a){return!(null==a||!(a._isBuffer||a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)))}},{}],73:[function(a,b,c){var d={}.toString;b.exports=Array.isArray||function(a){return"[object Array]"==d.call(a)}},{}],74:[function(a,b,c){"use strict";function d(a){return a.source.slice(1,-1)}var e=a("xml-char-classes");b.exports=new RegExp("^["+d(e.letter)+"_]["+d(e.letter)+d(e.digit)+"\\.\\-_"+d(e.combiningChar)+d(e.extender)+"]*$")},{"xml-char-classes":145}],75:[function(a,b,c){c.endianness=function(){return"LE"},c.hostname=function(){return"undefined"!=typeof location?location.hostname:""},c.loadavg=function(){return[]},c.uptime=function(){return 0},c.freemem=function(){return Number.MAX_VALUE},c.totalmem=function(){return Number.MAX_VALUE},c.cpus=function(){return[]},c.type=function(){return"Browser"},c.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},c.networkInterfaces=c.getNetworkInterfaces=function(){return{}},c.arch=function(){return"javascript"},c.platform=function(){return"browser"},c.tmpdir=c.tmpDir=function(){return"/tmp"},c.EOL="\n"},{}],76:[function(a,b,c){(function(a){function b(a,b){for(var c=0,d=a.length-1;d>=0;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}function d(a,b){if(a.filter)return a.filter(b);for(var c=[],d=0;d=-1&&!e;f--){var g=f>=0?arguments[f]:a.cwd();if("string"!=typeof g)throw new TypeError("Arguments to path.resolve must be strings");g&&(c=g+"/"+c,e="/"===g.charAt(0))}return c=b(d(c.split("/"),function(a){return!!a}),!e).join("/"),(e?"/":"")+c||"."},c.normalize=function(a){var e=c.isAbsolute(a),f="/"===g(a,-1);return a=b(d(a.split("/"),function(a){return!!a}),!e).join("/"),a||e||(a="."),a&&f&&(a+="/"),(e?"/":"")+a},c.isAbsolute=function(a){return"/"===a.charAt(0)},c.join=function(){var a=Array.prototype.slice.call(arguments,0); +return c.normalize(d(a,function(a,b){if("string"!=typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))},c.relative=function(a,b){function d(a){for(var b=0;b=0&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=c.resolve(a).substr(1),b=c.resolve(b).substr(1);for(var e=d(a.split("/")),f=d(b.split("/")),g=Math.min(e.length,f.length),h=g,i=0;g>i;i++)if(e[i]!==f[i]){h=i;break}for(var j=[],i=h;ib&&(b=a.length+b),a.substr(b,c)}}).call(this,a("_process"))},{_process:78}],77:[function(a,b,c){(function(a){"use strict";function c(b){for(var c=new Array(arguments.length-1),d=0;d1)for(var c=1;c1&&(d=c[0]+"@",a=c[1]),a=a.replace(G,".");var e=a.split("."),g=f(e,b).join(".");return d+g}function h(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function i(a){return f(a,function(a){var b="";return a>65535&&(a-=65536,b+=K(a>>>10&1023|55296),a=56320|1023&a),b+=K(a)}).join("")}function j(a){return 10>a-48?a-22:26>a-65?a-65:26>a-97?a-97:w}function k(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function l(a,b,c){var d=0;for(a=c?J(a/A):a>>1,a+=J(a/b);a>I*y>>1;d+=w)a=J(a/I);return J(d+(I+1)*a/(a+z))}function m(a){var b,c,d,f,g,h,k,m,n,o,p=[],q=a.length,r=0,s=C,t=B;for(c=a.lastIndexOf(D),0>c&&(c=0),d=0;c>d;++d)a.charCodeAt(d)>=128&&e("not-basic"),p.push(a.charCodeAt(d));for(f=c>0?c+1:0;q>f;){for(g=r,h=1,k=w;f>=q&&e("invalid-input"),m=j(a.charCodeAt(f++)),(m>=w||m>J((v-r)/h))&&e("overflow"),r+=m*h,n=t>=k?x:k>=t+y?y:k-t,!(n>m);k+=w)o=w-n,h>J(v/o)&&e("overflow"),h*=o;b=p.length+1,t=l(r-g,b,0==g),J(r/b)>v-s&&e("overflow"),s+=J(r/b),r%=b,p.splice(r++,0,s)}return i(p)}function n(a){var b,c,d,f,g,i,j,m,n,o,p,q,r,s,t,u=[];for(a=h(a),q=a.length,b=C,c=0,g=B,i=0;q>i;++i)p=a[i],128>p&&u.push(K(p));for(d=f=u.length,f&&u.push(D);q>d;){for(j=v,i=0;q>i;++i)p=a[i],p>=b&&j>p&&(j=p);for(r=d+1,j-b>J((v-c)/r)&&e("overflow"),c+=(j-b)*r,b=j,i=0;q>i;++i)if(p=a[i],b>p&&++c>v&&e("overflow"),p==b){for(m=c,n=w;o=g>=n?x:n>=g+y?y:n-g,!(o>m);n+=w)t=m-o,s=w-o,u.push(K(k(o+t%s,0))),m=J(t/s);u.push(K(k(m,0))),g=l(c,r,d==f),c=0,++d}++c,++b}return u.join("")}function o(a){return g(a,function(a){return E.test(a)?m(a.slice(4).toLowerCase()):a})}function p(a){return g(a,function(a){return F.test(a)?"xn--"+n(a):a})}var q="object"==typeof c&&c&&!c.nodeType&&c,r="object"==typeof b&&b&&!b.nodeType&&b,s="object"==typeof a&&a;s.global!==s&&s.window!==s&&s.self!==s||(d=s);var t,u,v=2147483647,w=36,x=1,y=26,z=38,A=700,B=72,C=128,D="-",E=/^xn--/,F=/[^\x20-\x7E]/,G=/[\x2E\u3002\uFF0E\uFF61]/g,H={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=w-x,J=Math.floor,K=String.fromCharCode;if(t={version:"1.4.1",ucs2:{decode:h,encode:i},decode:m,encode:n,toASCII:p,toUnicode:o},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return t});else if(q&&r)if(b.exports==q)r.exports=t;else for(u in t)t.hasOwnProperty(u)&&(q[u]=t[u]);else d.punycode=t}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],80:[function(a,b,c){"use strict";function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}b.exports=function(a,b,c,f){b=b||"&",c=c||"=";var g={};if("string"!=typeof a||0===a.length)return g;var h=/\+/g;a=a.split(b);var i=1e3;f&&"number"==typeof f.maxKeys&&(i=f.maxKeys);var j=a.length;i>0&&j>i&&(j=i);for(var k=0;j>k;++k){var l,m,n,o,p=a[k].replace(h,"%20"),q=p.indexOf(c);q>=0?(l=p.substr(0,q),m=p.substr(q+1)):(l=p,m=""),n=decodeURIComponent(l),o=decodeURIComponent(m),d(g,n)?e(g[n])?g[n].push(o):g[n]=[g[n],o]:g[n]=o}return g};var e=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)}},{}],81:[function(a,b,c){"use strict";function d(a,b){if(a.map)return a.map(b);for(var c=[],d=0;d0)if(b.ended&&!e){var h=new Error("stream.push() after EOF");a.emit("error",h)}else if(b.endEmitted&&e){var h=new Error("stream.unshift() after end event");a.emit("error",h)}else{var i;!b.decoder||e||d||(c=b.decoder.write(c),i=!b.objectMode&&0===c.length),e||(b.reading=!1),i||(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&&l(a))),n(a,b)}else e||(b.reading=!1);return g(b)}function g(a){return!a.ended&&(a.needReadable||a.length=J?a=J:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a}function i(a,b){return 0===b.length&&b.ended?0:b.objectMode?0===a?0:1:null===a||isNaN(a)?b.flowing&&b.buffer.length?b.buffer[0].length:b.length:0>=a?0:(a>b.highWaterMark&&(b.highWaterMark=h(a)),a>b.length?b.ended?b.length:(b.needReadable=!0,0):a)}function j(a,b){var c=null;return B.isBuffer(b)||"string"==typeof b||null===b||void 0===b||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function k(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,l(a)}}function l(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(G("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?z(m,a):m(a))}function m(a){G("emit readable"),a.emit("readable"),t(a)}function n(a,b){b.readingMore||(b.readingMore=!0,z(o,a,b))}function o(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=e)c=f?d.join(""):1===d.length?d[0]:B.concat(d,e),d.length=0;else if(aj&&a>i;j++){var h=d[0],l=Math.min(a-i,h.length);f?c+=h.slice(0,l):h.copy(c,i,0,l),l0)throw new Error("endReadable called on non-empty stream");b.endEmitted||(b.ended=!0,z(w,b,a))}function w(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function x(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function y(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}b.exports=e;var z=a("process-nextick-args"),A=a("isarray"),B=a("buffer").Buffer;e.ReadableState=d;var C,D=(a("events"),function(a,b){return a.listeners(b).length});!function(){try{C=a("stream")}catch(b){}finally{C||(C=a("events").EventEmitter)}}();var B=a("buffer").Buffer,E=a("core-util-is");E.inherits=a("inherits");var F=a("util"),G=void 0;G=F&&F.debuglog?F.debuglog("stream"):function(){};var H;E.inherits(e,C);var I,I;e.prototype.push=function(a,b){var c=this._readableState;return c.objectMode||"string"!=typeof a||(b=b||c.defaultEncoding,b!==c.encoding&&(a=new B(a,b),b="")),f(this,c,a,b,!1)},e.prototype.unshift=function(a){var b=this._readableState;return f(this,b,a,"",!0)},e.prototype.isPaused=function(){return this._readableState.flowing===!1},e.prototype.setEncoding=function(b){return H||(H=a("string_decoder/").StringDecoder),this._readableState.decoder=new H(b),this._readableState.encoding=b,this};var J=8388608;e.prototype.read=function(a){G("read",a);var b=this._readableState,c=a;if(("number"!=typeof a||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return G("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?v(this):l(this),null;if(a=i(a,b),0===a&&b.ended)return 0===b.length&&v(this),null;var d=b.needReadable;G("need readable",d),(0===b.length||b.length-a0?u(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&&0===b.length&&v(this),null!==e&&this.emit("data",e),e},e.prototype._read=function(a){this.emit("error",new Error("not implemented"))},e.prototype.pipe=function(a,b){function d(a){G("onunpipe"),a===l&&f()}function e(){G("onend"),a.end()}function f(){G("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",q),a.removeListener("error",h),a.removeListener("unpipe",d),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),r=!0,!m.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function g(b){G("ondata");var c=a.write(b);!1===c&&(1!==m.pipesCount||m.pipes[0]!==a||1!==l.listenerCount("data")||r||(G("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++),l.pause())}function h(b){G("onerror",b),k(),a.removeListener("error",h),0===D(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){G("onfinish"),a.removeListener("close",i),k()}function k(){G("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,G("pipe count=%d opts=%j",m.pipesCount,b);var n=(!b||b.end!==!1)&&a!==c.stdout&&a!==c.stderr,o=n?e:f;m.endEmitted?z(o):l.once("end",o),a.on("unpipe",d);var q=p(l);a.on("drain",q);var r=!1;return l.on("data",g),a._events&&a._events.error?A(a._events.error)?a._events.error.unshift(h):a._events.error=[h,a._events.error]:a.on("error",h),a.once("close",i),a.once("finish",j),a.emit("pipe",l),m.flowing||(G("pipe resume"),l.resume()),a},e.prototype.unpipe=function(a){var b=this._readableState;if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this),this);if(!a){var c=b.pipes,d=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var e=0;d>e;e++)c[e].emit("unpipe",this);return this}var f=y(b.pipes,a);return-1===f?this:(b.pipes.splice(f,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this),this)},e.prototype.on=function(a,b){var c=C.prototype.on.call(this,a,b);if("data"===a&&!1!==this._readableState.flowing&&this.resume(),"readable"===a&&!this._readableState.endEmitted){var d=this._readableState;d.readableListening||(d.readableListening=!0,d.emittedReadable=!1,d.needReadable=!0,d.reading?d.length&&l(this,d):z(q,this))}return c},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var a=this._readableState;return a.flowing||(G("resume"),a.flowing=!0,r(this,a)),this},e.prototype.pause=function(){return G("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(G("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(a){var b=this._readableState,c=!1,d=this;a.on("end",function(){if(G("wrapped end"),b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&d.push(a)}d.push(null)}),a.on("data",function(e){if(G("wrapped data"),b.decoder&&(e=b.decoder.write(e)),(!b.objectMode||null!==e&&void 0!==e)&&(b.objectMode||e&&e.length)){var f=d.push(e);f||(c=!0,a.pause())}});for(var e in a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));var f=["error","close","destroy","pause","resume"];return x(f,function(b){a.on(b,d.emit.bind(d,b))}),d._read=function(b){G("wrapped _read",b),c&&(c=!1,a.resume())},d},e._fromList=u}).call(this,a("_process"))},{"./_stream_duplex":84,_process:78,buffer:5,"core-util-is":67,events:68,inherits:71,isarray:73,"process-nextick-args":77,"string_decoder/":126,util:3}],87:[function(a,b,c){"use strict";function d(a){this.afterTransform=function(b,c){return e(a,b,c)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function e(a,b,c){var d=a._transformState;d.transforming=!1;var e=d.writecb;if(!e)return a.emit("error",new Error("no writecb in Transform class"));d.writechunk=null,d.writecb=null,null!==c&&void 0!==c&&a.push(c),e(b);var f=a._readableState;f.reading=!1,(f.needReadable||f.length-1?setImmediate:x,z=a("buffer").Buffer;g.WritableState=f;var A=a("core-util-is");A.inherits=a("inherits");var B,C={deprecate:a("util-deprecate")};!function(){try{B=a("stream")}catch(b){}finally{B||(B=a("events").EventEmitter)}}();var z=a("buffer").Buffer;A.inherits(g,B);var D;f.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(f.prototype,"buffer",{get:C.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(a){}}();var D;g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},g.prototype.write=function(a,b,c){var e=this._writableState,f=!1;return"function"==typeof b&&(c=b,b=null),z.isBuffer(a)?b="buffer":b||(b=e.defaultEncoding),"function"!=typeof c&&(c=d),e.ended?h(this,c):i(this,e,a,c)&&(e.pendingcb++,f=k(this,e,a,b,c)),f},g.prototype.cork=function(){var a=this._writableState;a.corked++},g.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||r(this,a))},g.prototype.setDefaultEncoding=function(a){if("string"==typeof a&&(a=a.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((a+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+a);this._writableState.defaultEncoding=a},g.prototype._write=function(a,b,c){c(new Error("not implemented"))},g.prototype._writev=null,g.prototype.end=function(a,b,c){var d=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!==a&&void 0!==a&&this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||v(this,d,c)}}).call(this,a("_process"))},{"./_stream_duplex":84,_process:78,buffer:5,"core-util-is":67,events:68,inherits:71,"process-nextick-args":77,"util-deprecate":142}],89:[function(a,b,c){b.exports=a("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":85}],90:[function(a,b,c){var d=function(){try{return a("stream")}catch(b){}}();c=b.exports=a("./lib/_stream_readable.js"),c.Stream=d||c,c.Readable=c,c.Writable=a("./lib/_stream_writable.js"),c.Duplex=a("./lib/_stream_duplex.js"),c.Transform=a("./lib/_stream_transform.js"),c.PassThrough=a("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":84,"./lib/_stream_passthrough.js":85,"./lib/_stream_readable.js":86,"./lib/_stream_transform.js":87,"./lib/_stream_writable.js":88}],91:[function(a,b,c){b.exports=a("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":87}],92:[function(a,b,c){b.exports=a("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":88}],93:[function(a,b,c){"use strict";b.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],94:[function(a,b,c){"use strict";function d(a,b){return!a.auth||b.removeAuth||!a.extra.relation.maximumHost&&b.output!==p.ABSOLUTE?"":a.auth+"@"}function e(a,b){return a.hash?a.hash:""}function f(a,b){return a.host.full&&(a.extra.relation.maximumAuth||b.output===p.ABSOLUTE)?a.host.full:""}function g(a,b){var c="",d=a.path.absolute.string,e=a.path.relative.string,f=o(a,b);if(a.extra.relation.maximumHost||b.output===p.ABSOLUTE||b.output===p.ROOT_RELATIVE)c=d;else if(e.length<=d.length&&b.output===p.SHORTEST||b.output===p.PATH_RELATIVE){if(c=e,""===c){var g=n(a,b)&&!!m(a,b);a.extra.relation.maximumPath&&!f?c="./":!a.extra.relation.overridesQuery||f||g||(c="./")}}else c=d;return"/"!==c||f||!b.removeRootTrailingSlash||a.extra.relation.minimumPort&&b.output!==p.ABSOLUTE||(c=""),c}function h(a,b){return a.port&&!a.extra.portIsDefault&&a.extra.relation.maximumHost?":"+a.port:""}function i(a,b){return n(a,b)?m(a,b):""}function j(a,b){return o(a,b)?a.resource:""}function k(a,b){var c="";return(a.extra.relation.maximumHost||b.output===p.ABSOLUTE)&&(c+=a.extra.relation.minimumScheme&&b.schemeRelative&&b.output!==p.ABSOLUTE?"//":a.scheme+"://"),c}function l(a,b){var c="";return c+=k(a,b),c+=d(a,b),c+=f(a,b),c+=h(a,b),c+=g(a,b),c+=j(a,b),c+=i(a,b),c+=e(a,b)}function m(a,b){var c=b.removeEmptyQueries&&a.extra.relation.minimumPort;return a.query.string[c?"stripped":"full"]}function n(a,b){return!a.extra.relation.minimumQuery||b.output===p.ABSOLUTE||b.output===p.ROOT_RELATIVE}function o(a,b){var c=b.removeDirectoryIndexes&&a.extra.resourceIsIndex,d=a.extra.relation.minimumResource&&b.output!==p.ABSOLUTE&&b.output!==p.ROOT_RELATIVE;return!!a.resource&&!d&&!c}var p=a("./constants");b.exports=l},{"./constants":93}],95:[function(a,b,c){"use strict";function d(a,b){this.options=g(b,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:d.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=i.from(a,this.options,null)}var e=a("./constants"),f=a("./format"),g=a("./options"),h=a("./util/object"),i=a("./parse"),j=a("./relate");d.prototype.relate=function(a,b,c){if(h.isPlainObject(b)?(c=b,b=a,a=null):b||(b=a,a=null),c=g(c,this.options),a=a||c.site,a=i.from(a,c,this.from),!a||!a.href)throw new Error("from value not defined.");if(a.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+a.href);return b=i.to(b,c),b.valid===!1?b.href:(b=j(a,b,c),b=f(b,c))},d.relate=function(a,b,c){return(new d).relate(a,b,c)},h.shallowMerge(d,e),b.exports=d},{"./constants":93,"./format":94,"./options":96,"./parse":99,"./relate":106,"./util/object":108}],96:[function(a,b,c){"use strict";function d(a,b){if(f.isPlainObject(a)){var c={};for(var d in b)b.hasOwnProperty(d)&&(void 0!==a[d]?c[d]=e(a[d],b[d]):c[d]=b[d]);return c}return b}function e(a,b){return b instanceof Object&&a instanceof Object?b instanceof Array&&a instanceof Array?b.concat(a):f.shallowMerge(a,b):a}var f=a("./util/object");b.exports=d},{"./util/object":108}],97:[function(a,b,c){"use strict";function d(a,b){if(b.ignore_www){var c=a.host.full;if(c){var d=c;0===c.indexOf("www.")&&(d=c.substr(4)),a.host.stripped=d}}}b.exports=d},{}],98:[function(a,b,c){"use strict";function d(a){var b=!(a.scheme||a.auth||a.host.full||a.port),c=b&&!a.path.absolute.string,d=c&&!a.resource,e=d&&!a.query.string.full.length,f=e&&!a.hash;a.extra.hrefInfo.minimumPathOnly=b,a.extra.hrefInfo.minimumResourceOnly=c,a.extra.hrefInfo.minimumQueryOnly=d,a.extra.hrefInfo.minimumHashOnly=e,a.extra.hrefInfo.empty=f}b.exports=d},{}],99:[function(a,b,c){"use strict";function d(a,b,c){if(a){var d=e(a,b),f=l.resolveDotSegments(d.path.absolute.array);return d.path.absolute.array=f,d.path.absolute.string="/"+l.join(f),d}return c}function e(a,b){var c=k(a,b);return c.valid===!1?c:(g(c,b),i(c,b),h(c,b),j(c,b),f(c),c)}var f=a("./hrefInfo"),g=a("./host"),h=a("./path"),i=a("./port"),j=a("./query"),k=a("./urlstring"),l=a("../util/path");b.exports={from:d,to:e}},{"../util/path":109,"./host":97,"./hrefInfo":98,"./path":100,"./port":101,"./query":102,"./urlstring":103}],100:[function(a,b,c){"use strict";function d(a,b){var c=!1;return b.directoryIndexes.every(function(b){return b===a?(c=!0,!1):!0}),c}function e(a,b){var c=a.path.absolute.string;if(c){var e=c.lastIndexOf("/");if(e>-1){if(++e-1&&(c=c.toString(),null===a.port&&(a.port=c),a.extra.portIsDefault=a.port===c)}b.exports=d},{}],102:[function(a,b,c){"use strict";function d(a,b){a.query.string.full=e(a.query.object,!1),b.removeEmptyQueries&&(a.query.string.stripped=e(a.query.object,!0))}function e(a,b){var c=0,d="";for(var e in a)if(""!==e&&a.hasOwnProperty(e)){var f=a[e];""===f&&b||(d+=1===++c?"?":"&",e=encodeURIComponent(e),d+=""!==f?e+"="+encodeURIComponent(f).replace(/%20/g,"+"):e)}return d}b.exports=d},{}],103:[function(a,b,c){"use strict";function d(a){var b=a.protocol;return b&&b.indexOf(":")===b.length-1&&(b=b.substr(0,b.length-1)),a.host={full:a.hostname,stripped:null},a.path={absolute:{array:null,string:a.pathname},relative:{array:null,string:null +}},a.query={object:a.query,string:{full:null,stripped:null}},a.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===a.search},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:a.slashes},a.resource=null,a.scheme=b,delete a.hostname,delete a.pathname,delete a.protocol,delete a.search,delete a.slashes,a}function e(a,b){var c=!0;return b.rejectedSchemes.every(function(b){return c=!(0===a.indexOf(b+":"))}),c}function f(a,b){return e(a,b)?d(g(a,!0,b.slashesDenoteHost)):{href:a,valid:!1}}var g=a("url").parse;b.exports=f},{url:140}],104:[function(a,b,c){"use strict";function d(a,b,c){h.upToPath(a,b,c),a.extra.relation.minimumScheme&&(a.scheme=b.scheme),a.extra.relation.minimumAuth&&(a.auth=b.auth),a.extra.relation.minimumHost&&(a.host=i.clone(b.host)),a.extra.relation.minimumPort&&f(a,b),a.extra.relation.minimumScheme&&e(a,b),h.pathOn(a,b,c),a.extra.relation.minimumResource&&g(a,b),a.extra.relation.minimumQuery&&(a.query=i.clone(b.query)),a.extra.relation.minimumHash&&(a.hash=b.hash)}function e(a,b){if(a.extra.relation.maximumHost||!a.extra.hrefInfo.minimumResourceOnly){var c=a.path.absolute.array,d="/";c?(a.extra.hrefInfo.minimumPathOnly&&0!==a.path.absolute.string.indexOf("/")&&(c=b.path.absolute.array.concat(c)),c=j.resolveDotSegments(c),d+=j.join(c)):c=[],a.path.absolute.array=c,a.path.absolute.string=d}else a.path=i.clone(b.path)}function f(a,b){a.port=b.port,a.extra.portIsDefault=b.extra.portIsDefault}function g(a,b){a.resource=b.resource,a.extra.resourceIsIndex=b.extra.resourceIsIndex}var h=a("./findRelation"),i=a("../util/object"),j=a("../util/path");b.exports=d},{"../util/object":108,"../util/path":109,"./findRelation":105}],105:[function(a,b,c){"use strict";function d(a,b,c){var d=a.extra.hrefInfo.minimumPathOnly,e=a.scheme===b.scheme||!a.scheme,f=e&&(a.auth===b.auth||c.removeAuth||d),g=c.ignore_www?"stripped":"full",h=f&&(a.host[g]===b.host[g]||d),i=h&&(a.port===b.port||d);a.extra.relation.minimumScheme=e,a.extra.relation.minimumAuth=f,a.extra.relation.minimumHost=h,a.extra.relation.minimumPort=i,a.extra.relation.maximumScheme=!e||e&&!f,a.extra.relation.maximumAuth=!e||e&&!h,a.extra.relation.maximumHost=!e||e&&!i}function e(a,b,c){var d=a.extra.hrefInfo.minimumQueryOnly,e=a.extra.hrefInfo.minimumHashOnly,f=a.extra.hrefInfo.empty,g=a.extra.relation.minimumPort,h=a.extra.relation.minimumScheme,i=g&&a.path.absolute.string===b.path.absolute.string,j=a.resource===b.resource||!a.resource&&b.extra.resourceIsIndex||c.removeDirectoryIndexes&&a.extra.resourceIsIndex&&!b.resource,k=i&&(j||d||e||f),l=c.removeEmptyQueries?"stripped":"full",m=a.query.string[l],n=b.query.string[l],o=k&&!!m&&m===n||(e||f)&&!a.extra.hrefInfo.separatorOnlyQuery,p=o&&a.hash===b.hash;a.extra.relation.minimumPath=i,a.extra.relation.minimumResource=k,a.extra.relation.minimumQuery=o,a.extra.relation.minimumHash=p,a.extra.relation.maximumPort=!h||h&&!i,a.extra.relation.maximumPath=!h||h&&!k,a.extra.relation.maximumResource=!h||h&&!o,a.extra.relation.maximumQuery=!h||h&&!p,a.extra.relation.maximumHash=!h||h&&!p,a.extra.relation.overridesQuery=i&&a.extra.relation.maximumResource&&!o&&!!n}b.exports={pathOn:e,upToPath:d}},{}],106:[function(a,b,c){"use strict";function d(a,b,c){return e(b,a,c),f(b,a,c),b}var e=a("./absolutize"),f=a("./relativize");b.exports=d},{"./absolutize":104,"./relativize":107}],107:[function(a,b,c){"use strict";function d(a,b){var c=[],d=!0,e=-1;return b.forEach(function(b,f){d&&(a[f]!==b?d=!1:e=f),d||c.push("..")}),a.forEach(function(a,b){b>e&&c.push(a)}),c}function e(a,b,c){if(a.extra.relation.minimumScheme){var e=d(a.path.absolute.array,b.path.absolute.array);a.path.relative.array=e,a.path.relative.string=f.join(e)}}var f=a("../util/path");b.exports=e},{"../util/path":109}],108:[function(a,b,c){"use strict";function d(a){if(a instanceof Object){var b=a instanceof Array?[]:{};for(var c in a)a.hasOwnProperty(c)&&(b[c]=d(a[c]));return b}return a}function e(a){return!!a&&"object"==typeof a&&a.constructor===Object}function f(a,b){if(a instanceof Object&&b instanceof Object)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}b.exports={clone:d,isPlainObject:e,shallowMerge:f}},{}],109:[function(a,b,c){"use strict";function d(a){return a.length?a.join("/")+"/":""}function e(a){var b=[];return a.forEach(function(a){".."!==a?"."!==a&&b.push(a):b.length&&b.splice(b.length-1,1)}),b}b.exports={join:d,resolveDotSegments:e}},{}],110:[function(a,b,c){c.SourceMapGenerator=a("./source-map/source-map-generator").SourceMapGenerator,c.SourceMapConsumer=a("./source-map/source-map-consumer").SourceMapConsumer,c.SourceNode=a("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":117,"./source-map/source-map-generator":118,"./source-map/source-node":119}],111:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(){this._array=[],this._set={}}var e=a("./util");d.fromArray=function(a,b){for(var c=new d,e=0,f=a.length;f>e;e++)c.add(a[e],b);return c},d.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},d.prototype.add=function(a,b){var c=this.has(a),d=this._array.length;c&&!b||this._array.push(a),c||(this._set[e.toSetString(a)]=d)},d.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this._set,e.toSetString(a))},d.prototype.indexOf=function(a){if(this.has(a))return this._set[e.toSetString(a)];throw new Error('"'+a+'" is not in the set.')},d.prototype.at=function(a){if(a>=0&&aa?(-a<<1)+1:(a<<1)+0}function e(a){var b=1===(1&a),c=a>>1;return b?-c:c}var f=a("./base64"),g=5,h=1<>>=g,e>0&&(b|=j),c+=f.encode(b);while(e>0);return c},b.decode=function(a,b,c){var d,h,k=a.length,l=0,m=0;do{if(b>=k)throw new Error("Expected more digits in base 64 VLQ value.");if(h=f.decode(a.charCodeAt(b++)),-1===h)throw new Error("Invalid base64 digit: "+a.charAt(b-1));d=!!(h&j),h&=i,l+=h<=0&&a=b&&c>=a?a-b:a>=d&&e>=a?a-d+j:a>=f&&g>=a?a-f+k:a==h?62:a==i?63:-1}})},{amdefine:1}],114:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,c,e,f,g,h){var i=Math.floor((c-a)/2)+a,j=g(e,f[i],!0);return 0===j?i:j>0?c-i>1?d(i,c,e,f,g,h):h==b.LEAST_UPPER_BOUND?c1?d(a,i,e,f,g,h):h==b.LEAST_UPPER_BOUND?i:0>a?-1:a}b.GREATEST_LOWER_BOUND=1,b.LEAST_UPPER_BOUND=2,b.search=function(a,c,e,f){if(0===c.length)return-1;var g=d(-1,c.length,a,c,e,f||b.GREATEST_LOWER_BOUND);if(0>g)return-1;for(;g-1>=0&&0===e(c[g],c[g-1],!0);)--g;return g}})},{amdefine:1}],115:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b){var c=a.generatedLine,d=b.generatedLine,e=a.generatedColumn,g=b.generatedColumn;return d>c||d==c&&g>=e||f.compareByGeneratedPositionsInflated(a,b)<=0}function e(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var f=a("./util");e.prototype.unsortedForEach=function(a,b){this._array.forEach(a,b)},e.prototype.add=function(a){d(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},e.prototype.toArray=function(){return this._sorted||(this._array.sort(f.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},b.MappingList=e})},{"./util":120,amdefine:1}],116:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b,c){var d=a[b];a[b]=a[c],a[c]=d}function e(a,b){return Math.round(a+Math.random()*(b-a))}function f(a,b,c,g){if(g>c){var h=e(c,g),i=c-1;d(a,h,g);for(var j=a[g],k=c;g>k;k++)b(a[k],j)<=0&&(i+=1,d(a,i,k));d(a,i+1,k);var l=i+1;f(a,b,c,l-1),f(a,b,l+1,g)}}b.quickSort=function(a,b){f(a,b,0,a.length-1)}})},{amdefine:1}],117:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a){var b=a;return"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,""))),null!=b.sections?new g(b):new e(b)}function e(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),d=h.getArg(b,"sources"),e=h.getArg(b,"names",[]),f=h.getArg(b,"sourceRoot",null),g=h.getArg(b,"sourcesContent",null),i=h.getArg(b,"mappings"),k=h.getArg(b,"file",null);if(c!=this._version)throw new Error("Unsupported version: "+c);d=d.map(h.normalize),this._names=j.fromArray(e,!0),this._sources=j.fromArray(d,!0),this.sourceRoot=f,this.sourcesContent=g,this._mappings=i,this.file=k}function f(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function g(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),e=h.getArg(b,"sections");if(c!=this._version)throw new Error("Unsupported version: "+c);this._sources=new j,this._names=new j;var f={line:-1,column:0};this._sections=e.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var b=h.getArg(a,"offset"),c=h.getArg(b,"line"),e=h.getArg(b,"column");if(c=0){var f=this._originalMappings[e];if(void 0===a.column)for(var g=f.originalLine;f&&f.originalLine===g;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e];else for(var j=f.originalColumn;f&&f.originalLine===b&&f.originalColumn==j;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e]}return d},b.SourceMapConsumer=d,e.prototype=Object.create(d.prototype),e.prototype.consumer=d,e.fromSourceMap=function(a){var b=Object.create(e.prototype),c=b._names=j.fromArray(a._names.toArray(),!0),d=b._sources=j.fromArray(a._sources.toArray(),!0);b.sourceRoot=a._sourceRoot,b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot),b.file=a._file;for(var g=a._mappings.toArray().slice(),i=b.__generatedMappings=[],k=b.__originalMappings=[],m=0,n=g.length;n>m;m++){var o=g[m],p=new f;p.generatedLine=o.generatedLine,p.generatedColumn=o.generatedColumn,o.source&&(p.source=d.indexOf(o.source),p.originalLine=o.originalLine,p.originalColumn=o.originalColumn,o.name&&(p.name=c.indexOf(o.name)),k.push(p)),i.push(p)}return l(b.__originalMappings,h.compareByOriginalPositions),b},e.prototype._version=3,Object.defineProperty(e.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return null!=this.sourceRoot?h.join(this.sourceRoot,a):a},this)}}),e.prototype._parseMappings=function(a,b){for(var c,d,e,g,i,j=1,m=0,n=0,o=0,p=0,q=0,r=a.length,s=0,t={},u={},v=[],w=[];r>s;)if(";"===a.charAt(s))j++,s++,m=0;else if(","===a.charAt(s))s++;else{for(c=new f,c.generatedLine=j,g=s;r>g&&!this._charIsMappingSeparator(a,g);g++);if(d=a.slice(s,g),e=t[d])s+=d.length;else{for(e=[];g>s;)k.decode(a,s,u),i=u.value,s=u.rest,e.push(i);if(2===e.length)throw new Error("Found a source, but no line and column");if(3===e.length)throw new Error("Found a source and line, but no column");t[d]=e}c.generatedColumn=m+e[0],m=c.generatedColumn,e.length>1&&(c.source=p+e[1],p+=e[1],c.originalLine=n+e[2],n=c.originalLine,c.originalLine+=1,c.originalColumn=o+e[3],o=c.originalColumn,e.length>4&&(c.name=q+e[4],q+=e[4])),w.push(c),"number"==typeof c.originalLine&&v.push(c)}l(w,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,l(v,h.compareByOriginalPositions),this.__originalMappings=v},e.prototype._findMapping=function(a,b,c,d,e,f){if(a[c]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+a[c]);if(a[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return i.search(a,b,e,f)},e.prototype.computeColumnSpans=function(){for(var a=0;a=0){var e=this._generatedMappings[c];if(e.generatedLine===b.generatedLine){var f=h.getArg(e,"source",null);null!==f&&(f=this._sources.at(f),null!=this.sourceRoot&&(f=h.join(this.sourceRoot,f)));var g=h.getArg(e,"name",null);return null!==g&&(g=this._names.at(g)),{source:f,line:h.getArg(e,"originalLine",null),column:h.getArg(e,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==a}):!1},e.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(a=h.relative(this.sourceRoot,a)),this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var c;if(null!=this.sourceRoot&&(c=h.urlParse(this.sourceRoot))){var d=a.replace(/^file:\/\//,"");if("file"==c.scheme&&this._sources.has(d))return this.sourcesContent[this._sources.indexOf(d)];if((!c.path||"/"==c.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(b)return null;throw new Error('"'+a+'" is not in the SourceMap.')},e.prototype.generatedPositionFor=function(a){var b=h.getArg(a,"source");if(null!=this.sourceRoot&&(b=h.relative(this.sourceRoot,b)),!this._sources.has(b))return{line:null,column:null,lastColumn:null};b=this._sources.indexOf(b);var c={source:b,originalLine:h.getArg(a,"line"),originalColumn:h.getArg(a,"column")},e=this._findMapping(c,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(a,"bias",d.GREATEST_LOWER_BOUND));if(e>=0){var f=this._originalMappings[e];if(f.source===c.source)return{line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},b.BasicSourceMapConsumer=e,g.prototype=Object.create(d.prototype),g.prototype.constructor=d,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var a=[],b=0;b0&&a.column>=0)||b||c||d)&&!(a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&a.line>0&&a.column>=0&&b.line>0&&b.column>=0&&c))throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:c,original:b,name:d}))},d.prototype._serializeMappings=function(){for(var a,b=0,c=1,d=0,g=0,h=0,i=0,j="",k=this._mappings.toArray(),l=0,m=k.length;m>l;l++){if(a=k[l],a.generatedLine!==c)for(b=0;a.generatedLine!==c;)j+=";",c++;else if(l>0){if(!f.compareByGeneratedPositionsInflated(a,k[l-1]))continue;j+=","}j+=e.encode(a.generatedColumn-b),b=a.generatedColumn,null!=a.source&&(j+=e.encode(this._sources.indexOf(a.source)-i),i=this._sources.indexOf(a.source),j+=e.encode(a.originalLine-1-g),g=a.originalLine-1,j+=e.encode(a.originalColumn-d),d=a.originalColumn,null!=a.name&&(j+=e.encode(this._names.indexOf(a.name)-h),h=this._names.indexOf(a.name)))}return j},d.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=f.relative(b,a));var c=f.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},d.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(a.file=this._file),null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},d.prototype.toString=function(){return JSON.stringify(this.toJSON())},b.SourceMapGenerator=d})},{"./array-set":111,"./base64-vlq":112,"./mapping-list":115,"./util":120,amdefine:1}],119:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b,c,d,e){this.children=[],this.sourceContents={},this.line=null==a?null:a,this.column=null==b?null:b,this.source=null==c?null:c,this.name=null==e?null:e,this[i]=!0,null!=d&&this.add(d)}var e=a("./source-map-generator").SourceMapGenerator,f=a("./util"),g=/(\r?\n)/,h=10,i="$$$isSourceNode$$$";d.fromStringWithSourceMap=function(a,b,c){function e(a,b){if(null===a||void 0===a.source)h.add(b);else{var e=c?f.join(c,a.source):a.source;h.add(new d(a.originalLine,a.originalColumn,e,b,a.name))}}var h=new d,i=a.split(g),j=function(){var a=i.shift(),b=i.shift()||"";return a+b},k=1,l=0,m=null;return b.eachMapping(function(a){if(null!==m){if(!(k0&&(m&&e(m,j()),h.add(i.join(""))),b.sources.forEach(function(a){var d=b.sourceContentFor(a);null!=d&&(null!=c&&(a=f.join(c,a)),h.setSourceContent(a,d))}),h},d.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(a){this.add(a)},this);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);a&&this.children.push(a)}return this},d.prototype.prepend=function(a){if(Array.isArray(a))for(var b=a.length-1;b>=0;b--)this.prepend(a[b]);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);this.children.unshift(a)}return this},d.prototype.walk=function(a){for(var b,c=0,d=this.children.length;d>c;c++)b=this.children[c],b[i]?b.walk(a):""!==b&&a(b,{source:this.source,line:this.line,column:this.column,name:this.name})},d.prototype.join=function(a){var b,c,d=this.children.length;if(d>0){for(b=[],c=0;d-1>c;c++)b.push(this.children[c]),b.push(a);b.push(this.children[c]),this.children=b}return this},d.prototype.replaceRight=function(a,b){var c=this.children[this.children.length-1];return c[i]?c.replaceRight(a,b):"string"==typeof c?this.children[this.children.length-1]=c.replace(a,b):this.children.push("".replace(a,b)),this},d.prototype.setSourceContent=function(a,b){this.sourceContents[f.toSetString(a)]=b},d.prototype.walkSourceContents=function(a){for(var b=0,c=this.children.length;c>b;b++)this.children[b][i]&&this.children[b].walkSourceContents(a);for(var d=Object.keys(this.sourceContents),b=0,c=d.length;c>b;b++)a(f.fromSetString(d[b]),this.sourceContents[d[b]])},d.prototype.toString=function(){var a="";return this.walk(function(b){a+=b}),a},d.prototype.toStringWithSourceMap=function(a){var b={code:"",line:1,column:0},c=new e(a),d=!1,f=null,g=null,i=null,j=null;return this.walk(function(a,e){b.code+=a,null!==e.source&&null!==e.line&&null!==e.column?(f===e.source&&g===e.line&&i===e.column&&j===e.name||c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name}),f=e.source,g=e.line,i=e.column,j=e.name,d=!0):d&&(c.addMapping({generated:{line:b.line,column:b.column}}),f=null,d=!1);for(var k=0,l=a.length;l>k;k++)a.charCodeAt(k)===h?(b.line++,b.column=0,k+1===l?(f=null,d=!1):d&&c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name})):b.column++}),this.walkSourceContents(function(a,b){c.setSourceContent(a,b)}),{code:b.code,map:c}},b.SourceNode=d})},{"./source-map-generator":118,"./util":120,amdefine:1}],120:[function(a,b,c){if("function"!=typeof d)var d=a("amdefine")(b,a);d(function(a,b,c){function d(a,b,c){if(b in a)return a[b];if(3===arguments.length)return c;throw new Error('"'+b+'" is a required argument.')}function e(a){var b=a.match(p);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}function f(a){var b="";return 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),b}function g(a){var b=a,c=e(a);if(c){if(!c.path)return a;b=c.path}for(var d,g="/"===b.charAt(0),h=b.split(/\/+/),i=0,j=h.length-1;j>=0;j--)d=h[j],"."===d?h.splice(j,1):".."===d?i++:i>0&&(""===d?(h.splice(j+1,i),i=0):(h.splice(j,2),i--));return b=h.join("/"),""===b&&(b=g?"/":"."),c?(c.path=b,f(c)):b}function h(a,b){""===a&&(a="."),""===b&&(b=".");var c=e(b),d=e(a);if(d&&(a=d.path||"/"),c&&!c.scheme)return d&&(c.scheme=d.scheme),f(c);if(c||b.match(q))return b;if(d&&!d.host&&!d.path)return d.host=b,f(d);var h="/"===b.charAt(0)?b:g(a.replace(/\/+$/,"")+"/"+b);return d?(d.path=h,f(d)):h}function i(a,b){""===a&&(a="."),a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;if(a=a.slice(0,d),a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join("../")+b.substr(a.length+1)}function j(a){return"$"+a}function k(a){return a.substr(1)}function l(a,b,c){var d=a.source-b.source;return 0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d||c?d:(d=a.generatedColumn-b.generatedColumn,0!==d?d:(d=a.generatedLine-b.generatedLine,0!==d?d:a.name-b.name))))}function m(a,b,c){var d=a.generatedLine-b.generatedLine;return 0!==d?d:(d=a.generatedColumn-b.generatedColumn,0!==d||c?d:(d=a.source-b.source,0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d?d:a.name-b.name))))}function n(a,b){return a===b?0:a>b?1:-1}function o(a,b){var c=a.generatedLine-b.generatedLine;return 0!==c?c:(c=a.generatedColumn-b.generatedColumn,0!==c?c:(c=n(a.source,b.source),0!==c?c:(c=a.originalLine-b.originalLine,0!==c?c:(c=a.originalColumn-b.originalColumn,0!==c?c:n(a.name,b.name)))))}b.getArg=d;var p=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,q=/^data:.+\,.+$/;b.urlParse=e,b.urlGenerate=f,b.normalize=g,b.join=h,b.relative=i,b.toSetString=j,b.fromSetString=k,b.compareByOriginalPositions=l,b.compareByGeneratedPositionsDeflated=m,b.compareByGeneratedPositionsInflated=o})},{amdefine:1}],121:[function(a,b,c){function d(){e.call(this)}b.exports=d;var e=a("events").EventEmitter,f=a("inherits");f(d,e),d.Readable=a("readable-stream/readable.js"),d.Writable=a("readable-stream/writable.js"),d.Duplex=a("readable-stream/duplex.js"),d.Transform=a("readable-stream/transform.js"),d.PassThrough=a("readable-stream/passthrough.js"),d.Stream=d,d.prototype.pipe=function(a,b){function c(b){a.writable&&!1===a.write(b)&&j.pause&&j.pause()}function d(){j.readable&&j.resume&&j.resume()}function f(){k||(k=!0,a.end())}function g(){k||(k=!0,"function"==typeof a.destroy&&a.destroy())}function h(a){if(i(),0===e.listenerCount(this,"error"))throw a}function i(){j.removeListener("data",c),a.removeListener("drain",d),j.removeListener("end",f),j.removeListener("close",g),j.removeListener("error",h),a.removeListener("error",h),j.removeListener("end",i),j.removeListener("close",i),a.removeListener("close",i)}var j=this;j.on("data",c),a.on("drain",d),a._isStdio||b&&b.end===!1||(j.on("end",f),j.on("close",g));var k=!1;return j.on("error",h),a.on("error",h),j.on("end",i),j.on("close",i),a.on("close",i),a.emit("pipe",j),a}},{events:68,inherits:71, +"readable-stream/duplex.js":83,"readable-stream/passthrough.js":89,"readable-stream/readable.js":90,"readable-stream/transform.js":91,"readable-stream/writable.js":92}],122:[function(a,b,c){(function(b){var d=a("./lib/request"),e=a("xtend"),f=a("builtin-status-codes"),g=a("url"),h=c;h.request=function(a,c){a="string"==typeof a?g.parse(a):e(a);var f=-1===b.location.protocol.search(/^https?:$/)?"http:":"",h=a.protocol||f,i=a.hostname||a.host,j=a.port,k=a.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),a.url=(i?h+"//"+i:"")+(j?":"+j:"")+k,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var l=new d(a);return c&&l.on("response",c),l},h.get=function(a,b){var c=h.request(a,b);return c.end(),c},h.Agent=function(){},h.Agent.defaultMaxSockets=4,h.STATUS_CODES=f,h.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":124,"builtin-status-codes":6,url:140,xtend:146}],123:[function(a,b,c){(function(a){function b(a){try{return f.responseType=a,f.responseType===a}catch(b){}return!1}function d(a){return"function"==typeof a}c.fetch=d(a.fetch)&&d(a.ReadableByteStream),c.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),c.blobConstructor=!0}catch(e){}var f=new a.XMLHttpRequest;f.open("GET",a.location.host?"/":"https://example.com");var g="undefined"!=typeof a.ArrayBuffer,h=g&&d(a.ArrayBuffer.prototype.slice);c.arraybuffer=g&&b("arraybuffer"),c.msstream=!c.fetch&&h&&b("ms-stream"),c.mozchunkedarraybuffer=!c.fetch&&g&&b("moz-chunked-arraybuffer"),c.overrideMimeType=d(f.overrideMimeType),c.vbArray=d(a.VBArray),f=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],124:[function(a,b,c){(function(c,d,e){function f(a){return h.fetch?"fetch":h.mozchunkedarraybuffer?"moz-chunked-arraybuffer":h.msstream?"ms-stream":h.arraybuffer&&a?"arraybuffer":h.vbArray&&a?"text:vbarray":"text"}function g(a){try{var b=a.status;return null!==b&&0!==b}catch(c){return!1}}var h=a("./capability"),i=a("inherits"),j=a("./response"),k=a("stream"),l=a("to-arraybuffer"),m=j.IncomingMessage,n=j.readyStates,o=b.exports=function(a){var b=this;k.Writable.call(b),b._opts=a,b._body=[],b._headers={},a.auth&&b.setHeader("Authorization","Basic "+new e(a.auth).toString("base64")),Object.keys(a.headers).forEach(function(c){b.setHeader(c,a.headers[c])});var c;if("prefer-streaming"===a.mode)c=!1;else if("allow-wrong-content-type"===a.mode)c=!h.overrideMimeType;else{if(a.mode&&"default"!==a.mode&&"prefer-fast"!==a.mode)throw new Error("Invalid value for opts.mode");c=!0}b._mode=f(c),b.on("finish",function(){b._onFinish()})};i(o,k.Writable),o.prototype.setHeader=function(a,b){var c=this,d=a.toLowerCase();-1===p.indexOf(d)&&(c._headers[d]={name:a,value:b})},o.prototype.getHeader=function(a){var b=this;return b._headers[a.toLowerCase()].value},o.prototype.removeHeader=function(a){var b=this;delete b._headers[a.toLowerCase()]},o.prototype._onFinish=function(){var a=this;if(!a._destroyed){var b,f=a._opts,g=a._headers;if("POST"!==f.method&&"PUT"!==f.method&&"PATCH"!==f.method||(b=h.blobConstructor?new d.Blob(a._body.map(function(a){return l(a)}),{type:(g["content-type"]||{}).value||""}):e.concat(a._body).toString()),"fetch"===a._mode){var i=Object.keys(g).map(function(a){return[g[a].name,g[a].value]});d.fetch(a._opts.url,{method:a._opts.method,headers:i,body:b,mode:"cors",credentials:f.withCredentials?"include":"same-origin"}).then(function(b){a._fetchResponse=b,a._connect()},function(b){a.emit("error",b)})}else{var j=a._xhr=new d.XMLHttpRequest;try{j.open(a._opts.method,a._opts.url,!0)}catch(k){return void c.nextTick(function(){a.emit("error",k)})}"responseType"in j&&(j.responseType=a._mode.split(":")[0]),"withCredentials"in j&&(j.withCredentials=!!f.withCredentials),"text"===a._mode&&"overrideMimeType"in j&&j.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(g).forEach(function(a){j.setRequestHeader(g[a].name,g[a].value)}),a._response=null,j.onreadystatechange=function(){switch(j.readyState){case n.LOADING:case n.DONE:a._onXHRProgress()}},"moz-chunked-arraybuffer"===a._mode&&(j.onprogress=function(){a._onXHRProgress()}),j.onerror=function(){a._destroyed||a.emit("error",new Error("XHR error"))};try{j.send(b)}catch(k){return void c.nextTick(function(){a.emit("error",k)})}}}},o.prototype._onXHRProgress=function(){var a=this;g(a._xhr)&&!a._destroyed&&(a._response||a._connect(),a._response._onXHRProgress())},o.prototype._connect=function(){var a=this;a._destroyed||(a._response=new m(a._xhr,a._fetchResponse,a._mode),a.emit("response",a._response))},o.prototype._write=function(a,b,c){var d=this;d._body.push(a),c()},o.prototype.abort=o.prototype.destroy=function(){var a=this;a._destroyed=!0,a._response&&(a._response._destroyed=!0),a._xhr&&a._xhr.abort()},o.prototype.end=function(a,b,c){var d=this;"function"==typeof a&&(c=a,a=void 0),k.Writable.prototype.end.call(d,a,b,c)},o.prototype.flushHeaders=function(){},o.prototype.setTimeout=function(){},o.prototype.setNoDelay=function(){},o.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./capability":123,"./response":125,_process:78,buffer:5,inherits:71,stream:121,"to-arraybuffer":127}],125:[function(a,b,c){(function(b,d,e){var f=a("./capability"),g=a("inherits"),h=a("stream"),i=c.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},j=c.IncomingMessage=function(a,c,d){function g(){m.read().then(function(a){if(!i._destroyed){if(a.done)return void i.push(null);i.push(new e(a.value)),g()}})}var i=this;if(h.Readable.call(i),i._mode=d,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){b.nextTick(function(){i.emit("close")})}),"fetch"===d){i._fetchResponse=c,i.statusCode=c.status,i.statusMessage=c.statusText;for(var j,k,l=c.headers[Symbol.iterator]();j=(k=l.next()).value,!k.done;)i.headers[j[0].toLowerCase()]=j[1],i.rawHeaders.push(j[0],j[1]);var m=c.body.getReader();g()}else{i._xhr=a,i._pos=0,i.statusCode=a.status,i.statusMessage=a.statusText;var n=a.getAllResponseHeaders().split(/\r?\n/);if(n.forEach(function(a){var b=a.match(/^([^:]+):\s*(.*)/);if(b){var c=b[1].toLowerCase();"set-cookie"===c?(void 0===i.headers[c]&&(i.headers[c]=[]),i.headers[c].push(b[2])):void 0!==i.headers[c]?i.headers[c]+=", "+b[2]:i.headers[c]=b[2],i.rawHeaders.push(b[1],b[2])}}),i._charset="x-user-defined",!f.overrideMimeType){var o=i.rawHeaders["mime-type"];if(o){var p=o.match(/;\s*charset=([^;])(;|$)/);p&&(i._charset=p[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};g(j,h.Readable),j.prototype._read=function(){},j.prototype._onXHRProgress=function(){var a=this,b=a._xhr,c=null;switch(a._mode){case"text:vbarray":if(b.readyState!==i.DONE)break;try{c=new d.VBArray(b.responseBody).toArray()}catch(f){}if(null!==c){a.push(new e(c));break}case"text":try{c=b.responseText}catch(f){a._mode="text:vbarray";break}if(c.length>a._pos){var g=c.substr(a._pos);if("x-user-defined"===a._charset){for(var h=new e(g.length),j=0;ja._pos&&(a.push(new e(new Uint8Array(k.result.slice(a._pos)))),a._pos=k.result.byteLength)},k.onload=function(){a.push(null)},k.readAsArrayBuffer(c)}a._xhr.readyState===i.DONE&&"ms-stream"!==a._mode&&a.push(null)}}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./capability":123,_process:78,buffer:5,inherits:71,stream:121}],126:[function(a,b,c){function d(a){if(a&&!i(a))throw new Error("Unknown encoding: "+a)}function e(a){return a.toString(this.encoding)}function f(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function g(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var h=a("buffer").Buffer,i=h.isEncoding||function(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}},j=c.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:return void(this.write=e)}this.charBuffer=new h(6),this.charReceived=0,this.charLength=0};j.prototype.write=function(a){for(var b="";this.charLength;){var c=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived=55296&&56319>=d)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&56319>=d){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},j.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(2>=b&&c>>4==14){this.charLength=3;break}if(3>=b&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}},{buffer:5}],127:[function(a,b,c){var d=a("buffer").Buffer;b.exports=function(a){if(a instanceof Uint8Array){if(0===a.byteOffset&&a.byteLength===a.buffer.byteLength)return a.buffer;if("function"==typeof a.buffer.slice)return a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength)}if(d.isBuffer(a)){for(var b=new Uint8Array(a.length),c=a.length,e=0;c>e;e++)b[e]=a[e];return b.buffer}throw new Error("Argument must be a Buffer")}},{buffer:5}],128:[function(a,b,c){function d(){this._array=[],this._set={}}var e=a("./util");d.fromArray=function(a,b){for(var c=new d,e=0,f=a.length;f>e;e++)c.add(a[e],b);return c},d.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},d.prototype.add=function(a,b){var c=e.toSetString(a),d=this._set.hasOwnProperty(c),f=this._array.length;d&&!b||this._array.push(a),d||(this._set[c]=f)},d.prototype.has=function(a){var b=e.toSetString(a);return this._set.hasOwnProperty(b)},d.prototype.indexOf=function(a){var b=e.toSetString(a);if(this._set.hasOwnProperty(b))return this._set[b];throw new Error('"'+a+'" is not in the set.')},d.prototype.at=function(a){if(a>=0&&aa?(-a<<1)+1:(a<<1)+0}function e(a){var b=1===(1&a),c=a>>1;return b?-c:c}var f=a("./base64"),g=5,h=1<>>=g,e>0&&(b|=j),c+=f.encode(b);while(e>0);return c},c.decode=function(a,b,c){var d,h,k=a.length,l=0,m=0;do{if(b>=k)throw new Error("Expected more digits in base 64 VLQ value.");if(h=f.decode(a.charCodeAt(b++)),-1===h)throw new Error("Invalid base64 digit: "+a.charAt(b-1));d=!!(h&j),h&=i,l+=h<=0&&a=b&&c>=a?a-b:a>=d&&e>=a?a-d+j:a>=f&&g>=a?a-f+k:a==h?62:a==i?63:-1}},{}],131:[function(a,b,c){function d(a,b,e,f,g,h){var i=Math.floor((b-a)/2)+a,j=g(e,f[i],!0);return 0===j?i:j>0?b-i>1?d(i,b,e,f,g,h):h==c.LEAST_UPPER_BOUND?b1?d(a,i,e,f,g,h):h==c.LEAST_UPPER_BOUND?i:0>a?-1:a}c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.search=function(a,b,e,f){if(0===b.length)return-1;var g=d(-1,b.length,a,b,e,f||c.GREATEST_LOWER_BOUND);if(0>g)return-1;for(;g-1>=0&&0===e(b[g],b[g-1],!0);)--g;return g}},{}],132:[function(a,b,c){function d(a,b){var c=a.generatedLine,d=b.generatedLine,e=a.generatedColumn,g=b.generatedColumn;return d>c||d==c&&g>=e||f.compareByGeneratedPositionsInflated(a,b)<=0}function e(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var f=a("./util");e.prototype.unsortedForEach=function(a,b){this._array.forEach(a,b)},e.prototype.add=function(a){d(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},e.prototype.toArray=function(){return this._sorted||(this._array.sort(f.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},c.MappingList=e},{"./util":137}],133:[function(a,b,c){function d(a,b,c){var d=a[b];a[b]=a[c],a[c]=d}function e(a,b){return Math.round(a+Math.random()*(b-a))}function f(a,b,c,g){if(g>c){var h=e(c,g),i=c-1;d(a,h,g);for(var j=a[g],k=c;g>k;k++)b(a[k],j)<=0&&(i+=1,d(a,i,k));d(a,i+1,k);var l=i+1;f(a,b,c,l-1),f(a,b,l+1,g)}}c.quickSort=function(a,b){f(a,b,0,a.length-1)}},{}],134:[function(a,b,c){function d(a){var b=a;return"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,""))),null!=b.sections?new g(b):new e(b)}function e(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),d=h.getArg(b,"sources"),e=h.getArg(b,"names",[]),f=h.getArg(b,"sourceRoot",null),g=h.getArg(b,"sourcesContent",null),i=h.getArg(b,"mappings"),k=h.getArg(b,"file",null);if(c!=this._version)throw new Error("Unsupported version: "+c);d=d.map(h.normalize).map(function(a){return f&&h.isAbsolute(f)&&h.isAbsolute(a)?h.relative(f,a):a}),this._names=j.fromArray(e,!0),this._sources=j.fromArray(d,!0),this.sourceRoot=f,this.sourcesContent=g,this._mappings=i,this.file=k}function f(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function g(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=h.getArg(b,"version"),e=h.getArg(b,"sections");if(c!=this._version)throw new Error("Unsupported version: "+c);this._sources=new j,this._names=new j;var f={line:-1,column:0};this._sections=e.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var b=h.getArg(a,"offset"),c=h.getArg(b,"line"),e=h.getArg(b,"column");if(c=0){var f=this._originalMappings[e];if(void 0===a.column)for(var g=f.originalLine;f&&f.originalLine===g;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e];else for(var j=f.originalColumn;f&&f.originalLine===b&&f.originalColumn==j;)d.push({line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[++e]}return d},c.SourceMapConsumer=d,e.prototype=Object.create(d.prototype),e.prototype.consumer=d,e.fromSourceMap=function(a){var b=Object.create(e.prototype),c=b._names=j.fromArray(a._names.toArray(),!0),d=b._sources=j.fromArray(a._sources.toArray(),!0);b.sourceRoot=a._sourceRoot,b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot),b.file=a._file;for(var g=a._mappings.toArray().slice(),i=b.__generatedMappings=[],k=b.__originalMappings=[],m=0,n=g.length;n>m;m++){var o=g[m],p=new f;p.generatedLine=o.generatedLine,p.generatedColumn=o.generatedColumn,o.source&&(p.source=d.indexOf(o.source),p.originalLine=o.originalLine,p.originalColumn=o.originalColumn,o.name&&(p.name=c.indexOf(o.name)),k.push(p)),i.push(p)}return l(b.__originalMappings,h.compareByOriginalPositions),b},e.prototype._version=3,Object.defineProperty(e.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return null!=this.sourceRoot?h.join(this.sourceRoot,a):a},this)}}),e.prototype._parseMappings=function(a,b){for(var c,d,e,g,i,j=1,m=0,n=0,o=0,p=0,q=0,r=a.length,s=0,t={},u={},v=[],w=[];r>s;)if(";"===a.charAt(s))j++,s++,m=0;else if(","===a.charAt(s))s++;else{for(c=new f,c.generatedLine=j,g=s;r>g&&!this._charIsMappingSeparator(a,g);g++);if(d=a.slice(s,g),e=t[d])s+=d.length;else{for(e=[];g>s;)k.decode(a,s,u),i=u.value,s=u.rest,e.push(i);if(2===e.length)throw new Error("Found a source, but no line and column");if(3===e.length)throw new Error("Found a source and line, but no column");t[d]=e}c.generatedColumn=m+e[0],m=c.generatedColumn,e.length>1&&(c.source=p+e[1],p+=e[1],c.originalLine=n+e[2],n=c.originalLine,c.originalLine+=1,c.originalColumn=o+e[3],o=c.originalColumn,e.length>4&&(c.name=q+e[4],q+=e[4])),w.push(c),"number"==typeof c.originalLine&&v.push(c)}l(w,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,l(v,h.compareByOriginalPositions),this.__originalMappings=v},e.prototype._findMapping=function(a,b,c,d,e,f){if(a[c]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+a[c]);if(a[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return i.search(a,b,e,f)},e.prototype.computeColumnSpans=function(){for(var a=0;a=0){var e=this._generatedMappings[c];if(e.generatedLine===b.generatedLine){var f=h.getArg(e,"source",null);null!==f&&(f=this._sources.at(f),null!=this.sourceRoot&&(f=h.join(this.sourceRoot,f)));var g=h.getArg(e,"name",null);return null!==g&&(g=this._names.at(g)),{source:f,line:h.getArg(e,"originalLine",null),column:h.getArg(e,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==a}):!1},e.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(a=h.relative(this.sourceRoot,a)),this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var c;if(null!=this.sourceRoot&&(c=h.urlParse(this.sourceRoot))){var d=a.replace(/^file:\/\//,"");if("file"==c.scheme&&this._sources.has(d))return this.sourcesContent[this._sources.indexOf(d)];if((!c.path||"/"==c.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(b)return null;throw new Error('"'+a+'" is not in the SourceMap.')},e.prototype.generatedPositionFor=function(a){var b=h.getArg(a,"source");if(null!=this.sourceRoot&&(b=h.relative(this.sourceRoot,b)),!this._sources.has(b))return{line:null,column:null,lastColumn:null};b=this._sources.indexOf(b);var c={source:b,originalLine:h.getArg(a,"line"),originalColumn:h.getArg(a,"column")},e=this._findMapping(c,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(a,"bias",d.GREATEST_LOWER_BOUND));if(e>=0){var f=this._originalMappings[e];if(f.source===c.source)return{line:h.getArg(f,"generatedLine",null),column:h.getArg(f,"generatedColumn",null),lastColumn:h.getArg(f,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},c.BasicSourceMapConsumer=e,g.prototype=Object.create(d.prototype),g.prototype.constructor=d,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:function(){for(var a=[],b=0;b0&&a.column>=0)||b||c||d)&&!(a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&a.line>0&&a.column>=0&&b.line>0&&b.column>=0&&c))throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:c,original:b,name:d}))},d.prototype._serializeMappings=function(){for(var a,b,c,d=0,g=1,h=0,i=0,j=0,k=0,l="",m=this._mappings.toArray(),n=0,o=m.length;o>n;n++){if(a=m[n],a.generatedLine!==g)for(d=0;a.generatedLine!==g;)l+=";",g++;else if(n>0){if(!f.compareByGeneratedPositionsInflated(a,m[n-1]))continue;l+=","}l+=e.encode(a.generatedColumn-d),d=a.generatedColumn,null!=a.source&&(c=this._sources.indexOf(a.source),l+=e.encode(c-k),k=c,l+=e.encode(a.originalLine-1-i),i=a.originalLine-1,l+=e.encode(a.originalColumn-h),h=a.originalColumn,null!=a.name&&(b=this._names.indexOf(a.name),l+=e.encode(b-j),j=b))}return l},d.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=f.relative(b,a));var c=f.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},d.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(a.file=this._file),null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},d.prototype.toString=function(){return JSON.stringify(this.toJSON())},c.SourceMapGenerator=d},{"./array-set":128,"./base64-vlq":129,"./mapping-list":132,"./util":137}],136:[function(a,b,c){function d(a,b,c,d,e){this.children=[],this.sourceContents={},this.line=null==a?null:a,this.column=null==b?null:b,this.source=null==c?null:c,this.name=null==e?null:e,this[i]=!0,null!=d&&this.add(d)}var e=a("./source-map-generator").SourceMapGenerator,f=a("./util"),g=/(\r?\n)/,h=10,i="$$$isSourceNode$$$";d.fromStringWithSourceMap=function(a,b,c){function e(a,b){if(null===a||void 0===a.source)h.add(b);else{var e=c?f.join(c,a.source):a.source;h.add(new d(a.originalLine,a.originalColumn,e,b,a.name))}}var h=new d,i=a.split(g),j=function(){var a=i.shift(),b=i.shift()||"";return a+b},k=1,l=0,m=null;return b.eachMapping(function(a){if(null!==m){if(!(k0&&(m&&e(m,j()),h.add(i.join(""))),b.sources.forEach(function(a){var d=b.sourceContentFor(a);null!=d&&(null!=c&&(a=f.join(c,a)),h.setSourceContent(a,d))}),h},d.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(a){this.add(a)},this);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);a&&this.children.push(a)}return this},d.prototype.prepend=function(a){if(Array.isArray(a))for(var b=a.length-1;b>=0;b--)this.prepend(a[b]);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);this.children.unshift(a)}return this},d.prototype.walk=function(a){ +for(var b,c=0,d=this.children.length;d>c;c++)b=this.children[c],b[i]?b.walk(a):""!==b&&a(b,{source:this.source,line:this.line,column:this.column,name:this.name})},d.prototype.join=function(a){var b,c,d=this.children.length;if(d>0){for(b=[],c=0;d-1>c;c++)b.push(this.children[c]),b.push(a);b.push(this.children[c]),this.children=b}return this},d.prototype.replaceRight=function(a,b){var c=this.children[this.children.length-1];return c[i]?c.replaceRight(a,b):"string"==typeof c?this.children[this.children.length-1]=c.replace(a,b):this.children.push("".replace(a,b)),this},d.prototype.setSourceContent=function(a,b){this.sourceContents[f.toSetString(a)]=b},d.prototype.walkSourceContents=function(a){for(var b=0,c=this.children.length;c>b;b++)this.children[b][i]&&this.children[b].walkSourceContents(a);for(var d=Object.keys(this.sourceContents),b=0,c=d.length;c>b;b++)a(f.fromSetString(d[b]),this.sourceContents[d[b]])},d.prototype.toString=function(){var a="";return this.walk(function(b){a+=b}),a},d.prototype.toStringWithSourceMap=function(a){var b={code:"",line:1,column:0},c=new e(a),d=!1,f=null,g=null,i=null,j=null;return this.walk(function(a,e){b.code+=a,null!==e.source&&null!==e.line&&null!==e.column?(f===e.source&&g===e.line&&i===e.column&&j===e.name||c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name}),f=e.source,g=e.line,i=e.column,j=e.name,d=!0):d&&(c.addMapping({generated:{line:b.line,column:b.column}}),f=null,d=!1);for(var k=0,l=a.length;l>k;k++)a.charCodeAt(k)===h?(b.line++,b.column=0,k+1===l?(f=null,d=!1):d&&c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name})):b.column++}),this.walkSourceContents(function(a,b){c.setSourceContent(a,b)}),{code:b.code,map:c}},c.SourceNode=d},{"./source-map-generator":135,"./util":137}],137:[function(a,b,c){function d(a,b,c){if(b in a)return a[b];if(3===arguments.length)return c;throw new Error('"'+b+'" is a required argument.')}function e(a){var b=a.match(p);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}function f(a){var b="";return 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),b}function g(a){var b=a,d=e(a);if(d){if(!d.path)return a;b=d.path}for(var g,h=c.isAbsolute(b),i=b.split(/\/+/),j=0,k=i.length-1;k>=0;k--)g=i[k],"."===g?i.splice(k,1):".."===g?j++:j>0&&(""===g?(i.splice(k+1,j),j=0):(i.splice(k,2),j--));return b=i.join("/"),""===b&&(b=h?"/":"."),d?(d.path=b,f(d)):b}function h(a,b){""===a&&(a="."),""===b&&(b=".");var c=e(b),d=e(a);if(d&&(a=d.path||"/"),c&&!c.scheme)return d&&(c.scheme=d.scheme),f(c);if(c||b.match(q))return b;if(d&&!d.host&&!d.path)return d.host=b,f(d);var h="/"===b.charAt(0)?b:g(a.replace(/\/+$/,"")+"/"+b);return d?(d.path=h,f(d)):h}function i(a,b){""===a&&(a="."),a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;if(a=a.slice(0,d),a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join("../")+b.substr(a.length+1)}function j(a){return"$"+a}function k(a){return a.substr(1)}function l(a,b,c){var d=a.source-b.source;return 0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d||c?d:(d=a.generatedColumn-b.generatedColumn,0!==d?d:(d=a.generatedLine-b.generatedLine,0!==d?d:a.name-b.name))))}function m(a,b,c){var d=a.generatedLine-b.generatedLine;return 0!==d?d:(d=a.generatedColumn-b.generatedColumn,0!==d||c?d:(d=a.source-b.source,0!==d?d:(d=a.originalLine-b.originalLine,0!==d?d:(d=a.originalColumn-b.originalColumn,0!==d?d:a.name-b.name))))}function n(a,b){return a===b?0:a>b?1:-1}function o(a,b){var c=a.generatedLine-b.generatedLine;return 0!==c?c:(c=a.generatedColumn-b.generatedColumn,0!==c?c:(c=n(a.source,b.source),0!==c?c:(c=a.originalLine-b.originalLine,0!==c?c:(c=a.originalColumn-b.originalColumn,0!==c?c:n(a.name,b.name)))))}c.getArg=d;var p=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,q=/^data:.+\,.+$/;c.urlParse=e,c.urlGenerate=f,c.normalize=g,c.join=h,c.isAbsolute=function(a){return"/"===a.charAt(0)||!!a.match(p)},c.relative=i,c.toSetString=j,c.fromSetString=k,c.compareByOriginalPositions=l,c.compareByGeneratedPositionsDeflated=m,c.compareByGeneratedPositionsInflated=o},{}],138:[function(a,b,c){c.SourceMapGenerator=a("./lib/source-map-generator").SourceMapGenerator,c.SourceMapConsumer=a("./lib/source-map-consumer").SourceMapConsumer,c.SourceNode=a("./lib/source-node").SourceNode},{"./lib/source-map-consumer":134,"./lib/source-map-generator":135,"./lib/source-node":136}],139:[function(a,b,c){function d(a){for(var b=Object.create(null),c=0;c=0;)if(b[c]==a)return!0;return!1}function h(a,b){for(var c=0,d=b.length;d>c;++c)if(a(b[c]))return b[c]}function i(a,b){if(0>=b)return"";if(1==b)return a;var c=i(a,b>>1);return c+=c,1&b&&(c+=a),c}function j(a,b){Error.call(this,a),this.msg=a,this.defs=b}function k(a,b,c){a===!0&&(a={});var d=a||{};if(c)for(var e in d)d.hasOwnProperty(e)&&!b.hasOwnProperty(e)&&j.croak("`"+e+"` is not a supported option",b);for(var e in b)b.hasOwnProperty(e)&&(d[e]=a&&a.hasOwnProperty(e)?a[e]:b[e]);return d}function l(a,b){var c=0;for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d],c++);return c}function m(){}function n(a,b){a.indexOf(b)<0&&a.push(b)}function o(a,b){return a.replace(/\{(.+?)\}/g,function(a,c){return b[c]})}function p(a,b){for(var c=a.length;--c>=0;)a[c]===b&&a.splice(c,1)}function q(a,b){function c(a,c){for(var d=[],e=0,f=0,g=0;e=0})}function t(a){function b(a){if(1==a.length)return c+="return str === "+JSON.stringify(a[0])+";";c+="switch(str){";for(var b=0;b3){d.sort(function(a,b){return b.length-a.length}),c+="switch(str.length){";for(var e=0;e=0;)if(!b(a[c]))return!1;return!0}function v(){this._values=Object.create(null),this._size=0}function w(a,b,d,e){arguments.length<4&&(e=_),b=b?b.split(/\s+/):[];var f=b;e&&e.PROPS&&(b=b.concat(e.PROPS));for(var g="return function AST_"+a+"(props){ if (props) { ",h=b.length;--h>=0;)g+="this."+b[h]+" = props."+b[h]+";";var i=e&&new e;(i&&i.initialize||d&&d.initialize)&&(g+="this.initialize();"),g+="}}";var j=new Function(g)();if(i&&(j.prototype=i,j.BASE=e),e&&e.SUBCLASSES.push(j),j.prototype.CTOR=j,j.PROPS=b||null,j.SELF_PROPS=f,j.SUBCLASSES=[],a&&(j.prototype.TYPE=j.TYPE=a),d)for(h in d)d.hasOwnProperty(h)&&(/^\$/.test(h)?j[h.substr(1)]=d[h]:j.prototype[h]=d[h]);return j.DEFMETHOD=function(a,b){this.prototype[a]=b},c["AST_"+a]=j,j}function x(a,b){a.body instanceof aa?a.body._walk(b):a.body.forEach(function(a){a._walk(b)})}function y(a){this.visit=a,this.stack=[],this.directives=Object.create(null)}function z(a){return a>=97&&122>=a||a>=65&&90>=a||a>=170&&Rb.letter.test(String.fromCharCode(a))}function A(a){return a>=48&&57>=a}function B(a){return A(a)||z(a)}function C(a){return Rb.digit.test(String.fromCharCode(a))}function D(a){return Rb.non_spacing_mark.test(a)||Rb.space_combining_mark.test(a)}function E(a){return Rb.connector_punctuation.test(a)}function F(a){return!Hb(a)&&/^[a-z_$][a-z0-9_$]*$/i.test(a)}function G(a){return 36==a||95==a||z(a)}function H(a){var b=a.charCodeAt(0);return G(b)||A(b)||8204==b||8205==b||D(a)||E(a)||C(b)}function I(a){return/^[a-z_$][a-z0-9_$]*$/i.test(a)}function J(a){if(Kb.test(a))return parseInt(a.substr(2),16);if(Lb.test(a))return parseInt(a.substr(1),8);var b=parseFloat(a);return b==a?b:void 0}function K(a,b,c,d,e){this.message=a,this.filename=b,this.line=c,this.col=d,this.pos=e,this.stack=(new Error).stack}function L(a,b,c,d,e){throw new K(a,b,c,d,e)}function M(a,b,c){return a.type==b&&(null==c||a.value==c)}function N(a,b,c,d){function e(){return z.text.charAt(z.pos)}function f(a,b){var c=z.text.charAt(z.pos++);if(a&&!c)throw Sb;return"\r\n\u2028\u2029".indexOf(c)>=0?(z.newline_before=z.newline_before||!b,++z.line,z.col=0,b||"\r"!=c||"\n"!=e()||(++z.pos,c="\n")):++z.col,c}function g(a){for(;a-- >0;)f()}function h(a){return z.text.substr(z.pos,a.length)==a}function i(a,b){var c=z.text.indexOf(a,z.pos);if(b&&-1==c)throw Sb;return c}function j(){z.tokline=z.line,z.tokcol=z.col,z.tokpos=z.pos}function k(c,d,e){z.regex_allowed="operator"==c&&!Ub(d)||"keyword"==c&&Ib(d)||"punc"==c&&Ob(d),C="punc"==c&&"."==d;var f={type:c,value:d,line:z.tokline,col:z.tokcol,pos:z.tokpos,endline:z.line,endcol:z.col,endpos:z.pos,nlb:z.newline_before,file:b};if(/^(?:num|string|regexp)$/i.test(c)&&(f.raw=a.substring(f.pos,f.endpos)),!e){f.comments_before=z.comments_before,z.comments_before=[];for(var g=0,h=f.comments_before.length;h>g;g++)f.nlb=f.nlb||f.comments_before[g].nlb}return z.newline_before=!1,new $(f)}function l(){for(var a;Nb(a=e())||"\u2028"==a||"\u2029"==a;)f()}function m(a){for(var b,c="",d=0;(b=e())&&a(b,d++);)c+=f();return c}function n(a){L(a,b,z.tokline,z.tokcol,z.tokpos)}function o(a){var b=!1,c=!1,d=!1,e="."==a,f=m(function(f,g){var h=f.charCodeAt(0);switch(h){case 120:case 88:return d?!1:d=!0;case 101:case 69:return d?!0:b?!1:b=c=!0;case 45:return c||0==g&&!a;case 43:return c;case c=!1,46:return e||d||b?!1:e=!0}return B(h)});a&&(f=a+f);var g=J(f);return isNaN(g)?void n("Invalid syntax: "+f):k("num",g)}function p(a){var b=f(!0,a);switch(b.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\x0B";case 102:return"\f";case 48:return"\x00";case 120:return String.fromCharCode(q(2));case 117:return String.fromCharCode(q(4));case 10:return"";case 13:if("\n"==e())return f(!0,a),""}return b}function q(a){for(var b=0;a>0;--a){var c=parseInt(f(!0),16);isNaN(c)&&n("Invalid hex-character pattern in string"),b=b<<4|c}return b}function r(a){var b,c=z.regex_allowed,d=i("\n");return-1==d?(b=z.text.substr(z.pos),z.pos=z.text.length):(b=z.text.substring(z.pos,d),z.pos=d),z.col=z.tokcol+(z.pos-z.tokpos),z.comments_before.push(k(a,b,!0)),z.regex_allowed=c,y()}function s(){for(var a,b,c=!1,d="",g=!1;null!=(a=e());)if(c)"u"!=a&&n("Expecting UnicodeEscapeSequence -- uXXXX"),a=p(),H(a)||n("Unicode char: "+a.charCodeAt(0)+" is not valid in identifier"),d+=a,c=!1;else if("\\"==a)g=c=!0,f();else{if(!H(a))break;d+=f()}return Fb(d)&&g&&(b=d.charCodeAt(0).toString(16).toUpperCase(),d="\\u"+"0000".substr(b.length)+b+d.slice(1)),d}function t(a){function b(a){if(!e())return a;var c=a+e();return Mb(c)?(f(),b(c)):a}return k("operator",b(a||f()))}function u(){switch(f(),e()){case"/":return f(),r("comment1");case"*":return f(),E()}return z.regex_allowed?F(""):t("/")}function v(){return f(),A(e().charCodeAt(0))?o("."):k("punc",".")}function w(){var a=s();return C?k("name",a):Gb(a)?k("atom",a):Fb(a)?Mb(a)?k("operator",a):k("keyword",a):k("name",a)}function x(a,b){return function(c){try{return b(c)}catch(d){if(d!==Sb)throw d;n(a)}}}function y(a){if(null!=a)return F(a);if(l(),j(),c){if(h("")&&z.newline_before)return g(3),r("comment4")}var b=e();if(!b)return k("eof");var i=b.charCodeAt(0);switch(i){case 34:case 39:return D(b);case 46:return v();case 47:return u()}return A(i)?o():Pb(b)?k("punc",f()):Jb(b)?t():92==i||G(i)?w():d&&0==z.pos&&h("#!")?(g(2),r("comment5")):void n("Unexpected character '"+b+"'")}var z={text:a,filename:b,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[]},C=!1,D=x("Unterminated string constant",function(a){for(var b=f(),c="";;){var d=f(!0,!0);if("\\"==d){var e=0,g=null;d=m(function(a){if(a>="0"&&"7">=a){if(!g)return g=a,++e;if("3">=g&&2>=e)return++e;if(g>="4"&&1>=e)return++e}return!1}),d=e>0?String.fromCharCode(parseInt(d,8)):p(!0)}else if("\r\n\u2028\u2029".indexOf(d)>=0)n("Unterminated string constant");else if(d==b)break;c+=d}var h=k("string",c);return h.quote=a,h}),E=x("Unterminated multiline comment",function(){var a=z.regex_allowed,b=i("*/",!0),c=z.text.substring(z.pos,b),d=c.split("\n"),e=d.length;z.pos=b+2,z.line+=e-1,e>1?z.col=d[e-1].length:z.col+=d[e-1].length,z.col+=2;var f=z.newline_before=z.newline_before||c.indexOf("\n")>=0;return z.comments_before.push(k("comment2",c,!0)),z.regex_allowed=a,z.newline_before=f,y()}),F=x("Unterminated regular expression",function(a){for(var b,c=!1,d=!1;b=f(!0);)if(c)a+="\\"+b,c=!1;else if("["==b)d=!0,a+=b;else if("]"==b&&d)d=!1,a+=b;else{if("/"==b&&!d)break;"\\"==b?c=!0:a+=b}var e=s();try{return k("regexp",new RegExp(a,e))}catch(g){n(g.message)}});return y.context=function(a){return a&&(z=a),z},y}function O(a,b){function c(a,b){return M(S.token,a,b)}function d(){return S.peeked||(S.peeked=S.input())}function e(){return S.prev=S.token,S.peeked?(S.token=S.peeked,S.peeked=null):S.token=S.input(),S.in_directives=S.in_directives&&("string"==S.token.type||c("punc",";")),S.token}function f(){return S.prev}function g(a,b,c,d){var e=S.input.context();L(a,e.filename,null!=b?b:e.tokline,null!=c?c:e.tokcol,null!=d?d:e.tokpos)}function i(a,b){g(b,a.line,a.col)}function j(a){null==a&&(a=S.token),i(a,"Unexpected token: "+a.type+" ("+a.value+")")}function l(a,b){return c(a,b)?e():void i(S.token,"Unexpected token "+S.token.type+" «"+S.token.value+"», expected "+a+" «"+b+"»")}function m(a){return l("punc",a)}function n(){return!b.strict&&(S.token.nlb||c("eof")||c("punc","}"))}function o(a){c("punc",";")?e():a||n()||j()}function p(){m("(");var a=qa(!0);return m(")"),a}function q(a){return function(){var b=S.token,c=a(),d=f();return c.start=b,c.end=d,c}}function r(){(c("operator","/")||c("operator","/="))&&(S.peeked=null,S.token=S.input(S.token.value.substr(1)))}function s(){var a=J(ob);h(function(b){return b.name==a.name},S.labels)&&g("Label "+a.name+" defined twice"),m(":"),S.labels.push(a);var b=T();return S.labels.pop(),b instanceof ja||a.references.forEach(function(b){b instanceof Ca&&(b=b.label.start,g("Continue label `"+a.name+"` refers to non-IterationStatement.",b.line,b.col,b.pos))}),new ia({body:b,label:a})}function t(a){return new da({body:(a=qa(!0),o(),a)})}function u(a){var b,c=null;n()||(c=J(qb,!0)),null!=c?(b=h(function(a){return a.name==c.name},S.labels),b||g("Undefined label "+c.name),c.thedef=b):0==S.in_loop&&g(a.TYPE+" not inside a loop or switch"),o();var d=new a({label:c});return b&&b.references.push(d),d}function v(){m("(");var a=null;return!c("punc",";")&&(a=c("keyword","var")?(e(),V(!0)):qa(!0,!0),c("operator","in"))?(a instanceof Ma&&a.definitions.length>1&&g("Only one variable declaration allowed in for..in loop"),e(),x(a)):w(a)}function w(a){m(";");var b=c("punc",";")?null:qa(!0);m(";");var d=c("punc",")")?null:qa(!0);return m(")"),new na({init:a,condition:b,step:d,body:R(T)})}function x(a){var b=a instanceof Ma?a.definitions[0].name:null,c=qa(!0);return m(")"),new oa({init:a,name:b,object:c,body:R(T)})}function y(){var a=p(),b=T(),d=null;return c("keyword","else")&&(e(),d=T()),new Da({condition:a,body:b,alternative:d})}function z(){m("{");for(var a=[];!c("punc","}");)c("eof")&&j(),a.push(T());return e(),a}function A(){m("{");for(var a,b=[],d=null,g=null;!c("punc","}");)c("eof")&&j(),c("keyword","case")?(g&&(g.end=f()),d=[],g=new Ha({start:(a=S.token,e(),a),expression:qa(!0),body:d}),b.push(g),m(":")):c("keyword","default")?(g&&(g.end=f()),d=[],g=new Ga({start:(a=S.token,e(),m(":"),a),body:d}),b.push(g)):(d||j(),d.push(T()));return g&&(g.end=f()),e(),b}function B(){var a=z(),b=null,d=null;if(c("keyword","catch")){var h=S.token;e(),m("(");var i=J(nb);m(")"),b=new Ja({start:h,argname:i,body:z(),end:f()})}if(c("keyword","finally")){var h=S.token;e(),d=new Ka({start:h,body:z(),end:f()})}return b||d||g("Missing catch/finally blocks"),new Ia({body:a,bcatch:b,bfinally:d})}function C(a,b){for(var d=[];d.push(new Oa({start:S.token,name:J(b?jb:ib),value:c("operator","=")?(e(),qa(!1,a)):null,end:f()})),c("punc",",");)e();return d}function D(){var a,b=S.token;switch(b.type){case"name":case"keyword":a=H(pb);break;case"num":a=new ub({start:b,end:b,value:b.value});break;case"string":a=new tb({start:b,end:b,value:b.value,quote:b.quote});break;case"regexp":a=new vb({start:b,end:b,value:b.value});break;case"atom":switch(b.value){case"false":a=new Db({start:b,end:b});break;case"true":a=new Eb({start:b,end:b});break;case"null":a=new xb({start:b,end:b})}break;case"operator":if(!I(b.value))throw new K("Invalid getter/setter name: "+b.value,b.file,b.line,b.col,b.pos);a=H(pb)}return e(),a}function E(a,b,d){for(var f=!0,g=[];!c("punc",a)&&(f?f=!1:m(","),!b||!c("punc",a));)c("punc",",")&&d?g.push(new Ab({start:S.token,end:S.token})):g.push(qa(!1));return e(),g}function F(){var a=S.token;switch(e(),a.type){case"num":case"string":case"name":case"operator":case"keyword":case"atom":return a.value;default:j()}}function G(){var a=S.token;switch(e(),a.type){case"name":case"operator":case"keyword":case"atom":return a.value;default:j()}}function H(a){var b=S.token.value;return new("this"==b?rb:a)({name:String(b),start:S.token,end:S.token})}function J(a,b){if(!c("name"))return b||g("Name expected"),null;var d=H(a);return e(),d}function O(a,b,c){return"++"!=b&&"--"!=b||Q(c)||g("Invalid use of "+b+" operator"),new a({operator:b,expression:c})}function P(a){return ea(aa(!0),0,a)}function Q(a){return b.strict?a instanceof rb?!1:a instanceof Sa||a instanceof fb:!0}function R(a){++S.in_loop;var b=a();return--S.in_loop,b}b=k(b,{strict:!1,filename:null,toplevel:null,expression:!1,html5_comments:!0,bare_returns:!1,shebang:!0});var S={input:"string"==typeof a?N(a,b.filename,b.html5_comments,b.shebang):a,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};S.token=e();var T=q(function(){var a;switch(r(),S.token.type){case"string":var h=S.in_directives,i=t();return h&&i.body instanceof tb&&!c("punc",",")?new ca({start:i.body.start,end:i.body.end,quote:i.body.quote,value:i.body.value}):i;case"num":case"regexp":case"operator":case"atom":return t();case"name":return M(d(),"punc",":")?s():t();case"punc":switch(S.token.value){case"{":return new fa({start:S.token,body:z(),end:f()});case"[":case"(":return t();case";":return e(),new ga;default:j()}case"keyword":switch(a=S.token.value,e(),a){case"break":return u(Ba);case"continue":return u(Ca);case"debugger":return o(),new ba;case"do":return new la({body:R(T),condition:(l("keyword","while"),a=p(),o(!0),a)});case"while":return new ma({condition:p(),body:R(T)});case"for":return v();case"function":return U(va);case"if":return y();case"return":return 0!=S.in_function||b.bare_returns||g("'return' outside of function"),new ya({value:c("punc",";")?(e(),null):n()?null:(a=qa(!0),o(),a)});case"switch":return new Ea({expression:p(),body:R(A)});case"throw":return S.token.nlb&&g("Illegal newline after 'throw'"),new za({value:(a=qa(!0),o(),a)});case"try":return B();case"var":return a=V(),o(),a;case"const":return a=W(),o(),a;case"with":return new pa({expression:p(),body:T()});default:j()}}}),U=function(a){var b=a===va,d=c("name")?J(b?lb:mb):null;return b&&!d&&j(),m("("),new a({name:d,argnames:function(a,b){for(;!c("punc",")");)a?a=!1:m(","),b.push(J(kb));return e(),b}(!0,[]),body:function(a,b){++S.in_function,S.in_directives=!0,S.in_loop=0,S.labels=[];var c=z();return--S.in_function,S.in_loop=a,S.labels=b,c}(S.in_loop,S.labels)})},V=function(a){return new Ma({start:f(),definitions:C(a,!1),end:f()})},W=function(){return new Na({start:f(),definitions:C(!1,!0),end:f()})},X=function(a){var b=S.token;l("operator","new");var d,g=Y(!1);return c("punc","(")?(e(),d=E(")")):d=[],_(new Qa({start:b,expression:g,args:d,end:f()}),a)},Y=function(a){if(c("operator","new"))return X(a);var b=S.token;if(c("punc")){switch(b.value){case"(":e();var d=qa(!0);return d.start=b,d.end=S.token,m(")"),_(d,a);case"[":return _(Z(),a);case"{":return _($(),a)}j()}if(c("keyword","function")){e();var g=U(ua);return g.start=b,g.end=f(),_(g,a)}return Yb[S.token.type]?_(D(),a):void j()},Z=q(function(){return m("["),new _a({elements:E("]",!b.strict,!0)})}),$=q(function(){m("{");for(var a=!0,d=[];!c("punc","}")&&(a?a=!1:m(","),b.strict||!c("punc","}"));){var g=S.token,h=g.type,i=F();if("name"==h&&!c("punc",":")){if("get"==i){d.push(new eb({start:g,key:D(),value:U(ta),end:f()}));continue}if("set"==i){d.push(new db({start:g,key:D(),value:U(ta),end:f()}));continue}}m(":"),d.push(new cb({start:g,quote:g.quote,key:i,value:qa(!1),end:f()}))}return e(),new ab({properties:d})}),_=function(a,b){var d=a.start;if(c("punc","."))return e(),_(new Ta({start:d,expression:a,property:G(),end:f()}),b);if(c("punc","[")){e();var g=qa(!0);return m("]"),_(new Ua({start:d,expression:a,property:g,end:f()}),b)}return b&&c("punc","(")?(e(),_(new Pa({start:d,expression:a,args:E(")"),end:f()}),!0)):a},aa=function(a){var b=S.token;if(c("operator")&&Tb(b.value)){e(),r();var d=O(Wa,b.value,aa(a));return d.start=b,d.end=f(),d}for(var g=Y(a);c("operator")&&Ub(S.token.value)&&!S.token.nlb;)g=O(Xa,S.token.value,g),g.start=b,g.end=S.token,e();return g},ea=function(a,b,d){var f=c("operator")?S.token.value:null;"in"==f&&d&&(f=null);var g=null!=f?Wb[f]:null;if(null!=g&&g>b){e();var h=ea(aa(!0),g,d);return ea(new Ya({start:a.start,left:a,operator:f,right:h,end:h.end}),b,d)}return a},ha=function(a){var b=S.token,d=P(a);if(c("operator","?")){e();var g=qa(!1);return m(":"),new Za({start:b,condition:d,consequent:g,alternative:qa(!1,a),end:f()})}return d},ka=function(a){var b=S.token,d=ha(a),h=S.token.value;if(c("operator")&&Vb(h)){if(Q(d))return e(),new $a({start:b,left:d,operator:h,right:ka(a),end:f()});g("Invalid assignment")}return d},qa=function(a,b){var f=S.token,g=ka(b);return a&&c("punc",",")?(e(),new Ra({start:f,car:g,cdr:qa(!0,b),end:d()})):g};return b.expression?qa(!0):function(){for(var a=S.token,d=[];!c("eof");)d.push(T());var e=f(),g=b.toplevel;return g?(g.body=g.body.concat(d),g.end=e):g=new ra({start:a,body:d,end:e}),g}()}function P(a,b){y.call(this),this.before=a,this.after=b}function Q(a,b,c){this.name=c.name,this.orig=[c],this.scope=a,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.constant=!1,this.index=b}function R(a){function b(a,b){return a.replace(/[\u0080-\uffff]/g,function(a){var c=a.charCodeAt(0).toString(16);if(c.length<=2&&!b){for(;c.length<2;)c="0"+c;return"\\x"+c}for(;c.length<4;)c="0"+c;return"\\u"+c})}function c(c,d){function e(){return"'"+c.replace(/\x27/g,"\\'")+"'"}function f(){return'"'+c.replace(/\x22/g,'\\"')+'"'}var g=0,h=0;switch(c=c.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(b){switch(b){case"\\":return"\\\\";case"\b":return"\\b";case"\f":return"\\f";case"\n":return"\\n";case"\r":return"\\r";case"\x0B":return a.screw_ie8?"\\v":"\\x0B";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case'"':return++g,'"';case"'":return++h,"'";case"\x00":return"\\x00";case"\ufeff":return"\\ufeff"}return b}),a.ascii_only&&(c=b(c)),a.quote_style){case 1:return e();case 2:return f();case 3:return"'"==d?e():f();default:return g>h?e():f()}}function d(b,d){var e=c(b,d);return a.inline_script&&(e=e.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1"),e=e.replace(/\x3c!--/g,"\\x3c!--"),e=e.replace(/--\x3e/g,"--\\x3e")),e}function e(c){return c=c.toString(),a.ascii_only&&(c=b(c,!0)),c}function f(b){return i(" ",a.indent_start+v-b*a.indent_level)}function g(){return C.charAt(C.length-1)}function h(){a.max_line_len&&w>a.max_line_len&&j("\n")}function j(b){b=String(b);var c=b.charAt(0);if(B&&(B=!1,c&&!(";}".indexOf(c)<0)||/[;]$/.test(C)||(a.semicolons||D(c)?(z+=";",w++,y++):(z+="\n",y++,x++,w=0,/^\s+$/.test(b)&&(B=!0)),a.beautify||(A=!1))),!a.beautify&&a.preserve_line&&L[L.length-1])for(var d=L[L.length-1].start.line;d>x;)z+="\n",y++,x++,w=0,A=!1;if(A){var e=g();(H(e)&&(H(c)||"\\"==c)||/^[\+\-\/]$/.test(c)&&c==e)&&(z+=" ",w++,y++),A=!1}var f=b.split(/\r?\n/),h=f.length-1;x+=h,0==h?w+=f[h].length:w=f[h].length,y+=b.length,C=b,z+=b}function l(){B=!1,j(";")}function n(){return v+a.indent_level}function o(a){var b;return j("{"),I(),G(n(),function(){b=a()}),F(),j("}"),b}function p(a){j("(");var b=a();return j(")"),b}function q(a){j("[");var b=a();return j("]"),b}function r(){j(","),E()}function s(){j(":"),a.space_colon&&E()}function u(){return z}a=k(a,{indent_start:0,indent_level:4,quote_keys:!1,space_colon:!0,ascii_only:!1,unescape_regexps:!1,inline_script:!1,width:80,max_line_len:32e3,beautify:!1,source_map:null,bracketize:!1,semicolons:!0,comments:!1,shebang:!0,preserve_line:!1,screw_ie8:!1,preamble:null,quote_style:0},!0);var v=0,w=0,x=1,y=0,z="",A=!1,B=!1,C=null,D=t("( [ + * / - , ."),E=a.beautify?function(){j(" ")}:function(){A=!0},F=a.beautify?function(b){a.beautify&&j(f(b?.5:0))}:m,G=a.beautify?function(a,b){a===!0&&(a=n());var c=v;v=a;var d=b();return v=c,d}:function(a,b){return b()},I=a.beautify?function(){j("\n")}:h,J=a.beautify?function(){j(";")}:function(){B=!0},K=a.source_map?function(b,c){try{b&&a.source_map.add(b.file||"?",x,w,b.line,b.col,c||"name"!=b.type?c:b.value)}catch(d){_.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:b.file,line:b.line,col:b.col,cline:x,ccol:w,name:c||""})}}:m;a.preamble&&j(a.preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"));var L=[];return{get:u,toString:u,indent:F,indentation:function(){return v},current_width:function(){return w-v},should_break:function(){return a.width&&this.current_width()>=a.width},newline:I,print:j,space:E,comma:r,colon:s,last:function(){return C},semicolon:J,force_semicolon:l,to_ascii:b,print_name:function(a){j(e(a))},print_string:function(a,b){j(d(a,b))},next_indent:n,with_indent:G,with_block:o,with_parens:p,with_square:q,add_mapping:K,option:function(b){return a[b]},line:function(){return x},col:function(){return w},pos:function(){return y},push_node:function(a){L.push(a)},pop_node:function(){return L.pop()},stack:function(){return L},parent:function(a){return L[L.length-2-(a||0)]}}}function S(a,b){return this instanceof S?(P.call(this,this.before,this.after),void(this.options=k(a,{sequences:!b,properties:!b,dead_code:!b,drop_debugger:!b,unsafe:!1,unsafe_comps:!1,conditionals:!b,comparisons:!b,evaluate:!b,booleans:!b,loops:!b,unused:!b,hoist_funs:!b,keep_fargs:!0,keep_fnames:!1,hoist_vars:!1,if_return:!b,join_vars:!b,collapse_vars:!1,cascade:!b,side_effects:!b,pure_getters:!1,pure_funcs:null,negate_iife:!b,screw_ie8:!1,drop_console:!1,angular:!1,warnings:!0,global_defs:{}},!0))):new S(a,b)}function T(a){function b(b,e,f,g,h,i){if(d){var j=d.originalPositionFor({line:g,column:h});if(null===j.source)return;b=j.source,g=j.line,h=j.column,i=j.name||i}c.addMapping({generated:{line:e+a.dest_line_diff,column:f},original:{line:g+a.orig_line_diff,column:h},source:b,name:i})}a=k(a,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var c=new X.SourceMapGenerator({file:a.file,sourceRoot:a.root}),d=a.orig&&new X.SourceMapConsumer(a.orig);return{add:b,get:function(){return c},toString:function(){return JSON.stringify(c.toJSON())}}}function U(){function a(a){n(b,a)}var b=[];return[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(b){Object.getOwnPropertyNames(b).map(a),b.prototype&&Object.getOwnPropertyNames(b.prototype).map(a)}),b}function V(a,b){function c(a){return o.indexOf(a)>=0?!1:i.indexOf(a)>=0?!1:b.only_cache?j.props.has(a):!/^[0-9.]+$/.test(a)}function d(a){return l&&!l.test(a)?!1:i.indexOf(a)>=0?!1:j.props.has(a)||m.indexOf(a)>=0}function e(a){c(a)&&n(m,a),d(a)||n(o,a)}function f(a){if(!d(a))return a;var b=j.props.get(a);if(!b){do b=Zb(++j.cname);while(!c(b));j.props.set(a,b)}return b}function g(a){var b={};try{!function d(a){a.walk(new y(function(a){if(a instanceof Ra)return d(a.cdr),!0;if(a instanceof tb)return e(a.value),!0;if(a instanceof Za)return d(a.consequent),d(a.alternative),!0;throw b}))}(a)}catch(c){if(c!==b)throw c}}function h(a){return a.transform(new P(function(a){return a instanceof Ra?a.cdr=h(a.cdr):a instanceof tb?a.value=f(a.value):a instanceof Za&&(a.consequent=h(a.consequent),a.alternative=h(a.alternative)),a}))}b=k(b,{reserved:null,cache:null,only_cache:!1,regex:null});var i=b.reserved;null==i&&(i=U());var j=b.cache;null==j&&(j={cname:-1,props:new v});var l=b.regex,m=[],o=[];return a.walk(new y(function(a){a instanceof cb?e(a.key):a instanceof bb?e(a.key.name):a instanceof Ta?this.parent()instanceof $a&&e(a.property):a instanceof Ua&&this.parent()instanceof $a&&g(a.property)})),a.transform(new P(function(a){a instanceof cb?a.key=f(a.key):a instanceof bb?a.key.name=f(a.key.name):a instanceof Ta?a.property=f(a.property):a instanceof Ua&&(a.property=h(a.property))}))}var W=a("util"),X=a("source-map"),Y=c;j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j.croak=function(a,b){throw new j(a,b)};var Z=function(){function a(a,f,g){function h(){var h=f(a[i],i),l=h instanceof d;return l&&(h=h.v),h instanceof b?(h=h.v,h instanceof c?k.push.apply(k,g?h.v.slice().reverse():h.v):k.push(h)):h!==e&&(h instanceof c?j.push.apply(j,g?h.v.slice().reverse():h.v):j.push(h)),l}var i,j=[],k=[];if(a instanceof Array)if(g){for(i=a.length;--i>=0&&!h(););j.reverse(),k.reverse()}else for(i=0;i SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"}},ea),ra=w("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_enclose:function(a){var b=this,c=[],d=[];a.forEach(function(a){var b=a.lastIndexOf(":");c.push(a.substr(0,b)),d.push(a.substr(b+1))});var e="(function("+d.join(",")+"){ '$ORIG'; })("+c.join(",")+")";return e=O(e),e=e.transform(new P(function(a){return a instanceof ca&&"$ORIG"==a.value?Z.splice(b.body):void 0}))},wrap_commonjs:function(a,b){var c=this,d=[];b&&(c.figure_out_scope(),c.walk(new y(function(a){a instanceof hb&&a.definition().global&&(h(function(b){return b.name==a.name},d)||d.push(a))})));var e="(function(exports, global){ '$ORIG'; '$EXPORTS'; global['"+a+"'] = exports; }({}, (function(){return this}())))";return e=O(e),e=e.transform(new P(function(a){if(a instanceof ca)switch(a.value){case"$ORIG":return Z.splice(c.body);case"$EXPORTS":var b=[];return d.forEach(function(a){b.push(new da({body:new $a({left:new Ua({expression:new pb({name:"exports"}),property:new tb({value:a.name})}),operator:"=",right:new pb(a)})}))}),Z.splice(b)}}))}},qa),sa=w("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(a){return a._visit(this,function(){this.name&&this.name._walk(a),this.argnames.forEach(function(b){b._walk(a)}),x(this,a)})}},qa),ta=w("Accessor",null,{$documentation:"A setter/getter function. The `name` property is always null."},sa),ua=w("Function",null,{$documentation:"A function expression"},sa),va=w("Defun",null,{$documentation:"A function definition"},sa),wa=w("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},aa),xa=w("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(a){return a._visit(this,this.value&&function(){this.value._walk(a)})}},wa),ya=w("Return",null,{$documentation:"A `return` statement"},xa),za=w("Throw",null,{$documentation:"A `throw` statement"},xa),Aa=w("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(a){return a._visit(this,this.label&&function(){this.label._walk(a)})}},wa),Ba=w("Break",null,{$documentation:"A `break` statement"},Aa),Ca=w("Continue",null,{$documentation:"A `continue` statement"},Aa),Da=w("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(a){return a._visit(this,function(){this.condition._walk(a),this.body._walk(a),this.alternative&&this.alternative._walk(a)})}},ha),Ea=w("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(a){return a._visit(this,function(){this.expression._walk(a),x(this,a)})}},ea),Fa=w("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},ea),Ga=w("Default",null,{$documentation:"A `default` switch branch"},Fa),Ha=w("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(a){return a._visit(this,function(){this.expression._walk(a),x(this,a)})}},Fa),Ia=w("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(a){return a._visit(this,function(){x(this,a),this.bcatch&&this.bcatch._walk(a),this.bfinally&&this.bfinally._walk(a)})}},ea),Ja=w("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch] symbol for the exception"},_walk:function(a){return a._visit(this,function(){this.argname._walk(a),x(this,a)})}},ea),Ka=w("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},ea),La=w("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(a){return a._visit(this,function(){this.definitions.forEach(function(b){b._walk(a)})})}},aa),Ma=w("Var",null,{$documentation:"A `var` statement"},La),Na=w("Const",null,{$documentation:"A `const` statement"},La),Oa=w("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar|AST_SymbolConst] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(a){return a._visit(this,function(){this.name._walk(a),this.value&&this.value._walk(a)})}}),Pa=w("Call","expression args",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments"},_walk:function(a){return a._visit(this,function(){this.expression._walk(a),this.args.forEach(function(b){b._walk(a)})})}}),Qa=w("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},Pa),Ra=w("Seq","car cdr",{$documentation:"A sequence expression (two comma-separated expressions)",$propdoc:{car:"[AST_Node] first element in sequence",cdr:"[AST_Node] second element in sequence"},$cons:function(a,b){var c=new Ra(a);return c.car=a,c.cdr=b,c},$from_array:function(a){if(0==a.length)return null;if(1==a.length)return a[0].clone();for(var b=null,c=a.length;--c>=0;)b=Ra.cons(a[c],b);for(var d=b;d;){if(d.cdr&&!d.cdr.cdr){d.cdr=d.cdr.car;break}d=d.cdr}return b},to_array:function(){for(var a=this,b=[];a;){if(b.push(a.car),a.cdr&&!(a.cdr instanceof Ra)){b.push(a.cdr);break}a=a.cdr}return b},add:function(a){for(var b=this;b;){if(!(b.cdr instanceof Ra)){var c=Ra.cons(b.cdr,a);return b.cdr=c}b=b.cdr}},_walk:function(a){return a._visit(this,function(){this.car._walk(a),this.cdr&&this.cdr._walk(a)})}}),Sa=w("PropAccess","expression property",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node"}}),Ta=w("Dot",null,{$documentation:"A dotted property access expression",_walk:function(a){return a._visit(this,function(){this.expression._walk(a)})}},Sa),Ua=w("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(a){return a._visit(this,function(){this.expression._walk(a),this.property._walk(a)})}},Sa),Va=w("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(a){return a._visit(this,function(){this.expression._walk(a)})}}),Wa=w("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Va),Xa=w("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Va),Ya=w("Binary","left operator right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(a){return a._visit(this,function(){this.left._walk(a),this.right._walk(a)})}}),Za=w("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(a){return a._visit(this,function(){this.condition._walk(a),this.consequent._walk(a),this.alternative._walk(a)})}}),$a=w("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},Ya),_a=w("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(a){return a._visit(this,function(){this.elements.forEach(function(b){b._walk(a)})})}}),ab=w("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(a){return a._visit(this,function(){this.properties.forEach(function(b){b._walk(a)})})}}),bb=w("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string] the property name converted to a string for ObjectKeyVal. For setters and getters this is an arbitrary AST_Node.",value:"[AST_Node] property value. For setters and getters this is an AST_Function."},_walk:function(a){return a._visit(this,function(){this.value._walk(a)})}}),cb=w("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},bb),db=w("ObjectSetter",null,{$documentation:"An object setter property"},bb),eb=w("ObjectGetter",null,{$documentation:"An object getter property"},bb),fb=w("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),gb=w("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},fb),hb=w("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)",$propdoc:{init:"[AST_Node*/S] array of initializers for this declaration."}},fb),ib=w("SymbolVar",null,{$documentation:"Symbol defining a variable"},hb),jb=w("SymbolConst",null,{$documentation:"A constant declaration"},hb),kb=w("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},ib),lb=w("SymbolDefun",null,{$documentation:"Symbol defining a function"},hb),mb=w("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},hb),nb=w("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},hb),ob=w("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},fb),pb=w("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},fb),qb=w("LabelRef",null,{$documentation:"Reference to a label symbol"},fb),rb=w("This",null,{$documentation:"The `this` symbol"},fb),sb=w("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),tb=w("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},sb),ub=w("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},sb),vb=w("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},sb),wb=w("Atom",null,{$documentation:"Base class for atoms"},sb),xb=w("Null",null,{$documentation:"The `null` atom",value:null},wb),yb=w("NaN",null,{$documentation:"The impossible value",value:NaN},wb),zb=w("Undefined",null,{$documentation:"The `undefined` value",value:void 0},wb),Ab=w("Hole",null,{$documentation:"A hole in an array",value:void 0},wb),Bb=w("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},wb),Cb=w("Boolean",null,{$documentation:"Base class for booleans"},wb),Db=w("False",null,{$documentation:"The `false` atom",value:!1},Cb),Eb=w("True",null,{$documentation:"The `true` atom",value:!0},Cb);y.prototype={_visit:function(a,b){this.push(a);var c=this.visit(a,b?function(){b.call(a)}:m);return!c&&b&&b.call(a),this.pop(a),c},parent:function(a){return this.stack[this.stack.length-2-(a||0)]},push:function(a){a instanceof sa?this.directives=Object.create(this.directives):a instanceof ca&&(this.directives[a.value]=this.directives[a.value]?"up":!0),this.stack.push(a)},pop:function(a){this.stack.pop(),a instanceof sa&&(this.directives=Object.getPrototypeOf(this.directives))},self:function(){return this.stack[this.stack.length-1]},find_parent:function(a){for(var b=this.stack,c=b.length;--c>=0;){var d=b[c];if(d instanceof a)return d}},has_directive:function(a){var b=this.directives[a];if(b)return b;var c=this.stack[this.stack.length-1];if(c instanceof qa)for(var d=0;d0;){var d=a[--b];if(d instanceof Da&&d.condition===c||d instanceof Za&&d.condition===c||d instanceof ka&&d.condition===c||d instanceof na&&d.condition===c||d instanceof Wa&&"!"==d.operator&&d.expression===c)return!0;if(!(d instanceof Ya)||"&&"!=d.operator&&"||"!=d.operator)return!1;c=d}},loopcontrol_target:function(a){var b=this.stack;if(a)for(var c=b.length;--c>=0;){var d=b[c];if(d instanceof ia&&d.label.name==a.name)return d.body}else for(var c=b.length;--c>=0;){var d=b[c];if(d instanceof Ea||d instanceof ja)return d}}};var Fb="break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with",Gb="false null true",Hb="abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized this throws transient volatile yield "+Gb+" "+Fb,Ib="return new delete throw else case";Fb=t(Fb),Hb=t(Hb),Ib=t(Ib),Gb=t(Gb);var Jb=t(f("+-*&%=<>!?|~^")),Kb=/^0x[0-9a-f]+$/i,Lb=/^0[0-7]+$/,Mb=t(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),Nb=t(f("  \n\r \f\x0B​᠎              \ufeff")),Ob=t(f("[{(,.;:")),Pb=t(f("[]{}(),;:")),Qb=t(f("gmsiy")),Rb={letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\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-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\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-\\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-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\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-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\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]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};K.prototype.toString=function(){return this.message+" (line: "+this.line+", col: "+this.col+", pos: "+this.pos+")\n\n"+this.stack};var Sb={},Tb=t(["typeof","void","delete","--","++","!","~","-","+"]),Ub=t(["--","++"]),Vb=t(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Wb=function(a,b){for(var c=0;c","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Xb=d(["for","do","while","switch"]),Yb=d(["atom","num","string","regexp","name"]);P.prototype=new y,function(a){function b(b,c){b.DEFMETHOD("transform",function(b,d){var e,f;return b.push(this),b.before&&(e=b.before(this,c,d)),e===a&&(b.after?(b.stack[b.stack.length-1]=e=this,c(e,b),f=b.after(e,d),f!==a&&(e=f)):(e=this,c(e,b))),b.pop(this),e})}function c(a,b){return Z(a,function(a){return a.transform(b,!0)})}b(_,m),b(ia,function(a,b){a.label=a.label.transform(b),a.body=a.body.transform(b)}),b(da,function(a,b){a.body=a.body.transform(b)}),b(ea,function(a,b){a.body=c(a.body,b)}),b(ka,function(a,b){a.condition=a.condition.transform(b),a.body=a.body.transform(b)}),b(na,function(a,b){a.init&&(a.init=a.init.transform(b)),a.condition&&(a.condition=a.condition.transform(b)),a.step&&(a.step=a.step.transform(b)),a.body=a.body.transform(b)}),b(oa,function(a,b){a.init=a.init.transform(b),a.object=a.object.transform(b),a.body=a.body.transform(b)}),b(pa,function(a,b){a.expression=a.expression.transform(b),a.body=a.body.transform(b)}),b(xa,function(a,b){a.value&&(a.value=a.value.transform(b))}),b(Aa,function(a,b){a.label&&(a.label=a.label.transform(b))}),b(Da,function(a,b){a.condition=a.condition.transform(b),a.body=a.body.transform(b),a.alternative&&(a.alternative=a.alternative.transform(b))}),b(Ea,function(a,b){a.expression=a.expression.transform(b),a.body=c(a.body,b)}),b(Ha,function(a,b){a.expression=a.expression.transform(b),a.body=c(a.body,b)}),b(Ia,function(a,b){a.body=c(a.body,b),a.bcatch&&(a.bcatch=a.bcatch.transform(b)),a.bfinally&&(a.bfinally=a.bfinally.transform(b))}),b(Ja,function(a,b){a.argname=a.argname.transform(b),a.body=c(a.body,b)}),b(La,function(a,b){a.definitions=c(a.definitions,b)}),b(Oa,function(a,b){a.name=a.name.transform(b),a.value&&(a.value=a.value.transform(b))}),b(sa,function(a,b){a.name&&(a.name=a.name.transform(b)),a.argnames=c(a.argnames,b),a.body=c(a.body,b)}),b(Pa,function(a,b){a.expression=a.expression.transform(b),a.args=c(a.args,b)}),b(Ra,function(a,b){a.car=a.car.transform(b),a.cdr=a.cdr.transform(b)}),b(Ta,function(a,b){a.expression=a.expression.transform(b)}),b(Ua,function(a,b){a.expression=a.expression.transform(b),a.property=a.property.transform(b)}),b(Va,function(a,b){a.expression=a.expression.transform(b)}),b(Ya,function(a,b){a.left=a.left.transform(b),a.right=a.right.transform(b)}),b(Za,function(a,b){a.condition=a.condition.transform(b),a.consequent=a.consequent.transform(b),a.alternative=a.alternative.transform(b)}),b(_a,function(a,b){a.elements=c(a.elements,b)}),b(ab,function(a,b){a.properties=c(a.properties,b)}),b(bb,function(a,b){a.value=a.value.transform(b)})}(),Q.prototype={unmangleable:function(a){return a||(a={}),this.global&&!a.toplevel||this.undeclared||!a.eval&&(this.scope.uses_eval||this.scope.uses_with)||a.keep_fnames&&(this.orig[0]instanceof mb||this.orig[0]instanceof lb)},mangle:function(a){var b=a.cache&&a.cache.props;if(this.global&&b&&b.has(this.name))this.mangled_name=b.get(this.name);else if(!this.mangled_name&&!this.unmangleable(a)){var c=this.scope;!a.screw_ie8&&this.orig[0]instanceof mb&&(c=c.parent_scope),this.mangled_name=c.next_mangled(a,this),this.global&&b&&b.set(this.name,this.mangled_name)}}},ra.DEFMETHOD("figure_out_scope",function(a){a=k(a,{screw_ie8:!1,cache:null});var b=this,c=b.parent_scope=null,d=new v,e=null,f=!1,g=0,h=new y(function(b,i){if(a.screw_ie8&&b instanceof Ja){var j=c;return c=new qa(b),c.init_scope_vars(g),c.parent_scope=j,i(),c=j,!0}if(b instanceof qa){b.init_scope_vars(g);var j=b.parent_scope=c,k=e,l=d;return e=c=b,d=new v,++g,i(),--g,c=j,e=k,d=l,!0}if(b instanceof ia){var m=b.label;if(d.has(m.name))throw new Error(o("Label {name} defined twice",m));return d.set(m.name,m),i(),d.del(m.name),!0}if(b instanceof pa)for(var n=c;n;n=n.parent_scope)n.uses_with=!0;else if(b instanceof fb&&(b.scope=c),b instanceof ob&&(b.thedef=b,b.references=[]),b instanceof mb)e.def_function(b);else if(b instanceof lb)(b.scope=e.parent_scope).def_function(b);else if(b instanceof Ma)f=b.has_const_pragma();else if(b instanceof ib||b instanceof jb){var p=e.def_variable(b);p.constant=b instanceof jb||f,p.init=h.parent().value}else if(b instanceof nb)(a.screw_ie8?c:e).def_variable(b);else if(b instanceof qb){var q=d.get(b.name);if(!q)throw new Error(o("Undefined label {name} [{line},{col}]",{name:b.name,line:b.start.line,col:b.start.col}));b.thedef=q}});b.walk(h); var i=null,j=b.globals=new v,h=new y(function(a,c){if(a instanceof sa){var d=i;return i=a,c(),i=d,!0}if(a instanceof Aa&&a.label)return a.label.thedef.references.push(a),!0;if(a instanceof pb){var e=a.name;if("eval"==e&&h.parent()instanceof Pa)for(var f=a.scope;f&&!f.uses_eval;f=f.parent_scope)f.uses_eval=!0;var g=a.scope.find_variable(e);if(g)a.thedef=g;else{var k;j.has(e)?k=j.get(e):(k=new Q(b,j.size(),a),k.undeclared=!0,k.global=!0,j.set(e,k)),a.thedef=k,i&&"arguments"==e&&(i.uses_arguments=!0)}return a.reference(),!0}});b.walk(h),a.cache&&(this.cname=a.cache.cname)}),qa.DEFMETHOD("init_scope_vars",function(a){this.variables=new v,this.functions=new v,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=null,this.enclosed=[],this.cname=-1,this.nesting=a}),sa.DEFMETHOD("init_scope_vars",function(){qa.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1;var a=new Oa({name:"arguments",start:this.start,end:this.end}),b=new Q(this,this.variables.size(),a);this.variables.set(a.name,b)}),pb.DEFMETHOD("reference",function(){var a=this.definition();a.references.push(this);for(var b=this.scope;b&&(n(b.enclosed,a),b!==a.scope);)b=b.parent_scope;this.frame=this.scope.nesting-a.scope.nesting}),qa.DEFMETHOD("find_variable",function(a){return a instanceof fb&&(a=a.name),this.variables.get(a)||this.parent_scope&&this.parent_scope.find_variable(a)}),qa.DEFMETHOD("def_function",function(a){this.functions.set(a.name,this.def_variable(a))}),qa.DEFMETHOD("def_variable",function(a){var b;return this.variables.has(a.name)?(b=this.variables.get(a.name),b.orig.push(a)):(b=new Q(this,this.variables.size(),a),this.variables.set(a.name,b),b.global=!this.parent_scope),a.thedef=b}),qa.DEFMETHOD("next_mangled",function(a){var b=this.enclosed;a:for(;;){var c=Zb(++this.cname);if(F(c)&&!(a.except.indexOf(c)>=0)){for(var d=b.length;--d>=0;){var e=b[d],f=e.mangled_name||e.unmangleable(a)&&e.name;if(c==f)continue a}return c}}}),ua.DEFMETHOD("next_mangled",function(a,b){for(var c=b.orig[0]instanceof kb&&this.name&&this.name.definition();;){var d=sa.prototype.next_mangled.call(this,a,b);if(!c||c.mangled_name!=d)return d}}),qa.DEFMETHOD("references",function(a){return a instanceof fb&&(a=a.definition()),this.enclosed.indexOf(a)<0?null:a}),fb.DEFMETHOD("unmangleable",function(a){return this.definition().unmangleable(a)}),gb.DEFMETHOD("unmangleable",function(){return!0}),ob.DEFMETHOD("unmangleable",function(){return!1}),fb.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),fb.DEFMETHOD("undeclared",function(){return this.definition().undeclared}),qb.DEFMETHOD("undeclared",function(){return!1}),ob.DEFMETHOD("undeclared",function(){return!1}),fb.DEFMETHOD("definition",function(){return this.thedef}),fb.DEFMETHOD("global",function(){return this.definition().global}),Ma.DEFMETHOD("has_const_pragma",function(){var a=this.start&&this.start.comments_before,b=a&&a[a.length-1];return b&&/@const\b/.test(b.value)}),ra.DEFMETHOD("_default_mangler_options",function(a){return k(a,{except:[],eval:!1,sort:!1,toplevel:!1,screw_ie8:!1,keep_fnames:!1})}),ra.DEFMETHOD("mangle_names",function(a){a=this._default_mangler_options(a),a.except.push("arguments");var b=-1,c=[];a.cache&&this.globals.each(function(b){a.except.indexOf(b.name)<0&&c.push(b)});var d=new y(function(e,f){if(e instanceof ia){var g=b;return f(),b=g,!0}if(e instanceof qa){var h=(d.parent(),[]);return e.variables.each(function(b){a.except.indexOf(b.name)<0&&h.push(b)}),a.sort&&h.sort(function(a,b){return b.references.length-a.references.length}),void c.push.apply(c,h)}if(e instanceof ob){var i;do i=Zb(++b);while(!F(i));return e.mangled_name=i,!0}return a.screw_ie8&&e instanceof nb?void c.push(e.definition()):void 0});this.walk(d),c.forEach(function(b){b.mangle(a)}),a.cache&&(a.cache.cname=this.cname)}),ra.DEFMETHOD("compute_char_frequency",function(a){a=this._default_mangler_options(a);var b=new y(function(b){b instanceof sb?Zb.consider(b.print_to_string()):b instanceof ya?Zb.consider("return"):b instanceof za?Zb.consider("throw"):b instanceof Ca?Zb.consider("continue"):b instanceof Ba?Zb.consider("break"):b instanceof ba?Zb.consider("debugger"):b instanceof ca?Zb.consider(b.value):b instanceof ma?Zb.consider("while"):b instanceof la?Zb.consider("do while"):b instanceof Da?(Zb.consider("if"),b.alternative&&Zb.consider("else")):b instanceof Ma?Zb.consider("var"):b instanceof Na?Zb.consider("const"):b instanceof sa?Zb.consider("function"):b instanceof na?Zb.consider("for"):b instanceof oa?Zb.consider("for in"):b instanceof Ea?Zb.consider("switch"):b instanceof Ha?Zb.consider("case"):b instanceof Ga?Zb.consider("default"):b instanceof pa?Zb.consider("with"):b instanceof db?Zb.consider("set"+b.key):b instanceof eb?Zb.consider("get"+b.key):b instanceof cb?Zb.consider(b.key):b instanceof Qa?Zb.consider("new"):b instanceof rb?Zb.consider("this"):b instanceof Ia?Zb.consider("try"):b instanceof Ja?Zb.consider("catch"):b instanceof Ka?Zb.consider("finally"):b instanceof fb&&b.unmangleable(a)?Zb.consider(b.name):b instanceof Va||b instanceof Ya?Zb.consider(b.operator):b instanceof Ta&&Zb.consider(b.property)});this.walk(b),Zb.sort()});var Zb=function(){function a(){d=Object.create(null),c=e.split("").map(function(a){return a.charCodeAt(0)}),c.forEach(function(a){d[a]=0})}function b(a){var b="",d=54;a++;do a--,b+=String.fromCharCode(c[a%d]),a=Math.floor(a/d),d=64;while(a>0);return b}var c,d,e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";return b.consider=function(a){for(var b=a.length;--b>=0;){var c=a.charCodeAt(b);c in d&&++d[c]}},b.sort=function(){c=q(c,function(a,b){return A(a)&&!A(b)?1:A(b)&&!A(a)?-1:d[b]-d[a]})},b.reset=a,a(),b.get=function(){return c},b.freq=function(){return d},b}();ra.DEFMETHOD("scope_warnings",function(a){a=k(a,{undeclared:!1,unreferenced:!0,assign_to_global:!0,func_arguments:!0,nested_defuns:!0,eval:!0});var b=new y(function(c){if(a.undeclared&&c instanceof pb&&c.undeclared()&&_.warn("Undeclared symbol: {name} [{file}:{line},{col}]",{name:c.name,file:c.start.file,line:c.start.line,col:c.start.col}),a.assign_to_global){var d=null;c instanceof $a&&c.left instanceof pb?d=c.left:c instanceof oa&&c.init instanceof pb&&(d=c.init),d&&(d.undeclared()||d.global()&&d.scope!==d.definition().scope)&&_.warn("{msg}: {name} [{file}:{line},{col}]",{msg:d.undeclared()?"Accidental global?":"Assignment to global",name:d.name,file:d.start.file,line:d.start.line,col:d.start.col})}a.eval&&c instanceof pb&&c.undeclared()&&"eval"==c.name&&_.warn("Eval is used [{file}:{line},{col}]",c.start),a.unreferenced&&(c instanceof hb||c instanceof ob)&&!(c instanceof nb)&&c.unreferenced()&&_.warn("{type} {name} is declared but not referenced [{file}:{line},{col}]",{type:c instanceof ob?"Label":"Symbol",name:c.name,file:c.start.file,line:c.start.line,col:c.start.col}),a.func_arguments&&c instanceof sa&&c.uses_arguments&&_.warn("arguments used in function {name} [{file}:{line},{col}]",{name:c.name?c.name.name:"anonymous",file:c.start.file,line:c.start.line,col:c.start.col}),a.nested_defuns&&c instanceof va&&!(b.parent()instanceof qa)&&_.warn('Function {name} declared in nested statement "{type}" [{file}:{line},{col}]',{name:c.name.name,type:b.parent().TYPE,file:c.start.file,line:c.start.line,col:c.start.col})});this.walk(b)}),function(){function a(a,b){a.DEFMETHOD("_codegen",b)}function b(a,c){Array.isArray(a)?a.forEach(function(a){b(a,c)}):a.DEFMETHOD("needs_parens",c)}function c(a,b,c){var d=a.length-1;a.forEach(function(a,e){a instanceof ga||(c.indent(),a.print(c),e==d&&b||(c.newline(),b&&c.newline()))})}function d(a,b){a.length>0?b.with_block(function(){c(a,!1,b)}):b.print("{}")}function e(a,b){if(b.option("bracketize"))return void n(a.body,b);if(!a.body)return b.force_semicolon();if(a.body instanceof la&&!b.option("screw_ie8"))return void n(a.body,b);for(var c=a.body;;)if(c instanceof Da){if(!c.alternative)return void n(a.body,b);c=c.alternative}else{if(!(c instanceof ha))break;c=c.body}h(a.body,b)}function f(a,b,c){if(c)try{a.walk(new y(function(a){if(a instanceof Ya&&"in"==a.operator)throw b})),a.print(b)}catch(d){if(d!==b)throw d;a.print(b,!0)}else a.print(b)}function g(a){return[92,47,46,43,42,63,40,41,91,93,123,125,36,94,58,124,33,10,13,0,65279,8232,8233].indexOf(a)<0}function h(a,b){b.option("bracketize")?!a||a instanceof ga?b.print("{}"):a instanceof fa?a.print(b):b.with_block(function(){b.indent(),a.print(b),b.newline()}):!a||a instanceof ga?b.force_semicolon():a.print(b)}function i(a){for(var b=a.stack(),c=b.length,d=b[--c],e=b[--c];c>0;){if(e instanceof aa&&e.body===d)return!0;if(!(e instanceof Ra&&e.car===d||e instanceof Pa&&e.expression===d&&!(e instanceof Qa)||e instanceof Ta&&e.expression===d||e instanceof Ua&&e.expression===d||e instanceof Za&&e.condition===d||e instanceof Ya&&e.left===d||e instanceof Xa&&e.expression===d))return!1;d=e,e=b[--c]}}function j(a,b){return 0==a.args.length&&!b.option("beautify")}function k(a){for(var b=a[0],c=b.length,d=1;d=0?d.push("0x"+a.toString(16).toLowerCase(),"0"+a.toString(8)):d.push("-0x"+(-a).toString(16).toLowerCase(),"-0"+(-a).toString(8)),(b=/^(.*?)(0+)$/.exec(a))&&d.push(b[1]+"e"+b[2].length)):(b=/^0?\.(0+)(.*)$/.exec(a))&&d.push(b[2]+"e-"+(b[1].length+b[2].length),c.substr(c.indexOf("."))),k(d)}function n(a,b){return a instanceof fa?void a.print(b):void b.with_block(function(){b.indent(),a.print(b),b.newline()})}function o(a,b){a.DEFMETHOD("add_source_map",function(a){b(this,a)})}function p(a,b){b.add_mapping(a.start)}var q=!1;_.DEFMETHOD("print",function(a,b){function c(){d.add_comments(a),d.add_source_map(a),e(d,a)}var d=this,e=d._codegen,f=q;d instanceof ca&&"use asm"==d.value&&(q=!0),a.push_node(d),b||d.needs_parens(a)?a.with_parens(c):c(),a.pop_node(),d instanceof sa&&(q=f)}),_.DEFMETHOD("print_to_string",function(a){var b=R(a);return this.print(b),b.get()}),_.DEFMETHOD("add_comments",function(a){var b=a.option("comments"),c=this,d=c.start;if(d&&!d._comments_dumped){d._comments_dumped=!0;var e=d.comments_before||[];c instanceof xa&&c.value&&c.value.walk(new y(function(a){return a.start&&a.start.comments_before&&(e=e.concat(a.start.comments_before),a.start.comments_before=[]),a instanceof ua||a instanceof _a||a instanceof ab?!0:void 0})),b?b.test?e=e.filter(function(a){return"comment5"==a.type||b.test(a.value)}):"function"==typeof b&&(e=e.filter(function(a){return"comment5"==a.type||b(c,a)})):e=e.filter(function(a){return"comment5"==a.type}),!a.option("beautify")&&e.length>0&&/comment[134]/.test(e[0].type)&&0!==a.col()&&e[0].nlb&&a.print("\n"),e.forEach(function(b){/comment[134]/.test(b.type)?(a.print("//"+b.value+"\n"),a.indent()):"comment2"==b.type?(a.print("/*"+b.value+"*/"),d.nlb?(a.print("\n"),a.indent()):a.space()):0===a.pos()&&"comment5"==b.type&&a.option("shebang")&&(a.print("#!"+b.value+"\n"),a.indent())})}}),b(_,function(){return!1}),b(ua,function(a){return i(a)}),b(ab,function(a){return i(a)}),b([Va,zb],function(a){var b=a.parent();return b instanceof Sa&&b.expression===this}),b(Ra,function(a){var b=a.parent();return b instanceof Pa||b instanceof Va||b instanceof Ya||b instanceof Oa||b instanceof Sa||b instanceof _a||b instanceof bb||b instanceof Za}),b(Ya,function(a){var b=a.parent();if(b instanceof Pa&&b.expression===this)return!0;if(b instanceof Va)return!0;if(b instanceof Sa&&b.expression===this)return!0;if(b instanceof Ya){var c=b.operator,d=Wb[c],e=this.operator,f=Wb[e];if(d>f||d==f&&this===b.right)return!0}}),b(Sa,function(a){var b=a.parent();if(b instanceof Qa&&b.expression===this)try{this.walk(new y(function(a){if(a instanceof Pa)throw b}))}catch(c){if(c!==b)throw c;return!0}}),b(Pa,function(a){var b,c=a.parent();return c instanceof Qa&&c.expression===this?!0:this.expression instanceof ua&&c instanceof Sa&&c.expression===this&&(b=a.parent(1))instanceof $a&&b.left===c}),b(Qa,function(a){var b=a.parent();return j(this,a)&&(b instanceof Sa||b instanceof Pa&&b.expression===this)?!0:void 0}),b(ub,function(a){var b=a.parent();return this.getValue()<0&&b instanceof Sa&&b.expression===this?!0:void 0}),b([$a,Za],function(a){var b=a.parent();return b instanceof Va?!0:b instanceof Ya&&!(b instanceof $a)?!0:b instanceof Pa&&b.expression===this?!0:b instanceof Za&&b.condition===this?!0:b instanceof Sa&&b.expression===this?!0:void 0}),a(ca,function(a,b){b.print_string(a.value,a.quote),b.semicolon()}),a(ba,function(a,b){b.print("debugger"),b.semicolon()}),ha.DEFMETHOD("_do_print_body",function(a){h(this.body,a)}),a(aa,function(a,b){a.body.print(b),b.semicolon()}),a(ra,function(a,b){c(a.body,!0,b),b.print("")}),a(ia,function(a,b){a.label.print(b),b.colon(),a.body.print(b)}),a(da,function(a,b){a.body.print(b),b.semicolon()}),a(fa,function(a,b){d(a.body,b)}),a(ga,function(a,b){b.semicolon()}),a(la,function(a,b){b.print("do"),b.space(),a._do_print_body(b),b.space(),b.print("while"),b.space(),b.with_parens(function(){a.condition.print(b)}),b.semicolon()}),a(ma,function(a,b){b.print("while"),b.space(),b.with_parens(function(){a.condition.print(b)}),b.space(),a._do_print_body(b)}),a(na,function(a,b){b.print("for"),b.space(),b.with_parens(function(){!a.init||a.init instanceof ga?b.print(";"):(a.init instanceof La?a.init.print(b):f(a.init,b,!0),b.print(";"),b.space()),a.condition?(a.condition.print(b),b.print(";"),b.space()):b.print(";"),a.step&&a.step.print(b)}),b.space(),a._do_print_body(b)}),a(oa,function(a,b){b.print("for"),b.space(),b.with_parens(function(){a.init.print(b),b.space(),b.print("in"),b.space(),a.object.print(b)}),b.space(),a._do_print_body(b)}),a(pa,function(a,b){b.print("with"),b.space(),b.with_parens(function(){a.expression.print(b)}),b.space(),a._do_print_body(b)}),sa.DEFMETHOD("_do_print",function(a,b){var c=this;b||a.print("function"),c.name&&(a.space(),c.name.print(a)),a.with_parens(function(){c.argnames.forEach(function(b,c){c&&a.comma(),b.print(a)})}),a.space(),d(c.body,a)}),a(sa,function(a,b){a._do_print(b)}),xa.DEFMETHOD("_do_print",function(a,b){a.print(b),this.value&&(a.space(),this.value.print(a)),a.semicolon()}),a(ya,function(a,b){a._do_print(b,"return")}),a(za,function(a,b){a._do_print(b,"throw")}),Aa.DEFMETHOD("_do_print",function(a,b){a.print(b),this.label&&(a.space(),this.label.print(a)),a.semicolon()}),a(Ba,function(a,b){a._do_print(b,"break")}),a(Ca,function(a,b){a._do_print(b,"continue")}),a(Da,function(a,b){b.print("if"),b.space(),b.with_parens(function(){a.condition.print(b)}),b.space(),a.alternative?(e(a,b),b.space(),b.print("else"),b.space(),h(a.alternative,b)):a._do_print_body(b)}),a(Ea,function(a,b){b.print("switch"),b.space(),b.with_parens(function(){a.expression.print(b)}),b.space(),a.body.length>0?b.with_block(function(){a.body.forEach(function(a,c){c&&b.newline(),b.indent(!0),a.print(b)})}):b.print("{}")}),Fa.DEFMETHOD("_do_print_body",function(a){this.body.length>0&&(a.newline(),this.body.forEach(function(b){a.indent(),b.print(a),a.newline()}))}),a(Ga,function(a,b){b.print("default:"),a._do_print_body(b)}),a(Ha,function(a,b){b.print("case"),b.space(),a.expression.print(b),b.print(":"),a._do_print_body(b)}),a(Ia,function(a,b){b.print("try"),b.space(),d(a.body,b),a.bcatch&&(b.space(),a.bcatch.print(b)),a.bfinally&&(b.space(),a.bfinally.print(b))}),a(Ja,function(a,b){b.print("catch"),b.space(),b.with_parens(function(){a.argname.print(b)}),b.space(),d(a.body,b)}),a(Ka,function(a,b){b.print("finally"),b.space(),d(a.body,b)}),La.DEFMETHOD("_do_print",function(a,b){a.print(b),a.space(),this.definitions.forEach(function(b,c){c&&a.comma(),b.print(a)});var c=a.parent(),d=c instanceof na||c instanceof oa,e=d&&c.init===this;e||a.semicolon()}),a(Ma,function(a,b){a._do_print(b,"var")}),a(Na,function(a,b){a._do_print(b,"const")}),a(Oa,function(a,b){if(a.name.print(b),a.value){b.space(),b.print("="),b.space();var c=b.parent(1),d=c instanceof na||c instanceof oa;f(a.value,b,d)}}),a(Pa,function(a,b){a.expression.print(b),a instanceof Qa&&j(a,b)||b.with_parens(function(){a.args.forEach(function(a,c){c&&b.comma(),a.print(b)})})}),a(Qa,function(a,b){b.print("new"),b.space(),Pa.prototype._codegen(a,b)}),Ra.DEFMETHOD("_do_print",function(a){this.car.print(a),this.cdr&&(a.comma(),a.should_break()&&(a.newline(),a.indent()),this.cdr.print(a))}),a(Ra,function(a,b){a._do_print(b)}),a(Ta,function(a,b){var c=a.expression;c.print(b),c instanceof ub&&c.getValue()>=0&&(/[xa-f.]/i.test(b.last())||b.print(".")),b.print("."),b.add_mapping(a.end),b.print_name(a.property)}),a(Ua,function(a,b){a.expression.print(b),b.print("["),a.property.print(b),b.print("]")}),a(Wa,function(a,b){var c=a.operator;b.print(c),(/^[a-z]/i.test(c)||/[+-]$/.test(c)&&a.expression instanceof Wa&&/^[+-]/.test(a.expression.operator))&&b.space(),a.expression.print(b)}),a(Xa,function(a,b){a.expression.print(b),b.print(a.operator)}),a(Ya,function(a,b){var c=a.operator;a.left.print(b),">"==c[0]&&a.left instanceof Xa&&"--"==a.left.operator?b.print(" "):b.space(),b.print(c),("<"==c||"<<"==c)&&a.right instanceof Wa&&"!"==a.right.operator&&a.right.expression instanceof Wa&&"--"==a.right.expression.operator?b.print(" "):b.space(),a.right.print(b)}),a(Za,function(a,b){a.condition.print(b),b.space(),b.print("?"),b.space(),a.consequent.print(b),b.space(),b.colon(),a.alternative.print(b)}),a(_a,function(a,b){b.with_square(function(){var c=a.elements,d=c.length;d>0&&b.space(),c.forEach(function(a,c){c&&b.comma(),a.print(b),c===d-1&&a instanceof Ab&&b.comma()}),d>0&&b.space()})}),a(ab,function(a,b){a.properties.length>0?b.with_block(function(){a.properties.forEach(function(a,c){c&&(b.print(","),b.newline()),b.indent(),a.print(b)}),b.newline()}):b.print("{}")}),a(cb,function(a,b){var c=a.key,d=a.quote;b.option("quote_keys")?b.print_string(c+""):("number"==typeof c||!b.option("beautify")&&+c+""==c)&&parseFloat(c)>=0?b.print(l(c)):(Hb(c)?b.option("screw_ie8"):I(c))?b.print_name(c):b.print_string(c,d),b.colon(),a.value.print(b)}),a(db,function(a,b){b.print("set"),b.space(),a.key.print(b),a.value._do_print(b,!0)}),a(eb,function(a,b){b.print("get"),b.space(),a.key.print(b),a.value._do_print(b,!0)}),a(fb,function(a,b){var c=a.definition();b.print_name(c?c.mangled_name||c.name:a.name)}),a(zb,function(a,b){b.print("void 0")}),a(Ab,m),a(Bb,function(a,b){b.print("Infinity")}),a(yb,function(a,b){b.print("NaN")}),a(rb,function(a,b){b.print("this")}),a(sb,function(a,b){b.print(a.getValue())}),a(tb,function(a,b){b.print_string(a.getValue(),a.quote)}),a(ub,function(a,b){q&&null!=a.start.raw?b.print(a.start.raw):b.print(l(a.getValue()))}),a(vb,function(a,b){var c=a.getValue().toString();b.option("ascii_only")?c=b.to_ascii(c):b.option("unescape_regexps")&&(c=c.split("\\\\").map(function(a){return a.replace(/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}/g,function(a){var b=parseInt(a.substr(2),16);return g(b)?String.fromCharCode(b):a})}).join("\\\\")),b.print(c);var d=b.parent();d instanceof Ya&&/^in/.test(d.operator)&&d.left===a&&b.print(" ")}),o(_,m),o(ca,p),o(ba,p),o(fb,p),o(wa,p),o(ha,p),o(ia,m),o(sa,p),o(Ea,p),o(Fa,p),o(fa,p),o(ra,m),o(Qa,p),o(Ia,p),o(Ja,p),o(Ka,p),o(La,p),o(sb,p),o(db,function(a,b){b.add_mapping(a.start,a.key.name)}),o(eb,function(a,b){b.add_mapping(a.start,a.key.name)}),o(bb,function(a,b){b.add_mapping(a.start,a.key)})}(),S.prototype=new P,l(S.prototype,{option:function(a){return this.options[a]},warn:function(){this.options.warnings&&_.warn.apply(_,arguments)},before:function(a,b,c){if(a._squeezed)return a;var d=!1;return a instanceof qa&&(a=a.hoist_declarations(this),d=!0),b(a,this),a=a.optimize(this),d&&a instanceof qa&&(a.drop_unused(this),b(a,this)),a._squeezed=!0,a}}),function(){function a(a,b){a.DEFMETHOD("optimize",function(a){var c=this;if(c._optimized)return c;if(a.has_directive("use asm"))return c;var d=b(c,a);return d._optimized=!0,d===c?d:d.transform(a)})}function b(a,b,c){return c||(c={}),b&&(c.start||(c.start=b.start),c.end||(c.end=b.end)),new a(c)}function c(a,c,d){if(c instanceof _)return c.transform(a);switch(typeof c){case"string":return b(tb,d,{value:c}).optimize(a);case"number":return b(isNaN(c)?yb:ub,d,{value:c}).optimize(a);case"boolean":return b(c?Eb:Db,d).optimize(a);case"undefined":return b(zb,d).optimize(a);default:if(null===c)return b(xb,d,{value:null}).optimize(a);if(c instanceof RegExp)return b(vb,d,{value:c}).optimize(a);throw new Error(o("Can't handle constant of type: {type}",{type:typeof c}))}}function d(a,c,d){return a instanceof Pa&&a.expression===c&&(d instanceof Sa||d instanceof pb&&"eval"===d.name)?b(Ra,c,{car:b(ub,c,{value:0}),cdr:d}):d}function e(a){if(null===a)return[];if(a instanceof fa)return a.body;if(a instanceof ga)return[];if(a instanceof aa)return[a];throw new Error("Can't convert thing to statement array")}function f(a){return null===a?!0:a instanceof ga?!0:a instanceof fa?0==a.body.length:!1}function i(a){return a instanceof Ea?a:(a instanceof na||a instanceof oa||a instanceof ka)&&a.body instanceof fa?a.body:a}function j(a,c){function f(a,c){function e(a,b){return a instanceof pb&&(b instanceof $a&&a===b.left||b instanceof Va&&b.expression===a&&("++"==b.operator||"--"==b.operator))}function g(f,g,j){if(e(f,g))return f;var m=d(g,f,u.value);return u.value=null,n.splice(t,1),0===n.length&&(a[l]=b(ga,h),i=!0),k.walk(new y(function(a){delete a._squeezed,delete a._optimized})),c.warn("Replacing "+(j?"constant":"variable")+" "+v+" [{file}:{line},{col}]",f.start),s=!0,m}for(var h=c.self(),i=!1,j=a.length;--j>=0;){var k=a[j];if(!(k instanceof La)){if([k,k.body,k.alternative,k.bcatch,k.bfinally].forEach(function(a){a&&a.body&&f(a.body,c)}),0>=j)break;var l=j-1,m=a[l];if(m instanceof La){var n=m.definitions;if(null!=n)for(var o={},p=!1,q=!1,r={},t=n.length;--t>=0;){var u=n[t];if(null==u.value)break;var v=u.name.name;if(!v||!v.length)break;if(v in o)break;o[v]=!0;var w=h.find_variable&&h.find_variable(v);if(w&&w.references&&1===w.references.length&&"arguments"!=v){var x=w.references[0];if(x.scope.uses_eval||x.scope.uses_with)break;if(u.value.is_constant(c)){var z=new P(function(a){return a===x?g(a,z.parent(),!0):void 0});k.transform(z)}else if(!(p|=q))if(x.scope===h){var A=new y(function(a){a instanceof pb&&e(a,A.parent())&&(r[a.name]=q=!0)});u.value.walk(A);var B=!1,C=new P(function(a){if(B)return a;var b=C.parent();return a instanceof sa||a instanceof Ia||a instanceof pa||a instanceof Ha||a instanceof ja||b instanceof Da&&a!==b.condition||b instanceof Za&&a!==b.condition||b instanceof Ya&&("&&"==b.operator||"||"==b.operator)&&a===b.right||b instanceof Ea&&a!==b.expression?(p=B=!0,a):void 0},function(a){return B?a:a===x?(B=!0,g(a,C.parent(),!1)):(p|=a.has_side_effects(c))?(B=!0,a):q&&a instanceof pb&&a.name in r?(p=!0,B=!0,a):void 0});k.transform(C)}else p|=u.value.has_side_effects(c)}else p=!0}}}}if(i)for(var D=a.length;--D>=0;)a.length>1&&a[D]instanceof ga&&a.splice(D,1);return a}function g(a){function d(a){return/@ngInject/.test(a.value)}function e(a){return a.argnames.map(function(a){return b(tb,a,{value:a.name})})}function f(a,c){return b(_a,a,{elements:c})}function g(a,c){return b(da,a,{body:b($a,a,{operator:"=",left:b(Ta,c,{expression:b(pb,c,c),property:"$inject"}),right:f(a,e(a))})})}function h(a){a&&a.args&&(a.args.forEach(function(a,b,c){var g=a.start.comments_before;a instanceof sa&&g.length&&d(g[0])&&(c[b]=f(a,e(a).concat(a)))}),a.expression&&a.expression.expression&&h(a.expression.expression))}return a.reduce(function(a,b){if(a.push(b),b.body&&b.body.args)h(b.body);else{var e=b.start,f=e.comments_before;if(f&&f.length>0){var i=f.pop();d(i)&&(b instanceof va?a.push(g(b,b.name)):b instanceof La?b.definitions.forEach(function(b){b.value&&b.value instanceof sa&&a.push(g(b.value,b.name))}):c.warn("Unknown statement marked with @ngInject [{file}:{line},{col}]",e))}}return a},[])}function h(a){var b=[];return a.reduce(function(a,c){return c instanceof fa?(s=!0,a.push.apply(a,h(c.body))):c instanceof ga?s=!0:c instanceof ca?b.indexOf(c.value)<0?(a.push(c),b.push(c.value)):s=!0:a.push(c),a},[])}function j(a,c){var d=c.self(),f=d instanceof sa,g=[];a:for(var h=a.length;--h>=0;){var j=a[h];switch(!0){case f&&j instanceof ya&&!j.value&&0==g.length:s=!0;continue a;case j instanceof Da:if(j.body instanceof ya){if((f&&0==g.length||g[0]instanceof ya&&!g[0].value)&&!j.body.value&&!j.alternative){s=!0;var k=b(da,j.condition,{body:j.condition});g.unshift(k);continue a}if(g[0]instanceof ya&&j.body.value&&g[0].value&&!j.alternative){s=!0,j=j.clone(),j.alternative=g[0],g[0]=j.transform(c);continue a}if((0==g.length||g[0]instanceof ya)&&j.body.value&&!j.alternative&&f){s=!0,j=j.clone(),j.alternative=g[0]||b(ya,j,{value:b(zb,j)}),g[0]=j.transform(c);continue a}if(!j.body.value&&f){s=!0,j=j.clone(),j.condition=j.condition.negate(c),j.body=b(fa,j,{body:e(j.alternative).concat(g)}),j.alternative=null,g=[j.transform(c)];continue a}if(c.option("sequences")&&1==g.length&&f&&g[0]instanceof da&&(!j.alternative||j.alternative instanceof da)){s=!0,g.push(b(ya,g[0],{value:b(zb,g[0])}).transform(c)),g=e(j.alternative).concat(g),g.unshift(j);continue a}}var l=m(j.body),n=l instanceof Aa?c.loopcontrol_target(l.label):null;if(l&&(l instanceof ya&&!l.value&&f||l instanceof Ca&&d===i(n)||l instanceof Ba&&n instanceof fa&&d===n)){l.label&&p(l.label.thedef.references,l),s=!0;var o=e(j.body).slice(0,-1);j=j.clone(),j.condition=j.condition.negate(c),j.body=b(fa,j,{body:e(j.alternative).concat(g)}),j.alternative=b(fa,j,{body:o}),g=[j.transform(c)];continue a}var l=m(j.alternative),n=l instanceof Aa?c.loopcontrol_target(l.label):null;if(l&&(l instanceof ya&&!l.value&&f||l instanceof Ca&&d===i(n)||l instanceof Ba&&n instanceof fa&&d===n)){l.label&&p(l.label.thedef.references,l),s=!0,j=j.clone(),j.body=b(fa,j.body,{body:e(j.body).concat(g)}),j.alternative=b(fa,j.alternative,{body:e(j.alternative).slice(0,-1)}),g=[j.transform(c)];continue a}g.unshift(j);break;default:g.unshift(j)}}return g}function l(a,b){var c=!1,d=a.length,e=b.self();return a=a.reduce(function(a,d){if(c)k(b,d,a);else{if(d instanceof Aa){var f=b.loopcontrol_target(d.label);d instanceof Ba&&f instanceof fa&&i(f)===e||d instanceof Ca&&i(f)===e?d.label&&p(d.label.thedef.references,d):a.push(d)}else a.push(d);m(d)&&(c=!0)}return a},[]),s=a.length!=d,a}function n(a,c){function d(){e=Ra.from_array(e),e&&f.push(b(da,e,{body:e})),e=[]}if(a.length<2)return a;var e=[],f=[];return a.forEach(function(a){a instanceof da&&e.length<2e3?e.push(a.body):(d(),f.push(a))}),d(),f=o(f,c),s=f.length!=a.length,f}function o(a,c){function d(a){e.pop();var b=f.body;return b instanceof Ra?b.add(a):b=Ra.cons(b,a),b.transform(c)}var e=[],f=null;return a.forEach(function(a){if(f)if(a instanceof na){var c={};try{f.body.walk(new y(function(a){if(a instanceof Ya&&"in"==a.operator)throw c})),!a.init||a.init instanceof La?a.init||(a.init=f.body,e.pop()):a.init=d(a.init)}catch(g){if(g!==c)throw g}}else a instanceof Da?a.condition=d(a.condition):a instanceof pa?a.expression=d(a.expression):a instanceof xa&&a.value?a.value=d(a.value):a instanceof xa?a.value=d(b(zb,a)):a instanceof Ea&&(a.expression=d(a.expression));e.push(a),f=a instanceof da?a:null}),e}function q(a,b){var c=null;return a.reduce(function(a,b){return b instanceof La&&c&&c.TYPE==b.TYPE?(c.definitions=c.definitions.concat(b.definitions),s=!0):b instanceof na&&c instanceof La&&(!b.init||b.init.TYPE==c.TYPE)?(s=!0,a.pop(),b.init?b.init.definitions=c.definitions.concat(b.init.definitions):b.init=c,a.push(b),c=b):(c=b,a.push(b)),a},[])}function r(a,c){a.forEach(function(a){a instanceof da&&(a.body=function c(a){return a.transform(new P(function(a){if(a instanceof Pa&&a.expression instanceof ua)return b(Wa,a,{operator:"!",expression:a});if(a instanceof Pa)a.expression=c(a.expression);else if(a instanceof Ra)a.car=c(a.car);else if(a instanceof Za){var d=c(a.condition);if(d!==a.condition){a.condition=d;var e=a.consequent;a.consequent=a.alternative,a.alternative=e}}return a}))}(a.body))})}var s,t=10;do s=!1,c.option("angular")&&(a=g(a)),a=h(a),c.option("dead_code")&&(a=l(a,c)),c.option("if_return")&&(a=j(a,c)),c.option("sequences")&&(a=n(a,c)),c.option("join_vars")&&(a=q(a,c)),c.option("collapse_vars")&&(a=f(a,c));while(s&&t-- >0);return c.option("negate_iife")&&r(a,c),a}function k(a,b,c){a.warn("Dropping unreachable code [{file}:{line},{col}]",b.start),b.walk(new y(function(b){return b instanceof La?(a.warn("Declarations in unreachable code! [{file}:{line},{col}]",b.start),b.remove_initializers(),c.push(b),!0):b instanceof va?(c.push(b),!0):b instanceof qa?!0:void 0}))}function l(a,b){return a.print_to_string().length>b.print_to_string().length?b:a}function m(a){return a&&a.aborts()}function r(a,c){function d(d){d=e(d),a.body instanceof fa?(a.body=a.body.clone(),a.body.body=d.concat(a.body.body.slice(1)),a.body=a.body.transform(c)):a.body=b(fa,a.body,{body:d}).transform(c),r(a,c)}var f=a.body instanceof fa?a.body.body[0]:a.body;f instanceof Da&&(f.body instanceof Ba&&c.loopcontrol_target(f.body.label)===a?(a.condition?a.condition=b(Ya,a.condition,{left:a.condition,operator:"&&",right:f.condition.negate(c)}):a.condition=f.condition.negate(c),d(f.alternative)):f.alternative instanceof Ba&&c.loopcontrol_target(f.alternative.label)===a&&(a.condition?a.condition=b(Ya,a.condition,{left:a.condition,operator:"&&",right:f.condition}):a.condition=f.condition,d(f.body)))}function s(a,b){var c=b.option("pure_getters");b.options.pure_getters=!1;var d=a.has_side_effects(b);return b.options.pure_getters=c,d}function w(a,c){return c.option("booleans")&&c.in_boolean_context()&&!a.has_side_effects(c)?b(Eb,a):a}a(_,function(a,b){return a}),_.DEFMETHOD("equivalent_to",function(a){return this.print_to_string()==a.print_to_string()}),function(a){var b=["!","delete"],c=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];a(_,function(){return!1}),a(Wa,function(){return g(this.operator,b)}),a(Ya,function(){return g(this.operator,c)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),a(Za,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),a($a,function(){return"="==this.operator&&this.right.is_boolean()}),a(Ra,function(){return this.cdr.is_boolean()}),a(Eb,function(){return!0}),a(Db,function(){return!0})}(function(a,b){a.DEFMETHOD("is_boolean",b)}),function(a){a(_,function(){return!1}),a(tb,function(){return!0}),a(Wa,function(){return"typeof"==this.operator}),a(Ya,function(a){return"+"==this.operator&&(this.left.is_string(a)||this.right.is_string(a))}),a($a,function(a){return("="==this.operator||"+="==this.operator)&&this.right.is_string(a)}),a(Ra,function(a){return this.cdr.is_string(a)}),a(Za,function(a){return this.consequent.is_string(a)&&this.alternative.is_string(a)}),a(Pa,function(a){return a.option("unsafe")&&this.expression instanceof pb&&"String"==this.expression.name&&this.expression.undeclared()})}(function(a,b){a.DEFMETHOD("is_string",b)}),function(a){function b(a,b){if(!b)throw new Error("Compressor must be passed");return a._eval(b)}_.DEFMETHOD("evaluate",function(b){if(!b.option("evaluate"))return[this];try{var d=this._eval(b);return[l(c(b,d,this),this),d]}catch(e){if(e!==a)throw e;return[this]}}),_.DEFMETHOD("is_constant",function(a){return this instanceof sb||this instanceof Wa&&"!"==this.operator&&this.expression instanceof sb||this.evaluate(a).length>1}),_.DEFMETHOD("constant_value",function(a){if(this instanceof sb)return this.value;if(this instanceof Wa&&"!"==this.operator&&this.expression instanceof sb)return!this.expression.value;var b=this.evaluate(a);return b.length>1?b[1]:void 0}),a(aa,function(){throw new Error(o("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),a(ua,function(){throw a}),a(_,function(){throw a}),a(sb,function(){return this.getValue()}),a(Wa,function(c){var d=this.expression;switch(this.operator){case"!":return!b(d,c);case"typeof":if(d instanceof ua)return"function";if(d=b(d,c),d instanceof RegExp)throw a; return typeof d;case"void":return void b(d,c);case"~":return~b(d,c);case"-":if(d=b(d,c),0===d)throw a;return-d;case"+":return+b(d,c)}throw a}),a(Ya,function(c){var d=this.left,e=this.right;switch(this.operator){case"&&":return b(d,c)&&b(e,c);case"||":return b(d,c)||b(e,c);case"|":return b(d,c)|b(e,c);case"&":return b(d,c)&b(e,c);case"^":return b(d,c)^b(e,c);case"+":return b(d,c)+b(e,c);case"*":return b(d,c)*b(e,c);case"/":return b(d,c)/b(e,c);case"%":return b(d,c)%b(e,c);case"-":return b(d,c)-b(e,c);case"<<":return b(d,c)<>":return b(d,c)>>b(e,c);case">>>":return b(d,c)>>>b(e,c);case"==":return b(d,c)==b(e,c);case"===":return b(d,c)===b(e,c);case"!=":return b(d,c)!=b(e,c);case"!==":return b(d,c)!==b(e,c);case"<":return b(d,c)":return b(d,c)>b(e,c);case">=":return b(d,c)>=b(e,c);case"in":return b(d,c)in b(e,c);case"instanceof":return b(d,c)instanceof b(e,c)}throw a}),a(Za,function(a){return b(this.condition,a)?b(this.consequent,a):b(this.alternative,a)}),a(pb,function(c){var d=this.definition();if(d&&d.constant&&d.init)return b(d.init,c);throw a}),a(Ta,function(c){if(c.option("unsafe")&&"length"==this.property){var d=b(this.expression,c);if("string"==typeof d)return d.length}throw a})}(function(a,b){a.DEFMETHOD("_eval",b)}),function(a){function c(a){return b(Wa,a,{operator:"!",expression:a})}a(_,function(){return c(this)}),a(aa,function(){throw new Error("Cannot negate a statement")}),a(ua,function(){return c(this)}),a(Wa,function(){return"!"==this.operator?this.expression:c(this)}),a(Ra,function(a){var b=this.clone();return b.cdr=b.cdr.negate(a),b}),a(Za,function(a){var b=this.clone();return b.consequent=b.consequent.negate(a),b.alternative=b.alternative.negate(a),l(c(this),b)}),a(Ya,function(a){var b=this.clone(),d=this.operator;if(a.option("unsafe_comps"))switch(d){case"<=":return b.operator=">",b;case"<":return b.operator=">=",b;case">=":return b.operator="<",b;case">":return b.operator="<=",b}switch(d){case"==":return b.operator="!=",b;case"!=":return b.operator="==",b;case"===":return b.operator="!==",b;case"!==":return b.operator="===",b;case"&&":return b.operator="||",b.left=b.left.negate(a),b.right=b.right.negate(a),l(c(this),b);case"||":return b.operator="&&",b.left=b.left.negate(a),b.right=b.right.negate(a),l(c(this),b)}return c(this)})}(function(a,b){a.DEFMETHOD("negate",function(a){return b.call(this,a)})}),function(a){a(_,function(a){return!0}),a(ga,function(a){return!1}),a(sb,function(a){return!1}),a(rb,function(a){return!1}),a(Pa,function(a){var b=a.option("pure_funcs");return b?"function"==typeof b?b(this):b.indexOf(this.expression.print_to_string())<0:!0}),a(ea,function(a){for(var b=this.body.length;--b>=0;)if(this.body[b].has_side_effects(a))return!0;return!1}),a(da,function(a){return this.body.has_side_effects(a)}),a(va,function(a){return!0}),a(ua,function(a){return!1}),a(Ya,function(a){return this.left.has_side_effects(a)||this.right.has_side_effects(a)}),a($a,function(a){return!0}),a(Za,function(a){return this.condition.has_side_effects(a)||this.consequent.has_side_effects(a)||this.alternative.has_side_effects(a)}),a(Va,function(a){return"delete"==this.operator||"++"==this.operator||"--"==this.operator||this.expression.has_side_effects(a)}),a(pb,function(a){return this.global()&&this.undeclared()}),a(ab,function(a){for(var b=this.properties.length;--b>=0;)if(this.properties[b].has_side_effects(a))return!0;return!1}),a(bb,function(a){return this.value.has_side_effects(a)}),a(_a,function(a){for(var b=this.elements.length;--b>=0;)if(this.elements[b].has_side_effects(a))return!0;return!1}),a(Ta,function(a){return a.option("pure_getters")?this.expression.has_side_effects(a):!0}),a(Ua,function(a){return a.option("pure_getters")?this.expression.has_side_effects(a)||this.property.has_side_effects(a):!0}),a(Sa,function(a){return!a.option("pure_getters")}),a(Ra,function(a){return this.car.has_side_effects(a)||this.cdr.has_side_effects(a)})}(function(a,b){a.DEFMETHOD("has_side_effects",b)}),function(a){function b(){var a=this.body.length;return a>0&&m(this.body[a-1])}a(aa,function(){return null}),a(wa,function(){return this}),a(fa,b),a(Fa,b),a(Da,function(){return this.alternative&&m(this.body)&&m(this.alternative)&&this})}(function(a,b){a.DEFMETHOD("aborts",b)}),a(ca,function(a,c){return"up"===c.has_directive(a.value)?b(ga,a):a}),a(ba,function(a,c){return c.option("drop_debugger")?b(ga,a):a}),a(ia,function(a,c){return a.body instanceof Ba&&c.loopcontrol_target(a.body.label)===a.body?b(ga,a):0==a.label.references.length?a.body:a}),a(ea,function(a,b){return a.body=j(a.body,b),a}),a(fa,function(a,c){switch(a.body=j(a.body,c),a.body.length){case 1:return a.body[0];case 0:return b(ga,a)}return a}),qa.DEFMETHOD("drop_unused",function(a){var c=this;if(a.has_directive("use asm"))return c;if(a.option("unused")&&!(c instanceof ra)&&!c.uses_eval){var d=[],e=new v,f=this,h=new y(function(b,g){if(b!==c){if(b instanceof va)return e.add(b.name.name,b),!0;if(b instanceof La&&f===c)return b.definitions.forEach(function(b){b.value&&(e.add(b.name.name,b.value),b.value.has_side_effects(a)&&b.value.walk(h))}),!0;if(b instanceof pb)return n(d,b.definition()),!0;if(b instanceof qa){var i=f;return f=b,g(),f=i,!0}}});c.walk(h);for(var i=0;i=0;){var l=i[k];if(!l.unreferenced())break;i.pop(),a.warn("Dropping unused function argument {name} [{file}:{line},{col}]",{name:l.name,file:l.start.file,line:l.start.line,col:l.start.col})}if(e instanceof va&&e!==c)return g(e.name.definition(),d)?e:(a.warn("Dropping unused function {name} [{file}:{line},{col}]",{name:e.name.name,file:e.name.start.file,line:e.name.start.line,col:e.name.start.col}),b(ga,e));if(e instanceof La&&!(j.parent()instanceof oa)){var m=e.definitions.filter(function(b){if(g(b.name.definition(),d))return!0;var c={name:b.name.name,file:b.name.start.file,line:b.name.start.line,col:b.name.start.col};return b.value&&b.value.has_side_effects(a)?(b._unused_side_effects=!0,a.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",c),!0):(a.warn("Dropping unused variable {name} [{file}:{line},{col}]",c),!1)});m=q(m,function(a,b){return!a.value&&b.value?-1:!b.value&&a.value?1:0});for(var n=[],k=0;k0&&(n.push(o.value),o.value=Ra.from_array(n),n=[]),++k)}return n=n.length>0?b(fa,e,{body:[b(da,e,{body:Ra.from_array(n)})]}):null,0!=m.length||n?0==m.length?h?Z.splice(n.body):n:(e.definitions=m,n?(n.body.unshift(e),h?Z.splice(n.body):n):e):b(ga,e)}if(e instanceof na&&(f(e,this),e.init instanceof fa)){var p=e.init.body.slice(0,-1);return e.init=e.init.body.slice(-1)[0].body,p.push(e),h?Z.splice(p):b(fa,e,{body:p})}return e instanceof qa&&e!==c?e:void 0});c.transform(j)}}),qa.DEFMETHOD("hoist_declarations",function(a){var c=this;if(a.has_directive("use asm"))return c;var d=a.option("hoist_funs"),e=a.option("hoist_vars");if(d||e){var f=[],g=[],i=new v,j=0,k=0;c.walk(new y(function(a){return a instanceof qa&&a!==c?!0:a instanceof Ma?(++k,!0):void 0})),e=e&&k>1;var l=new P(function(a){if(a!==c){if(a instanceof ca)return f.push(a),b(ga,a);if(a instanceof va&&d)return g.push(a),b(ga,a);if(a instanceof Ma&&e){a.definitions.forEach(function(a){i.set(a.name.name,a),++j});var h=a.to_assignments(),k=l.parent();if(k instanceof oa&&k.init===a){if(null==h){var m=a.definitions[0].name;return b(pb,m,m)}return h}return k instanceof na&&k.init===a?h:h?b(da,a,{body:h}):b(ga,a)}if(a instanceof qa)return a}});if(c=c.transform(l),j>0){var m=[];if(i.each(function(a,b){c instanceof sa&&h(function(b){return b.name==a.name.name},c.argnames)?i.del(b):(a=a.clone(),a.value=null,m.push(a),i.set(b,a))}),m.length>0){for(var n=0;n1){if(d[1])return b(na,a,{body:a.body});if(a instanceof ma&&c.option("dead_code")){var e=[];return k(c,a.body,e),b(fa,a,{body:e})}}return a}),a(ma,function(a,c){return c.option("loops")?(a=ka.prototype.optimize.call(a,c),a instanceof ma&&(r(a,c),a=b(na,a,a).transform(c)),a):a}),a(na,function(a,c){var d=a.condition;if(d&&(d=d.evaluate(c),a.condition=d[0]),!c.option("loops"))return a;if(d&&d.length>1&&!d[1]&&c.option("dead_code")){var e=[];return a.init instanceof aa?e.push(a.init):a.init&&e.push(b(da,a.init,{body:a.init})),k(c,a.body,e),b(fa,a,{body:e})}return r(a,c),a}),a(Da,function(a,c){if(!c.option("conditionals"))return a;var d=a.condition.evaluate(c);if(a.condition=d[0],d.length>1)if(d[1]){if(c.warn("Condition always true [{file}:{line},{col}]",a.condition.start),c.option("dead_code")){var e=[];return a.alternative&&k(c,a.alternative,e),e.push(a.body),b(fa,a,{body:e}).transform(c)}}else if(c.warn("Condition always false [{file}:{line},{col}]",a.condition.start),c.option("dead_code")){var e=[];return k(c,a.body,e),a.alternative&&e.push(a.alternative),b(fa,a,{body:e}).transform(c)}f(a.alternative)&&(a.alternative=null);var g=a.condition.negate(c),h=a.condition.print_to_string().length,i=g.print_to_string().length,j=h>i;if(a.alternative&&j){j=!1,a.condition=g;var l=a.body;a.body=a.alternative||b(ga),a.alternative=l}if(f(a.body)&&f(a.alternative))return b(da,a.condition,{body:a.condition}).transform(c);if(a.body instanceof da&&a.alternative instanceof da)return b(da,a,{body:b(Za,a,{condition:a.condition,consequent:a.body.body,alternative:a.alternative.body})}).transform(c);if(f(a.alternative)&&a.body instanceof da)return h===i&&!j&&a.condition instanceof Ya&&"||"==a.condition.operator&&(j=!0),j?b(da,a,{body:b(Ya,a,{operator:"||",left:g,right:a.body.body})}).transform(c):b(da,a,{body:b(Ya,a,{operator:"&&",left:a.condition,right:a.body.body})}).transform(c);if(a.body instanceof ga&&a.alternative&&a.alternative instanceof da)return b(da,a,{body:b(Ya,a,{operator:"||",left:a.condition,right:a.alternative.body})}).transform(c);if(a.body instanceof xa&&a.alternative instanceof xa&&a.body.TYPE==a.alternative.TYPE)return b(a.body.CTOR,a,{value:b(Za,a,{condition:a.condition,consequent:a.body.value||b(zb,a.body).optimize(c),alternative:a.alternative.value||b(zb,a.alternative).optimize(c)})}).transform(c);if(a.body instanceof Da&&!a.body.alternative&&!a.alternative&&(a.condition=b(Ya,a.condition,{operator:"&&",left:a.condition,right:a.body.condition}).transform(c),a.body=a.body.body),m(a.body)&&a.alternative){var n=a.alternative;return a.alternative=null,b(fa,a,{body:[a,n]}).transform(c)}if(m(a.alternative)){var o=a.body;return a.body=a.alternative,a.condition=j?g:a.condition.negate(c),a.alternative=null,b(fa,a,{body:[a,o]}).transform(c)}return a}),a(Ea,function(a,c){if(0==a.body.length&&c.option("conditionals"))return b(da,a,{body:a.expression}).transform(c);for(;;){var d=a.body[a.body.length-1];if(d){var e=d.body[d.body.length-1];if(e instanceof Ba&&i(c.loopcontrol_target(e.label))===a&&d.body.pop(),d instanceof Ga&&0==d.body.length){a.body.pop();continue}}break}var f=a.expression.evaluate(c);a:if(2==f.length)try{if(a.expression=f[0],!c.option("dead_code"))break a;var g=f[1],h=!1,j=!1,k=!1,l=!1,n=!1,o=new P(function(d,e,f){if(d instanceof sa||d instanceof da)return d;if(d instanceof Ea&&d===a)return d=d.clone(),e(d,this),n?d:b(fa,d,{body:d.body.reduce(function(a,b){return a.concat(b.body)},[])}).transform(c);if(d instanceof Da||d instanceof Ia){var i=h;return h=!j,e(d,this),h=i,d}if(d instanceof ha||d instanceof Ea){var i=j;return j=!0,e(d,this),j=i,d}if(d instanceof Ba&&this.loopcontrol_target(d.label)===a)return h?(n=!0,d):j?d:(l=!0,f?Z.skip:b(ga,d));if(d instanceof Fa&&this.parent()===a){if(l)return Z.skip;if(d instanceof Ha){var o=d.expression.evaluate(c);if(o.length<2)throw a;return o[1]===g||k?(k=!0,m(d)&&(l=!0),e(d,this),d):Z.skip}return e(d,this),d}});o.stack=c.stack.slice(),a=a.transform(o)}catch(p){if(p!==a)throw p}return a}),a(Ha,function(a,b){return a.body=j(a.body,b),a}),a(Ia,function(a,b){return a.body=j(a.body,b),a}),La.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(a){a.value=null})}),La.DEFMETHOD("to_assignments",function(){var a=this.definitions.reduce(function(a,c){if(c.value){var d=b(pb,c.name,c.name);a.push(b($a,c,{operator:"=",left:d,right:c.value}))}return a},[]);return 0==a.length?null:Ra.from_array(a)}),a(La,function(a,c){return 0==a.definitions.length?b(ga,a):a}),a(ua,function(a,b){return a=sa.prototype.optimize.call(a,b),b.option("unused")&&!b.option("keep_fnames")&&a.name&&a.name.unreferenced()&&(a.name=null),a}),a(Pa,function(a,d){if(d.option("unsafe")){var e=a.expression;if(e instanceof pb&&e.undeclared())switch(e.name){case"Array":if(1!=a.args.length)return b(_a,a,{elements:a.args}).transform(d);break;case"Object":if(0==a.args.length)return b(ab,a,{properties:[]});break;case"String":if(0==a.args.length)return b(tb,a,{value:""});if(a.args.length<=1)return b(Ya,a,{left:a.args[0],operator:"+",right:b(tb,a,{value:""})}).transform(d);break;case"Number":if(0==a.args.length)return b(ub,a,{value:0});if(1==a.args.length)return b(Wa,a,{expression:a.args[0],operator:"+"}).transform(d);case"Boolean":if(0==a.args.length)return b(Db,a);if(1==a.args.length)return b(Wa,a,{expression:b(Wa,null,{expression:a.args[0],operator:"!"}),operator:"!"}).transform(d);break;case"Function":if(0==a.args.length)return b(ua,a,{argnames:[],body:[]});if(u(a.args,function(a){return a instanceof tb}))try{var f="(function("+a.args.slice(0,-1).map(function(a){return a.value}).join(",")+"){"+a.args[a.args.length-1].value+"})()",g=O(f);g.figure_out_scope({screw_ie8:d.option("screw_ie8")});var h=new S(d.options);g=g.transform(h),g.figure_out_scope({screw_ie8:d.option("screw_ie8")}),g.mangle_names();var i;try{g.walk(new y(function(a){if(a instanceof sa)throw i=a,g}))}catch(j){if(j!==g)throw j}if(!i)return a;var k=i.argnames.map(function(c,d){return b(tb,a.args[d],{value:c.print_to_string()})}),f=R();return fa.prototype._codegen.call(i,i,f),f=f.toString().replace(/^\{|\}$/g,""),k.push(b(tb,a.args[a.args.length-1],{value:f})),a.args=k,a}catch(j){if(!(j instanceof K))throw console.log(j),j;d.warn("Error parsing code passed to new Function [{file}:{line},{col}]",a.args[a.args.length-1].start),d.warn(j.toString())}}else{if(e instanceof Ta&&"toString"==e.property&&0==a.args.length)return b(Ya,a,{left:b(tb,a,{value:""}),operator:"+",right:e.expression}).transform(d);if(e instanceof Ta&&e.expression instanceof _a&&"join"==e.property){var m=0==a.args.length?",":a.args[0].evaluate(d)[1];if(null!=m){var n=e.expression.elements.reduce(function(a,b){if(b=b.evaluate(d),0==a.length||1==b.length)a.push(b);else{var e=a[a.length-1];if(2==e.length){var f=""+e[1]+m+b[1];a[a.length-1]=[c(d,f,e[0]),f]}else a.push(b)}return a},[]);if(0==n.length)return b(tb,a,{value:""});if(1==n.length)return n[0][0];if(""==m){var o;return o=n[0][0]instanceof tb||n[1][0]instanceof tb?n.shift()[0]:b(tb,a,{value:""}),n.reduce(function(a,c){return b(Ya,c[0],{operator:"+",left:a,right:c[0]})},o).transform(d)}var p=a.clone();return p.expression=p.expression.clone(),p.expression.expression=p.expression.expression.clone(),p.expression.expression.elements=n.map(function(a){return a[0]}),l(a,p)}}}}if(d.option("side_effects")&&a.expression instanceof ua&&0==a.args.length&&!ea.prototype.has_side_effects.call(a.expression,d))return b(zb,a).transform(d);if(d.option("drop_console")&&a.expression instanceof Sa){for(var q=a.expression.expression;q.expression;)q=q.expression;if(q instanceof pb&&"console"==q.name&&q.undeclared())return b(zb,a).transform(d)}return a.evaluate(d)[0]}),a(Qa,function(a,c){if(c.option("unsafe")){var d=a.expression;if(d instanceof pb&&d.undeclared())switch(d.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return b(Pa,a,a).transform(c)}}return a}),a(Ra,function(a,c){if(!c.option("side_effects"))return a;if(!a.car.has_side_effects(c))return d(c.parent(),a,a.cdr);if(c.option("cascade")){if(a.car instanceof $a&&!a.car.left.has_side_effects(c)){if(a.car.left.equivalent_to(a.cdr))return a.car;if(a.cdr instanceof Pa&&a.cdr.expression.equivalent_to(a.car.left))return a.cdr.expression=a.car,a.cdr}if(!a.car.has_side_effects(c)&&!a.cdr.has_side_effects(c)&&a.car.equivalent_to(a.cdr))return a.car}return a.cdr instanceof Wa&&"void"==a.cdr.operator&&!a.cdr.expression.has_side_effects(c)?(a.cdr.expression=a.car,a.cdr):a.cdr instanceof zb?b(Wa,a,{operator:"void",expression:a.car}):a}),Va.DEFMETHOD("lift_sequences",function(a){if(a.option("sequences")&&this.expression instanceof Ra){var b=this.expression,c=b.to_array();return this.expression=c.pop(),c.push(this),b=Ra.from_array(c).transform(a)}return this}),a(Xa,function(a,b){return a.lift_sequences(b)}),a(Wa,function(a,c){a=a.lift_sequences(c);var d=a.expression;if(c.option("booleans")&&c.in_boolean_context()){switch(a.operator){case"!":if(d instanceof Wa&&"!"==d.operator)return d.expression;break;case"typeof":return c.warn("Boolean expression always true [{file}:{line},{col}]",a.start),b(Eb,a)}d instanceof Ya&&"!"==a.operator&&(a=l(a,d.negate(c)))}return a.evaluate(c)[0]}),Ya.DEFMETHOD("lift_sequences",function(a){if(a.option("sequences")){if(this.left instanceof Ra){var b=this.left,c=b.to_array();return this.left=c.pop(),c.push(this),b=Ra.from_array(c).transform(a)}if(this.right instanceof Ra&&this instanceof $a&&!s(this.left,a)){var b=this.right,c=b.to_array();return this.right=c.pop(),c.push(this),b=Ra.from_array(c).transform(a)}}return this});var x=t("== === != !== * & | ^");a(Ya,function(a,c){function e(b,d){if(d||!a.left.has_side_effects(c)&&!a.right.has_side_effects(c)){b&&(a.operator=b);var e=a.left;a.left=a.right,a.right=e}}if(x(a.operator)&&(a.right instanceof sb&&!(a.left instanceof sb)&&(a.left instanceof Ya&&Wb[a.left.operator]>=Wb[a.operator]||e(null,!0)),/^[!=]==?$/.test(a.operator))){if(a.left instanceof pb&&a.right instanceof Za){if(a.right.consequent instanceof pb&&a.right.consequent.definition()===a.left.definition()){if(/^==/.test(a.operator))return a.right.condition;if(/^!=/.test(a.operator))return a.right.condition.negate(c)}if(a.right.alternative instanceof pb&&a.right.alternative.definition()===a.left.definition()){if(/^==/.test(a.operator))return a.right.condition.negate(c);if(/^!=/.test(a.operator))return a.right.condition}}if(a.right instanceof pb&&a.left instanceof Za){if(a.left.consequent instanceof pb&&a.left.consequent.definition()===a.right.definition()){if(/^==/.test(a.operator))return a.left.condition;if(/^!=/.test(a.operator))return a.left.condition.negate(c)}if(a.left.alternative instanceof pb&&a.left.alternative.definition()===a.right.definition()){if(/^==/.test(a.operator))return a.left.condition.negate(c);if(/^!=/.test(a.operator))return a.left.condition}}}if(a=a.lift_sequences(c),c.option("comparisons"))switch(a.operator){case"===":case"!==":(a.left.is_string(c)&&a.right.is_string(c)||a.left.is_boolean()&&a.right.is_boolean())&&(a.operator=a.operator.substr(0,2));case"==":case"!=":a.left instanceof tb&&"undefined"==a.left.value&&a.right instanceof Wa&&"typeof"==a.right.operator&&c.option("unsafe")&&(a.right.expression instanceof pb&&a.right.expression.undeclared()||(a.right=a.right.expression,a.left=b(zb,a.left).optimize(c),2==a.operator.length&&(a.operator+="=")))}if(c.option("conditionals"))if("&&"==a.operator){var f=a.left.evaluate(c);if(f.length>1)return f[1]?(c.warn("Condition left of && always true [{file}:{line},{col}]",a.start),d(c.parent(),a,a.right.evaluate(c)[0])):(c.warn("Condition left of && always false [{file}:{line},{col}]",a.start),d(c.parent(),a,f[0]))}else if("||"==a.operator){var f=a.left.evaluate(c);if(f.length>1)return f[1]?(c.warn("Condition left of || always true [{file}:{line},{col}]",a.start),d(c.parent(),a,f[0])):(c.warn("Condition left of || always false [{file}:{line},{col}]",a.start),d(c.parent(),a,a.right.evaluate(c)[0]))}if(c.option("booleans")&&c.in_boolean_context())switch(a.operator){case"&&":var f=a.left.evaluate(c),g=a.right.evaluate(c);if(f.length>1&&!f[1]||g.length>1&&!g[1])return c.warn("Boolean && always false [{file}:{line},{col}]",a.start),a.left.has_side_effects(c)?b(Ra,a,{car:a.left,cdr:b(Db)}).optimize(c):b(Db,a);if(f.length>1&&f[1])return g[0];if(g.length>1&&g[1])return f[0];break;case"||":var f=a.left.evaluate(c),g=a.right.evaluate(c);if(f.length>1&&f[1]||g.length>1&&g[1])return c.warn("Boolean || always true [{file}:{line},{col}]",a.start),a.left.has_side_effects(c)?b(Ra,a,{car:a.left,cdr:b(Eb)}).optimize(c):b(Eb,a);if(f.length>1&&!f[1])return g[0];if(g.length>1&&!g[1])return f[0];break;case"+":var f=a.left.evaluate(c),g=a.right.evaluate(c);if(f.length>1&&f[0]instanceof tb&&f[1]||g.length>1&&g[0]instanceof tb&&g[1])return c.warn("+ in boolean context always true [{file}:{line},{col}]",a.start),b(Eb,a)}if(c.option("comparisons")&&a.is_boolean()){if(!(c.parent()instanceof Ya)||c.parent()instanceof $a){var h=b(Wa,a,{operator:"!",expression:a.negate(c)});a=l(a,h)}switch(a.operator){case"<":e(">");break;case"<=":e(">=")}}return"+"==a.operator&&a.right instanceof tb&&""===a.right.getValue()&&a.left instanceof Ya&&"+"==a.left.operator&&a.left.is_string(c)?a.left:(c.option("evaluate")&&"+"==a.operator&&(a.left instanceof sb&&a.right instanceof Ya&&"+"==a.right.operator&&a.right.left instanceof sb&&a.right.is_string(c)&&(a=b(Ya,a,{operator:"+",left:b(tb,null,{value:""+a.left.getValue()+a.right.left.getValue(),start:a.left.start,end:a.right.left.end}),right:a.right.right})),a.right instanceof sb&&a.left instanceof Ya&&"+"==a.left.operator&&a.left.right instanceof sb&&a.left.is_string(c)&&(a=b(Ya,a,{operator:"+",left:a.left.left,right:b(tb,null,{value:""+a.left.right.getValue()+a.right.getValue(),start:a.left.right.start,end:a.right.end})})),a.left instanceof Ya&&"+"==a.left.operator&&a.left.is_string(c)&&a.left.right instanceof sb&&a.right instanceof Ya&&"+"==a.right.operator&&a.right.left instanceof sb&&a.right.is_string(c)&&(a=b(Ya,a,{operator:"+",left:b(Ya,a.left,{operator:"+",left:a.left.left,right:b(tb,null,{value:""+a.left.right.getValue()+a.right.left.getValue(),start:a.left.right.start,end:a.right.left.end})}),right:a.right.right}))),a.right instanceof Ya&&a.right.operator==a.operator&&("&&"==a.operator||"||"==a.operator)?(a.left=b(Ya,a.left,{operator:a.operator,left:a.left,right:a.right.left}),a.right=a.right.right,a.transform(c)):a.evaluate(c)[0])}),a(pb,function(a,d){function e(a,b){return b instanceof Ya&&"="===b.operator&&b.left===a}if(a.undeclared()&&!e(a,d.parent())){var f=d.option("global_defs");if(f&&f.hasOwnProperty(a.name))return c(d,f[a.name],a);switch(a.name){case"undefined":return b(zb,a);case"NaN":return b(yb,a).transform(d);case"Infinity":return b(Bb,a).transform(d)}}return a}),a(Bb,function(a,c){return b(Ya,a,{operator:"/",left:b(ub,a,{value:1}),right:b(ub,a,{value:0})})}),a(zb,function(a,c){if(c.option("unsafe")){var d=c.find_parent(qa),e=d.find_variable("undefined");if(e){var f=b(pb,a,{name:"undefined",scope:d,thedef:e});return f.reference(),f}}return a});var z=["+","-","/","*","%",">>","<<",">>>","|","^","&"];a($a,function(a,b){return a=a.lift_sequences(b),"="==a.operator&&a.left instanceof pb&&a.right instanceof Ya&&a.right.left instanceof pb&&a.right.left.name==a.left.name&&g(a.right.operator,z)&&(a.operator=a.right.operator+"=",a.right=a.right.right),a}),a(Za,function(a,e){function f(a){return a instanceof Eb||a instanceof Wa&&"!"==a.operator&&a.expression instanceof sb&&!a.expression.value}function g(a){return a instanceof Db||a instanceof Wa&&"!"==a.operator&&a.expression instanceof sb&&!!a.expression.value}if(!e.option("conditionals"))return a;if(a.condition instanceof Ra){var h=a.condition.car;return a.condition=a.condition.cdr,Ra.cons(h,a)}var i=a.condition.evaluate(e);if(i.length>1)return i[1]?(e.warn("Condition always true [{file}:{line},{col}]",a.start),d(e.parent(),a,a.consequent)):(e.warn("Condition always false [{file}:{line},{col}]",a.start),d(e.parent(),a,a.alternative));var j=i[0].negate(e);l(i[0],j)===j&&(a=b(Za,a,{condition:j,consequent:a.alternative,alternative:a.consequent}));var k=a.consequent,m=a.alternative;if(k instanceof $a&&m instanceof $a&&k.operator==m.operator&&k.left.equivalent_to(m.left)&&!k.left.has_side_effects(e))return b($a,a,{operator:k.operator,left:k.left,right:b(Za,a,{condition:a.condition,consequent:k.right,alternative:m.right})});if(k instanceof Pa&&m.TYPE===k.TYPE&&k.args.length==m.args.length&&!k.expression.has_side_effects(e)&&k.expression.equivalent_to(m.expression)){if(0==k.args.length)return b(Ra,a,{car:a.condition,cdr:k});if(1==k.args.length)return k.args[0]=b(Za,a,{condition:a.condition,consequent:k.args[0],alternative:m.args[0]}),k}if(k instanceof Za&&k.alternative.equivalent_to(m))return b(Za,a,{condition:b(Ya,a,{left:a.condition,operator:"&&",right:k.condition}),consequent:k.consequent,alternative:m});if(k.is_constant(e)&&m.is_constant(e)&&k.equivalent_to(m)){var n=k.constant_value();return a.condition.has_side_effects(e)?Ra.from_array([a.condition,c(e,n,a)]):c(e,n,a)}return f(k)&&g(m)?a.condition.is_boolean()?a.condition:(a.condition=a.condition.negate(e),b(Wa,a.condition,{operator:"!",expression:a.condition})):g(k)&&f(m)?a.condition.negate(e):a}),a(Cb,function(a,c){if(c.option("booleans")){var d=c.parent();return d instanceof Ya&&("=="==d.operator||"!="==d.operator)?(c.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:d.operator,value:a.value,file:d.start.file,line:d.start.line,col:d.start.col}),b(ub,a,{value:+a.value})):b(Wa,a,{operator:"!",expression:b(ub,a,{value:1-a.value})})}return a}),a(Ua,function(a,c){var d=a.property;if(d instanceof tb&&c.option("properties")){if(d=d.getValue(),Hb(d)?c.option("screw_ie8"):I(d))return b(Ta,a,{expression:a.expression,property:d}).optimize(c);var e=parseFloat(d);isNaN(e)||e.toString()!=d||(a.property=b(ub,a.property,{value:e}))}return a}),a(Ta,function(a,c){var d=a.property;return Hb(d)&&!c.option("screw_ie8")?b(Ua,a,{expression:a.expression,property:b(tb,a,{value:d})}).optimize(c):a.evaluate(c)[0]}),a(_a,w),a(ab,w),a(vb,w),a(ya,function(a,b){return a.value instanceof zb&&(a.value=null),a})}(),function(){function a(a){return"Literal"==a.type?null!=a.raw?a.raw:a.value+"":void 0}function b(b){var c=b.loc,d=c&&c.start,e=b.range;return new $({file:c&&c.source,line:d&&d.line,col:d&&d.column,pos:e?e[0]:b.start,endline:d&&d.line,endcol:d&&d.column,endpos:e?e[0]:b.start,raw:a(b)})}function d(b){var c=b.loc,d=c&&c.end,e=b.range;return new $({file:c&&c.source,line:d&&d.line,col:d&&d.column,pos:e?e[1]:b.end,endline:d&&d.line,endcol:d&&d.column,endpos:e?e[1]:b.end,raw:a(b)})}function e(a,e,g){var l="function From_Moz_"+a+"(M){\n";l+="return new U2."+e.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var m="function To_Moz_"+a+"(M){\n";m+="return {\ntype: "+JSON.stringify(a),g&&g.split(/\s*,\s*/).forEach(function(a){var b=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(a);if(!b)throw new Error("Can't understand property map: "+a);var c=b[1],d=b[2],e=b[3];switch(l+=",\n"+e+": ",m+=",\n"+c+": ",d){case"@":l+="M."+c+".map(from_moz)",m+="M."+e+".map(to_moz)";break;case">":l+="from_moz(M."+c+")",m+="to_moz(M."+e+")";break;case"=":l+="M."+c,m+="M."+e;break;case"%":l+="from_moz(M."+c+").body",m+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+a)}}),l+="\n})\n}",m+="\n}\n}",l=new Function("U2","my_start_token","my_end_token","from_moz","return("+l+")")(c,b,d,f),m=new Function("to_moz","to_moz_block","return("+m+")")(i,j),k[a]=l,h(e,m)}function f(a){l.push(a);var b=null!=a?k[a.type](a):null;return l.pop(),b}function g(a,b,c){var d=a.start,e=a.end;return null!=d.pos&&null!=e.endpos&&(b.range=[d.pos,e.endpos]),d.line&&(b.loc={start:{line:d.line,column:d.col},end:e.endline?{line:e.endline,column:e.endcol}:null},d.file&&(b.loc.source=d.file)),b}function h(a,b){a.DEFMETHOD("to_mozilla_ast",function(){return g(this,b(this))})}function i(a){return null!=a?a.to_mozilla_ast():null}function j(a){return{type:"BlockStatement",body:a.body.map(i)}}var k={ExpressionStatement:function(a){var c=a.expression;return"Literal"===c.type&&"string"==typeof c.value?new ca({start:b(a),end:d(a),value:c.value}):new da({start:b(a),end:d(a),body:f(c)})},TryStatement:function(a){var c=a.handlers||[a.handler];if(c.length>1||a.guardedHandlers&&a.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ia({start:b(a),end:d(a),body:f(a.block).body,bcatch:f(c[0]),bfinally:a.finalizer?new Ka(f(a.finalizer)):null})},Property:function(a){var c=a.key,e="Identifier"==c.type?c.name:c.value,g={start:b(c),end:d(a.value),key:e,value:f(a.value)};switch(a.kind){case"init":return new cb(g);case"set":return g.value.name=f(c),new db(g);case"get":return g.value.name=f(c),new eb(g)}},ObjectExpression:function(a){return new ab({start:b(a),end:d(a),properties:a.properties.map(function(a){return a.type="Property",f(a)})})},SequenceExpression:function(a){return Ra.from_array(a.expressions.map(f))},MemberExpression:function(a){return new(a.computed?Ua:Ta)({start:b(a),end:d(a),property:a.computed?f(a.property):a.property.name,expression:f(a.object)})},SwitchCase:function(a){return new(a.test?Ha:Ga)({start:b(a),end:d(a),expression:f(a.test),body:a.consequent.map(f)})},VariableDeclaration:function(a){return new("const"===a.kind?Na:Ma)({start:b(a),end:d(a),definitions:a.declarations.map(f)})},Literal:function(a){var c=a.value,e={start:b(a),end:d(a)};if(null===c)return new xb(e);switch(typeof c){case"string":return e.value=c,new tb(e);case"number":return e.value=c,new ub(e);case"boolean":return new(c?Eb:Db)(e);default:var f=a.regex;return f&&f.pattern?e.value=new RegExp(f.pattern,f.flags).toString():e.value=a.regex&&a.raw?a.raw:c,new vb(e)}},Identifier:function(a){var c=l[l.length-2];return new("LabeledStatement"==c.type?ob:"VariableDeclarator"==c.type&&c.id===a?"const"==c.kind?jb:ib:"FunctionExpression"==c.type?c.id===a?mb:kb:"FunctionDeclaration"==c.type?c.id===a?lb:kb:"CatchClause"==c.type?nb:"BreakStatement"==c.type||"ContinueStatement"==c.type?qb:pb)({start:b(a),end:d(a),name:a.name})}};k.UpdateExpression=k.UnaryExpression=function(a){var c="prefix"in a?a.prefix:"UnaryExpression"==a.type;return new(c?Wa:Xa)({start:b(a),end:d(a),operator:a.operator,expression:f(a.argument)})},e("Program",ra,"body@body"),e("EmptyStatement",ga),e("BlockStatement",fa,"body@body"),e("IfStatement",Da,"test>condition, consequent>body, alternate>alternative"),e("LabeledStatement",ia,"label>label, body>body"),e("BreakStatement",Ba,"label>label"),e("ContinueStatement",Ca,"label>label"),e("WithStatement",pa,"object>expression, body>body"),e("SwitchStatement",Ea,"discriminant>expression, cases@body"),e("ReturnStatement",ya,"argument>value"),e("ThrowStatement",za,"argument>value"),e("WhileStatement",ma,"test>condition, body>body"),e("DoWhileStatement",la,"test>condition, body>body"),e("ForStatement",na,"init>init, test>condition, update>step, body>body"),